diff options
author | Doug Evans <dje@google.com> | 2009-06-04 00:50:16 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-06-04 00:50:16 +0000 |
commit | 930123b7a10ca605d1aae217a4224736cceed337 (patch) | |
tree | 874dea95a186e0c54a163207b441115f040733ec /gdb/symfile.c | |
parent | dff1629750aa81c871e137a1bef34ecb3aed32c9 (diff) | |
download | gdb-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.c | 1 |
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; |