This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [commit] `insight -i=gdbtk' works
- From: Keith Seitz <keiths at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 12 Feb 2003 08:40:49 -0800
- Subject: Re: [commit] `insight -i=gdbtk' works
- Organization:
- References: <3E4A72B7.6090403@redhat.com>
On Wed, 2003-02-12 at 08:13, Andrew Cagney wrote:
> ./insight -nx -i=gdbtk
> ./gdb -nw -i=gdbtk
>
> it dumps core. If you haven't guessed, the missing bit involves
> gdbtk_init(), init_ui_hook and use_windows.
Turns out that we're barking up the same tree. Except my version doesn't
crash at all, but it also doesn't honor "-nw". I have a feeling this is
going to be a messy/hacky fix.
Anyway, I'll see about merging our two implementations. (I also
submitted a patch against gdb so that when users run "insight", they
implicitly get "-i=insight". A bigger "problem" will be keeping the
symmetry with "gdb -w". That won't work, either, but, then again, maybe
it shouldn't. We are trying to get gdb it's own isolated executable,
right? [Reminds me... I think I have patches somewhere to do this --
updates the init.c process and adds options parsing...]
Keith