diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-05-06 15:15:54 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-02-15 15:37:06 +0000 |
commit | def7318edd6570fb5484d2a4ee19b7ac1fa39f53 (patch) | |
tree | e9011650e29c2cd9bc7bb06b339d49a249c74009 /src | |
parent | b5c883f298ebd7d459e8247531e6ca3b6dda45cd (diff) |
jtag/startup.tcl: remove trailing whitespaces
Change-Id: I1d6f4f47ee6f8985c84ddb2647e029c5f4e6a55a
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5194
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/startup.tcl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index e522e74d..8fc3ad5e 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -34,16 +34,16 @@ proc init_reset { mode } { proc power_restore {} { echo "Sensed power restore, running reset init and halting GDB." reset init - + # Halt GDB so user can deal with a detected power restore. # # After GDB is halted, then output is no longer forwarded # to the GDB console. - set targets [target names] + set targets [target names] foreach t $targets { # New event script. $t invoke-event arp_halt_gdb - } + } } add_help_text power_restore "Overridable procedure run when power restore is detected. Runs 'reset init' by default." @@ -65,11 +65,11 @@ proc srst_deasserted {} { # # After GDB is halted, then output is no longer forwarded # to the GDB console. - set targets [target names] + set targets [target names] foreach t $targets { # New event script. $t invoke-event arp_halt_gdb - } + } } add_help_text srst_deasserted "Overridable procedure run when srst deassert is detected. Runs 'reset init' by default." |