backtrace_symbols function buggy?

Ulrich Drepper drepper@redhat.com
Tue Jan 9 16:59:00 GMT 2001


suckfish@ihug.co.nz writes:

> Below, I'd expect to see the functions print_bt, foo2 and main in the
> printed backtrace; instead, backtrace_symbols is printed three times.
> 
> ---------------shell transcript------------------
> 
> ~] gcc -o temp -Wall temp.c

Add -rdynamic to the compiler line.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list