aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-17 19:15:24 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-17 19:15:24 +0000
commit29239a8f68f43708d5aef73bc3100c86c70c2091 (patch)
tree8eba4dc23eedfd638d9cc1737daaad9e0f3e9e05
parent2cdf3c631a89150cf31a24f5f4d7d2866734f518 (diff)
downloadgdb-29239a8f68f43708d5aef73bc3100c86c70c2091.zip
gdb-29239a8f68f43708d5aef73bc3100c86c70c2091.tar.gz
gdb-29239a8f68f43708d5aef73bc3100c86c70c2091.tar.bz2
* symfile.c (reread_symbols): Clear sym_private.
-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));