• Frederic Weisbecker's avatar
    hw-breakpoints: Check disabled breakpoints again · 87e9b202
    Frederic Weisbecker authored
    We stopped checking disabled breakpoints because we weren't
    allowing breakpoints on NULL addresses. And gdb tends to set
    NULL addresses on inactive breakpoints.
    
    But refusing NULL addresses was actually a regression that has
    been fixed now. There is no reason anymore to not validate
    inactive breakpoint settings.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    Cc: K. Prasad <prasad@linux.vnet.ibm.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    87e9b202
hw_breakpoint.c 11.5 KB