aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi2-var-display.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-display.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi2-var-display.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-display.exp b/gdb/testsuite/gdb.mi/mi2-var-display.exp
index f24674e..31f7484 100644
--- a/gdb/testsuite/gdb.mi/mi2-var-display.exp
+++ b/gdb/testsuite/gdb.mi/mi2-var-display.exp
@@ -605,14 +605,11 @@ mi_gdb_test "-var-list-children anone" \
# Record fp
-send_gdb "p/x \$fp\n"
-gdb_expect {
+gdb_test_multiple "p/x \$fp" "print FP register" {
-re ".*($hex).*\\^done\r\n$mi_gdb_prompt$" {
pass "print FP register"
set fp $expect_out(1,string)
}
-# -re ".*" { fail "print FP register"}
- timeout { fail "print FP register (timeout)"}
}
mi_continue_to "incr_a"