diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9256c071746..ddb8f8b36fe 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-01-28 Tom de Vries + + * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint. + 2021-01-28 Tom de Vries * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to diff --git a/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp b/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp index f3c8fdcf919..fa8f04e4cb2 100644 --- a/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp +++ b/gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp @@ -30,8 +30,7 @@ foreach_with_prefix scenario {all minimal} { clean_restart ${testfile} - gdb_test "break foo_o224_021.child1.child2" \ - "Breakpoint \[0-9\]+ at.*: file .*foo_o224_021.adb, line \[0-9\]+." + gdb_breakpoint "foo_o224_021.child1.child2" gdb_run_cmd gdb_test "" \