summaryrefslogtreecommitdiffstats
path: root/target/microblaze/cpu.c
diff options
context:
space:
mode:
authorJoe Komlodi2020-05-13 20:08:46 +0200
committerEdgar E. Iglesias2020-05-14 16:01:00 +0200
commita44e82db0c0bada34af613029cf976f8bb7859d9 (patch)
treee44793b0707362e9ffffcb8f3a530dc858892053 /target/microblaze/cpu.c
parenttarget/microblaze: Fix FPU2 instruction check (diff)
downloadqemu-a44e82db0c0bada34af613029cf976f8bb7859d9.tar.gz
qemu-a44e82db0c0bada34af613029cf976f8bb7859d9.tar.xz
qemu-a44e82db0c0bada34af613029cf976f8bb7859d9.zip
target/microblaze: gdb: Extend the number of registers presented to GDB
Increase the number of Microblaze registers QEMU will report when talking to GDB. Signed-off-by: Joe Komlodi <komlodi@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <1589393329-223076-2-git-send-email-komlodi@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target/microblaze/cpu.c')
-rw-r--r--target/microblaze/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c
index aa9983069a..51e5c85b10 100644
--- a/target/microblaze/cpu.c
+++ b/target/microblaze/cpu.c
@@ -329,7 +329,7 @@ static void mb_cpu_class_init(ObjectClass *oc, void *data)
#endif
dc->vmsd = &vmstate_mb_cpu;
device_class_set_props(dc, mb_properties);
- cc->gdb_num_core_regs = 32 + 5;
+ cc->gdb_num_core_regs = 32 + 27;
cc->disas_set_info = mb_disas_set_info;
cc->tcg_initialize = mb_tcg_init;