Re: [Qemu-devel] [PATCH v6 3/3] target/arm: Add the XML dynamic generation

2018-05-03 Thread Alex Bennée
Peter Maydell writes: > On 3 May 2018 at 11:19, Alex Bennée wrote: >> >> Abdallah Bouassida writes: >> >>> Generate an XML description for the cp-regs. >>> Register these regs with the gdb_register_coprocessor(). >>> Add arm_gdb_get_sysreg() to use it as a callback to read those regs. >>> Add

Re: [Qemu-devel] [PATCH v6 3/3] target/arm: Add the XML dynamic generation

2018-05-03 Thread Peter Maydell
On 3 May 2018 at 11:19, Alex Bennée wrote: > > Abdallah Bouassida writes: > >> Generate an XML description for the cp-regs. >> Register these regs with the gdb_register_coprocessor(). >> Add arm_gdb_get_sysreg() to use it as a callback to read those regs. >> Add a dummy arm_gdb_set_sysreg(). >> >

Re: [Qemu-devel] [PATCH v6 3/3] target/arm: Add the XML dynamic generation

2018-05-03 Thread Alex Bennée
Abdallah Bouassida writes: > Generate an XML description for the cp-regs. > Register these regs with the gdb_register_coprocessor(). > Add arm_gdb_get_sysreg() to use it as a callback to read those regs. > Add a dummy arm_gdb_set_sysreg(). > > Signed-off-by: Abdallah Bouassida > --- > gdbstub.

[Qemu-devel] [PATCH v6 3/3] target/arm: Add the XML dynamic generation

2018-04-19 Thread Abdallah Bouassida
Generate an XML description for the cp-regs. Register these regs with the gdb_register_coprocessor(). Add arm_gdb_get_sysreg() to use it as a callback to read those regs. Add a dummy arm_gdb_set_sysreg(). Signed-off-by: Abdallah Bouassida --- gdbstub.c| 10 +++ include/qom/cpu.h