diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -39,6 +39,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb clean_restart ${binfile} +gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions" + # The commands we test here produce many lines of output; disable "press # to continue" prompts. gdb_test_no_output "set height 0" diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp --- a/gdb/testsuite/gdb.base/annota3.exp +++ b/gdb/testsuite/gdb.base/annota3.exp @@ -38,6 +38,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb clean_restart ${binfile} +gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions" + # The commands we test here produce many lines of output; disable "press # to continue" prompts. gdb_test_no_output "set height 0"