gdb/testsuite: Make test names unique in gdb.reverse tests
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.reverse / break-precsave.exp
index 68ac35db53e254541a8d2a52669dad7e736cb345..085526b88f6036fe027109a820f4f8c0ddc1e10c 100644 (file)
@@ -69,8 +69,10 @@ proc precsave_tests {} {
        "Breakpoint $decimal at .* line $bar_location\." \
        "set breakpoint on bar"
 
-    gdb_continue_to_breakpoint "foo" ".*$srcfile:$foo_location.*"
-    gdb_continue_to_breakpoint "bar" ".*$srcfile:$bar_location.*"
+    gdb_continue_to_breakpoint "foo forward after restore" \
+       ".*$srcfile:$foo_location.*"
+    gdb_continue_to_breakpoint "bar forward after restore" \
+       ".*$srcfile:$bar_location.*"
     gdb_test_multiple "continue" "go to end of main forward" {
        -re ".*Breakpoint $decimal,.*$srcfile:$end_location.*$gdb_prompt $"  {
            pass "go to end of main forward"
@@ -96,8 +98,10 @@ proc precsave_tests {} {
 
     gdb_test_no_output "set exec-direction forward" "set forward"
 
-    gdb_continue_to_breakpoint "foo" ".*$srcfile:$foo_location.*"
-    gdb_continue_to_breakpoint "bar" ".*$srcfile:$bar_location.*"
+    gdb_continue_to_breakpoint "foo forward again" \
+       ".*$srcfile:$foo_location.*"
+    gdb_continue_to_breakpoint "bar forward again" \
+       ".*$srcfile:$bar_location.*"
 
     gdb_test_multiple "continue" "end of record log" {
        -re ".*Breakpoint $decimal,.*$srcfile:$end_location.*$gdb_prompt $" {
This page took 0.024706 seconds and 4 git commands to generate.