mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 13:24:27 +01:00
README: step debug dynamic loader stub
This commit is contained in:
@@ -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
|
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
|
== CPU architecture
|
||||||
|
|
||||||
The portability of the kernel and toolchains is amazing: change an option and most things magically work on completely different hardware.
|
The portability of the kernel and toolchains is amazing: change an option and most things magically work on completely different hardware.
|
||||||
|
|||||||
Reference in New Issue
Block a user