Variable objects code now available in gdb
Fernando Nasser
fnasser@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
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
More information about the Gdb
mailing list