diff options
author | benno <benno@FreeBSD.org> | 2002-05-27 11:20:19 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-05-27 11:20:19 +0000 |
commit | 556157d84a795de351819c36c859664baf1d72ec (patch) | |
tree | 85315516e34c4d6514f65c7fa50143ded0307d24 /sys/powerpc | |
parent | d7323955b44980fcb2a12181b84d9242e70e883e (diff) | |
download | FreeBSD-src-556157d84a795de351819c36c859664baf1d72ec.zip FreeBSD-src-556157d84a795de351819c36c859664baf1d72ec.tar.gz |
Print srr1 in printtrap()
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/trap.c | 3 | ||||
-rw-r--r-- | sys/powerpc/powerpc/trap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 8310a98..a93e24b 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -312,7 +312,8 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user) printf(" virtual address = 0x%x\n", frame->srr0); break; } - printf(" srr0 = 0x%x", frame->srr0); + printf(" srr0 = 0x%x\n", frame->srr0); + printf(" srr1 = 0x%x\n", frame->srr1); printf(" curthread = %p\n", curthread); if (curthread != NULL) printf(" pid = %d, comm = %s\n", diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index 8310a98..a93e24b 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -312,7 +312,8 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user) printf(" virtual address = 0x%x\n", frame->srr0); break; } - printf(" srr0 = 0x%x", frame->srr0); + printf(" srr0 = 0x%x\n", frame->srr0); + printf(" srr1 = 0x%x\n", frame->srr1); printf(" curthread = %p\n", curthread); if (curthread != NULL) printf(" pid = %d, comm = %s\n", |