]> git.sur5r.net Git - openocd/commitdiff
fix to peek command.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 4 Jul 2008 13:48:16 +0000 (13:48 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 4 Jul 2008 13:48:16 +0000 (13:48 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@747 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/tcl/commands.tcl

index f42047f7f740f66924277b21c74de173359fb4c9..d671d7860637545317cd48cc0cd198bb70d3f5e3 100644 (file)
@@ -1,6 +1,6 @@
 # implements Tcl procedures/functions\r
 proc peek {address} {\r
-       return [openocd mdw $address]
+       return [openocd_throw "mdw $address"]
 }\r
 \r
 # Production command\r