mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +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
|
start = False
|
||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if (
|
if len(line) == 0:
|
||||||
"up_dump_register" in line
|
continue
|
||||||
or "dump_stack" in line
|
|
||||||
or "stack_dump" in line
|
if "up_dump_register" in line or "stack" in line:
|
||||||
):
|
|
||||||
start = True
|
start = True
|
||||||
else:
|
else:
|
||||||
if start:
|
if start:
|
||||||
|
|||||||
Reference in New Issue
Block a user