summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2018-11-25 13:25:47 +0100
committerEugene Syromyatnikov <evgsyr@gmail.com>2018-11-25 13:25:47 +0100
commite44ae68ae48a908a023929e57d926da1fa7912d3 (patch)
treed4d48dbba121baf197fd67fbd12d74e283505762
parent5338aecfa942a32a94014c6ee302722eaad4bebe (diff)
downloadstrace-e44ae68ae48a908a023929e57d926da1fa7912d3.tar.gz
printsiginfo: decode SIGEMT the same way as SIG{ILL,FPE,SEGV,BUS}
* printsiginfo.c (print_si_info) [SIGEMT] <case SIGEMT>: Add to the SIGILL/SIGFPE/SIGSEGV/SIGBUS case.
-rw-r--r--printsiginfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/printsiginfo.c b/printsiginfo.c
index a262fa720..89f0d8f12 100644
--- a/printsiginfo.c
+++ b/printsiginfo.c
@@ -206,6 +206,9 @@ print_si_info(struct tcb *tcp, const siginfo_t *sip)
break;
case SIGILL: case SIGFPE:
case SIGSEGV: case SIGBUS:
+#ifdef SIGEMT
+ case SIGEMT:
+#endif
tprints(", si_addr=");
printaddr(ptr_to_kulong(sip->si_addr));
break;