Fix races in gdb.mi/mi-var-display.exp.
This commit is contained in:
parent
9ec0c93690
commit
833b0ca776
|
@ -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>
|
||||
|
||||
* gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
|
||||
|
|
|
@ -605,12 +605,8 @@ mi_gdb_test "-var-list-children anone" \
|
|||
|
||||
|
||||
# Record fp
|
||||
|
||||
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)
|
||||
}
|
||||
if ![mi_gdb_test "p/x \$fp" ".*($hex).*\\^done" "print FP register"] {
|
||||
set fp $expect_out(3,string)
|
||||
}
|
||||
|
||||
mi_continue_to "incr_a"
|
||||
|
|
Loading…
Reference in New Issue