On 08/11/2017 07:18 AM, Peter Maydell wrote:
On 11 August 2017 at 10:59, KONRAD Frederic <frederic.kon...@adacore.com> wrote:
[...]>> It seems that when I try to load a big endian image on a
Cortex-R5 it gets confused:
  * the instructions are fine it executes some code.
  * GDB address / insns are wrong endianness.
  * in monitor x command is good endianness.
  * the data order seems to be wrong endianness:
    Here is my Hello World: lleHlroW

[...]

Dunno about the gdbstub stuff.

Frederic you might try/improve those patches:

[PATCH v3 4/7] ARM big-endian semihosting support.
[PATCH v3 5/7] ARM big-endian system-mode gdbstub support.

see:
http://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg04386.html
http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg00843.html

Regards,

Phil.

Reply via email to