aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-section-script.py
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-01-18 16:38:59 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-01-18 16:38:59 +0000
commit10d44370412c8e79458800f13004173f1d30c74e (patch)
treeb44a55ea5c816e0cd40aba44dd27c9e33037d434 /gdb/testsuite/gdb.python/py-section-script.py
parente3acb1155ba584a440ac0914d97e2884c9189324 (diff)
downloadbinutils-10d44370412c8e79458800f13004173f1d30c74e.zip
binutils-10d44370412c8e79458800f13004173f1d30c74e.tar.gz
binutils-10d44370412c8e79458800f13004173f1d30c74e.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.py')
0 files changed, 0 insertions, 0 deletions