This is the mail archive of the gdb-cvs@sourceware.org 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 ChangeLog ia64-tdep.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2011-01-13 16:23:00

Modified files:
	gdb            : ChangeLog ia64-tdep.c 

Log message:
	[ia64] small integral parameters and return values
	
	This patch fixes a small problem on ia64-hpux when calling functions
	whose parameter are small integral values (less than 8 bytes).  In
	that case, the parameter value was stored on the wrong side of the
	register.  Same problem for return values.
	
	With this patch, the results for gdb.base/callfuncs.exp improve from
	
	# of expected passes            41
	# of unexpected failures        78
	
	To:
	
	# of expected passes            95
	# of unexpected failures        24
	
	gdb/ChangeLog:
	
	* ia64-tdep.c (ia64_struct_type_p): New function.
	(ia64_extract_return_value): Handle integral values that are
	less than 8 bytes long.
	(ia64_push_dummy_call): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12467&r2=1.12468
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ia64-tdep.c.diff?cvsroot=src&r1=1.208&r2=1.209


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