summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-07-01 22:02:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-07-01 22:02:40 +0200
commitd8fe575b3e850a46e22b9bf59a74d39445e26ec7 (patch)
tree23e2a61f745b71b54f7e88634a7c7d95175bbc68 /hurd
parent40e985ddcd987968150d3c3b66fa2febdf4f5d97 (diff)
consolidate debugging translators
Diffstat (limited to 'hurd')
-rw-r--r--hurd/debugging/translator/gdb.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/hurd/debugging/translator/gdb.mdwn b/hurd/debugging/translator/gdb.mdwn
index 82a50736..fdf6adff 100644
--- a/hurd/debugging/translator/gdb.mdwn
+++ b/hurd/debugging/translator/gdb.mdwn
@@ -12,6 +12,8 @@ Say you want to try running file system server ([[`ext2fs`|translator/ext2fs]],
[[`jfs`|translator/jfs]], ...) against a modified version of
[[`libpager`|libpager]] and debug the latter one using [[debugging/GDB]].
+On Debian you need the `hurd-dbgsym` and `libc0.3-dbg` packages installed.
+
Set the [[hurd/translator]] like this:
$ settrans -fgap ↩
@@ -51,3 +53,11 @@ course):
[...]
Voilà.
+
+If you need to debug the initialization of the translator, start the translator
+like
+
+ $ settrans -Pa /foo /hurd/foofs
+
+The `-P` option will make it
+pause and you will be able to attach [[debugging/GDB]] to the process.