regdump() takes a struct trapframe *
This commit is contained in:
parent
7294a6f1e3
commit
1cd753c689
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: trap.c,v 1.53 1997/01/16 15:30:57 gwr Exp $ */
|
/* $NetBSD: trap.c,v 1.54 1997/04/09 19:33:18 thorpej Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -239,7 +239,7 @@ panictrap(type, code, v, fp)
|
||||||
static int panicing = 0;
|
static int panicing = 0;
|
||||||
if (panicing++ == 0) {
|
if (panicing++ == 0) {
|
||||||
printf("trap type %d, code = %x, v = %x\n", type, code, v);
|
printf("trap type %d, code = %x, v = %x\n", type, code, v);
|
||||||
regdump(fp, 128);
|
regdump((struct trapframe *)fp, 128);
|
||||||
}
|
}
|
||||||
type &= ~T_USER;
|
type &= ~T_USER;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue