diff options
author | Pierre Muller <muller@sourceware.org> | 2014-03-25 08:37:36 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-04-08 14:07:28 +0800 |
commit | ae1d276159c3cfb29caacdf567aea01f433f78b0 (patch) | |
tree | b544a4b4e14da4e8556463f87d751f2bc824cfef /ld/NEWS | |
parent | ebb8ed8e946c7e48f64a3c2577403594c3971230 (diff) | |
download | gdb-ae1d276159c3cfb29caacdf567aea01f433f78b0.zip gdb-ae1d276159c3cfb29caacdf567aea01f433f78b0.tar.gz gdb-ae1d276159c3cfb29caacdf567aea01f433f78b0.tar.bz2 |
[testsuite] Disable Ctrl-V use for mingw hosts.
On mingw host, we have seen two fails as below,
p int1dim[0]^V@2
Invalid character '^V' in expression.
(gdb) FAIL: gdb.base/printcmds.exp: p int1dim[0]@2
p int1dim[0]^V@2^V@3
Invalid character '^V' in expression.
(gdb) FAIL: gdb.base/printcmds.exp: p int1dim[0]@2@3
In the test, the comment says "# Send \026@ instead of just @ in case
the kill character is @". Historically, kill character was @, and
Ctrl-V (\026) is to escape the next character. However, we don't have
to do so on mingw. This patch is to disable ctrl-v usage on mingw
hots. With this patch applied, it becomes:
p int1dim[0]@2
$607 = {0, 1}
(gdb) PASS: gdb.base/printcmds.exp: p int1dim[0]@2
p int1dim[0]@2@3
$608 = {{0, 1}, {2, 3}, {4, 5}}
Note that this patch is picked from Pierre's submission,
[RFC 6/6] Fix remaining failures in gdb.base/printcmds.exp for mingw hosts.
https://www.sourceware.org/ml/gdb-patches/2013-09/msg00943.html
gdb/testsuite:
2014-04-08 Pierre Muller <muller@sourceware.org>
* gdb.base/printcmds.exp (test_artificial_arrays): Disable
Ctrl-V use for mingw hosts.
Diffstat (limited to 'ld/NEWS')
0 files changed, 0 insertions, 0 deletions