diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/exception.exp')
-rwxr-xr-x | gdb/testsuite/gdb.btrace/exception.exp | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp index 33cd0ea..7b840e4 100755 --- a/gdb/testsuite/gdb.btrace/exception.exp +++ b/gdb/testsuite/gdb.btrace/exception.exp @@ -60,19 +60,25 @@ gdb_expect_list "flat" "\r\n$gdb_prompt $" [list \ "3\tfoo\\(\\)" \ "4\tbar\\(\\)" \ "5\tbad\\(\\)\r" \ - ] \ - "" \ - "\[0-9\]*\ttest\\(\\)"] + ] "" \ + [multi_line \ + "\[0-9\]*\ttest\\(\\)" \ + "\[0-9\]*\tmain\\(\\)" \ + ] "" \ + ] # show the branch trace with calls indented send_gdb "record function-call-history /c 1\n" gdb_expect_list "indented" "\r\n$gdb_prompt $" [list \ [multi_line \ "1\tmain\\(\\)" \ - "2\t test\\(\\)" \ - "3\t foo\\(\\)" \ - "4\t bar\\(\\)" \ - "5\t bad\\(\\)\r" \ - ] \ - "" \ - "\[0-9\]*\t test\\(\\)"] + "2\t test\\(\\)" \ + "3\t foo\\(\\)" \ + "4\t bar\\(\\)" \ + "5\t bad\\(\\)\r" \ + ] "" \ + [multi_line \ + "\[0-9\]*\t test\\(\\)" \ + "\[0-9\]*\tmain\\(\\)" \ + ] "" \ + ] |