This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]