Bruce Korb <bruce.k...@gmail.com> writes:

> Sorry.   When you do a "bt" using gdb, you see the function
> names, whether they be "static" or have global (external)
> linkage.  The function backtrace_symbols(), on the other
> hand, doe *not* print static scope function names.

backtrace_symbols can only deal with dynamic symbols, which are the only
ones available at runtime.  If you want to resolve normal symbols you
need to read them from the (unstripped) binary, like addr2line does.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to