* [Qemu-devel] [PATCH] gdb stub support and loadvm should work together
@ 2007-06-29 12:52 Jason Wessel
0 siblings, 0 replies; only message in thread
From: Jason Wessel @ 2007-06-29 12:52 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
Right now the gdb stub support is mutually exclusive of the loadvm
command line support. In fact it might be nice to have the loadvm and
savevm commands exposed via the gdb stub so you can save an instance
which you can debug again later.
The attached patch makes it so you can execute a -loadvm from the
command line while still having the gdb stub support active.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Jason.
[-- Attachment #2: gdb_stub_loadvm_support.patch --]
[-- Type: text/x-patch, Size: 382 bytes --]
---
vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c
+++ qemu/vl.c
@@ -8011,7 +8011,7 @@ int main(int argc, char **argv)
gdbstub_port);
exit(1);
}
- } else
+ }
#endif
if (loadvm)
do_loadvm(loadvm);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-29 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29 12:52 [Qemu-devel] [PATCH] gdb stub support and loadvm should work together Jason Wessel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.