diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ptrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index dbfa821d5a6e..c5eab89da51e 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
@@ -30,6 +30,11 @@ | |||
30 | /* | 30 | /* |
31 | * Generic ptrace interface that exports the architecture specific regsets | 31 | * Generic ptrace interface that exports the architecture specific regsets |
32 | * using the corresponding NT_* types (which are also used in the core dump). | 32 | * using the corresponding NT_* types (which are also used in the core dump). |
33 | * Please note that the NT_PRSTATUS note type in a core dump contains a full | ||
34 | * 'struct elf_prstatus'. But the user_regset for NT_PRSTATUS contains just the | ||
35 | * elf_gregset_t that is the pr_reg field of 'struct elf_prstatus'. For all the | ||
36 | * other user_regset flavors, the user_regset layout and the ELF core dump note | ||
37 | * payload are exactly the same layout. | ||
33 | * | 38 | * |
34 | * This interface usage is as follows: | 39 | * This interface usage is as follows: |
35 | * struct iovec iov = { buf, len}; | 40 | * struct iovec iov = { buf, len}; |