summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/kernel/kgdb.c')
-rw-r--r--arch/arc/kernel/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/kgdb.c b/arch/arc/kernel/kgdb.c
index 345a0000554c..4f2b5951454f 100644
--- a/arch/arc/kernel/kgdb.c
+++ b/arch/arc/kernel/kgdb.c
@@ -175,7 +175,7 @@ void kgdb_trap(struct pt_regs *regs)
* with trap_s 4 (compiled) breakpoints, continuation needs to
* start after the breakpoint.
*/
- if (regs->ecr_param == 3)
+ if (regs->ecr.param == 3)
instruction_pointer(regs) -= BREAK_INSTR_SIZE;
kgdb_handle_exception(1, SIGTRAP, 0, regs);