db_run.h revision 1.1 1 1.1 mycroft /* $NetBSD: db_run.h,v 1.1 1994/10/09 08:19:39 mycroft Exp $ */
2 1.1 mycroft
3 1.1 mycroft /*
4 1.1 mycroft * Mach Operating System
5 1.1 mycroft * Copyright (c) 1991,1990 Carnegie Mellon University
6 1.1 mycroft * All Rights Reserved.
7 1.1 mycroft *
8 1.1 mycroft * Permission to use, copy, modify and distribute this software and its
9 1.1 mycroft * documentation is hereby granted, provided that both the copyright
10 1.1 mycroft * notice and this permission notice appear in all copies of the
11 1.1 mycroft * software, derivative works or modified versions, and any portions
12 1.1 mycroft * thereof, and that both notices appear in supporting documentation.
13 1.1 mycroft *
14 1.1 mycroft * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
15 1.1 mycroft * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
16 1.1 mycroft * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
17 1.1 mycroft *
18 1.1 mycroft * Carnegie Mellon requests users of this software to return to
19 1.1 mycroft *
20 1.1 mycroft * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
21 1.1 mycroft * School of Computer Science
22 1.1 mycroft * Carnegie Mellon University
23 1.1 mycroft * Pittsburgh PA 15213-3890
24 1.1 mycroft *
25 1.1 mycroft * any improvements or extensions that they make and grant Carnegie the
26 1.1 mycroft * rights to redistribute these changes.
27 1.1 mycroft *
28 1.1 mycroft * Author: David B. Golub, Carnegie Mellon University
29 1.1 mycroft * Date: 7/90
30 1.1 mycroft */
31 1.1 mycroft
32 1.1 mycroft #ifndef _DDB_DB_RUN_
33 1.1 mycroft #define _DDB_DB_RUN_
34 1.1 mycroft
35 1.1 mycroft /*
36 1.1 mycroft * Commands to run process.
37 1.1 mycroft */
38 1.1 mycroft #include <sys/param.h>
39 1.1 mycroft #include <sys/proc.h>
40 1.1 mycroft
41 1.1 mycroft #include <machine/db_machdep.h>
42 1.1 mycroft
43 1.1 mycroft int db_inst_count;
44 1.1 mycroft int db_load_count;
45 1.1 mycroft int db_store_count;
46 1.1 mycroft
47 1.1 mycroft #ifndef db_set_single_step
48 1.1 mycroft void db_set_single_step __P((db_regs_t *));
49 1.1 mycroft #endif
50 1.1 mycroft #ifndef db_clear_single_step
51 1.1 mycroft void db_clear_single_step __P((db_regs_t *));
52 1.1 mycroft #endif
53 1.1 mycroft void db_restart_at_pc __P((db_regs_t *, boolean_t));
54 1.1 mycroft boolean_t db_stop_at_pc __P((db_regs_t *, boolean_t *));
55 1.1 mycroft
56 1.1 mycroft #endif _DDB_DB_RUN_
57