On 4 November 2016 at 16:29, Richard Henderson <[email protected]> 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 <[email protected]> >> --- >> target-i386/gdbstub.c | 52 >> ++++++++++++++++++++++++++++++++++++++------------- >> 1 file changed, 39 insertions(+), 13 deletions(-) > > > Reviewed-by: Richard Henderson <[email protected]>
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 situations.) thanks -- PMM
