Harden gdb.arch/aarch64-pauth.exp and fix a failure
authorLuis Machado <luis.machado@linaro.org>
Fri, 21 Feb 2020 20:58:48 +0000 (17:58 -0300)
committerLuis Machado <luis.machado@linaro.org>
Fri, 28 Feb 2020 10:27:14 +0000 (07:27 -0300)
commit85d2d5bbee1c21c2e3e929cc68fe06d762b3073b
tree3189585bb399267ec717f96534381e391600dab0
parentdec7b24be89fe0496f9442232bcbfcb16e030742
Harden gdb.arch/aarch64-pauth.exp and fix a failure

When running this testcase against a QEMU with PAC support, i noticed we
were failing to recognize the additional [PAC] that is emitted in the
backtrace, resulting in this failure:

FAIL: gdb.arch/aarch64-pauth.exp: backtrace

I've made the test use multi_line to make the pattern more clear.

Tested against aarch64-linux-gnu with and without PAC support.

gdb/testsuite/ChangeLog:

2020-02-28  Luis Machado  <luis.machado@linaro.org>

* gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/aarch64-pauth.exp