mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run: --debug-vm-args: imply --debug-vm
This commit is contained in:
4
run
4
run
@@ -44,7 +44,7 @@ Ctrl +C kills the QEMU simulator instead of being passed to the guest.
|
||||
)
|
||||
self.add_argument(
|
||||
'--debug-vm-args', default='',
|
||||
help='Pass arguments to GDB.'
|
||||
help='Pass arguments to GDB. Implies --debug-vm.'
|
||||
)
|
||||
self.add_argument(
|
||||
'--dtb',
|
||||
@@ -226,7 +226,7 @@ Run QEMU with VNC instead of the default SDL. Connect to it with:
|
||||
extra_qemu_args = []
|
||||
if self.env['tmux_args'] is not None:
|
||||
self.env['tmux'] = True
|
||||
if self.env['debug_vm']:
|
||||
if self.env['debug_vm'] or self.env['debug_vm_args']:
|
||||
debug_vm = ['gdb', LF, '-q', LF] + self.sh.shlex_split(self.env['debug_vm_args']) + ['--args', LF]
|
||||
else:
|
||||
debug_vm = []
|
||||
|
||||
Reference in New Issue
Block a user