summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-09-01 04:27:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-09-01 04:27:02 +0000
commit8914cd626399f03c18d2aee382c16f60d822e691 (patch)
tree4046fe0eef50232eb60fd0cb21c759908628b242
parentc9351a43ab1066d6c7c4b9e3693f6e80bcd46386 (diff)
the sync command does not work, back it out
-rw-r--r--sys/ddb/db_command.c19
-rw-r--r--sys/ddb/db_command.h3
2 files changed, 2 insertions, 20 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 061900f072c..7708cb88368 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.15 1998/08/30 15:38:25 art Exp $ */
+/* $OpenBSD: db_command.c,v 1.16 1998/09/01 04:26:59 art Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -31,8 +31,6 @@
* Command dispatcher.
*/
#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/reboot.h>
@@ -53,8 +51,6 @@
#include <ddb/db_extern.h>
#include <vm/vm.h>
-#include <sys/syscall.h>
-#include <sys/syscallargs.h>
/*
* Exported global variables
@@ -384,7 +380,6 @@ struct db_command db_command_table[] = {
{ "boot", NULL, 0, db_boot_cmds },
{ "help", db_help_cmd, 0, NULL },
{ "hangman", db_hangman, 0, NULL },
- { "sync", db_sync_cmd, 0, NULL },
{ NULL, NULL, 0, NULL }
};
@@ -549,15 +544,3 @@ db_boot_dump_cmd(addr, haddr, count, modif)
{
boot(RB_DUMP | RB_TIMEBAD);
}
-
-void
-db_sync_cmd(addr, haddr, count, modif)
- db_expr_t addr;
- int haddr;
- db_expr_t count;
- char *modif;
-{
- register_t rval[2];
-
- sys_sync(&proc0, NULL, rval);
-}
diff --git a/sys/ddb/db_command.h b/sys/ddb/db_command.h
index 71f639dbcfe..3b0f44b821e 100644
--- a/sys/ddb/db_command.h
+++ b/sys/ddb/db_command.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.h,v 1.8 1998/08/30 15:38:26 art Exp $ */
+/* $OpenBSD: db_command.h,v 1.9 1998/09/01 04:27:01 art Exp $ */
/* $NetBSD: db_command.h,v 1.8 1996/02/05 01:56:55 christos Exp $ */
/*
@@ -49,7 +49,6 @@ void db_fncall __P((db_expr_t, int, db_expr_t, char *));
void db_boot_sync_cmd __P((db_expr_t, int, db_expr_t, char *));
void db_boot_crash_cmd __P((db_expr_t, int, db_expr_t, char *));
void db_boot_dump_cmd __P((db_expr_t, int, db_expr_t, char *));
-void db_sync_cmd __P((db_expr_t, int, db_expr_t, char *));
db_addr_t db_dot; /* current location */
db_addr_t db_last_addr; /* last explicit address typed */