summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 13:48:16 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 13:48:16 +0000
commitbece2176c0308690a8ad931c815bd544a7249fdf (patch)
tree7bbdfca048634740009338021339c9376cf73375
parent002e3fcbdbb22686278abf242668431ac653a449 (diff)
downloadopenocd+libswd-bece2176c0308690a8ad931c815bd544a7249fdf.tar.gz
openocd+libswd-bece2176c0308690a8ad931c815bd544a7249fdf.tar.bz2
openocd+libswd-bece2176c0308690a8ad931c815bd544a7249fdf.tar.xz
openocd+libswd-bece2176c0308690a8ad931c815bd544a7249fdf.zip
fix to peek command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@747 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/tcl/commands.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcl/commands.tcl b/src/tcl/commands.tcl
index f42047f7..d671d786 100644
--- a/src/tcl/commands.tcl
+++ b/src/tcl/commands.tcl
@@ -1,6 +1,6 @@
# implements Tcl procedures/functions
proc peek {address} {
- return [openocd mdw $address]
+ return [openocd_throw "mdw $address"]
}
# Production command