Skip to content

Commit 0160d0a

Browse files
committed
Rename missing print_argv to command_line_arguments on README
Fix #140
1 parent b1048d3 commit 0160d0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2996,7 +2996,7 @@ First build `gdbserver` into the root filesystem:
29962996
Then on guest, to debug link:userland/linux/rand_check.c[]:
29972997

29982998
....
2999-
./gdbserver.sh ./c/print_argv.out asdf qwer
2999+
./gdbserver.sh ./c/command_line_arguments.out asdf qwer
30003000
....
30013001

30023002
Source: link:rootfs_overlay/lkmc/gdbserver.sh[].
@@ -3010,7 +3010,7 @@ And on host:
30103010
or alternatively with the path to the executable itself:
30113011

30123012
....
3013-
./run --gdbserver --userland "$(./getvar userland_build_dir)/c/print_argv.out"
3013+
./run --gdbserver --userland "$(./getvar userland_build_dir)/c/command_line_arguments.out"
30143014
....
30153015

30163016
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
39913991
Output:
39923992

39933993
....
3994-
/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/print_argv.out
3994+
/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/command_line_arguments.out
39953995
asdf
39963996
qw er
39973997
....

0 commit comments

Comments
 (0)