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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symfile.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 13486a4..b84b01b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-03 Doug Evans <dje@google.com> + + * symfile.c (reread_symbols): Reset psymtabs_addrmap to NULL + after discarding its contents. + 2009-06-03 Pedro Alves <pedro@codesourcery.com> * target.c: Include "exec.h". 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; |