From eb98c6cd656189d3cb2a937a32d436bc48bcc419 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 11 Nov 2024 14:10:26 +0100 Subject: [PATCH] Add further real-time signals to ignore - we never really want to break on real-time signals. We add more signals than we actually use as the start of the real-time signals (the value of SIGRTMIN) varies between systems. Typically, they start at 32 on Linux, however, POSIX threads (which we are using) may shift RTMIN to 34 (NPTL) or 35 (LinuxThreads) instead, see man signal(7) for further details Signed-off-by: DL6ER --- docs/ftldns/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ftldns/debugging.md b/docs/ftldns/debugging.md index 4ffb9cf..a13b2b0 100644 --- a/docs/ftldns/debugging.md +++ b/docs/ftldns/debugging.md @@ -41,7 +41,7 @@ Once you are used to it, you can skip most of the steps. Debugging *FTL*DNS is q 4. Configure `gdb` by installing a globally valid initialization file: ```bash - echo "handle SIGHUP nostop SIGPIPE nostop SIGTERM nostop SIG32 nostop SIG34 nostop SIG35 nostop SIG41 nostop" | sudo tee /root/.gdbinit + echo "handle SIGHUP nostop SIGPIPE nostop SIGTERM nostop SIG32 nostop SIG33 nostop SIG34 nostop SIG35 nostop SIG36 nostop SIG37 nostop SIG38 nostop SIG39 nostop SIG40 nostop SIG41 nostop" | sudo tee /root/.gdbinit ``` You can omit this step, however, you will have to remember to run the quoted line on *every start* of `gdb` in order to properly debug FTL.