* gdb.objc/basicclass.exp: Disable pending breakpoint query.
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 19:02:22 +0000 (19:02 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 19:02:22 +0000 (19:02 +0000)
* gdb.objc/nondebug.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.objc/basicclass.exp
gdb/testsuite/gdb.objc/nondebug.exp

index e83c0fc..96f313a 100644 (file)
@@ -1,5 +1,10 @@
 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
+       * gdb.objc/basicclass.exp: Disable pending breakpoint query.
+       * gdb.objc/nondebug.exp: Likewise.
+
+2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
        * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
        target_info setting.
 
index 462ac06..d0179b6 100644 (file)
@@ -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"
index 1fc2403..6679e69 100644 (file)
@@ -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)
 #