[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] x86: Fix x86_64 'g' packet response to gdb from

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] x86: Fix x86_64 'g' packet response to gdb from 32-bit mode.
Date: Fri, 4 Nov 2016 16:34:28 +0000

On 4 November 2016 at 16:29, Richard Henderson <address@hidden> wrote:
> On 11/03/2016 05:35 PM, Doug Evans wrote:
>> The remote protocol can't handle flipping back and forth
>> between 32-bit and 64-bit regs. To compensate, pretend "as if"
>> on 64-bit cpu when in 32-bit mode.
>> Signed-off-by: Doug Evans <address@hidden>
>> ---
>>  target-i386/gdbstub.c | 52
>> ++++++++++++++++++++++++++++++++++++++-------------
>>  1 file changed, 39 insertions(+), 13 deletions(-)
> Reviewed-by: Richard Henderson <address@hidden>

Has anybody ever looked at fixing this on the gdb end?
(There are some similar cases for ARM CPUs, and actually
being able to debug across 32/64 boundaries, big/little
endian boundaries etc would be quite handy in some

-- PMM

reply via email to

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