-
- Downloads
[S390] add breaking event address for user space
Copy the last breaking event address from the lowcore to a new
field in the thread_struct on each system entry. Add a new
ptrace request PTRACE_GET_LAST_BREAK and a new utrace regset
REGSET_LAST_BREAK to query the last breaking event.
This is useful for debugging wild branches in user space code.
Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com>
Showing
- arch/s390/include/asm/ptrace.h 2 additions, 1 deletionarch/s390/include/asm/ptrace.h
- arch/s390/include/asm/thread_info.h 1 addition, 0 deletionsarch/s390/include/asm/thread_info.h
- arch/s390/kernel/asm-offsets.c 1 addition, 0 deletionsarch/s390/kernel/asm-offsets.c
- arch/s390/kernel/entry.S 2 additions, 2 deletionsarch/s390/kernel/entry.S
- arch/s390/kernel/entry64.S 146 additions, 124 deletionsarch/s390/kernel/entry64.S
- arch/s390/kernel/ptrace.c 68 additions, 0 deletionsarch/s390/kernel/ptrace.c
- arch/s390/kernel/signal.c 2 additions, 0 deletionsarch/s390/kernel/signal.c
- include/linux/elf.h 1 addition, 0 deletionsinclude/linux/elf.h
Loading
Please register or sign in to comment