mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-04 17:56:33 +00:00
4c0f0b6619
The fixed register numbering in the various GDB feature files for RISC-V only exists because these files were originally copied from the GDB source tree. However, the fixed numbering only exists in the GDB source tree so that GDB, when it connects to a target that doesn't provide a target description, will use a specific numbering scheme. That numbering scheme is designed to be compatible with the first versions of QEMU (for RISC-V), that didn't send a target description, and relied on a fixed numbering scheme. Because of the way that QEMU manages its target descriptions, recording the number of registers in each feature, and just relying on GDB's numbering starting from 0, then I propose that we remove all the fixed numbering from the RISC-V feature xml files, and just rely on the standard numbering scheme. Plenty of other targets manage their xml files this way, e.g. ARM, AArch64, Loongarch, m68k, rx, and s390. Signed-off-by: Andrew Burgess <aburgess@redhat.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Message-Id: <6069395f90e6fc24dac92197be815fedf42f5974.1661934573.git.aburgess@redhat.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
||
---|---|---|
.. | ||
aarch64-core.xml | ||
aarch64-fpu.xml | ||
arm-core.xml | ||
arm-m-profile-mve.xml | ||
arm-m-profile.xml | ||
arm-neon.xml | ||
arm-vfp3.xml | ||
arm-vfp-sysregs.xml | ||
arm-vfp.xml | ||
avr-cpu.xml | ||
cf-core.xml | ||
cf-fp.xml | ||
i386-32bit.xml | ||
i386-64bit.xml | ||
loongarch-base64.xml | ||
loongarch-fpu.xml | ||
m68k-core.xml | ||
m68k-fp.xml | ||
power64-core.xml | ||
power-altivec.xml | ||
power-core.xml | ||
power-fpu.xml | ||
power-spe.xml | ||
power-vsx.xml | ||
riscv-32bit-cpu.xml | ||
riscv-32bit-fpu.xml | ||
riscv-32bit-virtual.xml | ||
riscv-64bit-cpu.xml | ||
riscv-64bit-fpu.xml | ||
riscv-64bit-virtual.xml | ||
rx-core.xml | ||
s390-acr.xml | ||
s390-cr.xml | ||
s390-fpr.xml | ||
s390-gs.xml | ||
s390-virt.xml | ||
s390-vx.xml | ||
s390x-core64.xml |