[Bug tapsets/23879] print_ubacktrace can not print function name

fche at redhat dot com sourceware-bugzilla@sourceware.org
Mon Nov 12 14:28:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23879

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
It depends how the two versions of the target program were compiled.  Perhaps
the second one was stripped (including symbol info), so stap (and tools like
gdb) would have no chance to resolve addresses to names.  Perhaps the unwind
data was not generated the same way (possibly CFLAGS without
-fasynchronous-unwind-tables?).

A comparison with "readelf -S" between the two binaries could help clear this
up.

Also, that advice re. rerunning with -DDEBUG_UNWIND is a good one, the data
would help.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list