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

2019-01-10 Thread David Gibson
On Fri, Jan 04, 2019 at 05:56:53PM -0200, 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 o

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

2019-01-04 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