[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backtrace_symbols() - need clue(s) as to how it works
From: |
Chris Markle |
Subject: |
backtrace_symbols() - need clue(s) as to how it works |
Date: |
Thu, 8 May 2003 14:03:20 -0700 |
All,
Looking at source code for backtrace_symbols() and cannot see how the
program/function/offset string gets added to the address.
Printed results of backtrace_symbols() call:
test1(print_trace+0x1d) [0x804877d]
test1(dummy_func3+0xb) [0x8048887]
...
I am looking at
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/backtraces
yms.c and it sure looks to me as if all that's formatted into the returned
strings is the address itself (i.e. "[0x804877d]") not the other info (i.e.
"test1(print_trace+0x1d)"). Can someone shed some light for me as to how
that info is getting added in?
Chris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- backtrace_symbols() - need clue(s) as to how it works,
Chris Markle <=