using pipe with command

Christof Warlich cwarlich@gmx.de
Sun Nov 24 15:54:00 GMT 2019


Am 23.11.19 um 15:19 schrieb Philippe Waroquiers:

> 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.
Thanks for the update.
> 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

Yes, I can confirm your guess: The issue remains to be seen until commit
65d1cd5f9cbcbb2df0b187cb7623949c1668728 and vanishes with that very
commit :-).

Cheers,

Chris



More information about the Gdb mailing list