diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2022-03-22 17:50:04 +0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-06-20 13:11:36 -0700 |
commit | adb5974dcc5ee7fe122c74fb85d3bae331101ec3 (patch) | |
tree | df50784be9bb4e3c3aeb0f52d025ecc980e96f48 /target/avr/cpu.h | |
parent | 4d5738222ff0a7f4d56fd4a2971b0605726a8fb2 (diff) |
target/avr: Drop avr_cpu_memory_rw_debug()
CPUClass::memory_rw_debug() holds a callback for GDB memory access.
If not provided, cpu_memory_rw_debug() is used by the GDB stub.
Drop avr_cpu_memory_rw_debug() which does nothing special.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220322095004.70682-1-bmeng.cn@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/avr/cpu.h')
-rw-r--r-- | target/avr/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/avr/cpu.h b/target/avr/cpu.h index d304f33301..96419c0c2b 100644 --- a/target/avr/cpu.h +++ b/target/avr/cpu.h @@ -184,8 +184,6 @@ void avr_cpu_tcg_init(void); void avr_cpu_list(void); int cpu_avr_exec(CPUState *cpu); -int avr_cpu_memory_rw_debug(CPUState *cs, vaddr address, uint8_t *buf, - int len, bool is_write); enum { TB_FLAGS_FULL_ACCESS = 1, |