summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-06-26 16:08:20 +0000
committerDoug Evans <dje@google.com>2009-06-26 16:08:20 +0000
commit2e1756148dc6fabd1a6a8d69295a365369c31aae (patch)
treebb67fd6e884f97d91847f12d062aab7f2c5b3b77
parent7006e3714184d9e62871d3eabdbe3f76ad0c963a (diff)
downloadgdb-2e1756148dc6fabd1a6a8d69295a365369c31aae.tar.gz
* gdb.base/psymtab.exp: Turn off pending breakpoints.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/psymtab.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1c285b277f7..2f88eeb14fd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-26 Doug Evans <dje@google.com>
+
+ * gdb.base/psymtab.exp: Turn off pending breakpoints.
+
2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
diff --git a/gdb/testsuite/gdb.base/psymtab.exp b/gdb/testsuite/gdb.base/psymtab.exp
index 1fc834c74a8..be079a39cba 100644
--- a/gdb/testsuite/gdb.base/psymtab.exp
+++ b/gdb/testsuite/gdb.base/psymtab.exp
@@ -61,6 +61,11 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+# Disable the prompt for whether to set pending breakpoints.
+# We don't want a breakpoint, we just want to verify the symbol
+# isn't found.
+gdb_test "set breakpoint pending off" "" "psymtab pending setup"
+
# This test is looking for a bug that manifested itself when GDB was
# looking for a partial symbol such that there wasn't such a partial
# symbol in the psymtab, but such that the last psym in the psymtab