target/avr: Implement gdb_adjust_breakpoint
commite64cb6c231e0de00f88d4cd0c4dd3481dacfc0d9
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 20 Jul 2021 15:48:46 +0000 (20 05:48 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Jul 2021 17:47:05 +0000 (21 07:47 -1000)
tree5f4709523dbed87f9ef1f0f98a222b1c2064265e
parent5bc31e944019e46daeb7dd4d19280e8333aa448d
target/avr: Implement gdb_adjust_breakpoint

Ensure at registration that all breakpoints are in
code space, not data space.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/avr/cpu.c
target/avr/cpu.h
target/avr/gdbstub.c
target/avr/translate.c