btrace, testsuite: fix spurious gdb.btrace/tsx.exp fails
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 24 Aug 2015 09:37:53 +0000 (11:37 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 30 Sep 2015 12:48:38 +0000 (14:48 +0200)
commit77ba2a67960d05991a3e3641049cac649ca04c96
tree414fe2737808f03a786f4967f51023b03e73238e
parent9865bd0da6e59c3a1c55605b5a6a9283ed4d542c
btrace, testsuite: fix spurious gdb.btrace/tsx.exp fails

If the atomic section in x86-tsx.S is aborted, the tsx.exp test will fail
even if the traced output is actually correct.

Consider abort scenarios in the test.

testsuite/
* gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
instruction-history test.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/tsx.exp