summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-12 14:41:09 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-12 14:41:09 +0000
commit83d2e89c7ffb2d5e854f7218fb87bd9b84e76445 (patch)
treed4dd991115d2bbdf904080a59af98496bfd6ae71 /sys/ddb/db_command.c
parent2483ace7e3f655ab9e54781d76d76d52eeed5bf7 (diff)
Remove commons; inspired by netbsd.
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index d2e5ba3da11..2edf162fa4b 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.29 2002/05/18 09:49:17 art Exp $ */
+/* $OpenBSD: db_command.c,v 1.30 2003/02/12 14:41:07 jason Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -66,6 +66,13 @@ label_t *db_recover;
*/
boolean_t db_ed_style = TRUE;
+db_addr_t db_dot; /* current location */
+db_addr_t db_last_addr; /* last explicit address typed */
+db_addr_t db_prev; /* last address examined
+ or written */
+db_addr_t db_next; /* next address to be examined
+ or written */
+
/*
* Utility routine - discard tokens through end-of-line.
*/