[PING] [RFC/Windows] Remember last tlb type for re-use in windows_get_tlb_type

Pierre Muller pierre.muller@ics-cnrs.unistra.fr
Fri Apr 30 15:42:00 GMT 2010



> -----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



More information about the Gdb-patches mailing list