diff --git a/src/tcl/commands.tcl b/src/tcl/commands.tcl index f42047f7f..d671d7860 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