diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-03-14 04:16:56 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-03-14 04:16:56 +0000 |
commit | c2dab76ecdef6aaba5a202ac00d286cfb2ea6336 (patch) | |
tree | 0c12c629ceae3f50b743f29a58f2bc05d8a63a97 | |
parent | b3997b80dea472987076a229bb5abad0e10dc19a (diff) |
Properly conditionalize uvm history dump
-rw-r--r-- | sys/arch/sparc64/sparc64/db_interface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/db_interface.c b/sys/arch/sparc64/sparc64/db_interface.c index c52139d140c..9dc8da788a7 100644 --- a/sys/arch/sparc64/sparc64/db_interface.c +++ b/sys/arch/sparc64/sparc64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.6 2002/03/14 03:16:01 millert Exp $ */ +/* $OpenBSD: db_interface.c,v 1.7 2002/03/14 04:16:55 jason Exp $ */ /* $NetBSD: db_interface.c,v 1.61 2001/07/31 06:55:47 eeh Exp $ */ /* @@ -954,6 +954,7 @@ db_watch(addr, have_addr, count, modif) #include <uvm/uvm.h> +#ifdef UVMHIST void db_uvmhistdump(db_expr_t, int, db_expr_t, char *); extern void uvmhist_dump(struct uvm_history *); extern struct uvm_history_head uvm_histories; @@ -968,6 +969,7 @@ db_uvmhistdump(addr, have_addr, count, modif) uvmhist_dump(uvm_histories.lh_first); } +#endif #if NESP_SBUS extern void db_esp(db_expr_t, int, db_expr_t, char *); @@ -995,7 +997,9 @@ struct db_command db_machine_command_table[] = { { "tf", db_dump_trap, 0, 0 }, { "ts", db_dump_ts, 0, 0 }, { "traptrace", db_traptrace, 0, 0 }, +#ifdef UVMHIST { "uvmdump", db_uvmhistdump, 0, 0 }, +#endif { "watch", db_watch, 0, 0 }, { "window", db_dump_window, 0, 0 }, { (char *)0, } |