mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() The QEMU GDB stub does not expose the ZA storage SME register to GDB
via the remote serial protocol, which can be a useful functionality
to debug SME code. To provide this functionality for AArch64
targets, this patch registers the SME register set with the GDB stub.
To do so, this patch implements the aarch64_gdb_get_sme_reg() and
aarch64_gdb_set_sme_reg() functions to specify how to get and set the
SME registers, and the arm_gen_dynamic_smereg_feature() function to
generate the target description in XML format to indicate the target
architecture supports SME. Finally, this patch includes a
dyn_smereg_feature structure to hold this GDB XML description of the
SME registers for each CPU.
Note that according to the GDB documentation the ZA register is
defined as a vector of bytes; however the target description xml
retrieved when using gdb natively on a host with SME capabilities
represents the ZA register as a vector of vectors of bytes, so this
is a GDB documentation error. We follow GDB's own gdbstub
implementation and represent the ZA register as a vector of vectors
of bytes as is done by GDB here:
|
2 days ago | |
---|---|---|
.. | ||
hvf | 3 weeks ago | |
tcg | 2 days ago | |
Kconfig | 1 year ago | |
arch_dump.c | 4 months ago | |
arm-powerctl.c | 9 months ago | |
arm-powerctl.h | 7 years ago | |
arm-qmp-cmds.c | 2 months ago | |
common-semi-target.h | 2 years ago | |
cortex-regs.c | 2 years ago | |
cpregs-pmu.c | 3 weeks ago | |
cpregs.h | 2 days ago | |
cpu-features.h | 2 days ago | |
cpu-param.h | 5 months ago | |
cpu-qom.h | 4 months ago | |
cpu-sysregs.h | 3 months ago | |
cpu-sysregs.h.inc | 2 months ago | |
cpu.c | 2 days ago | |
cpu.h | 2 days ago | |
cpu32-stubs.c | 4 months ago | |
cpu64.c | 2 months ago | |
debug_helper.c | 2 months ago | |
gdbstub.c | 2 days ago | |
gdbstub64.c | 2 days ago | |
gtimer.h | 6 months ago | |
helper.c | 2 days ago | |
helper.h | 4 months ago | |
hvf-stub.c | 4 months ago | |
hvf_arm.h | 4 months ago | |
hyp_gdbstub.c | 4 months ago | |
idau.h | 5 years ago | |
internals.h | 2 days ago | |
kvm-consts.h | 1 year ago | |
kvm-stub.c | 2 months ago | |
kvm.c | 2 days ago | |
kvm_arm.h | 2 months ago | |
machine.c | 2 days ago | |
meson.build | 2 months ago | |
multiprocessing.h | 2 years ago | |
ptw.c | 2 days ago | |
syndrome.h | 3 months ago | |
tcg-stubs.c | 2 months ago | |
trace-events | 2 years ago | |
trace.h | 5 years ago | |
vfp_fpscr.c | 7 months ago |