>> So finally:
>>
>> Tested-by: Alex Bennée
> Thanks for the testing.
>
> Abdallah: I've added this series to my target-arm.next queue,
> so it should reach QEMU master some time next week. Thanks for
> your efforts in working through QEMU's review process, and
> sorry
> Abdallah Bouassida <abdallah.bouass...@lauterbach.com> writes:
>
>> The previous version:
>> http://patchwork.ozlabs.org/project/qemu-devel/list/?series=33714
> I was trying to do some testing but I was finding it very hard to do at
> gdb kept throwing up er
ping
Le 4/19/2018 à 4:56 PM, Abdallah Bouassida a écrit :
> The previous version:
> http://patchwork.ozlabs.org/project/qemu-devel/list/?series=33714
>
> Abdallah Bouassida (3):
> target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo
> type
>
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 <abdallah.bouass...@lauterbach.com>
---
gdb
ers follow the same convention.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
---
target/arm/helper.c | 29 ++---
1 file changed, 18
for any register we want to remove from the
dynamic XML description.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
---
target/arm/cpu.h| 3 ++-
targe
The previous version:
http://patchwork.ozlabs.org/project/qemu-devel/list/?series=33714
Abdallah Bouassida (3):
target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo
type
target/arm: Add "_S" suffix to the secure version of a sysreg
target/arm:
Hi Alex,
First of all, thanks for the review!
>> +static int arm_gdb_get_sysreg(CPUARMState *env, uint8_t *buf, int reg)
>> +{
>> +ARMCPU *cpu = arm_env_get_cpu(env);
>> +const ARMCPRegInfo *ri;
>> +uint32_t key;
>> +
>> +key = cpu->dyn_xml.cpregs_keys[reg];
>> +ri =
ping
http://patchwork.ozlabs.org/project/qemu-devel/list/?series=33714
ers follow the same convention.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
---
target/arm/helper.c | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/target/arm
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 <abdallah.bouass...@lauterbach.com>
---
gdb
The previous version:
http://patchwork.ozlabs.org/project/qemu-devel/list/?series=33190
Abdallah Bouassida (3):
target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo
type
target/arm: Add "_S" suffix to the secure version of a sysreg
target/arm:
for any register we want to remove from the
dynamic XML description.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
---
target/arm/cpu.h| 3 ++-
target/arm/helper.c | 2 +-
2 files changed, 3 insertions(+),
This is a callback to set the cp-regs registered by the dynamic XML.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
>> Adding to that our customers may need this write access, our tool TRACE32®
>> needs this also in some particular cases. For
ers follow the same convention.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
target/arm/helper.c | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index c5d62c8..3b31f71 100
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 <abdallah.bouass...@lauterbach.com>
---
gdb
for any register we want to remove from the
dynamic XML description.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
---
target/arm/cpu.h| 3 ++-
target/arm/helper.c | 2 +-
2 files changed, 3 insertions(+),
The previous version:
http://patchwork.ozlabs.org/project/qemu-devel/list/?series=30973
Abdallah Bouassida (4):
target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo
type
target/arm: Add "_S" suffix to the secure version of a sysreg
target/arm:
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), ">
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 <abdallah.bouass...@lauterbach.com>
---
gdbstub.c| 7
include/qom
review, Thanks a lot ;)
Abdallah Bouassida (4):
target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo
type
target/arm: Add "_S" suffix to the secure version of a sysreg
target/arm: Add the XML dynamic generation
target/arm: Add arm_gdb_set_sysreg
This is a callback to set the cp-regs registered by the dynamic XML.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
>> Some of our customers need to connect to Qemu using our tool TRACE32®
>> via GDB,
>> and for some use case they need to h
for any register we want to remove from the
dynamic XML description.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
target/arm/cpu.h| 3 ++-
target/arm/helper.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
ers follow the same convention.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
target/arm/helper.c | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index bdd212f.
[PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to GDB
This patch offers to GDB the ability to read/write all the coprocessor
registers for ARM and ARM64 by generating dynamically an XML-description for
these registers.
Signed-off-by: Abdallah Bouassida <abdallah.bou
[PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers
to GDB
This patch offers to GDB the ability to read/write all the coprocessor
registers for ARM and ARM64 by generating dynamically an XML-description for
these registers.
Signed-off-by: Abdallah Bouassida <abdallah.bou
dynamically an
XML-description for
these registers.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
Hello Peter,
Thanks for reviewing the previous version of this patch!
http://patchwork.ozlabs.org/patch/861374/
*For the ARM64, should I differentiate the reg
.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
Hello Peter,
Thanks for reviewing the previous version of this patch!
http://patchwork.ozlabs.org/patch/861374/
*For the ARM64, should I differentiate the registers that have two views (32
and 64)
Maybe by
[PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers
to GDB
This patch offers to GDB the ability to read/write all the coprocessor
registers for ARM and ARM64 by generating dynamically an XML-description for
these registers.
Signed-off-by: Abdallah Bouassida <abdallah.bou
t;32" tag for the registers name
for the
32bit view and a "64" for the 64bit view.
*How to properly handle the secure and the non secure views?
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
gdbstub.c | 18 +++
include/qom/cpu.h | 19 +
Oh, I see!
Thanks for the details!
Regards,
Abdallah
Le 6/16/2017 à 3:51 PM, Peter Maydell a écrit :
On 16 June 2017 at 15:42, Abdallah Bouassida
<abdallah.bouass...@lauterbach.com> wrote:
Check if the CPU supports AARCH64 before adding the 64bit view of
the coprocessor's re
Check if the CPU supports AARCH64 before adding the 64bit view of
the coprocessor's register to the cp_regs hashtable.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
Bug description: if a register has the .state = ARM_CP_STATE_BOTH, its
64bit view will be
xml_file to the new XML wrapper,
modify the gdb_num_core_regs to fit the registers number defined in each
XML file.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
@Paolo: This patch is in response to your hints here:
https://lists.gnu.org/archive/html/qemu-devel/2017-03
ping
http://patchwork.ozlabs.org/patch/709408/
Le 12/28/2016 à 5:34 PM, Abdallah Bouassida a écrit :
[Qemu-devel] [PATCH] target-x86:Add GDB XML register description support
This patch implements XML target description support for X86 and X86-64
architectures in the GDB stub, as the way
file.
Signed-off-by: Abdallah Bouassida <abdallah.bouass...@lauterbach.com>
---
configure | 2 ++
gdb-xml/32bit-core.xml | 65
gdb-xml/64bit-core.xml | 73
++
target/i386/cpu.c
35 matches
Mail list logo