diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/debug.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/debug.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/debug.c b/sys/arch/i386/stand/libsa/debug.c index 9ecd8468190..d1ec26d31d5 100644 --- a/sys/arch/i386/stand/libsa/debug.c +++ b/sys/arch/i386/stand/libsa/debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: debug.c,v 1.1 1997/04/01 04:52:45 mickey Exp $ */ +/* $OpenBSD: debug.c,v 1.2 1997/04/05 18:56:24 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -47,10 +47,12 @@ debug_init() } void -dump_regs() +dump_regs(trapno) + int trapno; { int i; + printf("trap: %u\n", trapno); for (i = 0; i < nreg; putchar((++i % 4)?' ':'\n')) printf ("%s=0x%x", reg_names[i], *reg_values[i]); if (i % 4) |