public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: insight@sourceware.org
Subject: Re: Insight build problem on cygwin (tentative patch enclosed)
Date: Mon, 17 Feb 2003 19:01:00 -0000	[thread overview]
Message-ID: <20030217185921.GA29103@redhat.com> (raw)
In-Reply-To: <20030217184819.GC7514@redhat.com>

On Mon, Feb 17, 2003 at 01:48:19PM -0500, Christopher Faylor wrote:
>[reply-to set]
>On Mon, Feb 17, 2003 at 01:38:02PM -0500, Andrew Cagney wrote:
>>>-  static const struct interp_procs tk_procs =
>>>-  {
>>>-    tk_init,
>>>-    gdbtk_resume,
>>>-    gdbtk_suspend,
>>>-    gdbtk_exec,
>>>-    gdbtk_prompt_p,
>>>-    gdbtk_command_loop,
>>>-  };
>>>-
>>>-  interp_add (interp_new ("gdbtk", NULL, NULL, &tk_procs));
>>>-
>>
>>FYI,
>>
>>Removing from _initialize*() is wrong.  Interpreters should only be 
>>registered in _initialize*() function.
>>
>>I think the underlying problem is general confusion over the separation 
>>of powers between interp_add() and interp_init().
>>
>>BTW, even with that NULL, it worked for me.  Is there something cygwin 
>>centric going on?
>
>Don't see how it could be.  interp_set does this:
>
>  uiout = interp->interpreter_out;
>
>So, at some point uiout becomes NULL.  I wiped out my old non-working version
>so I can't give the specific instance right now but it seems obvious that this
>could happen.  If you set interpreter_out to NULL and call interp_set at some
>point then uiout will be NULL.

The call which sets uiout to NULL is in captured_main, line 559.  Just typing
"insight foo.exe" was enough for me to trigger the problem.  You can also see
it if you type "insight" (which brings up a window) and then do a "File->Open".

cgf

  reply	other threads:[~2003-02-17 18:59 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 22:04 Insight build problem on cygwin Rolf Campbell
2003-02-13 22:43 ` Keith Seitz
2003-02-15 22:11   ` Rolf Campbell
2003-02-17 16:27     ` Keith Seitz
2003-02-17 16:49       ` Rolf Campbell
2003-02-17 17:04         ` Insight build problem on cygwin (tentative patch enclosed) Christopher Faylor
2003-02-17 17:48           ` Keith Seitz
2003-02-17 18:48             ` Christopher Faylor
2003-02-17 18:59               ` Christopher Faylor
2003-02-17 19:54                 ` Keith Seitz
2003-02-18  0:35                   ` Christopher Faylor
2003-02-19 18:02                     ` Rolf Campbell
2003-02-19 18:28                       ` Keith Seitz
2003-02-19 21:49                         ` Rolf Campbell
2003-02-17 18:38           ` Andrew Cagney
2003-02-17 18:42             ` Andrew Cagney
2003-02-17 18:54             ` Christopher Faylor
2003-02-17 19:01               ` Christopher Faylor [this message]
2003-02-17 21:25                 ` Rolf Campbell
2003-02-18  3:36               ` Andrew Cagney
2003-02-18 23:32                 ` Keith Seitz
2003-02-19 22:49       ` Insight build problem on cygwin Keith Seitz
2003-02-19 22:54         ` Rolf Campbell
2003-02-20  1:05           ` Keith Seitz
2003-02-20  2:36             ` Rolf Campbell
2003-02-20 17:55               ` Keith Seitz
2003-02-21 10:16                 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030217185921.GA29103@redhat.com \
    --to=cgf@redhat.com \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).