This is the mail archive of the gdb@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: Specify frame by address


> 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.


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