diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-18 11:26:59 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-01 07:41:38 -0700 |
commit | 8a42ddf013738a15c9cb739b9dfc07500cb27a21 (patch) | |
tree | 73adb6410b24c19f4e912ad777a6569034660869 /linux-user | |
parent | 853c93ed0d7d462224a6d74c474cf89981a2561b (diff) |
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')
0 files changed, 0 insertions, 0 deletions