This is the mail archive of the libc-alpha@sources.redhat.com 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 function buggy?


suckfish@ihug.co.nz writes:

> +Currently, the function name and offset can only be obtained on systems
> +that use the ELF binary format for programs and libraries.

Perhaps a reference to the addr2line program can be added here.  It
can be used to retrieve symbols even if the -rdynamic flag wasn't
passed to the linker, and it should work on non-ELF targets as well.

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