This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Test result regression for gdb.base/psymtab.exp [Re: [patch] not able to set pending breakpoint at qualified C++ function names]
On Thu, 25 Jun 2009 20:09:15 +0200, Karen Osmond wrote:
> On Mon, 22 Jun 2009, Karen Osmond wrote:
> > 2009-06-22 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.
>
> Committed.
There is now a small testsuite regression (x86_64-fedora-linux-gnu) as GDB now
behaves more correctly.
Can't find member of namespace, class, struct, or union named "zzz::dummy"
Hint: try 'zzz::dummy<TAB> or 'zzz::dummy<ESC-?>
(Note leading single quote.)
-(gdb) PASS: gdb.base/psymtab.exp: Don't search past end of psymtab.
-testcase ../.././gdb/testsuite/gdb.base/psymtab.exp completed in 1 seconds
+Make breakpoint pending on future shared library load? (y or [n]) FAIL: gdb.base/psymtab.exp: Don't search past end of psymtab. (timeout)
+testcase ../.././gdb/testsuite/gdb.base/psymtab.exp completed in 60 seconds
Requesting approval from GDB maintainers.
Thanks,
Jan
2009-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/psymtab.exp (gdb.base/psymtab.exp): Turn off pending
breakpoints.
--- a/gdb/testsuite/gdb.base/psymtab.exp
+++ b/gdb/testsuite/gdb.base/psymtab.exp
@@ -61,6 +61,10 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+# GDB now correctly asks if the symbol can be found on future library load.
+
+gdb_test "set breakpoint pending off"
+
# 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