diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2009-05-08 09:01:00 +0200 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-08 13:24:12 +0100 |
commit | 322f9d0153cd0a05dfba6e02927fe10e3549e461 (patch) | |
tree | e8c6f8186ab2c9f47eaf6129ff1a35387ec360c9 /vl.c | |
parent | c599710f5ce5f521cc6f036af2063611527dde3d (diff) | |
download | qemu-322f9d0153cd0a05dfba6e02927fe10e3549e461.tar.gz qemu-322f9d0153cd0a05dfba6e02927fe10e3549e461.tar.bz2 qemu-322f9d0153cd0a05dfba6e02927fe10e3549e461.zip |
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 'vl.c')
-rw-r--r-- | vl.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -4350,13 +4350,11 @@ static void tcg_cpu_exec(void) } if (cpu_can_run(env)) ret = qemu_cpu_exec(env); -#ifndef CONFIG_GDBSTUB if (ret == EXCP_DEBUG) { gdb_set_stop_cpu(env); debug_requested = 1; break; } -#endif } } @@ -4795,9 +4793,7 @@ static void termsig_setup(void) int main(int argc, char **argv, char **envp) { -#ifdef CONFIG_GDBSTUB const char *gdbstub_dev = NULL; -#endif uint32_t boot_devices_bitmap = 0; int i; int snapshot, linux_boot, net_boot; @@ -5229,14 +5225,12 @@ int main(int argc, char **argv, char **envp) cpu_set_log(mask); } break; -#ifdef CONFIG_GDBSTUB case QEMU_OPTION_s: gdbstub_dev = "tcp::" DEFAULT_GDBSTUB_PORT; break; case QEMU_OPTION_gdb: gdbstub_dev = optarg; break; -#endif case QEMU_OPTION_L: bios_dir = optarg; break; @@ -6023,13 +6017,11 @@ int main(int argc, char **argv, char **envp) } } -#ifdef CONFIG_GDBSTUB if (gdbstub_dev && gdbserver_start(gdbstub_dev) < 0) { fprintf(stderr, "qemu: could not open gdbserver on device '%s'\n", gdbstub_dev); exit(1); } -#endif if (loadvm) do_loadvm(cur_mon, loadvm); |