From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Abhishek Saksena <abhishek.saksena@intel.com>,
Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] gdbstub: x86: Switch 64/32 bit registers dynamically
Date: Tue, 10 Nov 2009 13:35:08 +0000 [thread overview]
Message-ID: <200911101335.08580.paul@codesourcery.com> (raw)
In-Reply-To: <4AB26055.2060506@siemens.com>
> No question, this is a gdb issue. But, as it was confirmed in several
> discusssions with gdb people, it is a non-trivial thing to fix. So until
> qemu finds a gdb version attach with a rework x86 support, we have to
> work around it by switching the register layout as the guest switches
> its execution mode between 16/32 and 64 bit.
Again, absolutely not. Changing the register set reported to a connected gdb
is *never* correct. An option (possibly monitor command) to change the
register set reported to gdb *before* a connection is establisted, that may be
acceptable.
Paul
prev parent reply other threads:[~2009-11-10 13:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 16:14 [Qemu-devel] [PATCH] gdbstub: x86: Switch 64/32 bit registers dynamically Jan Kiszka
2009-09-17 16:38 ` [Qemu-devel] " Jan Kiszka
2009-11-10 13:35 ` Paul Brook [this message]
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=200911101335.08580.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=abhishek.saksena@intel.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=mtosatti@redhat.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 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.