Skip to content

Commit ccaa8be

Browse files
committed
Merge tag 'arc-fixes-for-3.12-part3' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fix from Vineet Gupta: "Fix for broken gdb 'jump'" * tag 'arc-fixes-for-3.12-part3' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: ARC: Ignore ptrace SETREGSET request for synthetic register "stop_pc"
2 parents 46f3751 + 5b24282 commit ccaa8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/kernel/ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int genregs_set(struct task_struct *target,
102102
REG_IGNORE_ONE(pad2);
103103
REG_IN_CHUNK(callee, efa, cregs); /* callee_regs[r25..r13] */
104104
REG_IGNORE_ONE(efa); /* efa update invalid */
105-
REG_IN_ONE(stop_pc, &ptregs->ret); /* stop_pc: PC update */
105+
REG_IGNORE_ONE(stop_pc); /* PC updated via @ret */
106106

107107
return ret;
108108
}

0 commit comments

Comments
 (0)