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 | b5f357a923b032e26443295dd5e1b722fcefab14 (patch) | |
| tree | 2a4a21987109d0e044b7fd3287eb3ef2be066798 /debuggerd/libdebuggerd/utility.cpp | |
| parent | 29f3a0ffb487a1ab853e3fd96a5af665573a95a3 (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 5ce26fcde5..0a1d2a4da2 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 "?"; } } |
