diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicedebug.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index c7508e3..6c2f5cf 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c @@ -127,7 +127,7 @@ static debugserver_error_t debugserver_client_handle_response(debugserver_client /* send reply */ debugserver_command_new("OK", 0, NULL, &command); - dres = debugserver_client_send_command(client, command, response); + dres = debugserver_client_send_command(client, command, response, NULL); debug_info("result: %d", dres); debugserver_command_free(command); command = NULL; @@ -153,7 +153,7 @@ static debugserver_error_t debugserver_client_handle_response(debugserver_client /* send reply */ debugserver_command_new("OK", 0, NULL, &command); - dres = debugserver_client_send_command(client, command, response); + dres = debugserver_client_send_command(client, command, response, NULL); debug_info("result: %d", dres); debugserver_command_free(command); command = NULL; @@ -166,7 +166,7 @@ static debugserver_error_t debugserver_client_handle_response(debugserver_client /* no command */ debugserver_command_new("OK", 0, NULL, &command); - dres = debugserver_client_send_command(client, command, response); + dres = debugserver_client_send_command(client, command, response, NULL); debug_info("result: %d", dres); debugserver_command_free(command); command = NULL; @@ -342,7 +342,7 @@ int main(int argc, char *argv[]) if (debug_level) { debug_info("Setting logging bitmask..."); debugserver_command_new("QSetLogging:bitmask=LOG_ALL|LOG_RNB_REMOTE|LOG_RNB_PACKETS", 0, NULL, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { @@ -360,7 +360,7 @@ int main(int argc, char *argv[]) char* packet_size[2] = {strdup("1024"), NULL}; debugserver_command_new("QSetMaxPacketSize:", 1, packet_size, &command); free(packet_size[0]); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { @@ -376,7 +376,7 @@ int main(int argc, char *argv[]) debug_info("Setting working directory..."); char* working_dir[2] = {working_directory, NULL}; debugserver_command_new("QSetWorkingDir:", 1, working_dir, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { @@ -417,7 +417,7 @@ int main(int argc, char *argv[]) /* check if launch succeeded */ debug_info("Checking if launch succeeded..."); debugserver_command_new("qLaunchSuccess", 0, NULL, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { @@ -432,7 +432,7 @@ int main(int argc, char *argv[]) /* set thread */ debug_info("Setting thread..."); debugserver_command_new("Hc0", 0, NULL, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { @@ -447,7 +447,7 @@ int main(int argc, char *argv[]) /* continue running process */ debug_info("Continue running process..."); debugserver_command_new("c", 0, NULL, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; @@ -470,7 +470,7 @@ int main(int argc, char *argv[]) /* kill process after we finished */ debug_info("Killing process..."); debugserver_command_new("k", 0, NULL, &command); - dres = debugserver_client_send_command(debugserver_client, command, &response); + dres = debugserver_client_send_command(debugserver_client, command, &response, NULL); debugserver_command_free(command); command = NULL; if (response) { |