Fix debuggerd's symbol offset output.
Before: 00007fff33e489d8 00007ff286e4ad94 /system/lib64/libc.so (__libc_init+54u) After: 00007fff45c6c158 00007f61bc36fd94 /system/lib64/libc.so (__libc_init+84) Change-Id: I36796c99843a41583824a96793a5a4c81ddb666e
This commit is contained in:
parent
434edbe6ff
commit
f7b4b519e4
|
@ -243,7 +243,7 @@ static void dump_stack_segment(
|
|||
if (!func_name.empty()) {
|
||||
if (!i && label >= 0) {
|
||||
if (offset) {
|
||||
_LOG(log, scope_flags, " #%02d %" PRIPTR " %" PRIPTR " %s (%s+%" PRIxPTR "u)\n",
|
||||
_LOG(log, scope_flags, " #%02d %" PRIPTR " %" PRIPTR " %s (%s+%" PRIuPTR ")\n",
|
||||
label, *sp, stack_content, map_name, func_name.c_str(), offset);
|
||||
} else {
|
||||
_LOG(log, scope_flags, " #%02d %" PRIPTR " %" PRIPTR " %s (%s)\n",
|
||||
|
@ -251,7 +251,7 @@ static void dump_stack_segment(
|
|||
}
|
||||
} else {
|
||||
if (offset) {
|
||||
_LOG(log, scope_flags, " %" PRIPTR " %" PRIPTR " %s (%s+%" PRIxPTR "u)\n",
|
||||
_LOG(log, scope_flags, " %" PRIPTR " %" PRIPTR " %s (%s+%" PRIuPTR ")\n",
|
||||
*sp, stack_content, map_name, func_name.c_str(), offset);
|
||||
} else {
|
||||
_LOG(log, scope_flags, " %" PRIPTR " %" PRIPTR " %s (%s)\n",
|
||||
|
|
Loading…
Reference in New Issue