[PATCH 08/17] arm: CORE_DUMP_USE_REGSET

From: Roland McGrath
Date: Fri Apr 24 2009 - 20:11:49 EST


Flip on CORE_DUMP_USE_REGSET now that arm has user_regset support
for the general and FPU register sets that appear in core dumps.

This moves arm in line with the preferred new code to gather
registers for ELF core dumps. There is no material change to
what appears in core dumps.

Signed-off-by: Roland McGrath <roland@xxxxxxxxxx>
---
arch/arm/include/asm/elf.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h
index d7da19b..97a1cd2 100644
--- a/arch/arm/include/asm/elf.h
+++ b/arch/arm/include/asm/elf.h
@@ -94,6 +94,7 @@ extern int arm_elf_read_implies_exec(const struct elf32_hdr *, int);
#define elf_read_implies_exec(ex,stk) arm_elf_read_implies_exec(&(ex), stk)

#define USE_ELF_CORE_DUMP
+#define CORE_DUMP_USE_REGSET
#define ELF_EXEC_PAGESIZE 4096

/* This is the location that an ET_DYN program is loaded if exec'ed. Typical
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/