mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
run-gdb: make dry run dry
This commit is contained in:
13
run-gdb
13
run-gdb
@@ -196,12 +196,13 @@ See: https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-builtin-cpu-s
|
||||
cmd.extend(after)
|
||||
if self.env['test']:
|
||||
self.sh.print_cmd(cmd)
|
||||
GdbTestcase(
|
||||
self.env['source_path'],
|
||||
test_script_path,
|
||||
self.sh.strip_newlines(cmd),
|
||||
verbose=self.env['verbose'],
|
||||
)
|
||||
if not self.env['dry_run']:
|
||||
GdbTestcase(
|
||||
self.env['source_path'],
|
||||
test_script_path,
|
||||
self.sh.strip_newlines(cmd),
|
||||
verbose=self.env['verbose'],
|
||||
)
|
||||
else:
|
||||
# I would rather have cwd be out_rootfs_overlay_dir,
|
||||
# but then lx-symbols cannot fine the vmlinux and fails with:
|
||||
|
||||
Reference in New Issue
Block a user