* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument
to send_log.
From-SVN: r193777
+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
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