aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-09-29 19:02:22 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-09-29 19:02:22 +0000
commit0f73703cc3c04d3fa71e054d5ec7847e61b63a86 (patch)
tree8a16df0c99d6a519ecca5431276d897da9830d33 /gdb/testsuite/gdb.objc
parent94f63f209ab1eb660764497179f46e9a181ac6b6 (diff)
downloadfsf-binutils-gdb-0f73703cc3c04d3fa71e054d5ec7847e61b63a86.zip
fsf-binutils-gdb-0f73703cc3c04d3fa71e054d5ec7847e61b63a86.tar.gz
fsf-binutils-gdb-0f73703cc3c04d3fa71e054d5ec7847e61b63a86.tar.bz2
* gdb.objc/basicclass.exp: Disable pending breakpoint query.
* gdb.objc/nondebug.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.objc')
-rw-r--r--gdb/testsuite/gdb.objc/basicclass.exp5
-rw-r--r--gdb/testsuite/gdb.objc/nondebug.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp
index 462ac06..d0179b6 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 1fc2403..6679e69 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)
#