[10/15] Basic value access routines

Daniel Jacobowitz drow@false.org
Wed Jun 24 15:46:00 GMT 2009


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



More information about the Gdb-patches mailing list