mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
minidumpserver: fix parsing bug
stack dump add new region `show stacks`, but this script is not support now this is fixed with adding check condition for all lines contains stack word Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
This commit is contained in:
@@ -699,11 +699,10 @@ def auto_parse_log_file(logfile):
|
||||
start = False
|
||||
for line in f.readlines():
|
||||
line = line.strip()
|
||||
if (
|
||||
"up_dump_register" in line
|
||||
or "dump_stack" in line
|
||||
or "stack_dump" in line
|
||||
):
|
||||
if len(line) == 0:
|
||||
continue
|
||||
|
||||
if "up_dump_register" in line or "stack" in line:
|
||||
start = True
|
||||
else:
|
||||
if start:
|
||||
|
||||
Reference in New Issue
Block a user