diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-11-12 15:04:35 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-14 20:15:38 -0200 |
commit | 78021d6d8dc50ed4d67442c3ca11eab78220e9ef (patch) | |
tree | b23e6a0d87aceb9c87d32fbe12444c1e53abf483 | |
parent | b0b873a07872f7ab7f66f259c73fb9dd42aa66a9 (diff) | |
download | qemu-78021d6d8dc50ed4d67442c3ca11eab78220e9ef.zip qemu-78021d6d8dc50ed4d67442c3ca11eab78220e9ef.tar.gz qemu-78021d6d8dc50ed4d67442c3ca11eab78220e9ef.tar.bz2 |
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 <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |