diff options
author | Richard Henderson | 2020-08-18 20:26:59 +0200 |
---|---|---|
committer | Richard Henderson | 2020-09-01 16:41:38 +0200 |
commit | 8a42ddf013738a15c9cb739b9dfc07500cb27a21 (patch) | |
tree | 73adb6410b24c19f4e912ad777a6569034660869 /linux-user/microblaze/cpu_loop.c | |
parent | tests/tcg: Do not require FE_* exception bits (diff) | |
download | qemu-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