Make the DDB_TRACE variant compilable

This commit is contained in:
martin 2006-12-26 12:28:31 +00:00
parent 504c71d9fe
commit e404fd2fc6
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_trace.c,v 1.29 2006/09/06 23:58:20 ad Exp $ */
/* $NetBSD: db_trace.c,v 1.30 2006/12/26 12:28:31 martin Exp $ */
/*
* Mach Operating System
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.29 2006/09/06 23:58:20 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.30 2006/12/26 12:28:31 martin Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -188,7 +188,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count,
InstFmt i;
int stacksize;
db_addr_t offset;
char *name;
const char *name;
extern char verylocore[];
pc = ddb_regs.f_regs[_R_PC];