diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-07-20 23:06:00 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-08-02 15:33:51 +1000 |
commit | c8c2b43e892e5e40c412339f8592f528fc0981d9 (patch) | |
tree | 055c0c6bb7f298e149d7c7f0cbf446311771cc73 | |
parent | 4e966931a65439f189e1e8828f8a98fa420c16d6 (diff) | |
download | pdbg-c8c2b43e892e5e40c412339f8592f528fc0981d9.tar.gz pdbg-c8c2b43e892e5e40c412339f8592f528fc0981d9.zip |
regs: print correct PTCR register
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
-rw-r--r-- | libpdbg/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |