summaryrefslogtreecommitdiff
path: root/tcl/bitsbytes.tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-08 17:23:49 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-09 08:12:51 +0100
commite7b2958229c7e0d7e98e130764aa50d1ca9017d3 (patch)
tree93503ebca6e20ffe9ca968680b834ab75d809224 /tcl/bitsbytes.tcl
parent4747af362de04b508c91df4004d2aed5579c8a1c (diff)
downloadopenocd+libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.gz
openocd+libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.bz2
openocd+libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.xz
openocd+libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.zip
TCL scripts: replace "puts" with "echo"
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl/bitsbytes.tcl')
-rw-r--r--tcl/bitsbytes.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/bitsbytes.tcl b/tcl/bitsbytes.tcl
index 3f65c209..2c4fd290 100644
--- a/tcl/bitsbytes.tcl
+++ b/tcl/bitsbytes.tcl
@@ -54,7 +54,7 @@ proc show_normalize_bitfield { VALUE MSB LSB } {
set m [create_mask $MSB $LSB]
set mr [expr $VALUE & $m]
set sr [expr $mr >> $LSB]
- puts [format "((0x%08x & 0x%08x) -> 0x%08x) >> %2d => (0x%x) %5d " $VALUE $m $mr $LSB $sr $sr]
+ echo [format "((0x%08x & 0x%08x) -> 0x%08x) >> %2d => (0x%x) %5d " $VALUE $m $mr $LSB $sr $sr]
return $sr
}