summaryrefslogtreecommitdiffstats
path: root/debuggerd/debuggerd.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-16 17:05:19 -0700
committerElliott Hughes <enh@google.com>2014-05-16 17:27:59 -0700
commit7e35ae8fc840cc1855d26084fdd72cbc3241f04d (patch)
tree734df3175f7c6a392792442065b91e74a2762688 /debuggerd/debuggerd.cpp
parentd20ba7fca295453648bc9093db03c16efbc6df1b (diff)
downloadsystem_core-7e35ae8fc840cc1855d26084fdd72cbc3241f04d.tar.gz
system_core-7e35ae8fc840cc1855d26084fdd72cbc3241f04d.tar.bz2
system_core-7e35ae8fc840cc1855d26084fdd72cbc3241f04d.zip
Add SIGTRAP support to crasher and debuggerd.
Bug: 15024256 Change-Id: I3f34993fcfd9799306852b0a2195db468370be6e
Diffstat (limited to 'debuggerd/debuggerd.cpp')
-rw-r--r--debuggerd/debuggerd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp
index 76bd7a32c..94232cf19 100644
--- a/debuggerd/debuggerd.cpp
+++ b/debuggerd/debuggerd.cpp
@@ -322,15 +322,16 @@ static void handle_request(int fd) {
}
break;
- case SIGILL:
case SIGABRT:
case SIGBUS:
case SIGFPE:
- case SIGSEGV:
+ case SIGILL:
case SIGPIPE:
+ case SIGSEGV:
#ifdef SIGSTKFLT
case SIGSTKFLT:
#endif
+ case SIGTRAP:
XLOG("stopped -- fatal signal\n");
// Send a SIGSTOP to the process to make all of
// the non-signaled threads stop moving. Without