target-i386: Re-introduce optimal breakpoint removal
commit36eb6e096729f9aade3a6af7dbe4d0a990335d7e
authorRichard Henderson <rth@twiddle.net>
Tue, 15 Sep 2015 18:45:09 +0000 (15 11:45 -0700)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 23 Oct 2015 14:59:27 +0000 (23 12:59 -0200)
tree386b80943fc45bd5742babd5cc7d51bdf825a4b8
parent93d00d0fbe4711061834730fb70525d167b6f908
target-i386: Re-introduce optimal breakpoint removal

Before the last patch, we had an efficient loop that disabled
local breakpoints on task switch.  Re-add that, but in a more
general way that handles changes to the global enable bits too.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/bpt_helper.c