This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?
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."