summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-03-17 21:07:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-03-17 21:07:48 +0000
commit1371c0562cb58a8599d2f533fc4afd4eb4f307dd (patch)
tree31c418cb32bb331d777880cf027362ad5b386d57
parentb45800afa38a1cfb7c4e1e9adb3440022c82618a (diff)
parentb17f228ff6cdc73f0ca3ab4578f78faf1a7f1b86 (diff)
downloadcore-1371c0562cb58a8599d2f533fc4afd4eb4f307dd.tar.gz
core-1371c0562cb58a8599d2f533fc4afd4eb4f307dd.tar.bz2
core-1371c0562cb58a8599d2f533fc4afd4eb4f307dd.zip
Merge "debuggerd: don't send SIGSTOP to crashing processes."
-rw-r--r--debuggerd/debuggerd.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp
index 71c1e83da..fff28802a 100644
--- a/debuggerd/debuggerd.cpp
+++ b/debuggerd/debuggerd.cpp
@@ -417,12 +417,7 @@ static bool perform_dump(const debugger_request_t& request, int fd, int tombston
#endif
case SIGTRAP:
ALOGV("stopped -- fatal signal\n");
- // Send a SIGSTOP to the process to make all of
- // the non-signaled threads stop moving. Without
- // this we get a lot of "ptrace detach failed:
- // No such process".
*crash_signal = signal;
- send_signal(request.pid, 0, SIGSTOP);
engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, signal,
request.original_si_code, request.abort_msg_address);
break;