[PATCH] retain file symbols in object files even with --strip-local-absolute
Jan Beulich
jbeulich@novell.com
Sun Jun 20 08:03:00 GMT 2004
I order to permit a debugger to still correctly qualify the local symbol
names with the source file they originate from. I consider this rather
useful when you have to debug e.g. production modules for which you
generally don't have debug information (I don't think gdb can currently
take advantage of it, but we have a debugger that can). After all, the
source file names in the ELF symbol table (supposed to be) are entirely
independent of the debug information (other than in, say, COFF). Jan
>>> Nick Clifton <nickc@redhat.com> 06/18/04 5:58 PM >>>
Hi Jan,
> For the purpose of identifying source files without additional debug
> info, these symbols should not be eliminated by means of
> --strip-local-absolute.
I am not convinced about this. In what kind of situation would this
feature be useful ? ie - if you have been creating an object without
debugging information and you have stripped the local absolute symbols
from it, why would you expect to be able to identify the source files
involved in its creation ?
Cheers
Nick
More information about the Binutils
mailing list