}
}
-#ifdef CONFIG_GDBSTUB
static void do_gdbserver(Monitor *mon, const char *device)
{
if (!device)
device);
}
}
-#endif
static void do_watchdog_action(Monitor *mon, const char *action)
{
"", "stop emulation", },
{ "c|cont", "", do_cont,
"", "resume emulation", },
-#ifdef CONFIG_GDBSTUB
{ "gdbserver", "s?", do_gdbserver,
"[device]", "start gdbserver on given device (default 'tcp::1234'), stop with 'none'", },
-#endif
{ "x", "/l", do_memory_dump,
"/fmt addr", "virtual memory dump starting at 'addr'", },
{ "xp", "/l", do_physical_memory_dump,