[RFA]: Update psymtab.exp for change in not found method handling

Doug Evans
2009-06-26T05:31:37Z

Hi.

psymtab.exp is failing now (amd64-linux).

2009-06-25 Karen Osmond <karen.osmond@gmail.com>

* linespec.c (find_method): Add new not_found_ptr parameter to
bring in line with symtab_from_filename, decode_variable.
(decode_compound): Likewise. Also propagate not_found_ptr to
find_method.
(decode_line_1): Propagate not_found_ptr to decode_compound.
(cplusplus_error): Now throws NOT_FOUND_ERROR.

gdb now prompts for whether to set pending method breakpoints
and psymtab.exp isn't expecting this.

ok to check in?

2009-06-25 Doug Evans <dje@google.com>

* gdb.base/psymtab.exp: Turn off pending breakpoints.

Index: psymtab.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/psymtab.exp,v
retrieving revision 1.7
diff -u -p -r1.7 psymtab.exp
--- psymtab.exp 3 Jan 2009 05:58:03 -0000 1.7
+++ psymtab.exp 26 Jun 2009 05:18:25 -0000
@@ -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 breakpoint
+# 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