Searched hist:"66 e1cfe6d52c69d317e9df76ebc8538a34af0d51" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | diff 66e1cfe6d52c69d317e9df76ebc8538a34af0d51 Fri Feb 11 09:01:42 CST 2011 Will Deacon <will.deacon@arm.com> ARM: 6657/1: hw_breakpoint: fix ptrace breakpoint advertising on unsupported arch
The ptrace debug information register was advertising breakpoint and watchpoint resources for unsupported debug architectures. This meant that setting breakpoints on these architectures would appear to succeed, although they would never fire in reality.
This patch fixes the breakpoint slot probing so that it returns 0 when running on an unsupported debug architecture.
Reported-by: Ulrich Weigand <ulrich.weigand@de.ibm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|