trap.c (96938) | trap.c (97347) |
---|---|
1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * $NetBSD: trap.c,v 1.58 2002/03/04 04:07:35 dbj Exp $ 32 */ 33 34#ifndef lint 35static const char rcsid[] = | 1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * $NetBSD: trap.c,v 1.58 2002/03/04 04:07:35 dbj Exp $ 32 */ 33 34#ifndef lint 35static const char rcsid[] = |
36 "$FreeBSD: head/sys/powerpc/aim/trap.c 96938 2002-05-19 08:16:25Z benno $"; | 36 "$FreeBSD: head/sys/powerpc/aim/trap.c 97347 2002-05-27 11:20:19Z benno $"; |
37#endif /* not lint */ 38 39#include "opt_ddb.h" 40#include "opt_ktrace.h" 41 42#include <sys/param.h> 43#include <sys/proc.h> 44#include <sys/ktr.h> --- 262 unchanged lines hidden (view full) --- 307 switch (vector) { 308 case EXC_DSI: 309 printf(" virtual address = 0x%x\n", frame->dar); 310 break; 311 case EXC_ISI: 312 printf(" virtual address = 0x%x\n", frame->srr0); 313 break; 314 } | 37#endif /* not lint */ 38 39#include "opt_ddb.h" 40#include "opt_ktrace.h" 41 42#include <sys/param.h> 43#include <sys/proc.h> 44#include <sys/ktr.h> --- 262 unchanged lines hidden (view full) --- 307 switch (vector) { 308 case EXC_DSI: 309 printf(" virtual address = 0x%x\n", frame->dar); 310 break; 311 case EXC_ISI: 312 printf(" virtual address = 0x%x\n", frame->srr0); 313 break; 314 } |
315 printf(" srr0 = 0x%x", frame->srr0); | 315 printf(" srr0 = 0x%x\n", frame->srr0); 316 printf(" srr1 = 0x%x\n", frame->srr1); |
316 printf(" curthread = %p\n", curthread); 317 if (curthread != NULL) 318 printf(" pid = %d, comm = %s\n", 319 curthread->td_proc->p_pid, curthread->td_proc->p_comm); 320 printf("\n"); 321} 322 323/* --- 380 unchanged lines hidden --- | 317 printf(" curthread = %p\n", curthread); 318 if (curthread != NULL) 319 printf(" pid = %d, comm = %s\n", 320 curthread->td_proc->p_pid, curthread->td_proc->p_comm); 321 printf("\n"); 322} 323 324/* --- 380 unchanged lines hidden --- |