aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2004-01-23 17:56:46 +0000
committerDavid Carlton <carlton@bactrian.org>2004-01-23 17:56:46 +0000
commita1b8c0673d81e41d4fc3919cc7a275794754c939 (patch)
tree13326bc91a70189a925a3c84cd92297cf56af6d7
parent4f199be3eb4eb5e1d130e2b8583fb9102d39ba39 (diff)
downloadgdb-a1b8c0673d81e41d4fc3919cc7a275794754c939.zip
gdb-a1b8c0673d81e41d4fc3919cc7a275794754c939.tar.gz
gdb-a1b8c0673d81e41d4fc3919cc7a275794754c939.tar.bz2
2004-01-23 David Carlton <carlton@kealia.com>
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. Fix for PR symtab/1534.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 484efb4..ddebc04 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 97800c8..076fc45 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -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;