This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

2009-06-25  Karen Osmond  <>

	* 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 
	(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  <>

	* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]