[PATCH] Consider the selected traceframe when checking for stack frames
Luis Machado
lgustavo@codesourcery.com
Wed Sep 7 02:56:00 GMT 2011
On 08/24/2011 09:46 AM, Luis Machado wrote:
> Hi,
>
> The following patch addresses a problem seen when trying to inspect
> traceframe data while the currently-selected thread is still running.
> GDB will then fail to display such data because has_stack_frame (...)
> returns 0 in this case. If a traceframe is selected, we should use data
> from it and ignore the state of the live inferior.
>
> With this fix, GDB can properly display the traceframe data, like
> collected locals.
>
> The patch was pre-approved by Pedro.
>
> Regards,
> Luis
I've checked this in now.
Luis
More information about the Gdb-patches
mailing list