2004-01-23 David Carlton <carlton@kealia.com>
authorDavid Carlton <carlton@bactrian.org>
Fri, 23 Jan 2004 17:56:46 +0000 (17:56 +0000)
committerDavid Carlton <carlton@bactrian.org>
Fri, 23 Jan 2004 17:56:46 +0000 (17:56 +0000)
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.

gdb/ChangeLog
gdb/symfile.c

index 484efb4a03c69ce8081c309a95c14f933985fde3..ddebc0493ff61b23b4bd67cef197db300b174de2 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-23  David Carlton  <carlton@kealia.com>
+
+       * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
+       Fix for PR symtab/1534.
+
 2004-01-23  Mark Kettenis  <kettenis@gnu.org>
 
        * NEWS (New native configurations): Mention OpenBSD/sparc and
index 97800c83061229e3f8aa091d4f761ab97a1c7933..076fc456d184cde1a3d51c26fe9f87672e488832 100644 (file)
@@ -1918,6 +1918,7 @@ reread_symbols (void)
              objfile->symtabs = NULL;
              objfile->psymtabs = NULL;
              objfile->free_psymtabs = NULL;
+             objfile->cp_namespace_symtab = NULL;
              objfile->msymbols = NULL;
              objfile->sym_private = NULL;
              objfile->minimal_symbol_count = 0;