Try a couple PAuth compilation flags for gdb.arch/aarch64-pauth.exp
authorLuis Machado <luis.machado@arm.com>
Thu, 30 Jun 2022 14:23:56 +0000 (15:23 +0100)
committerLuis Machado <luis.machado@arm.com>
Mon, 11 Jul 2022 15:27:41 +0000 (16:27 +0100)
commitf58d9432cdf8a279ed584efdb9791f44bb4dcd9e
tree8ad5a5d114a3beca6cca3bfb6c5c6a891b72baa6
parent4cbe4ca5da5cd7e1e6331ce11f024bf3c07b9744
Try a couple PAuth compilation flags for gdb.arch/aarch64-pauth.exp

The -msign-return-address switch has been dropped from GCC, but some
older compiler may still support it.  Make sure we try both
-msign-return-address and -mbranch-protection before bailing out when
running gdb.arch/aarch64-pauth.exp.
gdb/testsuite/gdb.arch/aarch64-pauth.exp