From: Frederic Weisbecker Date: Wed, 2 Dec 2009 06:32:16 +0000 (+0100) Subject: hw-breakpoints: Keep track of user disabled breakpoints X-Git-Tag: v2.6.33-rc1~399^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cedae72904b85462082dbcfd5190309ba37f8bd;p=pandora-kernel.git hw-breakpoints: Keep track of user disabled breakpoints When we disable a breakpoint through dr7, we unregister it right away, making us lose track of its corresponding address register value. It means that the following sequence would be unsupported: - set address in dr0 - enable it through dr7 - disable it through dr7 - enable it through dr7 because we lost the address register value when we disabled the breakpoint. Don't unregister the disabled breakpoints but rather disable them. Reported-by: "K.Prasad" Signed-off-by: Frederic Weisbecker LKML-Reference: <1259735536-9236-1-git-send-regression-fweisbec@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed