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 ada-valprint.c


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

Modified files:
	gdb            : ChangeLog ada-valprint.c 

Log message:
	fix printing of Ada wide characters on ppc-aix
	
	Same problem as before: We were downcasting the character value from
	int to unsigned char, which caused an overflow.  The reason why we did
	not see this problem before is probably related to the fact that
	we're using stabs on AIX and thus characters types are defined as
	a TYPE_CODE_INT (or TYPE_CODE_RANGE?).
	
	gdb/ChangeLog:
	
	* ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
	(ada_val_print_1): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12488&r2=1.12489
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-valprint.c.diff?cvsroot=src&r1=1.74&r2=1.75


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