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 <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-11-11 14:10:26 +01:00
parent 1f77aba6f2
commit eb98c6cd65
+1 -1
View File
@@ -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.