This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog cp-namespace.c cp-support.h ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 27 Jun 2003 22:47:33 -0000
- Subject: src/gdb ChangeLog cp-namespace.c cp-support.h ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sourceware.org 2003-06-27 22:47:33
Modified files:
gdb : ChangeLog cp-namespace.c cp-support.h
dwarf2read.c objfiles.c objfiles.h
gdb/testsuite : ChangeLog carlton_runtest
gdb/testsuite/gdb.c++: maint.exp namespace.exp
Log message:
2003-06-27 David Carlton <carlton@kealia.com>
* dwarf2read.c (add_partial_symbol): Add 'objfile' argument to
call to cp_check_possible_namespace_symbols.
(add_partial_namespace): Add partial symbol instead of calling
cp_check_namespace_symbol.
(read_namespace): Add symbol associated to namespace.
(new_symbol): Handle DW_TAG_namespace.
* cp-support.h: Delete declaration of cp_check_namespace_symbol;
add 'objfile' argument to declaration of
cp_check_possible_namespace_symbols.
* cp-namespace.c: Delete variables namespace_block,
possible_namespace_block, namespace_objfile.
Delete functions get_namespace_block, get_namespace_objfile,
cp_check_namespace_symbol, check_namespace_symbol_block,
lookup_namespace_symbol.
(lookup_symbol_file): Delete call to lookup_namespace_symbol;
tweak call to lookup_possible_namespace_symbol.
(initialize_namespace_symtab): Rename from
initialize_namespace_blocks; add 'objfile' argument, don't do
anything special with global block.
(get_possible_namespace_block): Add 'objfile' argument.
(check_possible_namespace_symbols_loop)
(cp_check_possible_namespace_symbols): Ditto.
(free_namespace_block): Rename from free_namespace_blocks; don't
do anything special with global block.
(check_one_possible_namespace_symbol): Add 'objfile' argument, and
inline call to check_namespace_symbol_block.
(lookup_possible_namespace_symbol): Add 'symtab' argument, loop
over all objfiles.
(maintenance_cplus_namespace): Only have possible symbols; add
loop over objfiles.
(_initialize_cp_namespace): Tweak doc string.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
2003-06-27 David Carlton <carlton@kealia.com>
* carlton_runtest (FASTTESTS): Add gdb.c++/pr-1210.exp.
* gdb.c++/namespace.exp: Delete test for maint cp namespace.
* gdb.c++/maint.exp (test_help): Tweak output for 'help maint cp
namespace'.
(test_namespace): Tweak comment.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3256.2.77&r2=1.3256.2.78
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-namespace.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.7&r2=1.1.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-support.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.19&r2=1.1.2.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.66.4.32&r2=1.66.4.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.22.8.10&r2=1.22.8.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.15.8.5&r2=1.15.8.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.402.2.36&r2=1.402.2.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/carlton_runtest.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.4&r2=1.1.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/maint.exp.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.5&r2=1.1.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/namespace.exp.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.16.16&r2=1.12.16.17