The debuggee's output

Andrew Cagney ac131313@cygnus.com
Thu Aug 24 03:53:00 GMT 2000


Eli Zaretskii wrote:
> 
> > Date: Tue, 22 Aug 2000 12:30:32 +0200
> > From: Pierre Muller <muller@cerbere.u-strasbg.fr>
> >
> > GDB does nothing with debuggee's output.
> >
> >   On basic system as Dos this will for instance result in a mixing of GDB
> > output and the debuggee output on screen.
> 
> That's not entirely accurate.  The DOS port of GDB has special code to
> separate debuggee's output from its own (and the same for input).  So
> output of GDB and of the debuggee is no more mixed on screen on DOS
> than it is on Unix.

To add a little more :-)  Remote target output is (well is ment to be)
be channeled through the GDB internal object ``gdb_stdtarg''. In the
case of a GUI it would be directed to the GDB console instead of the
window that GDB was started in.

	Andrew


More information about the Gdb mailing list