[Crash-utility] [PATCH] Use /usr/bin/nm -D on stripped binaries

Bernhard Walle bwalle at suse.de
Mon Aug 25 17:16:27 UTC 2008


Use "nm -D" to retrieve also the symbols of crash when having stripped binaries.
Use the presence of the symbol table to determine if the binary has been
stripped or not.


Signed-off-by: Bernhard Walle <bwalle at suse.de>


2 files changed, 35 insertions(+), 1 deletion(-)
defs.h    |    1 +
symbols.c |   35 ++++++++++++++++++++++++++++++++++-


-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-use-nm-d.diff
Type: text/x-patch
Size: 1826 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20080825/666cffdd/attachment.bin>


More information about the Crash-utility mailing list