This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: backtrace_symbols


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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]