summaryrefslogtreecommitdiffstats
path: root/linux-user/microblaze/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson2020-08-18 20:26:59 +0200
committerRichard Henderson2020-09-01 16:41:38 +0200
commit8a42ddf013738a15c9cb739b9dfc07500cb27a21 (patch)
tree73adb6410b24c19f4e912ad777a6569034660869 /linux-user/microblaze/cpu_loop.c
parenttests/tcg: Do not require FE_* exception bits (diff)
downloadqemu-8a42ddf013738a15c9cb739b9dfc07500cb27a21.tar.gz
qemu-8a42ddf013738a15c9cb739b9dfc07500cb27a21.tar.xz
qemu-8a42ddf013738a15c9cb739b9dfc07500cb27a21.zip
target/microblaze: Tidy gdbstub
Use an enumeration for the gdb register mapping. Use one switch statement for the entire dispatch. Drop sreg_map and simply enumerate those cases explicitly. Force r0 to have value 0 and ignore writes. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/microblaze/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions