Message ID | 20180720130600.16216-1-npiggin@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | regs: print correct PTCR register | expand |
diff --git a/libpdbg/chip.c b/libpdbg/chip.c index f04bb15..079592c 100644 --- a/libpdbg/chip.c +++ b/libpdbg/chip.c @@ -387,7 +387,7 @@ int ram_state_thread(struct pdbg_target *thread, struct thread_regs *regs) printf("LPCR : 0x%016" PRIx64 "\n", regs->lpcr); ram_getspr(thread, 464, ®s->ptcr); - printf("PTCR : 0x%016" PRIx64 "\n", regs->lpcr); + printf("PTCR : 0x%016" PRIx64 "\n", regs->ptcr); ram_getspr(thread, 319, ®s->lpidr); printf("LPIDR : 0x%016" PRIx64 "\n", regs->lpidr);
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- libpdbg/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)