qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] gdb stub support and loadvm should work together
Date: Fri, 29 Jun 2007 07:52:09 -0500	[thread overview]
Message-ID: <46850079.50700@windriver.com> (raw)

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

                 reply	other threads:[~2007-06-29 12:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46850079.50700@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).