This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB Console Q


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                      

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]