diff options
author | Josh Gao <jmgao@google.com> | 2019-12-13 14:11:04 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-12-17 16:36:05 -0800 |
commit | a48b41bcb8629c14210aa3102669e03267353274 (patch) | |
tree | 2a4a21987109d0e044b7fd3287eb3ef2be066798 /debuggerd/libdebuggerd/utility.cpp | |
parent | cd652ea3dc78c8e9e18490b3883c287e0c5c2d45 (diff) |
debuggerd: switch to using platform headers for DEBUGGER_SIGNAL.
Test: treehugger
Change-Id: Ie9736c4a077dba1029d2352bd94d47ce07323aec
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
-rw-r--r-- | debuggerd/libdebuggerd/utility.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/libdebuggerd/utility.cpp b/debuggerd/libdebuggerd/utility.cpp index 5ce26fcde..0a1d2a4da 100644 --- a/debuggerd/libdebuggerd/utility.cpp +++ b/debuggerd/libdebuggerd/utility.cpp @@ -35,6 +35,7 @@ #include <android-base/stringprintf.h> #include <android-base/strings.h> #include <android-base/unique_fd.h> +#include <bionic/reserved_signals.h> #include <debuggerd/handler.h> #include <log/log.h> #include <unwindstack/Memory.h> @@ -296,7 +297,8 @@ const char* get_signame(const siginfo_t* si) { case SIGSTOP: return "SIGSTOP"; case SIGSYS: return "SIGSYS"; case SIGTRAP: return "SIGTRAP"; - case DEBUGGER_SIGNAL: return "<debuggerd signal>"; + case BIONIC_SIGNAL_DEBUGGER: + return "<debuggerd signal>"; default: return "?"; } } |