On Mon, 06 Oct 2008 22:09:28 +0200, Joel Brobecker wrote: > I think it is kind of ugly, and i tried to think about it for a while, > but I don't see many possible solutions if we don't want to increase > the gdbtype struct size. BTW are there some measurements if sizeof (type / main_type / field) matters? On Tue, 07 Oct 2008 19:48:53 +0200, Tom Tromey wrote: > For the lazy psymtab thing I had two related test cases: > > 1. Start OO.o writer, then time 'attach'. > 2. The same, plus time "thread apply all bt full". FYI I found (on Firefox) the difference of reading full symbols for this command `thread apply all bt full' is: valgrind --tool=massif: mem_heap_B=393798138 mem_heap_B=395820353 == 2MB == only 0.5% size increase (by the attached patch if it is right) Just `thread apply all bt full' may not be the typical debugging session, a more representative application / command set would be useful. Regards, Jan