diff options
Diffstat (limited to 'arch/arc/kernel/kgdb.c')
-rw-r--r-- | arch/arc/kernel/kgdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/kgdb.c b/arch/arc/kernel/kgdb.c index 52bdc83c1495..84f1bb8208b4 100644 --- a/arch/arc/kernel/kgdb.c +++ b/arch/arc/kernel/kgdb.c | |||
@@ -181,7 +181,7 @@ void kgdb_trap(struct pt_regs *regs, int param) | |||
181 | * with trap_s 4 (compiled) breakpoints, continuation needs to | 181 | * with trap_s 4 (compiled) breakpoints, continuation needs to |
182 | * start after the breakpoint. | 182 | * start after the breakpoint. |
183 | */ | 183 | */ |
184 | if (param == 3) | 184 | if (regs->ecr_param == 3) |
185 | instruction_pointer(regs) -= BREAK_INSTR_SIZE; | 185 | instruction_pointer(regs) -= BREAK_INSTR_SIZE; |
186 | 186 | ||
187 | kgdb_handle_exception(1, SIGTRAP, 0, regs); | 187 | kgdb_handle_exception(1, SIGTRAP, 0, regs); |