diff options
author | Pedro Alves <palves@redhat.com> | 2012-07-19 20:00:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-07-19 20:00:59 +0000 |
commit | 13e4e967fc5f88a64cd8e159d6fde927886291d9 (patch) | |
tree | 1b12fb255c68d733c6fd284b554836b2687db573 /gdb/testsuite/gdb.base/setvar.exp | |
parent | 961bd387ba464dbd902efdf2dd97b57f32835472 (diff) | |
download | binutils-gdb-13e4e967fc5f88a64cd8e159d6fde927886291d9.tar.gz |
2012-07-19 Pedro Alves <palves@redhat.com>
* config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
* config/vx.exp (gdb_start): Likewise.
* gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
* gdb.base/setvar.exp (test_set): Likewise.
* gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
* gdb.reverse/sigall-precsave.exp: Likewise.
* gdb.reverse/sigall-reverse.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/setvar.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/setvar.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/setvar.exp b/gdb/testsuite/gdb.base/setvar.exp index 870d0437408..7faa10a6507 100644 --- a/gdb/testsuite/gdb.base/setvar.exp +++ b/gdb/testsuite/gdb.base/setvar.exp @@ -77,7 +77,7 @@ proc test_set { args } { set count 1; # Set up the variables. - for {set x 0;} {$x < $length} {incr x;} { + for {set x 0} {$x < $length} {incr x} { if { "[lindex $args $x]" != "" } { set arg [lindex $args $x]; if { ($x == $final) || ([string first ".*" [lindex $args [expr $x + 1]]] >= 0) } { |