mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run-gdb-user: killed it, all that was needed was to pass --userland
Fixes part of https://github.com/cirosantilli/linux-kernel-module-cheat/issues/63
This commit is contained in:
4
run-gdb
4
run-gdb
@@ -149,13 +149,15 @@ the script is a .py file next to the source code.
|
||||
break_at = ['-ex', 'break {}'.format(self.env['break_at']), LF]
|
||||
else:
|
||||
break_at = []
|
||||
linux_full_system = (self.env['baremetal'] is None and self.env['userland'] is None)
|
||||
if self.env['userland']:
|
||||
image = self.env['image']
|
||||
linux_full_system = False
|
||||
elif self.env['baremetal']:
|
||||
image = self.env['image']
|
||||
linux_full_system = False
|
||||
else:
|
||||
image = self.env['vmlinux']
|
||||
linux_full_system = True
|
||||
cmd = (
|
||||
[self.env['gdb_path'], LF] +
|
||||
before
|
||||
|
||||
Reference in New Issue
Block a user