mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
run: dont break on userland due to missing termout file
This commit is contained in:
1
run
1
run
@@ -399,6 +399,7 @@ def main(args, extra_args=None):
|
|||||||
for line in logfile:
|
for line in logfile:
|
||||||
if panic_re.search(line):
|
if panic_re.search(line):
|
||||||
error_string_found = True
|
error_string_found = True
|
||||||
|
if os.path.exists(common.guest_terminal_file):
|
||||||
with open(common.guest_terminal_file, 'br') as logfile:
|
with open(common.guest_terminal_file, 'br') as logfile:
|
||||||
lines = logfile.readlines()
|
lines = logfile.readlines()
|
||||||
if lines:
|
if lines:
|
||||||
|
|||||||
2
run-gdb
2
run-gdb
@@ -228,7 +228,7 @@ the script is a .py file next to the source code.
|
|||||||
'''
|
'''
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--userland', default=defaults['userland'],
|
'-u', '--userland', default=defaults['userland'],
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'break_at', nargs='?',
|
'break_at', nargs='?',
|
||||||
|
|||||||
Reference in New Issue
Block a user