summaryrefslogtreecommitdiffstats
path: root/target/avr/helper.c
diff options
context:
space:
mode:
authorBin Meng2022-03-22 10:50:04 +0100
committerRichard Henderson2022-06-20 22:11:36 +0200
commitadb5974dcc5ee7fe122c74fb85d3bae331101ec3 (patch)
treedf50784be9bb4e3c3aeb0f52d025ecc980e96f48 /target/avr/helper.c
parenttcg/ppc: implement rem[u]_i{32,64} with mod[su][wd] (diff)
downloadqemu-adb5974dcc5ee7fe122c74fb85d3bae331101ec3.tar.gz
qemu-adb5974dcc5ee7fe122c74fb85d3bae331101ec3.tar.xz
qemu-adb5974dcc5ee7fe122c74fb85d3bae331101ec3.zip
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/helper.c')
-rw-r--r--target/avr/helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/avr/helper.c b/target/avr/helper.c
index c27f702901..db76452f9a 100644
--- a/target/avr/helper.c
+++ b/target/avr/helper.c
@@ -93,12 +93,6 @@ void avr_cpu_do_interrupt(CPUState *cs)
cs->exception_index = -1;
}
-int avr_cpu_memory_rw_debug(CPUState *cs, vaddr addr, uint8_t *buf,
- int len, bool is_write)
-{
- return cpu_memory_rw_debug(cs, addr, buf, len, is_write);
-}
-
hwaddr avr_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
{
return addr; /* I assume 1:1 address correspondence */