Cleanup varobj children handling

Nick Roberts nickrob@snap.net.nz
Thu Dec 21 22:42:00 GMT 2006


 > > This patch changes varobj.c to use VEC for hodling children, thereby
 > > making three functions unnecessary. No regressions in MI tests. OK?
 > 
 > Here's a revised patch, that additionally replaces 'vstack' code in varobj.c
 > with VEC(). All in all, some 130 lines of code gets wiped now. OK?

I'm not familiar with vec.c yet - perhaps you and Daniel J discussed this issue
privately - all I can say is that varobj. c has the comment:

/* Every variable keeps a linked list of its children, described
   by the following structure. */
/* FIXME: Deprecated.  All should use vlist instead */

Buy perhaps this is not relevant.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list