Re: [PATCH 10/15] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-30 Thread Benjamin Herrenschmidt
On Fri, 2010-07-30 at 14:17 -0500, Jason Wessel wrote: > From: Michal Simek > > kgdb_handle_breakpoint checks the first arch_kgdb_breakpoint > which is not known by gdb that's why is necessary jump over > it. The jump lenght is equal to BREAK_INSTR_SIZE that's > why is cleaner to use defined macr

[PATCH 10/15] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-30 Thread Jason Wessel
From: Michal Simek kgdb_handle_breakpoint checks the first arch_kgdb_breakpoint which is not known by gdb that's why is necessary jump over it. The jump lenght is equal to BREAK_INSTR_SIZE that's why is cleaner to use defined macro instead of hardcoded non-described offset. Signed-off-by: Michal