Fix races in gdb.mi/mi-var-display.exp.

This commit is contained in:
Marek Polacek 2011-06-22 16:12:46 +00:00
parent 9ec0c93690
commit 833b0ca776
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2011-06-21 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
mi_gdb_test.
2011-06-20 Marek Polacek <mpolacek@redhat.com> 2011-06-20 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test. * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.

View File

@ -605,12 +605,8 @@ mi_gdb_test "-var-list-children anone" \
# Record fp # Record fp
if ![mi_gdb_test "p/x \$fp" ".*($hex).*\\^done" "print FP register"] {
gdb_test_multiple "p/x \$fp" "print FP register" { set fp $expect_out(3,string)
-re ".*($hex).*\\^done\r\n$mi_gdb_prompt$" {
pass "print FP register"
set fp $expect_out(1,string)
}
} }
mi_continue_to "incr_a" mi_continue_to "incr_a"