mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
common: fix absolute path runs
--gdb: allow running from arbitrary directory
This commit is contained in:
@@ -1242,7 +1242,7 @@ lunch aosp_{}-eng
|
||||
out += executable_ext
|
||||
return out
|
||||
else:
|
||||
return in_path_abs
|
||||
return in_path
|
||||
|
||||
def resolve_targets(self, source_dir, targets):
|
||||
if not targets:
|
||||
|
||||
2
run
2
run
@@ -718,7 +718,7 @@ Extra options to append at the end of the emulator command line.
|
||||
else:
|
||||
raise Exception('--tmux-program is only supported in gem5 currently.')
|
||||
elif self.env['tmux_program'] == 'gdb':
|
||||
tmux_cmd = './run-gdb'
|
||||
tmux_cmd = os.path.join(self.env['root_dir'], 'run-gdb')
|
||||
# TODO find a nicer way to forward all those args automatically.
|
||||
# Part of me wants to: https://github.com/jonathanslenders/pymux
|
||||
# but it cannot be used as a library properly it seems, and it is
|
||||
|
||||
Reference in New Issue
Block a user