Re: GDB-UI and multiple frames

From:

Nick Roberts

Subject:

Re: GDB-UI and multiple frames

Date:

Mon, 5 Apr 2004 01:36:58 +0100

> > Perhaps, I should make it an option as to whether gdb-ui displays program
> > output in its own buffer or in the command window.
>
> Well, it is ok that emacs output goes to a different buffer, but I
> would (very much) prefer (while debugging emacs) if output from e.g.
>
> (gdb) p Vmouse_highlight
> $3 = 675051912
> (gdb) pr
>
> would to go into the gud-emacs buffer rather than the emacs i/o buffer.
pr seems to be a user defined function which calls debug_print in print.c. So
this really is output from emacs and not from gdb itself. So perhaps its
behaviour is not unreasonable, even if it's undesirable.
In any case, displaying program output in the command window will give you the
behaviour you want.
Nick