aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-disasm.c
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-11 21:30:45 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-06-11 21:30:45 +0200
commit7eceaa69efddc3bfecfeab1179a580309c5a646e (patch)
tree1b2978e9c12e48b029d2b3e2f9cef6735d6a7006 /gdb/python/py-disasm.c
parent3dd8c680a8651aa22c996b1e2d39dd123f204be3 (diff)
downloadbinutils-7eceaa69efddc3bfecfeab1179a580309c5a646e.zip
binutils-7eceaa69efddc3bfecfeab1179a580309c5a646e.tar.gz
binutils-7eceaa69efddc3bfecfeab1179a580309c5a646e.tar.bz2
Fix cast types for opencl
The bitshift tests for opencl have these failures: print /x (signed char) 0x0f << 8 No type named signed char. (gdb) FAIL: gdb.base/bitshift.exp: lang=opencl: 8-bit, promoted: print /x (signed char) 0x0f << 8 print (signed char) 0x0f << 8 No type named signed char. (gdb) FAIL: gdb.base/bitshift.exp: lang=opencl: 8-bit, promoted: print (signed char) 0x0f << 8 Apparently opencl doesn't have the 'signed' modifier for types, only the 'unsigned' modifier. Even 'char' is guaranteed to be signed if no modifier is used, so this changes the casts to match this logic. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-disasm.c')
0 files changed, 0 insertions, 0 deletions