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: gdb-patches at sourceware dot cygnus dot com
- Subject: Re: RFA: symfile.c: Fix for GDB crash when rereading symbols
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Wed, 15 Mar 2000 11:44:02 -0800
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <200003141046.LAA08835@reisser.regent.e-technik.tu-muenchen.de>
Peter.Schauer wrote:
>
> 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.
I've checked it in. Thanks again.
Michael