From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14023 invoked by alias); 30 Apr 2010 15:34:53 -0000 Received: (qmail 14009 invoked by uid 22791); 30 Apr 2010 15:34:52 -0000 X-Spam-Check-By: sourceware.org Received: from pool-173-76-55-5.bstnma.fios.verizon.net (HELO cgf.cx) (173.76.55.5) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Fri, 30 Apr 2010 15:34:43 +0000 Received: from ednor.cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 7A23113C061; Fri, 30 Apr 2010 11:34:41 -0400 (EDT) Received: by ednor.cgf.cx (Postfix, from userid 201) id 6EBD02B352; Fri, 30 Apr 2010 11:34:41 -0400 (EDT) Date: Fri, 30 Apr 2010 15:34:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org, Tom Tromey , Pierre Muller Subject: Re: [PING] [RFC/Windows] Remember last tlb type for re-use in windows_get_tlb_type Message-ID: <20100430153441.GB11512@ednor.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org, Tom Tromey , Pierre Muller References: <000f01cadf9e$a4fd4910$eef7db30$@muller@ics-cnrs.unistra.fr> <002401cae7ea$ba4b48e0$2ee1daa0$@muller@ics-cnrs.unistra.fr> <20100430145338.GA11512@ednor.casa.cgf.cx> <2540.9180707813$1272639973@news.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00993.txt.bz2 On Fri, Apr 30, 2010 at 09:22:01AM -0600, Tom Tromey wrote: >>>>>> "Pierre" == Pierre Muller writes: > >Pierre> I first was thinking about removing old values, >Pierre> but I didn't find a clean way to remove the type and all its >Pierre> dependents... > >I was wondering if there is some way to attach them to the gdbarch, so >they can be looked up instead of recreated. > >However, I think your current patch is probably just as good in practice. Attaching them to gdbarch would make them permanent for the life of the debugging session right? That seems better but I agree that, in practice, this is probably just as good. So, feel free to check in. cgf