Re: [PATCH] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-30 Thread Michael Ellerman
On Wed, 2010-07-28 at 11:18 +0200, Michal Simek wrote: > 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 >

Re: [PATCH] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-28 Thread Jason Wessel
On 07/28/2010 04:18 AM, Michal Simek wrote: > 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-describ

[PATCH] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-28 Thread 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 Simek CC: Jason Wes