diff options
author | Tom Tromey <tromey@redhat.com> | 2011-04-04 14:37:17 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-04-04 14:37:17 +0000 |
commit | 0c2e60193cf41ec57f62a5640ed67e4291e8f815 (patch) | |
tree | 02b54926226a2f2e91cbf57feabae5ab60e4de9f /gdb/objfiles.c | |
parent | 554d387d4cf36d63f004a5a10bee8d180a7af4e0 (diff) | |
download | gdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.zip gdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.tar.gz gdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.tar.bz2 |
gdb
* symfile.c (reread_symbols): Update.
* objfiles.h (struct objfile) <cp_namespace_symtab>: Remove
field.
* objfiles.c (allocate_objfile): Update.
* cp-support.h (cp_check_possible_namespace_symbols): Don't
declare.
* cp-namespace.c (lookup_symbol_file): Don't call
lookup_possible_namespace_symbol.
(initialize_namespace_symtab, get_possible_namespace_block)
(free_namespace_block, cp_check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol): Remove.
(maintenance_cplus_namespace): Replace with notice.
(_initialize_cp_namespace): Deprecate `maint cplus namespace'.
gdb/testsuite
* gdb.cp/maint.exp (test_help): Update.
(test_namespace): Likewise.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index f3259dd..6c1c91a 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -247,10 +247,6 @@ allocate_objfile (bfd *abfd, int flags) objfile->sect_index_bss = -1; objfile->sect_index_rodata = -1; - /* We don't yet have a C++-specific namespace symtab. */ - - objfile->cp_namespace_symtab = NULL; - /* Add this file onto the tail of the linked list of other such files. */ objfile->next = NULL; |