Rename ftldns/debugging -> ftldns/gdb for clarity

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-11-12 09:33:28 +01:00
parent 883f042965
commit 51543da180
3 changed files with 3 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ When set to `yes`, Memcheck keeps track of the origins of all uninitialised valu
You can also combine `valgrind` with `gdb` to get both the memory error detection and the ability to step through the code after a crash (or other unexpected behaviour).
1. Prepare `gdb` as described in [the `gdb` guide](debugging.md).
1. Prepare `gdb` as described in [the `gdb` guide](gdb.md).
2. Start `pihole-FTL` in `valgrind` as described above. The `--vgdb=full` option tells `valgrind` to start a GDB server.
3. Once FTL has started, you can attach `gdb` to the running process using

View File

@@ -147,7 +147,7 @@ nav:
- 'Cache dump': ftldns/cache_dump.md
- 'Packet dump': ftldns/package_dump.md
- 'Debugging':
- 'gdb': ftldns/debugging.md
- 'gdb': ftldns/gdb.md
- 'valgrind': ftldns/valgrind.md
- 'Group Management':
- 'Group Management': group_management/index.md
@@ -283,3 +283,4 @@ plugins:
'guides/vpn/openvpn/overview.md': guides/vpn/openvpn/index.md
'guides/misc/tor/overview.md': guides/misc/tor/index.md
'guides/github/contributing.md': guides/github/index.md
'ftldns/debugging.md': ftldns/gdb.md