This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: GDB Console Q
- To: James Ingham <jingham at cygnus dot com>
- Subject: Re: GDB Console Q
- From: Braxton Thomason <brax at ieeecs dot ece dot utexas dot edu>
- Date: Thu, 2 Mar 2000 13:00:50 -0600 (CST)
- cc: insight at sourceware dot cygnus dot com
Thanks guys! The command "tk gdb_restore_fputs" did correct the problem,
however, I cannot seem to reproduce the error with the debug window
open... I will continue running the deubg window, and see what happens...
thanks,
brax.
On Thu, 2 Mar 2000, James Ingham wrote:
> Bad boy, read ALL mail before responding...
>
> Anyway, Keith's explanation may be the ticket. The way to test this
> is to try running my little sanity proc, just do:
>
> (gdb) tk gdb_restore_fputs
>
> and if you get output again, then Keith is right, there was some error
> down in the guts of gdb. The "tk" command just routes its arguments
> to the Tcl interpreter hiding in Insight...
>
> I have noticed a few of these in the variable subsystem, I stamped out
> a few, but would not be suprised if more remain. One thing you can
> try is to set the environment variable
>
> setenv GDBTK_DEBUG 2
>
> Then when you next start up gdb, you will get a debug window that
> spews out lots of output as gdb does its thing. In here you may see
> some suspicious output shortly before you lose output. Cut & paste
> that here, and it will give us a hand in figuring out what is going
> on.
>
> Jim
>
>
> > Braxton,
> >
> > The GDB Console in Insight is not a exactly equivalent to the console
> > in command line gdb. In particular, it does not intercept stdout &
> > stdin. That is because we didn't want to have to write a full
> > terminal emulator in the Tk text widget. Instead, program I/O still
> > goes to the console from which you launched gdb, which already knows
> > how to handle raw mode I/O, etc... The Insight console is just used
> > for interactions with gdb.
> >
> > Jim
> >
> > > Has anyone had problems with the GDB console in Insight not displaying
> > > anything after pressing the "Run" button in the GUI? I am runing on AIX
> > > 4.3.2..
> > >
> > > Wondering if I should follow it up, or forget it...
> > >
> > > thanks,
> > > brax.
> > >
> > >
> > >
> >
> > --
> > ++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
> > Jim Ingham jingham@cygnus.com
> > Cygnus Solutions, a Red Hat Company
> >
>
> --
> ++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
> Jim Ingham jingham@cygnus.com
> Cygnus Solutions, a Red Hat Company
>