This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] New tests for 'const' and 'volatile' expressions
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: fnasser at cygnus dot com
- Cc: fnasser at redhat dot com, gdb-patches at sources dot redhat dot com, msnyder at cygnus dot com
- Date: Thu, 15 Nov 2001 00:09:51 -0600
- Subject: Re: [RFA] New tests for 'const' and 'volatile' expressions
The 5.1 branch was cut in July, so it happened before Michael Snyder's
changes.
Here are samples from some gdb.log files (native i686-pc-linux-gnu).
It looks like this with four different compilers; I just picked one
to represent.
Michael C
# gdb-HEAD/gcc-3.0.2/gdb.log
(gdb) whatis (const char) v_char^M
type = const char^M
(gdb) PASS: gdb.base/cvexpr.exp: (const char)
whatis (const signed char) v_signed_char^M
type = const signed char^M
(gdb) PASS: gdb.base/cvexpr.exp: (const signed char)
whatis (const unsigned char) v_unsigned_char^M
type = const unsigned char^M
(gdb) PASS: gdb.base/cvexpr.exp: (const unsigned char)
# gdb-gdb_5_1-2001-07-29-branch/gcc-3.0.2/gdb.log
(gdb) whatis (const char) v_char^M
type = char^M
(gdb) FAIL: gdb.base/cvexpr.exp: (const char)
whatis (const signed char) v_signed_char^M
type = signed char^M
(gdb) FAIL: gdb.base/cvexpr.exp: (const signed char)
whatis (const unsigned char) v_unsigned_char^M
type = unsigned char^M
(gdb) FAIL: gdb.base/cvexpr.exp: (const unsigned char)