commit | 3f0a55e3579a500ce9f5cdab70a5741f99769118 | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Thu Aug 05 09:22:22 2010 -0500 |
committer | Jason Wessel <jason.wessel@windriver.com> | Thu Aug 05 09:22:22 2010 -0500 |
tree | 5655f903051db4c06f726b5f53992ea96a661bf5 | |
parent | 62a0309c4c99274052e4829ed6a8fe579dd2c767 [diff] |
kgdb,powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE 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 <monstr@monstr.eu> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>