Re: [Qemu-devel] Request for help with Qemu GDB for big-endian instructions (R4)

2016-03-20 Thread Peter Maydell
On 17 March 2016 at 15:09, Paul, Kaustav Kumar wrote: > If I understand correctly, inside the function > gen_intermediate_code_internal(...), arm_ldl_code() reads > the instruction-bytes according to PC and then disassemble. > Initially, the output of this disassembly did not make much > sense. It

Re: [Qemu-devel] Request for help with Qemu GDB for big-endian instructions (R4)

2016-03-19 Thread Paul, Kaustav Kumar
o.org] Sent: Wednesday, March 16, 2016 7:53 PM To: Paul, Kaustav Kumar Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Request for help with Qemu GDB for big-endian instructions (R4) On 16 March 2016 at 10:06, Paul, Kaustav Kumar wrote: > The firmware is compiled for Cortex-R4, runs T

Re: [Qemu-devel] Request for help with Qemu GDB for big-endian instructions (R4)

2016-03-19 Thread Peter Maydell
On 16 March 2016 at 10:06, Paul, Kaustav Kumar wrote: > The firmware is compiled for Cortex-R4, runs ThreadX OS and is configured to > use both instructions and data in big-endian (BE32 ?) format. The Cortex-R4 is an ARMv7 CPU, and so only supports BE8. > The code is > compiled with GHS toolchai