Skip to content
Snippets Groups Projects
Commit 91c46a3c authored by Aparna Das's avatar Aparna Das Committed by Laura Abbott
Browse files

linux-ramdump-parser-v2: fix dumped lr content for 64 bit

Use the correct link register to display cpu context dump for
64 bit.

Change-Id: Ic5d443bf568bdf9a9116bb061650e2d9bfda0d9c
parent 4c5963b3
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ class TZRegDump_v2():
print ''
pc = self.core_regs.regs['pc']
if ram_dump.arm64:
lr = self.core_regs.regs['elr_el1']
lr = self.core_regs.regs['x30']
bt = self.core_regs.regs['sp_el1']
else:
lr = self.core_regs.regs['r14_svc']
......
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