mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* 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:
parent
297faf8cff
commit
2d86d216f2
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user