For functions in the binary, output something compatible with addr2line. b=230336 r=brendan
git-svn-id: svn://10.0.0.236/trunk@171358 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1201,6 +1201,10 @@ static callsite *calltree(uint32 *bp)
|
||||
method = nsDemangle(symbol);
|
||||
}
|
||||
#endif
|
||||
if (info.dli_fbase == (void*)0x8048000) {
|
||||
/* we're in the binary */
|
||||
info.dli_fbase = 0;
|
||||
}
|
||||
if (!method) {
|
||||
method = symbol
|
||||
? strdup(symbol)
|
||||
|
||||
Reference in New Issue
Block a user