This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Clear some global variables when reloading object files
On Fri, Aug 04, 2006 at 11:51:23PM +0200, Mark Kettenis wrote:
> > Date: Thu, 3 Aug 2006 17:46:42 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> >
> > Mark, I encountered a problem today with expression_context_block that
> > sounded exactly like what you encountered with innermost_block. I
> > suspect the right thing to do would be to clean up the global variables
> > entirely, but I agree that it would be a terrible mess to untangle,
> > and this seems like the next best thing. What do you think?
>
> Looks reasonable to me.
OK, I checked it in. Let me know if this doesn't fix the crashes you
were seeing?
--
Daniel Jacobowitz
CodeSourcery