diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2018-11-19 18:02:32 -0800 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-11-20 12:20:41 -0800 |
| commit | 4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d (patch) | |
| tree | 1a01e36e8b5320e7f031593f8827a4520e223a05 /tests/test-string-input-visitor.c | |
| parent | 47c1cc30e440860aa695358f7c2dd0b9d7b53d16 (diff) | |
| download | focaccia-qemu-4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d.tar.gz focaccia-qemu-4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d.zip | |
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>
Diffstat (limited to 'tests/test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions