This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Breakpoint commands in MI mode and "backtrace"
- From: Simon Marchi <simark at simark dot ca>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb at sourceware dot org, gdb-patches at sourceware dot org
- Date: Sat, 21 Oct 2017 10:13:20 -0400
- Subject: Re: Breakpoint commands in MI mode and "backtrace"
- Authentication-results: sourceware.org; auth=none
- References: <8360bqt0im.fsf@gnu.org> <8a3d7153-7486-032f-aabc-6c3453f96459@simark.ca> <83shetsdg2.fsf@gnu.org> <e65519d3-37e8-06f0-cd5a-d7e6b7aaf31d@simark.ca> <83o9phs8zw.fsf@gnu.org> <b0ce9014-a231-6d57-8a72-6da1eb80f67b@simark.ca> <83d15wsrvw.fsf@gnu.org> <83bmlgsqpm.fsf@gnu.org> <fb95da6b-2390-f486-0806-291d24fbe766@simark.ca> <83vaj8c3fj.fsf@gnu.org>
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