From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17210 invoked by alias); 30 Apr 2010 15:42:28 -0000 Received: (qmail 17197 invoked by uid 22791); 30 Apr 2010 15:42:26 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Apr 2010 15:42:19 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3UFg5pS041711 ; Fri, 30 Apr 2010 17:42:05 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402:d::10]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o3UFg5E2054443 ; Fri, 30 Apr 2010 17:42:05 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3UFg5a5045827 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Fri, 30 Apr 2010 17:42:05 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: , "'Tom Tromey'" 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> <20100430153441.GB11512@ednor.casa.cgf.cx> In-Reply-To: <20100430153441.GB11512@ednor.casa.cgf.cx> Subject: RE: [PING] [RFC/Windows] Remember last tlb type for re-use in windows_get_tlb_type Date: Fri, 30 Apr 2010 15:42:00 -0000 Message-ID: <000c01cae87b$b25a6350$170f29f0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00994.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Christopher Faylor > Envoy=E9=A0: Friday, April 30, 2010 5:35 PM > =C0=A0: gdb-patches@sourceware.org; Tom Tromey; Pierre Muller > Objet=A0: Re: [PING] [RFC/Windows] Remember last tlb type for re-use in > windows_get_tlb_type >=20 > On Fri, Apr 30, 2010 at 09:22:01AM -0600, Tom Tromey wrote: > >>>>>> "Pierre" =3D=3D 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. >=20 > 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. >=20 > So, feel free to check in. Thanks for the approval, patch committed. Pierre