summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-11-12 00:17:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-11-12 00:17:12 +0000
commit19c712d35349850988c789aad6845066038a6f6c (patch)
tree9a714c2e8a2458e00a65c4f29d1cc68426fab9b7 /debuggerd/libdebuggerd/utility.cpp
parent4a91853b435987b8c4854229f15355a64196a078 (diff)
parenta8c3e48d2c2384fe5ced424ff7a468d976042819 (diff)
Merge "Improvements to tombstone output."
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
-rw-r--r--debuggerd/libdebuggerd/utility.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/debuggerd/libdebuggerd/utility.cpp b/debuggerd/libdebuggerd/utility.cpp
index 3c4c271495..71f0c09274 100644
--- a/debuggerd/libdebuggerd/utility.cpp
+++ b/debuggerd/libdebuggerd/utility.cpp
@@ -276,9 +276,10 @@ bool signal_has_si_addr(const siginfo_t* si) {
case SIGBUS:
case SIGFPE:
case SIGILL:
- case SIGSEGV:
case SIGTRAP:
return true;
+ case SIGSEGV:
+ return si->si_code != SEGV_MTEAERR;
default:
return false;
}