mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
exec: Change cpu_breakpoint_{insert,remove{,_by_ref,_all}} argument
Use CPUState. Allows to clean up CPUArchState in gdbstub. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
75a34036d4
commit
b3310ab338
9 changed files with 43 additions and 46 deletions
|
@ -320,7 +320,7 @@ static int cpu_post_load(void *opaque, int version_id)
|
|||
env->fptags[i] = (env->fptag_vmstate >> i) & 1;
|
||||
}
|
||||
|
||||
cpu_breakpoint_remove_all(env, BP_CPU);
|
||||
cpu_breakpoint_remove_all(cs, BP_CPU);
|
||||
cpu_watchpoint_remove_all(cs, BP_CPU);
|
||||
for (i = 0; i < DR7_MAX_BP; i++) {
|
||||
hw_breakpoint_insert(env, i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue