summaryrefslogtreecommitdiffstats
path: root/target/xtensa/core-dc233c/gdb-config.inc.c
diff options
context:
space:
mode:
authorMax Filippov2018-10-31 22:21:49 +0100
committerMax Filippov2018-11-20 21:20:41 +0100
commit7da9111e77b9cdb3a927dcd47642b7ffff9de636 (patch)
tree11ee37bc1b9a3d9a6479a6734b819fc6c624be21 /target/xtensa/core-dc233c/gdb-config.inc.c
parenttarget/xtensa: gdbstub fix register counting (diff)
downloadqemu-7da9111e77b9cdb3a927dcd47642b7ffff9de636.tar.gz
qemu-7da9111e77b9cdb3a927dcd47642b7ffff9de636.tar.xz
qemu-7da9111e77b9cdb3a927dcd47642b7ffff9de636.zip
target/xtensa: drop num_[core_]regs from dc232b/dc233c configs
Now that xtensa_count_regs does the right thing, remove manual initialization of these fields from the affected configurations and let xtensa_finalize_config initialize them. Add XTREG_END to terminate register lists. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/core-dc233c/gdb-config.inc.c')
-rw-r--r--target/xtensa/core-dc233c/gdb-config.inc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/core-dc233c/gdb-config.inc.c b/target/xtensa/core-dc233c/gdb-config.inc.c
index b632341b28..7e8963227f 100644
--- a/target/xtensa/core-dc233c/gdb-config.inc.c
+++ b/target/xtensa/core-dc233c/gdb-config.inc.c
@@ -143,3 +143,4 @@ XTREG(117, 468, 32, 4, 4, 0x000c, 0x0006, -2, 8, 0x0100, a12, 0, 0, 0, 0
XTREG(118, 472, 32, 4, 4, 0x000d, 0x0006, -2, 8, 0x0100, a13, 0, 0, 0, 0, 0, 0)
XTREG(119, 476, 32, 4, 4, 0x000e, 0x0006, -2, 8, 0x0100, a14, 0, 0, 0, 0, 0, 0)
XTREG(120, 480, 32, 4, 4, 0x000f, 0x0006, -2, 8, 0x0100, a15, 0, 0, 0, 0, 0, 0)
+XTREG_END