Skip to content

Commit 7a53483

Browse files
committed
README: step debug dynamic loader stub
1 parent 4e897e8 commit 7a53483

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,6 +2223,12 @@ which automatically finds unstripped shared libraries on the host for us.
22232223

22242224
See also: https://stackoverflow.com/questions/8611194/debugging-shared-libraries-with-gdbserver/45252113#45252113
22252225

2226+
=== gdbserver dynamic loader
2227+
2228+
TODO: try to step debug the dynamic loader. Would be even easier if `starti` is available: https://stackoverflow.com/questions/10483544/stopping-at-the-first-machine-code-instruction-in-gdb
2229+
2230+
Bibliography: https://stackoverflow.com/questions/20114565/gdb-step-into-dynamic-linkerld-so-code
2231+
22262232
== CPU architecture
22272233

22282234
The portability of the kernel and toolchains is amazing: change an option and most things magically work on completely different hardware.

0 commit comments

Comments
 (0)