qemu/target/xtensa
Max Filippov 4614f0f8bd target/xtensa: gdbstub fix register counting
In order to communicate correctly with gdb xtensa gdbstub must provide
expected number of registers in 'g' packet response. xtensa-elf-gdb
expects both nonprivileged and privileged registers. xtensa-linux-gdb
only expects nonprivileged registers. gdb only counts one contiguous
stretch of registers, do the same for the core registers in the
xtensa_count_regs.

With this change qemu-system-xtensa is able to communicate with all
xtensa-elf-gdb versions (versions prior to 8.2 require overlay fixup),
and qemu-xtensa is able to communicate with all xtensa-linux-gdb
versions, except 8.2.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2018-11-20 12:20:41 -08:00
..
core-dc232b Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-dc233c Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-de212 Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-fsf Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-sample_controller Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-test_kc705_be target/xtensa: add test_kc705_be core 2018-08-19 18:57:57 -07:00
core-dc232b.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-dc233c.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-de212.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-fsf.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-sample_controller.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-test_kc705_be.c target/xtensa: add test_kc705_be core 2018-08-19 18:57:57 -07:00
cpu-qom.h
cpu.c target/xtensa: convert to do_transaction_failed 2018-09-17 11:05:26 -07:00
cpu.h target/xtensa: extract test for cpdisabled exception 2018-10-01 11:08:35 -07:00
gdbstub.c target/xtensa: gdbstub fix register counting 2018-11-20 12:20:41 -08:00
helper.c target/xtensa: extract test for an illegal instruction 2018-10-01 11:08:35 -07:00
helper.h target/xtensa: extract test for window underflow exception 2018-10-01 11:08:35 -07:00
import_core.sh target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
Makefile.objs target/xtensa: add test_kc705_be core 2018-08-19 18:57:57 -07:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c target/xtensa: extract test for window underflow exception 2018-10-01 11:08:35 -07:00
overlay_tool.h target/xtensa: check zero overhead loop alignment 2018-06-30 11:58:02 -07:00
translate.c target/xtensa: extract gen_check_interrupts call 2018-10-01 11:08:36 -07:00
xtensa-isa-internal.h target/xtensa: import libisa source 2017-12-18 21:26:19 -08:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c target/xtensa: support input from chardev console 2018-09-17 11:09:04 -07:00