Adapt to bool conversion of the DDB functions.
This commit is contained in:
parent
7db9e02335
commit
c4e5150555
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: db_machdep.c,v 1.6 2006/09/30 16:30:10 bjh21 Exp $ */
|
/* $NetBSD: db_machdep.c,v 1.7 2007/02/23 09:49:48 he Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996 Mark Brinicombe
|
* Copyright (c) 1996 Mark Brinicombe
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.6 2006/09/30 16:30:10 bjh21 Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.7 2007/02/23 09:49:48 he Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -46,7 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.6 2006/09/30 16:30:10 bjh21 Exp $")
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
db_show_panic_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
db_show_panic_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
|
||||||
const char *modif)
|
const char *modif)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
|
@ -60,7 +60,7 @@ db_show_panic_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
db_show_frame_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
db_show_frame_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
|
||||||
const char *modif)
|
const char *modif)
|
||||||
{
|
{
|
||||||
struct trapframe *frame;
|
struct trapframe *frame;
|
||||||
|
@ -85,7 +85,7 @@ db_show_frame_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
db_bus_write_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
db_bus_write_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
|
||||||
const char *modif)
|
const char *modif)
|
||||||
{
|
{
|
||||||
db_expr_t datum;
|
db_expr_t datum;
|
||||||
|
@ -115,7 +115,7 @@ db_bus_write_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
db_irqstat_cmd(db_expr_t addr, int have_addr, db_expr_t count,
|
db_irqstat_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
|
||||||
const char *modif)
|
const char *modif)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: db_machdep.h,v 1.5 2007/02/21 22:59:36 thorpej Exp $ */
|
/* $NetBSD: db_machdep.h,v 1.6 2007/02/23 09:49:48 he Exp $ */
|
||||||
|
|
||||||
#include <arm/db_machdep.h>
|
#include <arm/db_machdep.h>
|
||||||
|
|
||||||
|
@ -7,9 +7,9 @@
|
||||||
#define DB_ELF_SYMBOLS
|
#define DB_ELF_SYMBOLS
|
||||||
#define DB_ELFSIZE 32
|
#define DB_ELFSIZE 32
|
||||||
|
|
||||||
void db_show_panic_cmd __P((db_expr_t, int, db_expr_t, const char *));
|
void db_show_panic_cmd __P((db_expr_t, bool, db_expr_t, const char *));
|
||||||
void db_show_frame_cmd __P((db_expr_t, int, db_expr_t, const char *));
|
void db_show_frame_cmd __P((db_expr_t, bool, db_expr_t, const char *));
|
||||||
void db_bus_write_cmd __P((db_expr_t, int, db_expr_t, const char *));
|
void db_bus_write_cmd __P((db_expr_t, bool, db_expr_t, const char *));
|
||||||
void db_irqstat_cmd __P((db_expr_t, int, db_expr_t, const char *));
|
void db_irqstat_cmd __P((db_expr_t, bool, db_expr_t, const char *));
|
||||||
|
|
||||||
extern volatile bool db_validating, db_faulted;
|
extern volatile bool db_validating, db_faulted;
|
||||||
|
|
Loading…
Reference in New Issue