diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/exception.exp')
-rwxr-xr-x | gdb/testsuite/gdb.btrace/exception.exp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp index 46ed542..0279a7f 100755 --- a/gdb/testsuite/gdb.btrace/exception.exp +++ b/gdb/testsuite/gdb.btrace/exception.exp @@ -47,10 +47,11 @@ gdb_continue_to_breakpoint "cont to bp.2" ".*$srcfile:$bp_2\r\n.*" send_gdb "record function-call-history 1\n" gdb_expect_list "flat" "\r\n$gdb_prompt $" [list \ [join [list \ - "1\ttest\\(\\)" \ - "2\tfoo\\(\\)" \ - "3\tbar\\(\\)" \ - "4\tbad\\(\\)" \ + "1\tmain\\(\\)" \ + "2\ttest\\(\\)" \ + "3\tfoo\\(\\)" \ + "4\tbar\\(\\)" \ + "5\tbad\\(\\)\r" \ ] "\r\n"] \ "" \ "\[0-9\]*\ttest\\(\\)"] @@ -59,10 +60,11 @@ gdb_expect_list "flat" "\r\n$gdb_prompt $" [list \ send_gdb "record function-call-history /c 1\n" gdb_expect_list "indented" "\r\n$gdb_prompt $" [list \ [join [list \ - "1\ttest\\(\\)" \ - "2\t foo\\(\\)" \ - "3\t bar\\(\\)" \ - "4\t bad\\(\\)\r" \ - ] "\r\n"] \ + "1\tmain\\(\\)" \ + "2\t test\\(\\)" \ + "3\t foo\\(\\)" \ + "4\t bar\\(\\)" \ + "5\t bad\\(\\)\r" \ + ] "\r\n"] \ "" \ - "\[0-9\]*\ttest\\(\\)"] + "\[0-9\]*\t test\\(\\)"] |