diff options
author | Elliott Hughes <enh@google.com> | 2014-01-31 23:13:55 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-01-31 23:13:55 -0800 |
commit | f7b4b519e4c7df19faa04371d64b7560a08005e0 (patch) | |
tree | 3de994bb5a992d9c310fda99fc4bc3ca8d1c6896 /debuggerd | |
parent | 434edbe6fffb9445316567ac6de3f407c005b37b (diff) | |
download | system_core-f7b4b519e4c7df19faa04371d64b7560a08005e0.zip system_core-f7b4b519e4c7df19faa04371d64b7560a08005e0.tar.gz system_core-f7b4b519e4c7df19faa04371d64b7560a08005e0.tar.bz2 |
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
Diffstat (limited to 'debuggerd')
-rwxr-xr-x | debuggerd/tombstone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp index 5acf16d..c630020 100755 --- a/debuggerd/tombstone.cpp +++ b/debuggerd/tombstone.cpp @@ -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", |