This is the mail archive of the libc-help@sourceware.org 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]
Other format: [Raw text]

Re: how to decode back trace addresses manually?


On Tuesday 26 January 2010 01:09:47 Han wrote:
> Hi,

please do not top post

> I tried "addr2line", it cannot find the symbols (i.e. print "??:00" )
> and "readelf -s" output does not include the address I was looking for...
> 
> finally I was able to re-compile the library with "-rdynamic -g"
> flags, but for some reason still cannot locate the symbol name,  not
> via backtrace_symbols, nor using addr2line.
> 
> Is there anything else I should do to use these tools with a linux
> shared library (.so) file?

read the /proc/<pid>/maps file to figure out what object it is coming from
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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