1 1.11 matt /* $NetBSD: db_run.h,v 1.11 2007/02/22 04:38:06 matt Exp $ */ 2 1.1 mycroft 3 1.7 simonb /* 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.7 simonb * 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.7 simonb * 14 1.5 pk * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 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.7 simonb * 18 1.1 mycroft * Carnegie Mellon requests users of this software to return to 19 1.7 simonb * 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.7 simonb * 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.7 simonb extern int db_inst_count; 39 1.7 simonb extern int db_load_count; 40 1.7 simonb extern int db_store_count; 41 1.1 mycroft 42 1.10 thorpej bool db_stop_at_pc(db_regs_t *, bool *); 43 1.10 thorpej void db_restart_at_pc(db_regs_t *, bool); 44 1.7 simonb void db_single_step(db_regs_t *); 45 1.1 mycroft #ifndef db_set_single_step 46 1.7 simonb void db_set_single_step(db_regs_t *); 47 1.1 mycroft #endif 48 1.1 mycroft #ifndef db_clear_single_step 49 1.7 simonb void db_clear_single_step(db_regs_t *); 50 1.1 mycroft #endif 51 1.11 matt void db_single_step_cmd(db_expr_t, bool, db_expr_t, const char *); 52 1.11 matt void db_trace_until_call_cmd(db_expr_t, bool, db_expr_t, const char *); 53 1.11 matt void db_trace_until_matching_cmd(db_expr_t, bool, db_expr_t, const char *); 54 1.11 matt void db_continue_cmd(db_expr_t, bool, db_expr_t, const char *); 55 1.1 mycroft 56 1.6 cgd #endif /* _DDB_DB_RUN_ */ 57