]> granicus.if.org Git - strace/commitdiff
xlat: add arch-specific si_codes constants
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 12 Feb 2018 19:45:24 +0000 (20:45 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 27 Feb 2018 13:14:38 +0000 (13:14 +0000)
Based on Linux commits v4.16-rc1~159^2~17, v4.16-rc1~159^2~16,
v4.16-rc1~159^2~15, and v4.16-rc1~159^2~14.

* xlat/sigbus_codes.in (BUS_OPFETCH): New constant.
* xlat/sigfpe_codes.in (FPE_MDAOVF, __FPE_DECOVF, __FPE_DECDIV,
__FPE_DECERR, __FPE_INVASC, __FPE_INVDEC): New constants.
* xlat/sigill_codes.in (ILL_ILLPARAOP, ILL_ILLEXCPT, ILL_CPLB_VI,
ILL_CPLB_MISS, ILL_CPLB_MULHIT, ILL_DBLFLT, ILL_HARDWALL, ILL_BADIADDR,
__ILL_BREAK, __ILL_BNDMOD): Likewise.
* xlat/sigsegv_codes.in (SEGV_STACKFLOW, __SEGV_PSTKOVF): Likewise.
* xlat/sigtrap_codes.in (TRAP_STEP, TRAP_TRACEFLOW, TRAP_WATCHPT,
TRAP_ILLTRAP): Likewise.
* NEWS: Mention it.

NEWS
xlat/sigbus_codes.in
xlat/sigfpe_codes.in
xlat/sigill_codes.in
xlat/sigsegv_codes.in
xlat/sigtrap_codes.in

diff --git a/NEWS b/NEWS
index cd1d62947a2ab1260e697ce5a30e7426aaa24e16..bdb9a6972b92cf864213e4eeebc3dd19b6eeee8c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Noteworthy changes in release ?.?? (????-??-??)
   * IPv6 addresses shown in socket information in -yy mode are now printed
     in brackets.
   * Enhanced NETLINK_ROUTE protocol decoding.
+  * Updated lists of signal codes.
   * Updated the list of RWF_* constants.
 
 * Bug fixes
index 1bce25f2307d6a85bef574627b00c5dd48d5e111..54f1b433a92f8628076cfff236201e3029605a5d 100644 (file)
@@ -1,5 +1,6 @@
 BUS_ADRALN 1
 BUS_ADRERR 2
 BUS_OBJERR 3
+BUS_OPFETCH /* 4 - bfin */
 BUS_MCEERR_AR 4
 BUS_MCEERR_AO 5
index 4ef0667ace8a54e42a30ebe390482bf11264ea24..31cc924f6c6f37f27cb2e752160d2fd818e7cb59 100644 (file)
@@ -6,3 +6,9 @@ FPE_FLTUND 5
 FPE_FLTRES 6
 FPE_FLTINV 7
 FPE_FLTSUB 8
+FPE_MDAOVF   /*  9 - frv */
+__FPE_DECOVF /*  9 - ia64 */
+__FPE_DECDIV /* 10 - ia64 */
+__FPE_DECERR /* 11 - ia64 */
+__FPE_INVASC /* 12 - ia64 */
+__FPE_INVDEC /* 13 - ia64 */
index ca111ec8221528951505d4baf739126a91136890..12cd2cfa64c0b73339d76a47b59291f126ec5ba6 100644 (file)
@@ -1,8 +1,18 @@
 ILL_ILLOPC 1
+ILL_ILLPARAOP   /*  2 - bfin */
 ILL_ILLOPN 2
 ILL_ILLADR 3
+ILL_ILLEXCPT    /*  4 - bfin */
 ILL_ILLTRP 4
 ILL_PRVOPC 5
 ILL_PRVREG 6
 ILL_COPROC 7
 ILL_BADSTK 8
+ILL_CPLB_VI     /*  9 - bfin */
+ILL_CPLB_MISS   /* 10 - bfin */
+ILL_CPLB_MULHIT /* 11 - bfin */
+ILL_DBLFLT      /*  9 - tile */
+ILL_HARDWALL    /* 10 - tile */
+ILL_BADIADDR    /*  9 - ia64 */
+__ILL_BREAK     /* 10 - ia64 */
+__ILL_BNDMOD    /* 11 - ia64 */
index 09c16069a997cc44ba3439c08beac24a2e32cdf1..86dbdc5fd3147796857ed2089bf990ee59f38b5f 100644 (file)
@@ -1,4 +1,6 @@
 SEGV_MAPERR 1
 SEGV_ACCERR 2
+SEGV_STACKFLOW /* 3 - bfin */
 SEGV_BNDERR 3
+__SEGV_PSTKOVF /* 4 - ia64 */
 SEGV_PKUERR 4
index 078aec873b2e3f4e6d2f3622a5cc5defccbd0a5a..38b0342d4dfdf6310e637e9f997f293735380774 100644 (file)
@@ -1,4 +1,8 @@
+TRAP_STEP /* 1 - bfin */
 TRAP_BRKPT 1
+TRAP_TRACEFLOW /* 2 - bfin */
 TRAP_TRACE 2
+TRAP_WATCHPT /* 3 - bfin */
 TRAP_BRANCH 3
+TRAP_ILLTRAP /* 4 - bfin */
 TRAP_HWBKPT 4