This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/exprs.exp
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb/testsuite ChangeLog gdb.base/exprs.exp
- From: jimb at sourceware dot cygnus dot com
- Date: 25 May 2001 00:01:30 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: jimb@sources.redhat.com 2001-05-24 17:01:30
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: exprs.exp
Log message:
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints. On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char. This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.116&r2=1.117
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/exprs.exp.diff?cvsroot=src&r1=1.3&r2=1.4