gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 Jul 2011 20:16:39 +0000 (20:16 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 1 Jul 2011 20:16:39 +0000 (20:16 +0000)
commitdcf9f4ab7f00dba719a501c8bca3ff446edd200d
tree14915a66bc52576b54422d907b08a8b5e0258cb0
parentbc68c4e5f855998fce6b79e5d96b913b548541ed
gdb/
Fall back linespec to minimal symbols.
* linespec.c (decode_line_1): New variable ex, saved_argptr.  Protect
decode_compound by TRY_CATCH, fall back on minsyms if it failed.
(find_method, symbol_found): Change error to cplusplus_error.

gdb/testsuite/
Fall back linespec to minimal symbols.
* gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
error message.
* gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
* gdb.cp/minsym-fallback-main.cc: New file.
* gdb.cp/minsym-fallback.cc: New file.
* gdb.cp/minsym-fallback.exp: New file.
* gdb.cp/minsym-fallback.h: New file.
gdb/ChangeLog
gdb/linespec.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/psymtab.exp
gdb/testsuite/gdb.cp/cplusfuncs.exp
gdb/testsuite/gdb.cp/minsym-fallback-main.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/minsym-fallback.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/minsym-fallback.exp [new file with mode: 0644]
gdb/testsuite/gdb.cp/minsym-fallback.h [new file with mode: 0644]
This page took 0.027691 seconds and 4 git commands to generate.