diff options
-rw-r--r-- | gdb/testsuite/gdb.btrace/tsx.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.btrace/tsx.exp b/gdb/testsuite/gdb.btrace/tsx.exp index ccde1ea..66f6305 100644 --- a/gdb/testsuite/gdb.btrace/tsx.exp +++ b/gdb/testsuite/gdb.btrace/tsx.exp @@ -59,6 +59,11 @@ set abort_2 [multi_line \ "\[0-9\]*\t 0x\[0-9a-f\]+ <test\\+\[0-9\]+>:\tmov\[^\\\r\\\n\]*" \ "\[0-9\]*\t 0x\[0-9a-f\]+ <test\\+\[0-9\]+>:\tret\[^\\\r\\\n\]*" \ ] +set abort_3 \ + [multi_line \ + "$decimal\t $hex <main\\+$decimal>:\t\[^\\\r\\\n\]*" \ + "$decimal\t $hex <test\\+$decimal>:\tmov\[^\\\r\\\n\]*" \ + "$decimal\t $hex <test\\+$decimal>:\tret\[^\\\r\\\n\]*"] set test "speculation indication" gdb_test_multiple "record instruction-history" $test { @@ -68,6 +73,9 @@ gdb_test_multiple "record instruction-history" $test { -re "$abort_2.*$gdb_prompt $" { pass $test } + -re -wrap "$abort_3.*" { + pass $gdb_test_name + } -re "$begin_to_end.*$gdb_prompt $" { pass $test } |