PR 15519
authorDoug Evans <dje@google.com>
Wed, 5 Jun 2013 22:28:51 +0000 (22:28 +0000)
committerDoug Evans <dje@google.com>
Wed, 5 Jun 2013 22:28:51 +0000 (22:28 +0000)
commit69fc87c263bbfcb062d993d70ea1e97813cd3d29
tree67828f66c8a30e5a71a7d94a824c0d0238a1e907
parenta513d1e8c0893e74ec26dd38dde8f313d7b8b1ba
PR 15519
* cp-namespace.c (find_symbol_in_baseclass): Call
cp_lookup_symbol_in_namespace instead of cp_lookup_symbol_namespace.
Check result of call to lookup_symbol_static.
Call lookup_static_symbol_aux unconditionally.
Call check_typedef on base types before accessing them.
(cp_lookup_nested_symbol): Fix comment.

testsuite/
* gdb.cp/derivation2.cc: New file.
* gdb.cp/derivation.cc (main): Call foo2.
* gdb.cp/derivation.exp: Add tests for typedefs in another
file, and when there's an active block.
gdb/ChangeLog
gdb/cp-namespace.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/derivation.cc
gdb/testsuite/gdb.cp/derivation.exp
gdb/testsuite/gdb.cp/derivation2.cc [new file with mode: 0644]
This page took 0.034674 seconds and 4 git commands to generate.