gdb/testsuite: Fix left shift of negative value.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Tue, 17 Nov 2015 09:56:32 +0000 (10:56 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 17 Nov 2015 09:56:32 +0000 (10:56 +0100)
commit340c283058287c3c1307f0a8d44239e802d6c8c5
tree9d17e846d326950c01211c5d1e412f44243cb6f9
parent66c6502d7a457057683f56fd6d606fd9b2da0655
gdb/testsuite: Fix left shift of negative value.

This patch fixes all occurences of left-shifting negative constants in C cod
which is undefined by the C standard.

gdb/testsuite/ChangeLog:

        * lib/dwarf.exp (_note): Fix left shift of negative value.
        * gdb.trace/trace-condition.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/trace-condition.exp
gdb/testsuite/lib/dwarf.exp