db_run.h revision 1.3 1 1.3 christos /* $NetBSD: db_run.h,v 1.3 1996/02/05 01:57:14 christos 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 int db_inst_count;
39 1.1 mycroft int db_load_count;
40 1.1 mycroft int db_store_count;
41 1.1 mycroft
42 1.3 christos boolean_t db_stop_at_pc __P((db_regs_t *, boolean_t *));
43 1.3 christos void db_restart_at_pc __P((db_regs_t *, boolean_t));
44 1.3 christos void db_single_step __P((db_regs_t *));
45 1.1 mycroft #ifndef db_set_single_step
46 1.2 mycroft void db_set_single_step __P((db_regs_t *));
47 1.1 mycroft #endif
48 1.1 mycroft #ifndef db_clear_single_step
49 1.2 mycroft void db_clear_single_step __P((db_regs_t *));
50 1.1 mycroft #endif
51 1.3 christos void db_single_step_cmd __P((db_expr_t, int, db_expr_t, char *));
52 1.3 christos void db_trace_until_call_cmd __P((db_expr_t, int, db_expr_t, char *));
53 1.3 christos void db_trace_until_matching_cmd __P((db_expr_t, int, db_expr_t, char *));
54 1.3 christos void db_continue_cmd __P((db_expr_t, int, db_expr_t, char *));
55 1.1 mycroft
56 1.1 mycroft #endif _DDB_DB_RUN_
57