aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-11 21:30:45 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-07-05 21:43:08 +0200
commitf7e429d5818a577bc0212d4d2bb8bc00891d20b1 (patch)
tree9ce1d1182bfd2d17b340f110166cb5cab5203bba /gdb/gnu-v2-abi.c
parent2de28d2f451e378069662d6a65f4129fd939cff9 (diff)
downloadgdb-f7e429d5818a577bc0212d4d2bb8bc00891d20b1.zip
gdb-f7e429d5818a577bc0212d4d2bb8bc00891d20b1.tar.gz
gdb-f7e429d5818a577bc0212d4d2bb8bc00891d20b1.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/gnu-v2-abi.c')
0 files changed, 0 insertions, 0 deletions