diff --git a/README.adoc b/README.adoc index 01ef51b..57f68b1 100644 --- a/README.adoc +++ b/README.adoc @@ -2996,7 +2996,7 @@ First build `gdbserver` into the root filesystem: Then on guest, to debug link:userland/linux/rand_check.c[]: .... -./gdbserver.sh ./c/print_argv.out asdf qwer +./gdbserver.sh ./c/command_line_arguments.out asdf qwer .... Source: link:rootfs_overlay/lkmc/gdbserver.sh[]. @@ -3010,7 +3010,7 @@ And on host: or alternatively with the path to the executable itself: .... -./run --gdbserver --userland "$(./getvar userland_build_dir)/c/print_argv.out" +./run --gdbserver --userland "$(./getvar userland_build_dir)/c/command_line_arguments.out" .... Bibliography: https://reverseengineering.stackexchange.com/questions/8829/cross-debugging-for-arm-mips-elf-with-qemu-toolchain/16214#16214 @@ -3991,7 +3991,7 @@ Let's run link:userland/c/command_line_arguments.c[] built with the Buildroot to Output: .... -/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/print_argv.out +/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/command_line_arguments.out asdf qw er ....