don't print the alignment fault twice.
This commit is contained in:
parent
bb9e4c2671
commit
343880977d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
|
||||
/* $NetBSD: trap.c,v 1.74 2001/09/22 00:59:30 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -776,8 +776,6 @@ badtrap:
|
|||
}
|
||||
|
||||
#define fmt64(x) (u_int)((x)>>32), (u_int)((x))
|
||||
printf("Alignment error: dsfsr=%08x:%08x dsfar=%x:%x isfsr=%08x:%08x pc=%lx\n",
|
||||
fmt64(dsfsr), fmt64(dsfar), fmt64(isfsr), pc);
|
||||
printf("Alignment error: pid=%d comm=%s dsfsr=%08x:%08x dsfar=%x:%x isfsr=%08x:%08x pc=%lx\n",
|
||||
p->p_pid, p->p_comm, fmt64(dsfsr), fmt64(dsfar), fmt64(isfsr), pc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue