This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] retain file symbols in object files evenwith --strip-local-absolute
- From: "Jan Beulich" <jbeulich at novell dot com>
- To: <nickc at redhat dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Sun, 20 Jun 2004 10:03:28 +0200
- Subject: Re: [PATCH] retain file symbols in object files evenwith --strip-local-absolute
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