This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Type info overload


Is anyone working on reducing the amount of memory types take up?

If i compile gdb with stabs, it takes 20 megs to fully read in the symbols
(maint check-symtabs will do it).
If i compile gdb with dwarf2, the executable is 500k bigger, but it takes
60 meg to fully read it in.
The difference is completely in types.

It has 115 thousand types.
Their is no possible way, unless i touch every single type in a debugging
session, that this makes sense.
Just doing a simple thing like bcaching the type names saved 40% of the
memory.
If no one else is working on reducing the amount of memory type info uses,
i'll take a crack at it.
--Dan


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