static void do_gdbserver(int argc, const char **argv)

{

    int port;



    port = DEFAULT_GDBSTUB_PORT;

    if (argc >= 2)

        port = atoi(argv[1]);

    if (gdbserver_start(port) < 0) {

        qemu_printf("Could not open gdbserver socket on port %d\n", port);

    } else {

        qemu_printf("Waiting gdb connection on port %d\n", port);

    }

}

static void do_gdbserver(int argc, const char **argv)

{

    int port;



    port = DEFAULT_GDBSTUB_PORT;

    if (argc >= 2)

        port = atoi(argv[1]);

    if (gdbserver_start(port) < 0) {

        qemu_printf("Could not open gdbserver socket on port %d\n", port);

    } else {

        qemu_printf("Waiting gdb connection on port %d\n", port);

    }

}

static void FUNC_0(int VAR_0, const char **VAR_1)

{

    int VAR_2;



    VAR_2 = DEFAULT_GDBSTUB_PORT;

    if (VAR_0 >= 2)

        VAR_2 = atoi(VAR_1[1]);

    if (gdbserver_start(VAR_2) < 0) {

        qemu_printf("Could not open gdbserver socket on VAR_2 %d\n", VAR_2);

    } else {

        qemu_printf("Waiting gdb connection on VAR_2 %d\n", VAR_2);

    }

}

static void FUNC_0(int VAR_0, const char **VAR_1)
{ int VAR_2; VAR_2 = DEFAULT_GDBSTUB_PORT; if (VAR_0 >= 2)
VAR_2 = atoi(VAR_1[1]); if (gdbserver_start(VAR_2) < 0) { qemu_printf("Could not open gdbserver socket on VAR_2 %d\n", VAR_2); } else { qemu_printf("Waiting gdb connection on VAR_2 %d\n", VAR_2); } }