diff options
author | Luis Machado <luis.machado@arm.com> | 2022-04-04 09:38:48 +0100 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2022-04-07 15:21:45 +0100 |
commit | eb33f6973ec32cd34c2c5b8c0aa46606d5fa43c1 (patch) | |
tree | d86e108a69889b3db244f8f941d8a77b59d01c91 | |
parent | 145667f8d991932165a70d7c1551620be44e4b4f (diff) | |
download | gdb-eb33f6973ec32cd34c2c5b8c0aa46606d5fa43c1.zip gdb-eb33f6973ec32cd34c2c5b8c0aa46606d5fa43c1.tar.gz gdb-eb33f6973ec32cd34c2c5b8c0aa46606d5fa43c1.tar.bz2 |
Recognize the NT_ARM_SYSTEM_CALL register set
Update binutils to recognize the NT_ARM_SYSTEM_CALL set that is dumped by
Linux to core files.
-rw-r--r-- | binutils/readelf.c | 2 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 84c8cfd4..a9207b0 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -19379,6 +19379,8 @@ get_note_type (Filedata * filedata, unsigned e_type) return _("NT_ARM_HW_BREAK (AArch hardware breakpoint registers)"); case NT_ARM_HW_WATCH: return _("NT_ARM_HW_WATCH (AArch hardware watchpoint registers)"); + case NT_ARM_SYSTEM_CALL: + return _("NT_ARM_SYSTEM_CALL (AArch system call number)"); case NT_ARM_SVE: return _("NT_ARM_SVE (AArch SVE registers)"); case NT_ARM_PAC_MASK: diff --git a/include/elf/common.h b/include/elf/common.h index ad62a7d..e4bc53e 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -675,6 +675,8 @@ /* note name must be "LINUX". */ #define NT_ARM_HW_WATCH 0x403 /* AArch hardware watchpoint registers */ /* note name must be "LINUX". */ +#define NT_ARM_SYSTEM_CALL 0x404 /* AArch ARM system call number */ + /* note name must be "LINUX". */ #define NT_ARM_SVE 0x405 /* AArch SVE registers. */ /* note name must be "LINUX". */ #define NT_ARM_PAC_MASK 0x406 /* AArch pointer authentication code masks */ |