From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Ingham To: James Ingham Cc: Braxton Thomason , insight@sourceware.cygnus.com Subject: Re: GDB Console Q Date: Thu, 02 Mar 2000 10:10:00 -0000 Message-id: <14526.44844.697200.155056@leda.cygnus.com> References: <14526.43851.443363.440950@leda.cygnus.com> X-SW-Source: 2000-q1/msg00108.html 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