X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farmv8.c;h=e7369372ab711ed1a95e075818827194bd897f93;hp=4054c954fbaac890b0feadf44677f867c6ba21fd;hb=6cb5ba6f1136df2986850f5c176cb38e34ca1795;hpb=69165509386efffc2848ac3b345be750f1ddbe56;ds=sidebyside diff --git a/src/target/armv8.c b/src/target/armv8.c index 4054c954fb..e7369372ab 100644 --- a/src/target/armv8.c +++ b/src/target/armv8.c @@ -1054,7 +1054,7 @@ COMMAND_HANDLER(armv8_handle_exception_catch_command) return ERROR_FAIL; } - command_print(CMD_CTX, "Exception Catch: Secure: %s, Non-Secure: %s", sec, nsec); + command_print(CMD, "Exception Catch: Secure: %s, Non-Secure: %s", sec, nsec); return ERROR_OK; } @@ -1083,7 +1083,7 @@ int armv8_handle_cache_info_command(struct command_invocation *cmd, struct armv8_cache_common *armv8_cache) { if (armv8_cache->info == -1) { - command_print(cmd->ctx, "cache not yet identified"); + command_print(cmd, "cache not yet identified"); return ERROR_OK; }