This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Consider the selected traceframe when checking for stack frames


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]