diff options
author | Luis Machado <luis.machado@arm.com> | 2022-05-06 15:30:41 +0100 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2022-05-18 11:24:55 +0100 |
commit | 44b6e8016087c346dc21270d9097f6294ee1e4f6 (patch) | |
tree | 3e86de12d2d5b76b206dea7405d15f9591bcc8d8 /gdb/aarch64-tdep.c | |
parent | c9cd8ca4652393e0b324f447dd1c64d0f2a83ef3 (diff) | |
download | fsf-binutils-gdb-44b6e8016087c346dc21270d9097f6294ee1e4f6.zip fsf-binutils-gdb-44b6e8016087c346dc21270d9097f6294ee1e4f6.tar.gz fsf-binutils-gdb-44b6e8016087c346dc21270d9097f6294ee1e4f6.tar.bz2 |
Remove unused DWARF PAUTH registers
The AARCH64_DWARF_PAUTH_DMASK and AARCH64_DWARF_PAUTH_CMASK DWARF registers
never made their way into the aadwarf64. The following patch removes these
constants and their use.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=26295
Diffstat (limited to 'gdb/aarch64-tdep.c')
-rw-r--r-- | gdb/aarch64-tdep.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index d85c406..d0995bb 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -2236,9 +2236,6 @@ aarch64_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int reg) if (tdep->has_pauth ()) { - if (reg >= AARCH64_DWARF_PAUTH_DMASK && reg <= AARCH64_DWARF_PAUTH_CMASK) - return tdep->pauth_reg_base + reg - AARCH64_DWARF_PAUTH_DMASK; - if (reg == AARCH64_DWARF_RA_SIGN_STATE) return tdep->ra_sign_state_regnum; } |