aboutsummaryrefslogtreecommitdiff
path: root/gdb/copyright.py
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2024-06-11 20:32:59 +0200
committerHannes Domani <ssbssa@yahoo.de>2024-07-05 21:42:58 +0200
commitcec2e207d08127bf5458a220f741020aff4148da (patch)
tree27aa7b05bf3fd2a0fcfa8ed32cbb29273fbf1c81 /gdb/copyright.py
parentedd3f7be255e2e51ff7928cabb744af5d3d20018 (diff)
downloadgdb-cec2e207d08127bf5458a220f741020aff4148da.zip
gdb-cec2e207d08127bf5458a220f741020aff4148da.tar.gz
gdb-cec2e207d08127bf5458a220f741020aff4148da.tar.bz2
Fix too-large or negative right shift of negative numbers
As seen in these test failures: print -1 >> -1 warning: right shift count is negative $N = 0 (gdb) FAIL: gdb.base/bitshift.exp: lang=c: neg lhs/rhs: print -1 >> -1 print -4 >> -2 warning: right shift count is negative $N = 0 (gdb) FAIL: gdb.base/bitshift.exp: lang=c: neg lhs/rhs: print -4 >> -2 Fixed by restoring the logic from before the switch to gmp. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/copyright.py')
0 files changed, 0 insertions, 0 deletions