using pipe with command

Philippe Waroquiers philippe.waroquiers@skynet.be
Sat Nov 23 14:19:00 GMT 2019


On Mon, 2019-07-29 at 21:32 +0200, Christof Warlich wrote:
> Am 29.07.19 um 00:13 schrieb Philippe Waroquiers:
> 
> > I have not (yet) understood how GDB handles stdout
> > redirection when tui is enabled, and so I have no idea yet how
> > to fix that.
> > 
> > Redirecting to a string or to a file/pipe probably should also
> > redirect tui_old_uiout.
> > Or possibly tui_on_user_selected_context_changed should do
> > some redirections like mi_user_selected_context_changed ?
> > 
> > Suggestions welcome :)
> > 
> > Philippe
> Many thanks for looking into this issue. I'm definitely not of much use
> w.r.t. some decent suggestions but I'd be glad if I could help otherwise.
As far as I can see, this is fixed in recent git master.
Not too sure what fixed the problem, maybe a side effect of:
65d1cd5f9cbcbb2df0b187cb7623949c1668728f
[gdb] Only force INTERP_CONSOLE ui_out for breakpoint commands in MI mode

Philippe




More information about the Gdb mailing list