summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-10-12 21:34:14 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-10-12 21:34:14 +0400
commitccaa8be8868bdc836f23c029fa7f9f817e3ca648 (patch)
treee72493b02d6dab911944caaca1c5ab965b7e72c3 /arch
parent46f37519cf219ce899694b6db7c16f3a86cae8af (diff)
parent5b24282846c064ee90d40fcb3a8f63b8e754fd28 (diff)
downloadlinux-ccaa8be8868bdc836f23c029fa7f9f817e3ca648.tar.xz
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"
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/ptrace.c b/arch/arc/kernel/ptrace.c
index 333238564b67..5d76706139dd 100644
--- a/arch/arc/kernel/ptrace.c
+++ b/arch/arc/kernel/ptrace.c
@@ -102,7 +102,7 @@ static int genregs_set(struct task_struct *target,
REG_IGNORE_ONE(pad2);
REG_IN_CHUNK(callee, efa, cregs); /* callee_regs[r25..r13] */
REG_IGNORE_ONE(efa); /* efa update invalid */
- REG_IN_ONE(stop_pc, &ptregs->ret); /* stop_pc: PC update */
+ REG_IGNORE_ONE(stop_pc); /* PC updated via @ret */
return ret;
}