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/config | |
parent | 961bd387ba464dbd902efdf2dd97b57f32835472 (diff) | |
download | gdb-13e4e967fc5f88a64cd8e159d6fde927886291d9.zip gdb-13e4e967fc5f88a64cd8e159d6fde927886291d9.tar.gz gdb-13e4e967fc5f88a64cd8e159d6fde927886291d9.tar.bz2 |
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/config')
-rw-r--r-- | gdb/testsuite/config/monitor.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/config/vx.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/config/monitor.exp b/gdb/testsuite/config/monitor.exp index a40911d..361926b 100644 --- a/gdb/testsuite/config/monitor.exp +++ b/gdb/testsuite/config/monitor.exp @@ -159,7 +159,7 @@ proc gdb_load { arg } { set last_gdb_file $arg; - for { set j 1; } { $j <= 2 } {incr j; } { + for { set j 1 } { $j <= 2 } {incr j } { if [target_info exists gdb,use_standard_load] { gdb_target_exec; if ![target_info exists gdb,no_push_conn] { diff --git a/gdb/testsuite/config/vx.exp b/gdb/testsuite/config/vx.exp index 335287f..29c3b1b 100644 --- a/gdb/testsuite/config/vx.exp +++ b/gdb/testsuite/config/vx.exp @@ -59,7 +59,7 @@ proc gdb_start { } { global reboot # get a connection to the board - for { set x 0; } { $x < 3 } { incr x } { + for { set x 0 } { $x < 3 } { incr x } { set shell_id [remote_open target] if { $shell_id > 0 } { verbose "Spawn id for remote shell is $shell_id" |