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

2019-01-15 Thread Alexey Kardashevskiy
On 16/01/2019 06:10, Fabiano Rosas wrote: > Fabiano Rosas writes: > >> 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 actua

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

2019-01-15 Thread Fabiano Rosas
Fabiano Rosas writes: > 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 the env->spr array so

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

2019-01-14 Thread Fabiano Rosas
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 the env->spr array so the gdb_find_spr_idx function does