This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]