1fcb515536
Partial fix for PR c++/827. * cp-support.h: Include symtab.h. Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. * cp-namespace.c: Update contributors. (cp_lookup_symbol_nonlocal): New. (lookup_namespace_scope, cp_lookup_symbol_namespace) (lookup_symbol_file): Ditto. * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. * block.h: Declare block_scope, block_using, block_global_block. * block.c (block_scope): New. (block_using, block_global_block): Ditto. * Makefile.in (cp_support_h): Depend on symtab_h. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. 2003-05-19 David Carlton <carlton@bactrian.org> * gdb.c++/namespace.exp: Add namespace scope and anonymous namespace tests. Bump copyright date. * gdb.c++/namespace.cc: Add anonymous namespace and namespace C. (main): Call C::D::marker2. * gdb.c++/namespace1.cc: New file. |
||
---|---|---|
.. | ||
ambiguous.cc | ||
ambiguous.exp | ||
annota2.cc | ||
annota2.exp | ||
anon-union.cc | ||
anon-union.exp | ||
casts.cc | ||
casts.exp | ||
classes.exp | ||
cplusfuncs.cc | ||
cplusfuncs.exp | ||
ctti.exp | ||
cttiadd.cc | ||
cttiadd1.cc | ||
cttiadd2.cc | ||
cttiadd3.cc | ||
demangle.exp | ||
derivation.cc | ||
derivation.exp | ||
hang.exp | ||
hang.H | ||
hang1.C | ||
hang2.C | ||
hang3.C | ||
inherit.exp | ||
local.cc | ||
local.exp | ||
m-data.cc | ||
m-data.exp | ||
m-static.cc | ||
m-static.exp | ||
m-static.h | ||
m-static1.cc | ||
maint.exp | ||
Makefile.in | ||
member-ptr.cc | ||
member-ptr.exp | ||
method.cc | ||
method.exp | ||
misc.cc | ||
misc.exp | ||
namespace.cc | ||
namespace.exp | ||
overload.cc | ||
overload.exp | ||
ovldbreak.cc | ||
ovldbreak.exp | ||
pr-574.cc | ||
pr-574.exp | ||
pr-1023.cc | ||
pr-1023.exp | ||
printmethod.cc | ||
printmethod.exp | ||
psmang.exp | ||
psmang1.cc | ||
psmang2.cc | ||
ref-types.cc | ||
ref-types.exp | ||
templates.cc | ||
templates.exp | ||
try_catch.cc | ||
try_catch.exp | ||
userdef.cc | ||
userdef.exp | ||
virtfunc.cc | ||
virtfunc.exp |