use COMMAND_REGISTER macro
[openocd.git] / src / target / arm7_9_common.c
index 4c5e286c36218939187077af97cd2d7e71de23e4..1601ee17d3f6075d667b1e7ed2c182ad02b9ef5a 100644 (file)
@@ -2851,18 +2851,18 @@ int arm7_9_register_commands(struct command_context *cmd_ctx)
 {
        struct command *arm7_9_cmd;
 
-       arm7_9_cmd = register_command(cmd_ctx, NULL, "arm7_9",
+       arm7_9_cmd = COMMAND_REGISTER(cmd_ctx, NULL, "arm7_9",
                        NULL, COMMAND_ANY, "arm7/9 specific commands");
 
-       register_command(cmd_ctx, arm7_9_cmd, "dbgrq",
+       COMMAND_REGISTER(cmd_ctx, arm7_9_cmd, "dbgrq",
                        handle_arm7_9_dbgrq_command, COMMAND_ANY,
                        "use EmbeddedICE dbgrq instead of breakpoint "
                        "for target halt requests <enable | disable>");
-       register_command(cmd_ctx, arm7_9_cmd, "fast_memory_access",
+       COMMAND_REGISTER(cmd_ctx, arm7_9_cmd, "fast_memory_access",
                        handle_arm7_9_fast_memory_access_command, COMMAND_ANY,
                        "use fast memory accesses instead of slower "
                        "but potentially safer accesses <enable | disable>");
-       register_command(cmd_ctx, arm7_9_cmd, "dcc_downloads",
+       COMMAND_REGISTER(cmd_ctx, arm7_9_cmd, "dcc_downloads",
                        handle_arm7_9_dcc_downloads_command, COMMAND_ANY,
                        "use DCC downloads for larger memory writes <enable | disable>");
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)