summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2009-06-17 01:30:30 +0000
committerthib <thib@openbsd.org>2009-06-17 01:30:30 +0000
commitbe9c681d6fd5da97d4d325ce534bde8e3f1bbdec (patch)
tree2998f99d8f56d90b519ea7ed089e3117b4614f1c /sys/ddb/db_command.c
parentdate based reversion of uvm to the 4th May. (diff)
downloadwireguard-openbsd-be9c681d6fd5da97d4d325ce534bde8e3f1bbdec.tar.xz
wireguard-openbsd-be9c681d6fd5da97d4d325ce534bde8e3f1bbdec.zip
Revert bufq's. this is inline with the major midlayer reverts that
have been going on. this appears to bring us back to stable state. lots of testing by oga and ariane and my self.
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index e814d5c39e9..de2eff827c3 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.52 2009/06/03 22:09:30 thib Exp $ */
+/* $OpenBSD: db_command.c,v 1.53 2009/06/17 01:30:30 thib Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -39,7 +39,6 @@
#include <sys/msgbuf.h>
#include <sys/malloc.h>
#include <sys/mount.h>
-#include <sys/buf.h>
#include <uvm/uvm_extern.h>
#include <machine/db_machdep.h> /* type definitions */
@@ -297,19 +296,6 @@ db_buf_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
/*ARGSUSED*/
void
-db_bufq_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
-{
- boolean_t full = FALSE;
-
- if (modif[0] == 'f')
- full = TRUE;
-
- db_bufq_print((struct bufq *) addr, full, db_printf);
-}
-
-
-/*ARGSUSED*/
-void
db_map_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
boolean_t full = FALSE;
@@ -472,7 +458,6 @@ struct db_command db_show_cmds[] = {
{ "all", NULL, 0, db_show_all_cmds },
{ "breaks", db_listbreak_cmd, 0, NULL },
{ "buf", db_buf_print_cmd, 0, NULL },
- { "bufq", db_bufq_print_cmd, 0, NULL },
{ "extents", db_extent_print_cmd, 0, NULL },
{ "malloc", db_malloc_print_cmd, 0, NULL },
{ "map", db_map_print_cmd, 0, NULL },