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


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