qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 4/4] gdbstub: x86: Switch 64/32 bit register


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Re: [PATCH 4/4] gdbstub: x86: Switch 64/32 bit registers dynamically
Date: Tue, 30 Jun 2009 09:15:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/29/09 16:43, Paul Brook wrote:
You've just deliberately broken the qemu gdbstub. After your patch it is
impossible to debug mixed 32/64-bit code.
Please give it a try as it's the other way around: You can't properly
debug mixed target code without my patch.

Sure you can, you just need a gdb that doesn't suck.  As soon as you encounter
actual mixed code (rather than just running the wrong qemu) your patch causes
things to die horribly.

i.e. the latest gdb release (6.8) works better *with* the workaround,
and the latest gdb bits from cvs work better *without* the workaround.
Is that correct?

How about making it runtime-switchable then, so qemu can deal with both cases?

cheers,
  Gerd




reply via email to

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