diff options
author | Pierre Muller <muller@sourceware.org> | 2011-05-20 14:37:20 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-05-20 14:37:20 +0000 |
commit | eec52c44580c6571592a0a4e96dba81a32efebb3 (patch) | |
tree | 38850d416a2ecd05018feb46469afd341872e8ae /gdb/testsuite/gdb.base/default.exp | |
parent | 4a73203297f58dc69d033355f166defe8950ea1c (diff) | |
download | gdb-eec52c44580c6571592a0a4e96dba81a32efebb3.zip gdb-eec52c44580c6571592a0a4e96dba81a32efebb3.tar.gz gdb-eec52c44580c6571592a0a4e96dba81a32efebb3.tar.bz2 |
* lib/gdb.exp (gdb_test_list_exact): Suggest use of double
quote pattern to avoid problems with Cygwin/mingw expect versions.
* gdb.base/default.exp (show convenience): Use double
quote pattern for regular expressions.
Diffstat (limited to 'gdb/testsuite/gdb.base/default.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/default.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index d58c519..44dd711 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -601,8 +601,8 @@ gdb_test "show confirm" "Whether to confirm potentially dangerous operations is # This is tricker as there are multiple internal convenience vars and we # can't assume any particular order. gdb_test_list_exact "show convenience" "show convenience" \ - {[^\r\n]+[\r\n]+} \ - {[^\r\n]+} \ + "\[^\r\n\]+\[\r\n\]+" \ + "\[^\r\n\]+" \ { \ {$_sdata = void} \ {$_siginfo = void} \ |