diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4261e4a7204..fd8d921fdc2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2020-10-14 Tom de Vries + + PR testsuite/26732 + * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running + scenario 2. + * gdb.ada/mi_catch_ex_hand.exp: Same. + 2020-10-13 Pedro Alves * lib/mi-support.exp (mi_clean_restart): New. diff --git a/gdb/testsuite/gdb.ada/mi_catch_ex.exp b/gdb/testsuite/gdb.ada/mi_catch_ex.exp index 103ec85f862..1d2625aa1a7 100644 --- a/gdb/testsuite/gdb.ada/mi_catch_ex.exp +++ b/gdb/testsuite/gdb.ada/mi_catch_ex.exp @@ -123,6 +123,7 @@ continue_to_exception \ # - continue, the program exits. with_test_prefix "scenario 2" { + mi_delete_breakpoints if {[mi_runto_main] < 0} { fail "cannot run to main, testcase aborted" return 0 diff --git a/gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp b/gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp index ef3dd249790..6e913c1031d 100644 --- a/gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp +++ b/gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp @@ -116,6 +116,7 @@ continue_to_exception_handler \ # but exit instead. with_test_prefix "scenario 2" { + mi_delete_breakpoints if {[mi_runto_main] < 0} { fail "cannot run to main, testcase aborted" return 0