Re: [PATCH 1/2] powerpc/hw_brk: Fix setting of length for exact mode breakpoints

2013-06-25 Thread Anshuman Khandual
On 06/24/2013 11:17 AM, Michael Neuling wrote: The smallest match region for both the DABR and DAWR is 8 bytes, so the kernel needs to filter matches when users want to look at regions smaller than this. Currently we set the length of PPC_BREAKPOINT_MODE_EXACT breakpoints to 8. This is

[PATCH 1/2] powerpc/hw_brk: Fix setting of length for exact mode breakpoints

2013-06-23 Thread Michael Neuling
The smallest match region for both the DABR and DAWR is 8 bytes, so the kernel needs to filter matches when users want to look at regions smaller than this. Currently we set the length of PPC_BREAKPOINT_MODE_EXACT breakpoints to 8. This is wrong as in exact mode we should only match on 1 address,