This is the mail archive of the gdb-cvs@sources.redhat.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]
Other format: [Raw text]

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


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