From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18107 invoked by alias); 8 Aug 2006 17:38:36 -0000 Received: (qmail 18099 invoked by uid 22791); 8 Aug 2006 17:38:36 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 08 Aug 2006 17:38:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GAVXD-0006Sd-SK; Tue, 08 Aug 2006 13:38:31 -0400 Date: Tue, 08 Aug 2006 17:38:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [rfc] Clear some global variables when reloading object files Message-ID: <20060808173831.GA24779@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <20060803214642.GA6303@nevyn.them.org> <200608042151.k74LpN6f018793@elgar.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608042151.k74LpN6f018793@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00046.txt.bz2 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 > > > > 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