Function symbol retention after stripping

Roland McGrath roland at hack.frob.com
Wed Jun 27 01:01:50 UTC 2012


> $ gdb crash
> (gdb) run
> (gdb) bt
> #0  0x00007ffff77279e5 in raise () from /lib64/libc.so.6
> #1  0x00007ffff7729198 in abort () from /lib64/libc.so.6
> #2  0x0000000000000020 in ?? ()
> #3  0x0000000000000000 in ?? ()
> 
> Is there something I'm doing wrong or is this not expected to work?

This backtrace shows PC values that are not plausible.  That indicates that
something went wrong with unwinding from the outermost libc frame there.
Whatever the story on that, the caller code having had 'eu-strip -g' run on
it has nothing to do with it.  If you get to the point of a backtrace with
all the PC values correct but you are missing useful symbolic information
for those PCs, then we can help you look into that.


More information about the elfutils-devel mailing list