Re: [Qemu-devel] [PATCH v2 4/6] ARM big-endian system-mode gdbstub support.

2017-01-05 Thread Peter Maydell
On 7 December 2016 at 14:49, Julian Brown wrote: > When debugging a big-endian (either BE8 or BE32) executable, GDB uses > a big-endian byte ordering for its remote protocol. The gdb stub > code in QEMU needs to interpret data in host (little-endian) order in > arm_cpu_gdb_read_register and arm_c

[Qemu-devel] [PATCH v2 4/6] ARM big-endian system-mode gdbstub support.

2016-12-07 Thread Julian Brown
When debugging a big-endian (either BE8 or BE32) executable, GDB uses a big-endian byte ordering for its remote protocol. The gdb stub code in QEMU needs to interpret data in host (little-endian) order in arm_cpu_gdb_read_register and arm_cpu_gdb_write_register, so this patch arranges to byte-swap