This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Specify frame by address
> Date: Sat, 29 Oct 2011 20:43:25 +0200 (CEST)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: jan.kratochvil@redhat.com, gdb@sourceware.org
>
> > I hoped that I could reference the frame by the PC address.
>
> That wouldn't work. Functions are sometimes called recursively, so
> diffrerent frames may end up with the same PC address.
That's not a problem in my use case, because I need the innermost
invocation anyway.
Thanks for the other info.