This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add tests that backtrace and backtrace_symbols produce correct results
Chris Metcalf <cmetcalf@tilera.com> writes:
> Presumably the PC is in the __read function, with the link register
> holding the return address to the caller, and that should give the
> stack frame walker the innermost frame.
But that frame is not linked, instead the called frame is pointing to
caller's caller frame.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."