This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: backtrace_symbols
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: backtrace_symbols
- From: Lakshminarasimhan naveenam <lsimhan_99 at yahoo dot com>
- Date: Mon, 28 Aug 2000 12:29:13 -0700 (PDT)
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
I have tried compiling with the gcc -g option too . It
still does not give the function names for the
functions that are there in the main executable .
Thanks in Advance,
simha.
--- Andreas Jaeger <aj@suse.de> wrote:
> >>>>> Lakshminarasimhan naveenam writes:
>
> > Hi ,
> > I am using the glibc-2.1.3 library . The
> > backtrace_symbols() function does returns the
> symbols
> > for only the shared libraries and not the main
> > executable .
> > Is this a bug or intended . Is there any
> > function provided in glibc other than
> > backtrace_symbols () which will return the
> function
> > names and the address of the functions on the
> stack .
>
> Compile your application with debugging infos (gcc
> -g).
>
> Andreas
> --
> Andreas Jaeger
> SuSE Labs aj@suse.de
> private aj@arthur.inka.de
> http://www.suse.de/~aj
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/