kvm: Actually remove software breakpoints from list on cleanup
PATCH 1/1 kvm: Actually remove software breakpoints from list on cleanup
So far we only removed them from the guest, leaving its states in the list. This made it impossible for gdb to re-enable breakpoints on the same address after re-attaching.
Signed-off-by Jan Kiszka <[email protected]>
--- kvm-all.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
kvm-all.c +2 -0
@@ -1905,6 +1905,8 @@ void kvm_remove_all_breakpoints(CPUArchState *current_env) } } } +QTAILQ_REMOVE (&s->kvm_sw_breakpoints, bp, entry); +g_free (bp); }kvm_arch_remove_all_hw_breakpoints ();
Signature · 1 line
1.7.3.4