aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/extstruct.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.chill/extstruct.exp')
-rw-r--r--gdb/testsuite/gdb.chill/extstruct.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.chill/extstruct.exp b/gdb/testsuite/gdb.chill/extstruct.exp
index c789cc2..204daee 100644
--- a/gdb/testsuite/gdb.chill/extstruct.exp
+++ b/gdb/testsuite/gdb.chill/extstruct.exp
@@ -54,12 +54,12 @@ proc do_tests {} {
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
- send "set language chill\n" ; expect -re "$prompt $"
+ gdb_test "set language chill ""
- send "set var \$i := m_x\[\]\n" ; expect -re "$prompt $"
+ gdb_test "set var \$i := m_x\[\] ""
gdb_test "print \$i" { = \[.i: 0, .ar: \[\(5:6\): \[.f1: 0, .f2: NULL, .f3: \[\(2:3\): 0\]\]\]\]}
- send "set var \$j := m_y\[\]\n" ; expect -re "$prompt $"
+ gdb_test "set var \$j := m_y\[\] ""
gdb_test "print \$j" { = \[.i: 0, .ar: \[\(7:8\): \[\(9:10\): \[.f1: 0, .f2: NULL, .f3: \[\(2:3\): 0\]\]\]\]\]}
}