ARC: pt_regs: create seperate type for ecr
[linux-2.6-microblaze.git] / arch / arc / kernel / kgdb.c
index 345a000..4f2b595 100644 (file)
@@ -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);