summaryrefslogtreecommitdiff
path: root/sys/ddb/db_run.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/ddb/db_run.h
initial import of NetBSD tree
Diffstat (limited to 'sys/ddb/db_run.h')
-rw-r--r--sys/ddb/db_run.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/sys/ddb/db_run.h b/sys/ddb/db_run.h
new file mode 100644
index 00000000000..14a4dc96dd6
--- /dev/null
+++ b/sys/ddb/db_run.h
@@ -0,0 +1,51 @@
+/* $NetBSD: db_run.h,v 1.2 1994/10/09 08:30:12 mycroft Exp $ */
+
+/*
+ * Mach Operating System
+ * Copyright (c) 1991,1990 Carnegie Mellon University
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify and distribute this software and its
+ * documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
+ * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ *
+ * Author: David B. Golub, Carnegie Mellon University
+ * Date: 7/90
+ */
+
+#ifndef _DDB_DB_RUN_
+#define _DDB_DB_RUN_
+
+/*
+ * Commands to run process.
+ */
+int db_inst_count;
+int db_load_count;
+int db_store_count;
+
+#ifndef db_set_single_step
+void db_set_single_step __P((db_regs_t *));
+#endif
+#ifndef db_clear_single_step
+void db_clear_single_step __P((db_regs_t *));
+#endif
+void db_restart_at_pc __P((db_regs_t *, boolean_t));
+boolean_t db_stop_at_pc __P((db_regs_t *, boolean_t *));
+
+#endif _DDB_DB_RUN_