Skip to content
Snippets Groups Projects
Commit 2746a1d4 authored by Laura Abbott's avatar Laura Abbott
Browse files

linux-ramdump-parser-v2: Add extra newline before printing stack

It's bothersome at a fundamental level that the first line of the
stack trace is printed out on the same line as the 'Stack:' tag.
Fix it.

Change-Id: I895ad0969c4afb5b081ad10dca180a2bb1178291
parent d2183b5d
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ def dump_thread_group(ramdump, thread_group, task_out, check_for_panic=0):
first = 1
task_out.write(' Task name: {0} pid: {1} cpu: {2}\n state: 0x{3:x} exit_state: 0x{4:x} stack base: 0x{5:x}\n'.format(
thread_task_name, thread_task_pid, ramdump.read_int(threadinfo + offset_cpu), task_state, task_exit_state, addr_stack))
task_out.write(' Stack:')
task_out.write(' Stack:\n')
ramdump.unwind.unwind_backtrace(
ramdump.thread_saved_sp(next_thread_start),
ramdump.thread_saved_fp(next_thread_start),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment