summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/user.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-03-10 14:03:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-03-10 15:16:29 +0000
commit23bfdacf4eb525ff3404161429cedaa281c23e47 (patch)
tree82b850e1d22d617cc3e9e648325df38c4ed97c23 /arch/arm/include/asm/user.h
parent6fa85e5ce311a8c57fe32cb6403961f7a897112d (diff)
downloadblackbird-obmc-linux-23bfdacf4eb525ff3404161429cedaa281c23e47.tar.gz
blackbird-obmc-linux-23bfdacf4eb525ff3404161429cedaa281c23e47.zip
ARM: 6798/1: aout-core: zero thread debug registers in a.out core dump
The removal of the single-step emulation from ptrace on ARM means that thread_struct no longer has software breakpoint fields in its debug member. This patch fixes the a.out core dump code so that the debug registers are zeroed rather than trying to copy from non-existent fields. Cc: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/user.h')
-rw-r--r--arch/arm/include/asm/user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/user.h b/arch/arm/include/asm/user.h
index 05ac4b06876a..35917b3a97f9 100644
--- a/arch/arm/include/asm/user.h
+++ b/arch/arm/include/asm/user.h
@@ -71,7 +71,7 @@ struct user{
/* the registers. */
unsigned long magic; /* To uniquely identify a core file */
char u_comm[32]; /* User command that was responsible */
- int u_debugreg[8];
+ int u_debugreg[8]; /* No longer used */
struct user_fp u_fp; /* FP state */
struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */
/* the FP registers. */
OpenPOWER on IntegriCloud