Re: using pipe with command

Philippe Waroquiers <[email protected]> Sat, 23 Nov 2019 15:19:11 +0100
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <[email protected]>
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