Re: Breakpoint commands in MI mode and "backtrace"

Simon Marchi
2017-10-21T14:13:29Z

On 2017-10-21 04:26 AM, Eli Zaretskii wrote:
>> Cc: gdb@sourceware.org
>> From: Simon Marchi <simark@simark.ca>
>> Date: Mon, 9 Oct 2017 08:02:24 -0400
>>
>> Anyhow, can you try this patch here? It changes the uiout manually instead of
>> going through safe_execute_command.
>
> Since this worked for me, in GDB 8.0, can something similar be put in
> the current master, so the next GDB release will have this bug fixed?
>
> Thanks.

I'll look into it, but I'll try a slightly different patch. The one I sent
previously sets and restores the interpreter at every executed command, which
is inefficient. I'll try to set and restore only once at a higher level in
the call stack.

Simon