This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb varobj.c ChangeLog
- From: hunt at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 3 Jul 2002 20:23:06 -0000
- Subject: src/gdb varobj.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: hunt@sources.redhat.com 2002-07-03 13:23:06
Modified files:
gdb : varobj.c ChangeLog
Log message:
2002-07-03 Martin M. Hunt <hunt@redhat.com>
* varobj.c (struct varobj_root): Change frame from CORE_ADDR to
struct frame_id.
(varobj_create): Store frame_id for root.
(varobj_gen_name): Use xasprintf.
(varobj_update): Save and restore frame using get_frame_id() and
frame_find_by_id().
(create_child): Use xasprintf.
(new_root_variable): Initialize frame_id.
(c_name_of_child): Use xasprintf. Call find_frame_by_id().
(c_value_of_variable): Use xasprintf. Move mem_fileopen call
to prevent memory leak.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/varobj.c.diff?cvsroot=src&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2865&r2=1.2866