diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-24 09:39:38 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-24 09:39:38 +0000 |
commit | 3351ae277c3fa68683711bbc634cf3a652133021 (patch) | |
tree | 7dc5e2960a1c253929649e3cc9ef894341281ac0 /gcc/testsuite/lib | |
parent | a2869930cbb867307ba245470e47a0615cc31341 (diff) | |
download | gcc-3351ae277c3fa68683711bbc634cf3a652133021.tar.gz |
* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument
to send_log.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/gcc-gdb-test.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/gcc-gdb-test.exp b/gcc/testsuite/lib/gcc-gdb-test.exp index 2f593ab2edf..6cd92061558 100644 --- a/gcc/testsuite/lib/gcc-gdb-test.exp +++ b/gcc/testsuite/lib/gcc-gdb-test.exp @@ -74,7 +74,9 @@ proc gdb-test { args } { if { $first == $second } { pass "$testname" } else { - send_log "$first != $second\n" + # We need the -- to disambiguate $first from an option, + # as it may be negative. + send_log -- "$first != $second\n" fail "$testname" } remote_close target |