Introduction
Introduction Statistics Contact Development Disclaimer Help
kill: handle TRAP signal - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
commit 279cec88898c2386430d701847739209fabf6208
parent cafdc7c6561f546578e5d7c842149fa242937a42
Author: Randy Palamar <[email protected]>
Date: Mon, 9 Dec 2024 06:36:07 -0700
kill: handle TRAP signal
TRAP is a useful signal which when sent to a process currently
attached to a debugger causes the debugger to immediately break.
This is very helpful for programs running in some sort of run loop
where it may be difficult to set up a break point in an
appropriate location without modifying the source to include a
predicate condition.
Diffstat:
M kill.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/kill.c b/kill.c
@@ -18,7 +18,8 @@ struct {
#define SIG(n) { #n, SIG##n }
SIG(ABRT), SIG(ALRM), SIG(BUS), SIG(CHLD), SIG(CONT), SIG(FPE), SIG(…
SIG(ILL), SIG(INT), SIG(KILL), SIG(PIPE), SIG(QUIT), SIG(SEGV), SIG(…
- SIG(TERM), SIG(TSTP), SIG(TTIN), SIG(TTOU), SIG(USR1), SIG(USR2), SIG(…
+ SIG(TERM), SIG(TRAP), SIG(TSTP), SIG(TTIN), SIG(TTOU), SIG(USR1), SIG(…
+ SIG(URG),
#undef SIG
};
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.