> 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


Reply via email to