old-cross-binutils/gdb/testsuite/gdb.c++
David Carlton 9219021cb5 2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
	(COMMON_OBS): Add cp-namespace.o.
	(block.o): Depend on gdb_obstack_h and cp_support_h.
	(buildsym.o): Depend on cp_support_h.
	(cp-namespace.o): New.
	(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
	gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
	(dwarf2read.o): Depend on cp_support_h.
	* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
	* dwarf2read.c (process_die): Set processing_has_namespace_info,
	processing_current_namespace.
	(read_namespace): Update processing_current_namespace; check for
	anonymous namespaces.
	(dwarf2_name): New function.
	(dwarf2_extension): Ditto.
	* cp-support.h: Update copyright, contributors.
	Add inclusion guards.
	Add opaque declaration for structs obstack, block, symbol.
	(struct using_direct): New struct.
	Add declarations for cp_find_first_component,
	cp_entire_prefix_len, processing_has_namespace_info,
	processing_current_namespace, cp_is_anonymous,
	cp_add_using_directive, cp_initialize_namespace,
	cp_finalize_namespace, cp_set_block_scope,
	cp_scan_for_anonymous_namespaces.
	* cp-namespace.c: New file.
	* cp-support.c: Update copyright.
	Include ctype.h, gdb_assert.h, gdbcmd.h.
	New variable maint_cplus_cmd_list.
	(cp_find_first_component): New function.
	(cp_entire_prefix_len, maint_cplus_command)
	(first_component_command, _initialize_cp_support): Ditto.
	* buildsym.c: Include cp-support.h.
	New variable using_list.
	(add_symbol_to_list): Check for anonymous namespaces.
	(finish_block): Set block's scope.
	(start_symtab): Initialize C++ namespace support.
	(end_symtab): Finalize C++ namespace support.
	* block.h: Add opaque declarations for structs
	block_namespace_info, using_direct, and obstack.
	Add declarations for block_set_scope and block_set_using.
	(struct block): Add 'language_specific' member.
	(BLOCK_NAMESPACE): New macro.
	* block.c: Include gdb_obstack.h and cp-support.h.
	(struct block_namespace_info): New struct.
	(block_set_scope): New function.
	(block_set_using, block_initialize_namespace): Ditto.

2003-04-15  David Carlton  <carlton@math.stanford.edu>

	* gdb.c++/maint.exp: New file.
2003-04-15 23:07:11 +00:00
..
ambiguous.cc
ambiguous.exp
annota2.cc
annota2.exp
anon-union.cc
anon-union.exp
casts.cc
casts.exp * gdb.c++/casts.exp: Fix startup to run also on embedded targets. 2003-03-27 14:09:52 +00:00
classes.exp 2003-02-28 David Carlton <carlton@math.stanford.edu> 2003-03-03 18:48:31 +00:00
cplusfuncs.cc
cplusfuncs.exp
ctti.exp
cttiadd.cc
cttiadd1.cc
cttiadd2.cc
cttiadd3.cc
demangle.exp
derivation.cc * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
derivation.exp * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
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 2003-04-15 David Carlton <carlton@math.stanford.edu> 2003-04-15 23:07:11 +00:00
Makefile.in
member-ptr.cc
member-ptr.exp
method.cc
method.exp
misc.cc
misc.exp
namespace.cc
namespace.exp
overload.cc * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
overload.exp * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
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 2003-03-04 David Carlton <carlton@math.stanford.edu> 2003-03-04 17:02:20 +00:00
try_catch.cc
try_catch.exp
userdef.cc * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
userdef.exp * gdb.c++/derivation.exp, gdb.c++/overload.exp, 2003-04-11 19:57:33 +00:00
virtfunc.cc
virtfunc.exp