Fix segfault with gdb breakpoints

This commit is contained in:
Alwin Berger 2022-12-08 16:59:29 +01:00
parent e2d34fd5e7
commit 1fb69bf46f

View File

@ -305,7 +305,10 @@ void cpu_handle_guest_debug(CPUState *cpu)
cpu_single_step(cpu, 0);
}
} else {
gdb_set_stop_cpu(cpu);
/* Begin LibAFL changes */
// With LibAFL Breakpoints there is no gdb attached.
// gdb_set_stop_cpu(cpu);
/* End LibAFL changes */
qemu_system_debug_request();
cpu->stopped = true;
}