aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symfile.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f9194f5..e8f31a1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-17 Daniel Jacobowitz <drow@mvista.com>
+
+ * symfile.c (reread_symbols): Clear sym_private.
+
2003-06-17 Andrew Cagney <cagney@redhat.com>
* trad-frame.h (struct frame_info): Add opaque declaration.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 0fab10f..6eee61a 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1967,6 +1967,7 @@ reread_symbols (void)
objfile->psymtabs = NULL;
objfile->free_psymtabs = NULL;
objfile->msymbols = NULL;
+ objfile->sym_private = NULL;
objfile->minimal_symbol_count = 0;
memset (&objfile->msymbol_hash, 0,
sizeof (objfile->msymbol_hash));