diff options
author | Elliott Hughes <enh@google.com> | 2012-11-02 12:37:13 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-11-02 13:46:23 -0700 |
commit | 61a9ccb41eba8c35cae6e21318aca7160a402c5b (patch) | |
tree | 45635217570d9cb83b4da14cac70beefdaa73f53 /linker/debugger.cpp | |
parent | ed537239a94ebd11a8c262a319d81fd1f0d3f73f (diff) | |
download | android_bionic-61a9ccb41eba8c35cae6e21318aca7160a402c5b.tar.gz android_bionic-61a9ccb41eba8c35cae6e21318aca7160a402c5b.tar.bz2 android_bionic-61a9ccb41eba8c35cae6e21318aca7160a402c5b.zip |
Make dynamic linker debugging always available.
If you need to build your own linker to get debugging, the debugging
is never available when you need it.
Change-Id: I5ff7e55753459d49a2990f25d9aa155e0b8602e0
Diffstat (limited to 'linker/debugger.cpp')
-rw-r--r-- | linker/debugger.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linker/debugger.cpp b/linker/debugger.cpp index 28c939a0d..5fd5cb73c 100644 --- a/linker/debugger.cpp +++ b/linker/debugger.cpp @@ -136,8 +136,9 @@ static void logSignalSummary(int signum, const siginfo_t* info) { // "info" will be NULL if the siginfo_t information was not available. if (info != NULL) { format_buffer(buffer, sizeof(buffer), - "Fatal signal %d (%s) at 0x%08x (code=%d), thread %d (%s)", - signum, signame, info->si_addr, info->si_code, gettid(), threadname); + "Fatal signal %d (%s) at 0x%08x (code=%d), thread %d (%s)", + signum, signame, reinterpret_cast<uintptr_t>(info->si_addr), + info->si_code, gettid(), threadname); } else { format_buffer(buffer, sizeof(buffer), "Fatal signal %d (%s), thread %d (%s)", |