-
- Downloads
signals: demultiplexing SIGTRAP signal
Currently a SIGTRAP can denote any one of below reasons. - Breakpoint hit - H/W debug register hit - Single step - Signal sent through kill() or rasie() Architectures like powerpc/parisc provides infrastructure to demultiplex SIGTRAP signal by passing down the information for receiving SIGTRAP through si_code of siginfot_t structure. Here is an attempt is generalise this infrastructure by extending it to x86 and x86_64 archs. Signed-off-by:Srinivasa DS <srinivasa@in.ibm.com> Cc: Roland McGrath <roland@redhat.com> Cc: akpm@linux-foundation.org Cc: paulus@samba.org Cc: linuxppc-dev@ozlabs.org Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/ia64/include/asm/siginfo.h 0 additions, 5 deletionsarch/ia64/include/asm/siginfo.h
- arch/powerpc/include/asm/siginfo.h 0 additions, 5 deletionsarch/powerpc/include/asm/siginfo.h
- arch/x86/kernel/ptrace.c 4 additions, 3 deletionsarch/x86/kernel/ptrace.c
- arch/x86/kernel/traps_32.c 3 additions, 1 deletionarch/x86/kernel/traps_32.c
- arch/x86/kernel/traps_64.c 1 addition, 1 deletionarch/x86/kernel/traps_64.c
- include/asm-generic/siginfo.h 2 additions, 0 deletionsinclude/asm-generic/siginfo.h
- include/asm-parisc/siginfo.h 0 additions, 5 deletionsinclude/asm-parisc/siginfo.h
- include/asm-x86/ptrace.h 1 addition, 1 deletioninclude/asm-x86/ptrace.h
- include/asm-x86/traps.h 10 additions, 0 deletionsinclude/asm-x86/traps.h
Loading
Please register or sign in to comment