mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 19:51: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)
|
cmd.extend(after)
|
||||||
if self.env['test']:
|
if self.env['test']:
|
||||||
self.sh.print_cmd(cmd)
|
self.sh.print_cmd(cmd)
|
||||||
GdbTestcase(
|
if not self.env['dry_run']:
|
||||||
self.env['source_path'],
|
GdbTestcase(
|
||||||
test_script_path,
|
self.env['source_path'],
|
||||||
self.sh.strip_newlines(cmd),
|
test_script_path,
|
||||||
verbose=self.env['verbose'],
|
self.sh.strip_newlines(cmd),
|
||||||
)
|
verbose=self.env['verbose'],
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
# I would rather have cwd be out_rootfs_overlay_dir,
|
# I would rather have cwd be out_rootfs_overlay_dir,
|
||||||
# but then lx-symbols cannot fine the vmlinux and fails with:
|
# but then lx-symbols cannot fine the vmlinux and fails with:
|
||||||
|
|||||||
Reference in New Issue
Block a user