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

2018-03-06 Thread Peter Maydell
On 6 March 2018 at 15:29, Abdallah Bouassida wrote: > Hi Peter, >>> diff --git a/gdbstub.c b/gdbstub.c >>> index f1d5148..ffab30b 100644 >>> --- a/gdbstub.c >>> +++ b/gdbstub.c >>> @@ -665,6 +665,9 @@ static const char *get_feature_xml(const char *p, const >>> char **newp, >>> pstrca

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

2018-03-06 Thread Abdallah Bouassida
Hi Peter, >> diff --git a/gdbstub.c b/gdbstub.c >> index f1d5148..ffab30b 100644 >> --- a/gdbstub.c >> +++ b/gdbstub.c >> @@ -665,6 +665,9 @@ static const char *get_feature_xml(const char *p, const >> char **newp, >> pstrcat(target_xml, sizeof(target_xml), "> pstrcat(targ

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

2018-03-01 Thread Peter Maydell
On 28 February 2018 at 11:01, Abdallah Bouassida wrote: > 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. > > Signed-off-by: Abdallah Bouassida > --- > +void arm_registe

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

2018-03-01 Thread Peter Maydell
On 28 February 2018 at 11:01, Abdallah Bouassida wrote: > 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. > > Signed-off-by: Abdallah Bouassida > --- > gdbstub.c

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

2018-02-28 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. Signed-off-by: Abdallah Bouassida --- gdbstub.c| 7 include/qom/cpu.h| 9 - target/arm/cpu.c |