tcl: don't use 'set' to retrieve the value of a variable
[fw/openocd] / tcl / target / bluefield.cfg
index 62b1e31650d105c97573a4e496f9ef520c579c98..dcebb2fb11a504b5f046d55387ea3a07ea04d200 100644 (file)
@@ -72,7 +72,7 @@ proc core_up { args } {
        global _TARGETNAME
 
        # Examine remaining cores
-       foreach _core [set args] {
+       foreach _core $args {
                ${_TARGETNAME}$_core arp_examine
        }
 }