summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ddb/db_run.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/ddb/db_run.h b/sys/ddb/db_run.h
index 71d2c00ba04..2446ef1d438 100644
--- a/sys/ddb/db_run.h
+++ b/sys/ddb/db_run.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_run.h,v 1.4 1996/04/21 22:19:12 deraadt Exp $ */
+/* $OpenBSD: db_run.h,v 1.5 1997/07/19 22:28:57 niklas Exp $ */
/* $NetBSD: db_run.h,v 1.3 1996/02/05 01:57:14 christos Exp $ */
/*
@@ -54,4 +54,14 @@ void db_trace_until_call_cmd __P((db_expr_t, int, db_expr_t, char *));
void db_trace_until_matching_cmd __P((db_expr_t, int, db_expr_t, char *));
void db_continue_cmd __P((db_expr_t, int, db_expr_t, char *));
+#ifdef SOFTWARE_SSTEP
+/*
+ * I've seen this defined to (0) when it is not needed and then the proto will
+ * not be correct, so skip it then.
+ */
+#ifndef getreg_val
+extern register_t getreg_val __P((db_regs_t *, int));
+#endif
+#endif /* SOFTWARE_SSTEP */
+
#endif _DDB_DB_RUN_