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: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: gdb-patches at sourceware dot org, Tom Tromey <tromey at redhat dot com>, Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Date: Fri, 30 Apr 2010 11:34:41 -0400
- 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>
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.
cgf