aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-06-04 00:50:16 +0000
committerDoug Evans <dje@google.com>2009-06-04 00:50:16 +0000
commit930123b7a10ca605d1aae217a4224736cceed337 (patch)
tree874dea95a186e0c54a163207b441115f040733ec /gdb/symfile.c
parentdff1629750aa81c871e137a1bef34ecb3aed32c9 (diff)
downloadgdb-930123b7a10ca605d1aae217a4224736cceed337.zip
gdb-930123b7a10ca605d1aae217a4224736cceed337.tar.gz
gdb-930123b7a10ca605d1aae217a4224736cceed337.tar.bz2
* symfile.c (reread_symbols): Reset psymtabs_addrmap to NULL
after discarding its contents.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 4b8a576..164690d 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2361,6 +2361,7 @@ reread_symbols (void)
objfile->sections = NULL;
objfile->symtabs = NULL;
objfile->psymtabs = NULL;
+ objfile->psymtabs_addrmap = NULL;
objfile->free_psymtabs = NULL;
objfile->cp_namespace_symtab = NULL;
objfile->msymbols = NULL;