summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-05-08 09:01:00 +0200
committerPaul Brook <paul@codesourcery.com>2009-05-08 13:24:12 +0100
commit322f9d0153cd0a05dfba6e02927fe10e3549e461 (patch)
treee8c6f8186ab2c9f47eaf6129ff1a35387ec360c9 /monitor.c
parentc599710f5ce5f521cc6f036af2063611527dde3d (diff)
downloadqemu-322f9d0153cd0a05dfba6e02927fe10e3549e461.tar.gz
Drop CONFIG_GDBSTUB
This is no user-flippable switch, and no arch makes use of disabling gdbstub support. So it's pointless to keep the related #ifdefs and configure hunks around - and risking breakages like 711c410fdd again. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/monitor.c b/monitor.c
index d64f459a6e..0f38c71b11 100644
--- a/monitor.c
+++ b/monitor.c
@@ -581,7 +581,6 @@ static void encrypted_bdrv_it(void *opaque, BlockDriverState *bs)
}
}
-#ifdef CONFIG_GDBSTUB
static void do_gdbserver(Monitor *mon, const char *device)
{
if (!device)
@@ -596,7 +595,6 @@ static void do_gdbserver(Monitor *mon, const char *device)
device);
}
}
-#endif
static void do_watchdog_action(Monitor *mon, const char *action)
{
@@ -1692,10 +1690,8 @@ static const mon_cmd_t mon_cmds[] = {
"", "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,