diff options
author | Alex Bennée | 2020-03-16 18:21:43 +0100 |
---|---|---|
committer | Alex Bennée | 2020-03-17 18:38:38 +0100 |
commit | 32d6e32afa694ebedf2c5f3bf6f013c5debb5959 (patch) | |
tree | cf5979974f7b81cd6b3907f1ddad32c044c7bd58 /target/arm/helper.c | |
parent | target/arm: prepare for multiple dynamic XMLs (diff) | |
download | qemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.tar.gz qemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.tar.xz qemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.zip |
target/arm: explicitly encode regnum in our XML
This is described as optional but I'm not convinced of the numbering
when multiple target fragments are sent.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200316172155.971-17-alex.bennee@linaro.org>
Diffstat (limited to 'target/arm/helper.c')
-rw-r--r-- | target/arm/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/helper.c b/target/arm/helper.c index b0e2a85b00..9013573135 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -7973,7 +7973,7 @@ void arm_cpu_register_gdb_regs_for_features(ARMCPU *cpu) 19, "arm-vfp.xml", 0); } gdb_register_coprocessor(cs, arm_gdb_get_sysreg, arm_gdb_set_sysreg, - arm_gen_dynamic_sysreg_xml(cs), + arm_gen_dynamic_sysreg_xml(cs, cs->gdb_num_regs), "system-registers.xml", 0); } |