summaryrefslogtreecommitdiff
path: root/hurd/debugging/subhurd.mdwn
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-08-16 01:37:50 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-08-16 01:37:50 +0200
commitadc4ee0534c0c32ec133e2b796979987f7a7c4c1 (patch)
tree65f87b78f2e5c01ed24b70464396e3babbf3de20 /hurd/debugging/subhurd.mdwn
parenta942b6bb1dc7ffac0e09e30aff5b1a939886f218 (diff)
Update documentation to 64b ld.so
Diffstat (limited to 'hurd/debugging/subhurd.mdwn')
-rw-r--r--hurd/debugging/subhurd.mdwn8
1 files changed, 5 insertions, 3 deletions
diff --git a/hurd/debugging/subhurd.mdwn b/hurd/debugging/subhurd.mdwn
index 7b5b07b1..e240dcb9 100644
--- a/hurd/debugging/subhurd.mdwn
+++ b/hurd/debugging/subhurd.mdwn
@@ -42,11 +42,11 @@ with _ps_.)
W3
- $ sudo gdb /var/tmp/one.full/lib/ld.so.1
+ $ sudo gdb /var/tmp/one.full/lib/ld-x86-64.so.1
[...]
(gdb) set solib-absolute-prefix /var/tmp/one.full
(gdb) attach 854
- Attaching to program `/var/tmp/one.full/lib/ld.so.1', pid 854
+ Attaching to program `/var/tmp/one.full/lib/ld-x86-64.so.1', pid 854
warning: Can't modify tracing state for pid 854: No signal thread
Can't fetch registers from thread 1: No such thread
@@ -54,7 +54,9 @@ W1
[<Enter>.]
/hurd/ext2fs.static --bootflags=-dsf --host-priv-port=38 --device-master-port=43 --exec-server-task=47 -Tdevice pseudo-root
- /lib/ld.so.1 /hurd/exec
+ /lib/ld-x86-64.so.1 /hurd/exec
+
+Note: use `ld.so.1` instead of `ld-x86-64.so.1` on 32b systems.
Now that this step has been accomplished, you can set break points in GDB, etc.