diff options
| author | Elliott Hughes <enh@google.com> | 2014-04-25 16:05:34 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2014-04-25 20:20:39 -0700 |
| commit | 855fcc3114c20ff9fd286fe1723d1413fec9685a (patch) | |
| tree | 012f6de674c3ba210b9f1de42d9c7607a6e9862d /include | |
| parent | 2317287d18fae3f9ae0f3beb7748a804f06b5720 (diff) | |
| download | system_core-855fcc3114c20ff9fd286fe1723d1413fec9685a.tar.gz system_core-855fcc3114c20ff9fd286fe1723d1413fec9685a.tar.bz2 system_core-855fcc3114c20ff9fd286fe1723d1413fec9685a.zip | |
Use the si_code value bionic passes us.
Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.
Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
Diffstat (limited to 'include')
| -rw-r--r-- | include/cutils/debugger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cutils/debugger.h b/include/cutils/debugger.h index af80e2ccf..ae6bfc4d0 100644 --- a/include/cutils/debugger.h +++ b/include/cutils/debugger.h @@ -42,6 +42,7 @@ typedef struct { debugger_action_t action; pid_t tid; uintptr_t abort_msg_address; + int32_t original_si_code; } debugger_msg_t; /* Dumps a process backtrace, registers, and stack to a tombstone file (requires root). |
