Skip to content

Commit eb98c6c

Browse files
committed
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 <[email protected]>
1 parent 1f77aba commit eb98c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ftldns/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Once you are used to it, you can skip most of the steps. Debugging *FTL*DNS is q
4141
4. Configure `gdb` by installing a globally valid initialization file:
4242

4343
```bash
44-
echo "handle SIGHUP nostop SIGPIPE nostop SIGTERM nostop SIG32 nostop SIG34 nostop SIG35 nostop SIG41 nostop" | sudo tee /root/.gdbinit
44+
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
4545
```
4646

4747
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.

0 commit comments

Comments
 (0)