aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2019-05-22 14:02:17 +0100
committerAlan Hayward <alan.hayward@arm.com>2019-05-22 14:35:25 +0100
commit8fca4da0759df376bcb646bc4b79a92ba27e2362 (patch)
tree47050d975da4df191152bcad7f775581b045595c /ld/ldfile.c
parentb706061469811a16ff2fb8d42f6e98a22e454212 (diff)
downloadgdb-8fca4da0759df376bcb646bc4b79a92ba27e2362.zip
gdb-8fca4da0759df376bcb646bc4b79a92ba27e2362.tar.gz
gdb-8fca4da0759df376bcb646bc4b79a92ba27e2362.tar.bz2
AArch64: Treat pauth ops as nops on non-pauth systems
Running an address signed binary through GDB on a non pauth system gives the following error: Call Frame Instruction op 45 in vendor extension space is not handled on this architecture. Instead GDB should ignore the op, treating it as a nop. Add test case for pauth binaries, regardless of whether the target supports it. gdb/ChangeLog: * aarch64-tdep.c (aarch64_execute_dwarf_cfa_vendor_op): Treat DW_CFA_AARCH64_negate_ra_state as nop on non pauth targets. gdb/testsuite/ChangeLog: * gdb.arch/aarch64-pauth.c: New test. * gdb.arch/aarch64-pauth.exp: New file.
Diffstat (limited to 'ld/ldfile.c')
0 files changed, 0 insertions, 0 deletions