]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
cpu: Introduce CPUClass::memory_rw_debug() for target_memory_rw_debug()
authorAndreas Färber <afaerber@suse.de>
Thu, 27 Jun 2013 17:09:09 +0000 (19:09 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 23 Jul 2013 00:41:33 +0000 (02:41 +0200)
commitf3659eee05793aede68b1791465fb2b0767bc1f2
tree626440326fd54bc46ac8bc77750798787d388f79
parentf17ec444c3d39f76bcd8b71c2c05d5754bfe333e
cpu: Introduce CPUClass::memory_rw_debug() for target_memory_rw_debug()

Make inline target_memory_rw_debug() always available and change its
argument to CPUState. Let it check if CPUClass::memory_rw_debug provides
a specialized callback and fall back to cpu_memory_rw_debug() otherwise.

The only overriding implementation is for 32-bit sparc.

This prepares for changing GDBState::g_cpu to CPUState.

Signed-off-by: Andreas Färber <afaerber@suse.de>
gdbstub.c
include/qom/cpu.h
target-sparc/cpu.c
target-sparc/cpu.h
target-sparc/mmu_helper.c