FreeBSD/Linux Kernel Cross Reference
sys/ddb/db_macro.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1993 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: db_macro.h,v $
29 * Revision 2.2 93/11/17 19:12:00 dbg
30 * Created.
31 * [93/10/07 dbg]
32 *
33 */
34
35 #ifndef _DDB_DB_MACRO_H_
36 #define _DDB_DB_MACRO_H_
37
38 /*
39 * Debugger macro package.
40 */
41
42 #include <mach/boolean.h>
43 #include <machine/db_machdep.h>
44 #include <ddb/db_variables.h>
45
46 extern void
47 db_def_macro_cmd();
48
49 extern void
50 db_del_macro_cmd();
51
52 extern void
53 db_show_macro();
54
55 extern void
56 db_clear_macro_level(void);
57
58 extern boolean_t
59 db_exec_macro(
60 const char * name);
61
62 extern void
63 db_arg_variable(
64 struct db_variable *vp,
65 db_expr_t *valuep,
66 int flag,
67 db_var_aux_param_t ap);
68
69 #endif /* _DDB_DB_MACRO_H_ */
Cache object: 9e5889c554f3cd875e38602bfc5243e7
|