]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
43866e37 A |
6 | * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. |
7 | * | |
8 | * This file contains Original Code and/or Modifications of Original Code | |
9 | * as defined in and that are subject to the Apple Public Source License | |
10 | * Version 2.0 (the 'License'). You may not use this file except in | |
11 | * compliance with the License. Please obtain a copy of the License at | |
12 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
13 | * file. | |
14 | * | |
15 | * The Original Code and all software distributed under the License are | |
16 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
1c79356b A |
17 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
18 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
43866e37 A |
19 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
20 | * Please see the License for the specific language governing rights and | |
21 | * limitations under the License. | |
1c79356b A |
22 | * |
23 | * @APPLE_LICENSE_HEADER_END@ | |
24 | */ | |
25 | /* | |
26 | * @OSF_COPYRIGHT@ | |
27 | */ | |
28 | /* | |
29 | * HISTORY | |
30 | * | |
31 | * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez | |
32 | * Import of Mac OS X kernel (~semeria) | |
33 | * | |
34 | * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez | |
35 | * Import of OSF Mach kernel (~mburg) | |
36 | * | |
37 | * Revision 1.1.7.2 1996/01/09 19:15:43 devrcs | |
38 | * Function prototypes for db_print_loc() & db_print_inst(). | |
39 | * [1995/12/01 21:42:06 jfraser] | |
40 | * | |
41 | * Merged '64-bit safe' changes from DEC alpha port. | |
42 | * [1995/11/21 18:03:03 jfraser] | |
43 | * | |
44 | * Revision 1.1.7.1 1994/09/23 01:18:55 ezf | |
45 | * change marker to not FREE | |
46 | * [1994/09/22 21:09:49 ezf] | |
47 | * | |
48 | * Revision 1.1.2.4 1993/09/17 21:34:33 robert | |
49 | * change marker to OSF_FREE_COPYRIGHT | |
50 | * [1993/09/17 21:27:11 robert] | |
51 | * | |
52 | * Revision 1.1.2.3 1993/08/11 22:12:10 elliston | |
53 | * Add ANSI Prototypes. CR #9523. | |
54 | * [1993/08/11 03:33:11 elliston] | |
55 | * | |
56 | * Revision 1.1.2.2 1993/07/27 18:27:12 elliston | |
57 | * Add ANSI prototypes. CR #9523. | |
58 | * [1993/07/27 18:11:28 elliston] | |
59 | * | |
60 | * $EndLog$ | |
61 | */ | |
62 | ||
63 | #ifndef _DDB_DB_EXAMINE_H_ | |
64 | #define _DDB_DB_EXAMINE_H_ | |
65 | ||
66 | #include <machine/db_machdep.h> | |
67 | #include <kern/task.h> | |
68 | ||
69 | /* Prototypes for functions exported by this module. | |
70 | */ | |
71 | ||
72 | void db_examine_cmd( | |
73 | db_expr_t addr, | |
74 | int have_addr, | |
75 | db_expr_t count, | |
76 | char * modif); | |
77 | ||
78 | void db_examine_forward( | |
79 | db_expr_t addr, | |
80 | int have_addr, | |
81 | db_expr_t count, | |
82 | char * modif); | |
83 | ||
84 | void db_examine_backward( | |
85 | db_expr_t addr, | |
86 | int have_addr, | |
87 | db_expr_t count, | |
88 | char * modif); | |
89 | ||
90 | void db_examine( | |
91 | db_addr_t addr, | |
92 | char * fmt, /* format string */ | |
93 | int count, /* repeat count */ | |
94 | task_t task); | |
95 | ||
96 | void db_print_cmd(void); | |
97 | ||
98 | void db_print_loc( | |
99 | db_addr_t loc, | |
100 | task_t task); | |
101 | ||
102 | void | |
103 | db_print_inst( | |
104 | db_addr_t loc, | |
105 | task_t task); | |
106 | ||
107 | void db_print_loc_and_inst( | |
108 | db_addr_t loc, | |
109 | task_t task); | |
110 | ||
111 | void db_search_cmd(void); | |
112 | ||
113 | void db_search( | |
114 | db_addr_t addr, | |
115 | int size, | |
116 | db_expr_t value, | |
117 | db_expr_t mask, | |
118 | unsigned int count, | |
119 | task_t task); | |
120 | ||
121 | #endif /* !_DDB_DB_EXAMINE_H_ */ |