This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: backtrace_symbols function buggy?
- To: suckfish at ihug dot co dot nz
- Subject: Re: backtrace_symbols function buggy?
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 09 Jan 2001 16:59:12 -0800
- Cc: libc-alpha at sources dot redhat dot com
- References: <14938.53111.877494.310404@sucky.fish>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------