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: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simark at simark dot ca>
- Cc: gdb at sourceware dot org, gdb-patches at sourceware dot org
- Date: Sat, 21 Oct 2017 19:27:02 +0300
- 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> <f54ff4bc-fb7c-397f-153d-83cafb6966bd@simark.ca>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Cc: gdb@sourceware.org, gdb-patches@sourceware.org
> From: Simon Marchi <simark@simark.ca>
> Date: Sat, 21 Oct 2017 10:13:20 -0400
>
> > 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.
Thank you.