target/avr: CPU class: Add GDB support
commit12b35405476fa7f733538ec6bb3ffc91129c0555
authorMichael Rolnik <mrolnik@gmail.com>
Sun, 26 Jan 2020 17:52:23 +0000 (26 18:52 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 10 Jul 2020 15:58:32 +0000 (10 17:58 +0200)
tree30ff87f9f99d7cbca08c8cbe0d3f23cf05fb6c9c
parent3fa28dd6cf848c5f7fddba84a6d7789027c58a25
target/avr: CPU class: Add GDB support

This includes GDB hooks for reading from wnd wrtiting to AVR
registers, and xml register definition file as well.

[AM: Split a larger AVR introduction patch into logical units]
Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Co-developed-by: Michael Rolnik <mrolnik@gmail.com>
Co-developed-by: Sarah Harris <S.E.Harris@kent.ac.uk>
Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
Signed-off-by: Sarah Harris <S.E.Harris@kent.ac.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[thuth: Fixed avr_cpu_gdb_read_register() parameter]
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20200705140315.260514-7-huth@tuxfamily.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
MAINTAINERS
gdb-xml/avr-cpu.xml [new file with mode: 0644]
target/avr/cpu.c
target/avr/cpu.h
target/avr/gdbstub.c [new file with mode: 0644]