Specify frame by address

Eli Zaretskii eliz@gnu.org
Sat Oct 29 18:04:00 GMT 2011


> Date: Sat, 29 Oct 2011 19:46:38 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb@sourceware.org
> 
> "address of the frame" is frame_id.stack_addr.  For DWARF it is CFA
> (dwarf2_frame_cfa), which is for most arches just unwound SP (not PC!), that
> is SP as shown by GDB in the caller.

Thanks.

What is it for stabs?  More generally, suppose I wanted to make the
manual more clear on this matter, what could I tell the user about
how to find out this address?

> Such command really needs to iterate the frames and compare PC there.

Right.  I hoped that I could reference the frame by the PC address.



More information about the Gdb mailing list