blob: 5e94f65df5ca4c48256beb8057415c1d7bef8896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
## <a name="GDB"> </a> GDB
<http://sourceware.org/gdb/>
[General GDB documentation](http://sourceware.org/gdb/documentation/), including the [special Hurdy bits](http://sourceware.org/gdb/current/onlinedocs/gdb_19.html#Hurd%20Native).
<http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00039.html>
### <a name="noninvasive_mode"> _noninvasive_ mode </a>
This essentially means that the program continues running as usual, but you can use GDB to get back traces and print variables (and watch them change underneath you). This can be helpful when debugging system wide default servers that shall not be stopped while debugging.
----
## <a name="Debugging_glibc"> Debugging glibc </a>
See [[DebuggingGlibc]].
----
## <a name="Debugging_via_subhurds"> Debugging via subhurds </a>
See [[DebuggingViaSubhurds]].
----
## <a name="General_Notes"> General Notes </a>
For debugging the system wide default servers (like the root file system server or the _exec_ server), it is recommendable to instead debug them in a sub-hurd or at least use the _noninvasive_ mode when attaching GDB to them.
|