This is the mail archive of the
mailing list for the GDB project.
Re: [10/15] Basic value access routines
>>>>> "Ulrich" == Ulrich Weigand <email@example.com> writes:
Ulrich> Those are additional minor issues; the type structures are indeed
Ulrich> space critical
I have been curious about this.
It seems to me that in a given gdb session, most types will not
actually be needed. (I haven't done the experiment though.)
If that is so, then it further seems to me that types would only be
space critical if we are instantiating them too eagerly. This has
lead me to wonder whether lazy instantiation of types would be
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.