Skip to content
Commit 3f0a55e3 authored by Michal Simek's avatar Michal Simek Committed by Jason Wessel
Browse files

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: default avatarMichal Simek <monstr@monstr.eu>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 62a0309c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment