mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
ddd44279fd
commit
1479073b7e
7 changed files with 27 additions and 7 deletions
|
@ -33,9 +33,14 @@
|
|||
#include "core-fsf/core-isa.h"
|
||||
#include "overlay_tool.h"
|
||||
|
||||
static const XtensaConfig fsf __attribute__((unused)) = {
|
||||
static XtensaConfig fsf __attribute__((unused)) = {
|
||||
.name = "fsf",
|
||||
.gdb_regmap = {
|
||||
/* GDB for this core is not supported currently */
|
||||
.reg = {
|
||||
XTREG_END
|
||||
},
|
||||
},
|
||||
.clock_freq_khz = 10000,
|
||||
DEFAULT_SECTIONS
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue