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: [10/15] Basic value access routines


On Wed, Jun 24, 2009 at 09:31:16AM -0600, Tom Tromey wrote:
> A related idea that occurred to me is that, with Jan's type GC, we
> could detach types from objfiles and "intern" them (something like
> bcache-for-types).  This would only be a win if there are many
> identical types distributed across objfiles, though.

There's plenty of identical types within a single objfile.  Load GDB
with -readnow, and I find 66 copies of the typedef for "FILE", for
instance.

-- 
Daniel Jacobowitz
CodeSourcery


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