From: Karl Kurbjun Date: Mon, 22 Oct 2012 18:20:10 +0000 (-0600) Subject: ARM v4/v5 target files: mrc and mcr help information is incorrect. X-Git-Tag: v0.7.0-rc1~165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a72a42230be9a479dd93687d99d39b9029acb50a;p=openocd ARM v4/v5 target files: mrc and mcr help information is incorrect. The order of the mrc/mcr command matches the ARM Architecture Reference Manual. This patch corrects the help information for mrc/mcr. Change-Id: I1f0e6a628a3644124591a6aa291b8a58cfd93b44 Signed-off-by: Karl Kurbjun Reviewed-on: http://openocd.zylin.com/914 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index e31c77e4..7ba2debb 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -1002,13 +1002,13 @@ static const struct command_registration arm_exec_command_handlers[] = { .mode = COMMAND_EXEC, .jim_handler = &jim_mcrmrc, .help = "write coprocessor register", - .usage = "cpnum op1 CRn op2 CRm value", + .usage = "cpnum op1 CRn CRm op2 value", }, { .name = "mrc", .jim_handler = &jim_mcrmrc, .help = "read coprocessor register", - .usage = "cpnum op1 CRn op2 CRm", + .usage = "cpnum op1 CRn CRm op2", }, { "semihosting",