diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-02-12 20:45:24 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-02-27 13:14:38 +0000 |
commit | a3b09b9c3b7691713c7a7a21d473ba05860c9e40 (patch) | |
tree | 9dee137db2bec6a2bdb6b3e2687fe57d48424d7c | |
parent | d8242828140b15740e2122796d5370aba93be882 (diff) | |
download | strace-a3b09b9c3b7691713c7a7a21d473ba05860c9e40.tar.gz |
xlat: add arch-specific si_codes constants
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.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | xlat/sigbus_codes.in | 1 | ||||
-rw-r--r-- | xlat/sigfpe_codes.in | 6 | ||||
-rw-r--r-- | xlat/sigill_codes.in | 10 | ||||
-rw-r--r-- | xlat/sigsegv_codes.in | 2 | ||||
-rw-r--r-- | xlat/sigtrap_codes.in | 4 |
6 files changed, 24 insertions, 0 deletions
@@ -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 diff --git a/xlat/sigbus_codes.in b/xlat/sigbus_codes.in index 1bce25f23..54f1b433a 100644 --- a/xlat/sigbus_codes.in +++ b/xlat/sigbus_codes.in @@ -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 diff --git a/xlat/sigfpe_codes.in b/xlat/sigfpe_codes.in index 4ef0667ac..31cc924f6 100644 --- a/xlat/sigfpe_codes.in +++ b/xlat/sigfpe_codes.in @@ -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 */ diff --git a/xlat/sigill_codes.in b/xlat/sigill_codes.in index ca111ec82..12cd2cfa6 100644 --- a/xlat/sigill_codes.in +++ b/xlat/sigill_codes.in @@ -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 */ diff --git a/xlat/sigsegv_codes.in b/xlat/sigsegv_codes.in index 09c16069a..86dbdc5fd 100644 --- a/xlat/sigsegv_codes.in +++ b/xlat/sigsegv_codes.in @@ -1,4 +1,6 @@ SEGV_MAPERR 1 SEGV_ACCERR 2 +SEGV_STACKFLOW /* 3 - bfin */ SEGV_BNDERR 3 +__SEGV_PSTKOVF /* 4 - ia64 */ SEGV_PKUERR 4 diff --git a/xlat/sigtrap_codes.in b/xlat/sigtrap_codes.in index 078aec873..38b0342d4 100644 --- a/xlat/sigtrap_codes.in +++ b/xlat/sigtrap_codes.in @@ -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 |