[binutils-gdb] gdb.rocm/watchpoint-basic: use gdb_continue_to_end
Shahab Vahedi via Gdb-cvs <[email protected]> Mon, 27 Jul 2026 08:55:18 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D306f4b181760= 1e3cca31ca67790215bef8f809ad commit 306f4b1817601e3cca31ca67790215bef8f809ad Author: Shahab Vahedi <[email protected]> Date: Thu Jul 16 18:18:13 2026 +0200 gdb.rocm/watchpoint-basic: use gdb_continue_to_end =20 Turn: gdb_test "continue" \ "Inferior 1 .* exited normally.*" \ "continue to end" =20 into: gdb_continue_to_end [ "" continue 1 ] =20 Reviewed-by: Tankut Baris Aktemur <[email protected]> Approved-by: Luis Machado <[email protected]> Diff: --- gdb/testsuite/gdb.rocm/watchpoint-basic.exp | 28 +++++++------------------= --- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/gdb/testsuite/gdb.rocm/watchpoint-basic.exp b/gdb/testsuite/gd= b.rocm/watchpoint-basic.exp index 8d19b0dcba2..9626b32d5d2 100644 --- a/gdb/testsuite/gdb.rocm/watchpoint-basic.exp +++ b/gdb/testsuite/gdb.rocm/watchpoint-basic.exp @@ -53,9 +53,7 @@ proc_with_prefix test_host_watchpoint_before_runtime_load= {} { =20 continue_to_watchpoint_hit 5 17 "continue to watchpoint hit" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -76,9 +74,7 @@ proc_with_prefix test_host_watchpoint_after_runtime_load = {} { =20 continue_to_watchpoint_hit 5 17 "continue to watchpoint hit" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -102,9 +98,7 @@ proc_with_prefix test_watchpoint_before_kernel {} { continue_to_watchpoint_hit 30 40 "continue to watchpoint hit 3" continue_to_watchpoint_hit 40 60 "continue to watchpoint hit 4" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -132,9 +126,7 @@ proc_with_prefix test_watchpoint_inside_kernel {} { continue_to_watchpoint_hit 300 400 "continue to watchpoint hit 3" continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 4" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -156,9 +148,7 @@ proc_with_prefix test_remove_watchpoint_inside_kernel {= } { continue_to_watchpoint_hit 0 10 "continue to watchpoint hit" gdb_test "with confirm off -- delete" "" "delete all breakpoints" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -189,9 +179,7 @@ proc_with_prefix test_multiple_watchpoints {} { continue_to_watchpoint_hit 40 60 "continue to watchpoint hit 7" continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 8" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } =20 @@ -239,9 +227,7 @@ proc_with_prefix test_disable_enable_watchpoint {} { =20 continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 6" =20 - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } }