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
This commit is contained in:
Hans-Peter Nilsson 2012-11-24 09:39:38 +00:00 committed by Hans-Peter Nilsson
parent 5213f20cfb
commit 59ad52e0fb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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