Skip to content
Commit e5c388b4 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: show_regs: fix r12 printing and simplify



when working on ARC64, spotted an issue in ARCv2 reg file printing.
print_reg_file() assumes contiguous reg-file whereas in ARCv2 they are
not: r12 comes before r0-r11 due to hardware auto-save. Apparently this
issue has been present since v2 port submission.

To avoid bolting hacks for this discontinuity while looping through
pt_regs, just ditching the loop and print pt_regs directly.

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent fe81d927
Loading
Loading
Loading
Loading
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