README: step debug dynamic loader stub

This commit is contained in:
Ciro Santilli
2018-07-12 16:36:56 +01:00
parent 4e897e85fb
commit 7a53483ba8

View File

@@ -2223,6 +2223,12 @@ which automatically finds unstripped shared libraries on the host for us.
See also: https://stackoverflow.com/questions/8611194/debugging-shared-libraries-with-gdbserver/45252113#45252113
=== gdbserver dynamic loader
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
Bibliography: https://stackoverflow.com/questions/20114565/gdb-step-into-dynamic-linkerld-so-code
== CPU architecture
The portability of the kernel and toolchains is amazing: change an option and most things magically work on completely different hardware.