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 eval.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	dsl@sourceware.org	2003-09-09 16:51:54

Modified files:
	gdb            : eval.c 

Log message:
	Change array element access to something similar to way C works.
	The old method would drag in the entire array, then look for the
	single element.  This method just gets the right element out instead.
	Saves memory, and saves a crash for array with (*) as one of the
	dimensions when it would previously have allocated (unsigned int) -1 bytes.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&r1=1.31&r2=1.32


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