[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] gdbstub: x86: Switch 64/32 bit registers dynami
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] gdbstub: x86: Switch 64/32 bit registers dynamically |
Date: |
Tue, 10 Nov 2009 13:35:08 +0000 |
User-agent: |
KMail/1.12.2 (Linux/2.6.30-2-amd64; KDE/4.3.2; x86_64; ; ) |
> 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 in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] gdbstub: x86: Switch 64/32 bit registers dynamically,
Paul Brook <=