From 930123b7a10ca605d1aae217a4224736cceed337 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 4 Jun 2009 00:50:16 +0000 Subject: [PATCH] * symfile.c (reread_symbols): Reset psymtabs_addrmap to NULL after discarding its contents. --- gdb/ChangeLog | 5 +++++ gdb/symfile.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 13486a4bccb..b84b01b64bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-03 Doug Evans + + * symfile.c (reread_symbols): Reset psymtabs_addrmap to NULL + after discarding its contents. + 2009-06-03 Pedro Alves * target.c: Include "exec.h". diff --git a/gdb/symfile.c b/gdb/symfile.c index 4b8a5766ae1..164690d8c0d 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; -- 2.30.2