diff options
| author | Joe Komlodi <joe.komlodi@xilinx.com> | 2020-05-13 11:08:47 -0700 |
|---|---|---|
| committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2020-05-14 16:01:02 +0200 |
| commit | 201dd7d37b654621c5727e49c666cbfc56e61d58 (patch) | |
| tree | ec4735cf7843ffbfaefd686dcf46fdf77fc34c20 /hw/arm/virt.c | |
| parent | a44e82db0c0bada34af613029cf976f8bb7859d9 (diff) | |
| download | focaccia-qemu-201dd7d37b654621c5727e49c666cbfc56e61d58.tar.gz focaccia-qemu-201dd7d37b654621c5727e49c666cbfc56e61d58.zip | |
target/microblaze: gdb: Fix incorrect SReg reporting
SRegs used to be reported to GDB by iterating over the SRegs array, however we do not store them in an order that allows them to be reported to GDB in that way. To fix this, a simple map is used to map the register GDB wants to its location in the SRegs array. Signed-off-by: Joe Komlodi <komlodi@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <1589393329-223076-3-git-send-email-komlodi@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions