From: Antonio Borneo Date: Fri, 31 May 2019 15:03:10 +0000 (+0200) Subject: contrib/rpc_examples: remove 'ocd_' command prefix from haskell example X-Git-Tag: v0.11.0-rc1~634 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5 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 Reviewed-on: http://openocd.zylin.com/5191 Tested-by: jenkins Reviewed-by: Paul Fertser --- diff --git a/contrib/rpc_examples/ocdrpc.hs b/contrib/rpc_examples/ocdrpc.hs index 27fb1ae600..9a80cdd849 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