aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/gdb1090.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/gdb1090.exp')
-rw-r--r--gdb/testsuite/gdb.base/gdb1090.exp9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/gdb1090.exp b/gdb/testsuite/gdb.base/gdb1090.exp
index d8a7ca1..91e34b2 100644
--- a/gdb/testsuite/gdb.base/gdb1090.exp
+++ b/gdb/testsuite/gdb.base/gdb1090.exp
@@ -46,8 +46,7 @@ if ![runto marker] then {
}
gdb_test "up" ".*foo.*" "up from marker"
-send_gdb "print s24\n"
-gdb_expect {
+gdb_test_multiple "print s24" "print s24" {
-re "\\\$\[0-9\]* = \\{field_0 = 1170, field_1 = 64701\\}\r\n$gdb_prompt $" {
pass "print s24"
}
@@ -56,10 +55,4 @@ gdb_expect {
# gdb cannot find the second register and prints garbage.
kfail "gdb/1090" "print s24"
}
- -re ".*$gdb_prompt $" {
- fail "print s24"
- }
- timeout {
- fail "print s24 (timeout)"
- }
}