This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
- To: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Subject: Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 14 Mar 2000 15:37:55 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
> symfile.c:reread_symbols does not clear the new msymbol hash tables in the
> objfile, causing stale pointers and a GDB crash during the reread.exp
> test on Solaris.
>
> Here is a fix:
>
> * symfile.c (reread_symbols): Clear msymbol hash table.
You're absolutely right. Thanks very much.