This is the mail archive of the gdb@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]

Variable objects code now available in gdb


The Insight GUI had a neat code, written by Keith Seitz, which allows
for the tracking of variables and expressions.  This is used by Insight
to implement its Local Variables and Watch Expression windows.

As this is can be really useful to script languages and most of the code
was written in C, we decided to extract it and make it available on the
gdb library.

I have created a C API, fixed a few things and added the files varobj.c
and varobj.h to gdb.  There is also a wrapper.c file which provides
longjump free calls to some gdb utility routines.


P.S.: Insight was modified to use this new code as well.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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