summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/ptrace.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2021-10-01 14:42:08 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-10-26 16:21:28 +0300
commitc8f573eccb7398d7c198e547c630351e69af5ca1 (patch)
treefc4e6ba830973162eecfc2f4967198cbef70d6c3 /arch/s390/include/asm/ptrace.h
parentada1da31ce34248bc97ca8f801f2cf6efa378a81 (diff)
downloadlinux-c8f573eccb7398d7c198e547c630351e69af5ca1.tar.xz
s390/ptrace: add last_break member to pt_regs
Instead of using args[0] for the value of the last breaking event address register, add a member to make things more obvious. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/ptrace.h')
-rw-r--r--arch/s390/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ptrace.h b/arch/s390/include/asm/ptrace.h
index 82fc11907451..4ffa8e7f0ed3 100644
--- a/arch/s390/include/asm/ptrace.h
+++ b/arch/s390/include/asm/ptrace.h
@@ -96,6 +96,7 @@ struct pt_regs {
};
unsigned long flags;
unsigned long cr1;
+ unsigned long last_break;
};
/*