Commit 59ad52e0 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

gcc-gdb-test.exp (gdb-test): Pass -- as first argument to send_log.

	* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument
	to send_log.

From-SVN: r193777
parent 5213f20c
2012-11-24 Hans-Peter Nilsson <hp@bitrange.com>
* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument
to send_log.
2012-11-23 Jakub Jelinek <jakub@redhat.com>
* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment