* gas/config/tc-avr.c: Change ISA for devices with USB support to
[external/binutils.git] / gdb / testsuite / gdb.base / sigall.exp
index 7963504..4bd0427 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright 1995-1997, 1999, 2007-2012 Free Software Foundation, Inc.
+#   Copyright 1995-2013 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -182,13 +182,7 @@ set thissig "ABRT"
 
 runto gen_ABRT
 
-for {set i 0;} {$i < [llength $signals]} {incr i;} {
-    # Skip the first.
-    if { $i == 0 } {
-       continue
-    }
-
-    set sig [lindex $signals $i]
+foreach sig [lrange $signals 1 end] {
     test_one_sig $sig
 }