* gdb.base/gdbvars.exp: Expect zero or more additional cr-lf

sequences to be echo'd by gdb when using gdb_test.
	* gdb.chill/chexp.exp: Likewise.
	* gdb.fortran/exprs.exp: Likewise
This commit is contained in:
Jeff Law 1995-07-21 17:42:14 +00:00
parent 297faf8cff
commit 2d86d216f2

View File

@ -248,19 +248,19 @@ proc test_float_literals_accepted {} {
proc test_convenience_variables {} {
global prompt
gdb_test "set \$foo := 101" " := 101\[\r\n\]+" \
gdb_test "set \$foo := 101" " := 101\[\r\n\]*" \
"Set a new convenience variable"
gdb_test "print \$foo" " = 101" \
"Print contents of new convenience variable"
gdb_test "set \$foo := 301" " := 301\[\r\n\]+" \
gdb_test "set \$foo := 301" " := 301\[\r\n\]*" \
"Set convenience variable to a new value"
gdb_test "print \$foo" " = 301" \
"Print new contents of convenience variable"
gdb_test "set \$_ := 11" " := 11\[\r\n\]+" \
gdb_test "set \$_ := 11" " := 11\[\r\n\]*" \
"Set convenience variable \$_"
gdb_test "print \$_" " = 11" \