summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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