diff options
Diffstat (limited to 'gdb/testsuite/gdb.reverse/finish-precsave.exp')
-rw-r--r-- | gdb/testsuite/gdb.reverse/finish-precsave.exp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.reverse/finish-precsave.exp b/gdb/testsuite/gdb.reverse/finish-precsave.exp index 48fa7df..22c32e4 100644 --- a/gdb/testsuite/gdb.reverse/finish-precsave.exp +++ b/gdb/testsuite/gdb.reverse/finish-precsave.exp @@ -38,7 +38,7 @@ if [supports_process_record] { set breakloc [gdb_get_line_number "end of main" "$srcfile"] gdb_test "break $breakloc" \ - "Breakpoint $decimal at .*/$srcfile, line $breakloc\." \ + "Breakpoint $decimal at .*$srcfile, line $breakloc\." \ "BP at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" @@ -58,9 +58,9 @@ gdb_test "record restore $precsave" \ set breakloc [gdb_get_line_number "VOID FUNC" "$srcfile"] gdb_test "break void_func" \ - "Breakpoint $decimal at .*/$srcfile, line $breakloc\." \ + "Breakpoint $decimal at .*$srcfile, line $breakloc\." \ "set breakpoint on void_func" -gdb_continue_to_breakpoint "void_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "void_func" ".*$srcfile:$breakloc.*" set test_msg "finish from void_func" gdb_test_multiple "finish" "$test_msg" { @@ -77,9 +77,9 @@ gdb_test_multiple "finish" "$test_msg" { set breakloc [gdb_get_line_number "CHAR FUNC" "$srcfile"] gdb_test "break char_func" \ - "Breakpoint $decimal at .*/$srcfile, line $breakloc\." \ + "Breakpoint $decimal at .*$srcfile, line $breakloc\." \ "set breakpoint on char_func" -gdb_continue_to_breakpoint "char_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "char_func" ".*$srcfile:$breakloc.*" set test_msg "finish from char_func" gdb_test_multiple "finish" "$test_msg" { @@ -98,7 +98,7 @@ set breakloc [gdb_get_line_number "SHORT FUNC" "$srcfile"] gdb_test "break short_func" \ "Breakpoint $decimal at .* line $breakloc\." \ "set breakpoint on short_func" -gdb_continue_to_breakpoint "short_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "short_func" ".*$srcfile:$breakloc.*" set test_msg "finish from short_func" gdb_test_multiple "finish" "$test_msg" { @@ -117,7 +117,7 @@ set breakloc [gdb_get_line_number "INT FUNC" "$srcfile"] gdb_test "break int_func" \ "Breakpoint $decimal at .* line $breakloc\." \ "set breakpoint on int_func" -gdb_continue_to_breakpoint "int_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "int_func" ".*$srcfile:$breakloc.*" set test_msg "finish from int_func" gdb_test_multiple "finish" "$test_msg" { @@ -136,7 +136,7 @@ set breakloc [gdb_get_line_number "LONG FUNC" "$srcfile"] gdb_test "break long_func" \ "Breakpoint $decimal at .* line $breakloc\." \ "set breakpoint on long_func" -gdb_continue_to_breakpoint "long_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "long_func" ".*$srcfile:$breakloc.*" set test_msg "finish from long_func" gdb_test_multiple "finish" "$test_msg" { @@ -155,7 +155,7 @@ set breakloc [gdb_get_line_number "LONG LONG FUNC" "$srcfile"] gdb_test "break long_long_func" \ "Breakpoint $decimal at .* line $breakloc\." \ "set breakpoint on long_long_func" -gdb_continue_to_breakpoint "long_long_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "long_long_func" ".*$srcfile:$breakloc.*" set test_msg "finish from long_long_func" gdb_test_multiple "finish" "$test_msg" { @@ -179,7 +179,7 @@ gdb_test_no_output "set exec-dir reverse" "set reverse execution" # Test reverse finish from long long func set breakloc [gdb_get_line_number "LONG LONG FUNC" "$srcfile"] -gdb_continue_to_breakpoint "long_long_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "long_long_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from long_long_func" gdb_test_multiple "finish" "$test_msg" { @@ -191,7 +191,7 @@ gdb_test_multiple "finish" "$test_msg" { # Test reverse finish from long func set breakloc [gdb_get_line_number "LONG FUNC" "$srcfile"] -gdb_continue_to_breakpoint "long_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "long_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from long_func" gdb_test_multiple "finish" "$test_msg" { @@ -203,7 +203,7 @@ gdb_test_multiple "finish" "$test_msg" { # Test reverse finish from int func set breakloc [gdb_get_line_number "INT FUNC" "$srcfile"] -gdb_continue_to_breakpoint "int_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "int_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from int_func" gdb_test_multiple "finish" "$test_msg" { @@ -215,7 +215,7 @@ gdb_test_multiple "finish" "$test_msg" { # Test reverse finish from short func set breakloc [gdb_get_line_number "SHORT FUNC" "$srcfile"] -gdb_continue_to_breakpoint "short_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "short_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from short_func" gdb_test_multiple "finish" "$test_msg" { @@ -227,7 +227,7 @@ gdb_test_multiple "finish" "$test_msg" { # Test reverse finish from char func set breakloc [gdb_get_line_number "CHAR FUNC" "$srcfile"] -gdb_continue_to_breakpoint "char_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "char_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from char_func" gdb_test_multiple "finish" "$test_msg" { @@ -239,7 +239,7 @@ gdb_test_multiple "finish" "$test_msg" { # Test reverse finish from void func set breakloc [gdb_get_line_number "VOID FUNC" "$srcfile"] -gdb_continue_to_breakpoint "void_func" ".*/$srcfile:$breakloc.*" +gdb_continue_to_breakpoint "void_func" ".*$srcfile:$breakloc.*" set test_msg "reverse finish from void_func" gdb_test_multiple "finish" "$test_msg" { |