From: Ulrich Weigand Date: Tue, 29 Sep 2009 19:02:22 +0000 (+0000) Subject: * gdb.objc/basicclass.exp: Disable pending breakpoint query. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f73703cc3c04d3fa71e054d5ec7847e61b63a86;p=binutils-gdb.git * gdb.objc/basicclass.exp: Disable pending breakpoint query. * gdb.objc/nondebug.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e83c0fc9eb2..96f313a8799 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-09-29 Ulrich Weigand + + * gdb.objc/basicclass.exp: Disable pending breakpoint query. + * gdb.objc/nondebug.exp: Likewise. + 2009-09-29 Ulrich Weigand * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp index 462ac06d70c..d0179b6fdba 100644 --- a/gdb/testsuite/gdb.objc/basicclass.exp +++ b/gdb/testsuite/gdb.objc/basicclass.exp @@ -102,6 +102,11 @@ do_objc_tests # # Breakpoint tests # + +# Disable pending breakpoint query to avoid timeouts +# if Obj-C symbols cannot be found +gdb_test "set breakpoint pending off" "" "set breakpoint pending" + gdb_test "break doIt" \ "Breakpoint.*at.* file .*$srcfile, line.29.*" \ "breakpoint method" diff --git a/gdb/testsuite/gdb.objc/nondebug.exp b/gdb/testsuite/gdb.objc/nondebug.exp index 1fc2403504a..6679e694b2c 100644 --- a/gdb/testsuite/gdb.objc/nondebug.exp +++ b/gdb/testsuite/gdb.objc/nondebug.exp @@ -56,6 +56,10 @@ proc do_objc_tests {} { do_objc_tests +# Disable pending breakpoint query to avoid timeouts +# if Obj-C symbols cannot be found +gdb_test "set breakpoint pending off" "" "set breakpoint pending" + # # Break on multiply defined non-debuggable symbol (PR objc/1236) #