summaryrefslogtreecommitdiff
path: root/sys/ddb/db_run.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-20 13:35:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-20 13:35:49 +0000
commit6e6cedbdb30e8a18585d14fb21137b3a1179221b (patch)
tree31930f232d47c328b5ac4950910197dec4985f80 /sys/ddb/db_run.c
parent17a01dc9495d9e83dad0dc0e9ae07171bb9ff5fc (diff)
netbsd-current import & 'boot' cmd addition.
Diffstat (limited to 'sys/ddb/db_run.c')
-rw-r--r--sys/ddb/db_run.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index 102cc3a4c63..31450884afc 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_run.c,v 1.7 1994/10/09 08:30:08 mycroft Exp $ */
+/* $OpenBSD: db_run.c,v 1.2 1996/02/20 13:35:41 mickey Exp $ */
/*
* Mach Operating System
@@ -41,6 +41,10 @@
#include <ddb/db_lex.h>
#include <ddb/db_break.h>
#include <ddb/db_access.h>
+#include <ddb/db_watch.h>
+#include <ddb/db_output.h>
+#include <ddb/db_sym.h>
+#include <ddb/db_extern.h>
int db_run_mode;
#define STEP_NONE 0
@@ -255,7 +259,6 @@ db_set_single_step(regs)
*/
inst = db_get_value(pc, sizeof(int), FALSE);
if (inst_branch(inst) || inst_call(inst)) {
- extern unsigned getreg_val();
brpc = branch_taken(inst, pc, getreg_val, regs);
if (brpc != pc) { /* self-branches are hopeless */