command_handler: change 'cmd_ctx' to CMD_CTX

Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
This commit is contained in:
Zachary T Welch
2009-11-15 05:57:37 -08:00
parent 23402315ce
commit 2861877b32
51 changed files with 623 additions and 620 deletions

View File

@@ -2252,7 +2252,7 @@ COMMAND_HANDLER(handle_gdb_sync_command)
if (current_gdb_connection == NULL)
{
command_print(cmd_ctx,
command_print(CMD_CTX,
"gdb_sync command can only be run from within gdb using \"monitor gdb_sync\"");
return ERROR_FAIL;
}

View File

@@ -553,7 +553,7 @@ SERVER_PORT_COMMAND()
{
switch (CMD_ARGC) {
case 0:
command_print(cmd_ctx, "%d", *out);
command_print(CMD_CTX, "%d", *out);
break;
case 1:
{