aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-06-27 22:47:33 +0000
committerDavid Carlton <carlton@bactrian.org>2003-06-27 22:47:33 +0000
commita64afddfd528b838a677ee8e98ebd3d68f5f46cb (patch)
tree745c99d30303ce646151e48c837c5f4063a6b367 /config
parent3abe3bc90be798445086f45d9c3723165cc6c893 (diff)
downloadgdb-a64afddfd528b838a677ee8e98ebd3d68f5f46cb.zip
gdb-a64afddfd528b838a677ee8e98ebd3d68f5f46cb.tar.gz
gdb-a64afddfd528b838a677ee8e98ebd3d68f5f46cb.tar.bz2
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.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions