Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?

Andreas Schwab
2008-01-16T21:13:08Z

Eli Zaretskii <eliz@gnu.org> writes:

> Or are you talking only about the case of missing debug info?

Yes. For example, if libc has no debug info then printf (which is a
symbol in the .opd section) resolves to the function descriptor address,
and to get the real code address you need to use '._IO_printf'. The
ppc64 target is pretty unique in this behaviour, on ia64 you don't have
this problem even though it uses function descriptors as well.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."