This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PING] [RFC/Windows] Remember last tlb type for re-use in windows_get_tlb_type
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb-patches at sourceware dot org>, "'Tom Tromey'" <tromey at redhat dot com>
- Date: Fri, 30 Apr 2010 17:42:10 +0200
- Subject: RE: [PING] [RFC/Windows] Remember last tlb type for re-use in windows_get_tlb_type
- 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> <m363393qzq.fsf@fleche.redhat.com> <20100430153441.GB11512@ednor.casa.cgf.cx>
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Christopher Faylor
> Envoyé?: Friday, April 30, 2010 5:35 PM
> À?: gdb-patches@sourceware.org; Tom Tromey; Pierre Muller
> Objet?: Re: [PING] [RFC/Windows] Remember last tlb type for re-use in
> windows_get_tlb_type
>
> On Fri, Apr 30, 2010 at 09:22:01AM -0600, Tom Tromey wrote:
> >>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
> 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.
Thanks for the approval,
patch committed.
Pierre