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: [RFC] Alternate approach to keeping convenience variables


Hi, I'm back!

Thanks for this work. I do not follow exactly how it works (I suppose that's the difference between somebody who knows GDB and somebody who does not) but it does appear to solve the problem at hand.

One point though - why is it ok to leak the memory? This seems like bad practice to me - I mean, types can be arbitrarily large and, even if they are typically small, the variables may be rewritten many many times (particularly by scripts with loops). Are you saying that they will be actually leaked or just left for some sort of garbage collection?

Otherwise excellent - just what I need. I'll be very happy when this goes in.

Thanks again

Andrew Stubbs


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