aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/printcmds.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-07-19 20:00:59 +0000
committerPedro Alves <palves@redhat.com>2012-07-19 20:00:59 +0000
commit13e4e967fc5f88a64cd8e159d6fde927886291d9 (patch)
tree1b12fb255c68d733c6fd284b554836b2687db573 /gdb/testsuite/gdb.base/printcmds.exp
parent961bd387ba464dbd902efdf2dd97b57f32835472 (diff)
downloadgdb-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/gdb.base/printcmds.exp')
-rw-r--r--gdb/testsuite/gdb.base/printcmds.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp
index 993162e..4f76cec 100644
--- a/gdb/testsuite/gdb.base/printcmds.exp
+++ b/gdb/testsuite/gdb.base/printcmds.exp
@@ -424,9 +424,9 @@ proc test_print_all_chars {} {
proc test_print_repeats_10 {} {
global gdb_prompt decimal
- for { set x 1; } { $x <= 16 } { incr x; } {
+ for { set x 1 } { $x <= 16 } { incr x } {
gdb_test_no_output "set print elements $x"
- for { set e 1; } { $e <= 16 } {incr e; } {
+ for { set e 1 } { $e <= 16 } {incr e } {
set v [expr $e - 1];
set command "p &ctable2\[${v}*16\]"
if { $x < $e } {