qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jason Wessel
Subject: [Qemu-devel] [PATCH] gdb stub support and loadvm should work together
Date: Fri, 29 Jun 2007 07:52:09 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

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 <address@hidden>

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);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]