This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Variable objects code now available in gdb
- To: gdb at sourceware dot cygnus dot com
- Subject: Variable objects code now available in gdb
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 10 Feb 2000 14:15:26 -0500
- Organization: Red Hat , Inc. - Toronto
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