Skip to content
Snippets Groups Projects
Commit f3659eee authored by Andreas Färber's avatar Andreas Färber
Browse files

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: default avatarAndreas Färber <afaerber@suse.de>
parent f17ec444
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment