Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-31 Thread Alexey Kardashevskiy
On 01/02/2019 08:57, Fabiano Rosas wrote: > Alexey Kardashevskiy writes: > >> On 31/01/2019 03:30, Fabiano Rosas wrote: >>> Alexey Kardashevskiy writes: >>> but this is a register which does not have endianness, the endianness appears here because the interface between gdb and

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-02-01 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > On 01/02/2019 08:57, Fabiano Rosas wrote: >> Alexey Kardashevskiy writes: >> >>> On 31/01/2019 03:30, Fabiano Rosas wrote: Alexey Kardashevskiy writes: > > but this is a register which does not have endianness, the endianness > appears here

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-02-03 Thread Alexey Kardashevskiy
On 01/02/2019 23:01, Fabiano Rosas wrote: > Alexey Kardashevskiy writes: > >> On 01/02/2019 08:57, Fabiano Rosas wrote: >>> Alexey Kardashevskiy writes: >>> On 31/01/2019 03:30, Fabiano Rosas wrote: > Alexey Kardashevskiy writes: > >> >> but this is a register which does

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-23 Thread Alexey Kardashevskiy
On 23/01/2019 04:01, Fabiano Rosas wrote: > These will be used to let GDB know about PPC's Special Purpose > Registers (SPR). > > They take an index based on the order the registers appear in the XML > file sent by QEMU to GDB. This index does not match the actual > location of the registers in

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-26 Thread David Gibson
On Thu, Jan 24, 2019 at 06:20:02PM +1100, Alexey Kardashevskiy wrote: > > > On 23/01/2019 04:01, Fabiano Rosas wrote: > > These will be used to let GDB know about PPC's Special Purpose > > Registers (SPR). > > > > They take an index based on the order the registers appear in the XML > > file sen

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-28 Thread Fabiano Rosas
David Gibson writes: > On Thu, Jan 24, 2019 at 06:20:02PM +1100, Alexey Kardashevskiy wrote: >> >> >> On 23/01/2019 04:01, Fabiano Rosas wrote: >> > These will be used to let GDB know about PPC's Special Purpose >> > Registers (SPR). >> > >> > They take an index based on the order the register

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-28 Thread Alexey Kardashevskiy
On 29/01/2019 07:00, Fabiano Rosas wrote: > David Gibson writes: > >> On Thu, Jan 24, 2019 at 06:20:02PM +1100, Alexey Kardashevskiy wrote: >>> >>> >>> On 23/01/2019 04:01, Fabiano Rosas wrote: These will be used to let GDB know about PPC's Special Purpose Registers (SPR).

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-30 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > > but this is a register which does not have endianness, the endianness > appears here because the interface between gdb and qemu is > uint8_t*==bytestream but this interface should have fixed endianness > imho (now it is bigendian afaict). > > Something is not righ

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-30 Thread Alexey Kardashevskiy
On 31/01/2019 03:30, Fabiano Rosas wrote: > Alexey Kardashevskiy writes: > >> >> but this is a register which does not have endianness, the endianness >> appears here because the interface between gdb and qemu is >> uint8_t*==bytestream but this interface should have fixed endianness >> imho (

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4 2/3] target/ppc: Add GDB callbacks for SPRs

2019-01-31 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > On 31/01/2019 03:30, Fabiano Rosas wrote: >> Alexey Kardashevskiy writes: >> >>> >>> but this is a register which does not have endianness, the endianness >>> appears here because the interface between gdb and qemu is >>> uint8_t*==bytestream but this interface sh