cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

NameError: name 'self' is not defined in ./run-gdb-user and other scripts #63

Closed cirosantilli closed 5 years ago

cirosantilli commented 5 years ago

3cc1b793cbde8dfdb87fa495c48e3bf00706caaa

As usual, some crazy refactor breaks the less important scripts because I was lazy, find all breaks with: git grep get_argparse.

bisect-linux-boot-gem5:12:parser = self.get_argparse(
build-docker:12:    def get_argparse_args(self):
qemu-monitor:12:parser = self.get_argparse({
run-gdb-user:9:parser = self.get_argparse(argparse_args={
run-gdbserver:10:parser = self.get_argparse(argparse_args={
run-toolchain:9:parser = self.get_argparse(argparse_args={
trace2line:18:parser = self.get_argparse(argparse_args={
cirosantilli commented 5 years ago

fe9c31f7373b998e71dd5f39ead87dbf1c392dc9 fixes all but ./run-gdb-user and ./run-gdbserver