Re: Breakpoint commands in MI mode and "backtrace"
Simon Marchi <[email protected]>
| Newsgroups | gmane.comp.gdb.devel,gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
On 2017-10-21 04:26 AM, Eli Zaretskii wrote: >> Cc: [email protected] >> From: Simon Marchi <[email protected]> >> 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