summaryrefslogtreecommitdiff
path: root/target-xtensa/core-dc232b.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-07-01 13:00:29 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2015-07-06 13:25:12 +0300
commit1479073b7e849fa03e5892eea0e0b5dadde1a98a (patch)
treee319568c0fc78a98afc712e1a7ac57a9650757a8 /target-xtensa/core-dc232b.c
parentddd44279fdbc545a9182cb642645af8a4672c267 (diff)
downloadqemu-1479073b7e849fa03e5892eea0e0b5dadde1a98a.tar.gz
target-xtensa: fix gdb register map construction
Due to different gdb overlay organization between windowed/call0 configurations core import script doesn't always work correctly. Simplify the script: always copy complete gdb register map from overlay, count registers at core registerstion time. Update existing cores. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/core-dc232b.c')
-rw-r--r--target-xtensa/core-dc232b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/core-dc232b.c b/target-xtensa/core-dc232b.c
index a3b914bad4..06826c042f 100644
--- a/target-xtensa/core-dc232b.c
+++ b/target-xtensa/core-dc232b.c
@@ -33,7 +33,7 @@
#include "core-dc232b/core-isa.h"
#include "overlay_tool.h"
-static const XtensaConfig dc232b __attribute__((unused)) = {
+static XtensaConfig dc232b __attribute__((unused)) = {
.name = "dc232b",
.gdb_regmap = {
.num_regs = 120,