aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2019-05-31 17:03:10 +0200
committerTomas Vanek <vanekt@fbl.cz>2019-06-10 20:37:25 +0100
commit6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5 (patch)
treec3240141b3185133b3ed10fa9b350f6236da1a36 /contrib
parentc8184bac20e328704067efb3ab63a96c9b541b89 (diff)
downloadriscv-openocd-6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5.zip
riscv-openocd-6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5.tar.gz
riscv-openocd-6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5.tar.bz2
contrib/rpc_examples: remove 'ocd_' command prefix from haskell example
The prefixed commands has been removed in commit 0840414f0e57 ("helper/command: do not replace new commands with ocd_ prefix"). Change-Id: I9f101beb85533973041386896bbb215bb141962f Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5191 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/rpc_examples/ocdrpc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/rpc_examples/ocdrpc.hs b/contrib/rpc_examples/ocdrpc.hs
index 27fb1ae..9a80cdd 100644
--- a/contrib/rpc_examples/ocdrpc.hs
+++ b/contrib/rpc_examples/ocdrpc.hs
@@ -39,7 +39,7 @@ mdwParser = (manyTill anyChar (string ": ") *>
ocdMdw :: (InputStream ByteString, OutputStream ByteString) -> Integer -> Integer -> IO [Integer]
ocdMdw s start count = do
- s <- ocdExec s $ "ocd_mdw " ++ show start ++ " " ++ show count
+ s <- ocdExec s $ "mdw " ++ show start ++ " " ++ show count
case parseOnly mdwParser (pack s) of
Right r -> return $ concat r