diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 13:31:45 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:45 +0100 |
commit | 4206d3aa1978e44f58bfa4e1c9d8d35cbf19c187 (patch) | |
tree | 53de158bec7e6890ce9a5772f3d04f23e9a29803 /include/linux/regset.h | |
parent | 3aba481fc94d83ff630d4b7cd2f7447010c4c6df (diff) | |
download | linux-3.10-4206d3aa1978e44f58bfa4e1c9d8d35cbf19c187.tar.gz linux-3.10-4206d3aa1978e44f58bfa4e1c9d8d35cbf19c187.tar.bz2 linux-3.10-4206d3aa1978e44f58bfa4e1c9d8d35cbf19c187.zip |
elf core dump: notes user_regset
This modifies the ELF core dump code under #ifdef CORE_DUMP_USE_REGSET.
It changes nothing when this macro is not defined. When it's #define'd
by some arch header (e.g. asm/elf.h), the arch must support the
user_regset (linux/regset.h) interface for reading thread state.
This provides an alternate version of note segment writing that is based
purely on the user_regset interfaces. When CORE_DUMP_USE_REGSET is set,
the arch need not define macros such as ELF_CORE_COPY_REGS and ELF_ARCH.
All that information is taken from the user_regset data structures.
The core dumps come out exactly the same if arch's definitions for its
user_regset details are correct.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/regset.h')
0 files changed, 0 insertions, 0 deletions