src/gdb ChangeLog ada-valprint.c
brobecke@sourceware.org
brobecke@sourceware.org
Tue Jan 18 17:03:00 GMT 2011
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_2-branch
Changes by: brobecke@sourceware.org 2011-01-18 17:03:58
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&only_with_tag=gdb_7_2-branch&r1=1.11973.2.66&r2=1.11973.2.67
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-valprint.c.diff?cvsroot=src&only_with_tag=gdb_7_2-branch&r1=1.66.2.2&r2=1.66.2.3
More information about the Gdb-cvs
mailing list