* [patch] fix for PR gdb/1534
@ 2004-01-23 17:56 David Carlton
2004-01-23 18:11 ` Elena Zannoni
0 siblings, 1 reply; 2+ messages in thread
From: David Carlton @ 2004-01-23 17:56 UTC (permalink / raw)
To: gdb-patches
As PR gdb/1534 points out, I neglected to clear
objfile->cp_namespace_symtab in reread_symbols. The following patch
cures the problem, according to the submitter; I've tested it on
i686-pc-linux-gnu with multiple GCC/debug combinations and gotten no
regressions.
Committed as obvious.
David Carlton
carlton@kealia.com
2004-01-23 David Carlton <carlton@kealia.com>
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.116
diff -u -p -r1.116 symfile.c
--- symfile.c 19 Jan 2004 19:56:02 -0000 1.116
+++ symfile.c 23 Jan 2004 17:09:52 -0000
@@ -1918,6 +1918,7 @@ reread_symbols (void)
objfile->symtabs = NULL;
objfile->psymtabs = NULL;
objfile->free_psymtabs = NULL;
+ objfile->cp_namespace_symtab = NULL;
objfile->msymbols = NULL;
objfile->sym_private = NULL;
objfile->minimal_symbol_count = 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] fix for PR gdb/1534
2004-01-23 17:56 [patch] fix for PR gdb/1534 David Carlton
@ 2004-01-23 18:11 ` Elena Zannoni
0 siblings, 0 replies; 2+ messages in thread
From: Elena Zannoni @ 2004-01-23 18:11 UTC (permalink / raw)
To: David Carlton; +Cc: gdb-patches
David Carlton writes:
> As PR gdb/1534 points out, I neglected to clear
> objfile->cp_namespace_symtab in reread_symbols. The following patch
> cures the problem, according to the submitter; I've tested it on
> i686-pc-linux-gnu with multiple GCC/debug combinations and gotten no
> regressions.
>
> Committed as obvious.
>
> David Carlton
> carlton@kealia.com
>
> 2004-01-23 David Carlton <carlton@kealia.com>
>
> * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
> Fix for PR symtab/1534.
>
thank you!
elena
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-23 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 17:56 [patch] fix for PR gdb/1534 David Carlton
2004-01-23 18:11 ` Elena Zannoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox