* lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
* gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
+ if [string match "*\[\r\n\]" $command] {
+ error "Invalid trailing newline in \"$message\" test"
+ }
+
# TCL/EXPECT WART ALERT
# Expect does something very strange when it receives a single braced
# argument. It splits it along word separators and performs substitutions.
# TCL/EXPECT WART ALERT
# Expect does something very strange when it receives a single braced
# argument. It splits it along word separators and performs substitutions.