summaryrefslogtreecommitdiff
path: root/arch/arc/include/uapi/asm/ptrace.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2017-05-03 21:21:31 +0300
committerVineet Gupta <vgupta@synopsys.com>2017-05-03 21:21:31 +0300
commit65c02a556bc4f374e9002ded1ea11a0263da7b63 (patch)
treee1fc9fb0759116f84380260fd73e74183f9673f8 /arch/arc/include/uapi/asm/ptrace.h
parent991c7ed6acca506983c42d51965da8b8f3677682 (diff)
downloadlinux-65c02a556bc4f374e9002ded1ea11a0263da7b63.tar.xz
ARCv2: ptrace: provide regset for accumulator/r30 regs
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/uapi/asm/ptrace.h')
-rw-r--r--arch/arc/include/uapi/asm/ptrace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/include/uapi/asm/ptrace.h b/arch/arc/include/uapi/asm/ptrace.h
index 0b3ef63d4a03..dd206e6b482c 100644
--- a/arch/arc/include/uapi/asm/ptrace.h
+++ b/arch/arc/include/uapi/asm/ptrace.h
@@ -47,6 +47,11 @@ struct user_regs_struct {
unsigned long efa; /* break pt addr, for break points in delay slots */
unsigned long stop_pc; /* give dbg stop_pc after ensuring brkpt trap */
};
+
+struct user_regs_arcv2 {
+ unsigned long r30, r58, r59;
+};
+
#endif /* !__ASSEMBLY__ */
#endif /* _UAPI__ASM_ARC_PTRACE_H */