Skip to content

Commit

Permalink
Add further real-time signals to ignore - we never really want to bre…
Browse files Browse the repository at this point in the history
…ak 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]>
  • Loading branch information
DL6ER committed Nov 11, 2024
1 parent 1f77aba commit eb98c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ftldns/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eb98c6c

Please sign in to comment.