qemu-devel@nongnu.org
[Top] [All Lists]

[Qemu-devel] [PATCH] gdb stub support and loadvm should work together

Subject: [Qemu-devel] [PATCH] gdb stub support and loadvm should work together
From: Jason Wessel
Date: Fri, 29 Jun 2007 07:52:09 -0500
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@xxxxxxxxxxxxx>

Jason.
---
 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);
<Prev in Thread] Current Thread [Next in Thread>
  • [Qemu-devel] [PATCH] gdb stub support and loadvm should work together, Jason Wessel <=