diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-frame-regs.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-frame-regs.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-frame-regs.exp b/gdb/testsuite/gdb.mi/mi-frame-regs.exp index 94a02dd..df15c59 100644 --- a/gdb/testsuite/gdb.mi/mi-frame-regs.exp +++ b/gdb/testsuite/gdb.mi/mi-frame-regs.exp @@ -98,7 +98,7 @@ proc_with_prefix do_floating_varobj_test {} { # Get the address of the current breakpoint. set bpaddr [breakpoint_address $bpnum] - if {$bpaddr == ""} then { return } + if {$bpaddr == ""} { return } # Check that the addresses are the same. gdb_assert [expr $bpaddr == $pcval] "\$pc equals address of breakpoint in callee$i" @@ -145,7 +145,7 @@ proc_with_prefix do_fixed_varobj_test {} { for {set i 0} {$i < 4} {incr i} { - if { $i == 1 } then { set first_unchanging_varnum $varnum } + if {$i == 1} { set first_unchanging_varnum $varnum } mi_gdb_test "-var-create --thread 1 --frame $i - \* \$pc" \ "\\^done,.*value=\"$hex.*" \ |