Commit | Line | Data |
---|---|---|
b85e4829 AC |
1 | /* The common simulator framework for GDB, the GNU Debugger. |
2 | ||
3 | Copyright 2002 Free Software Foundation, Inc. | |
4 | ||
5 | Contributed by Andrew Cagney and Red Hat. | |
6 | ||
7 | This file is part of GDB. | |
8 | ||
9 | This program is free software; you can redistribute it and/or modify | |
10 | it under the terms of the GNU General Public License as published by | |
11 | the Free Software Foundation; either version 2 of the License, or | |
12 | (at your option) any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License | |
20 | along with this program; if not, write to the Free Software | |
21 | Foundation, Inc., 59 Temple Place - Suite 330, | |
22 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
23 | |
24 | ||
25 | #ifndef SIM_INLINE_C | |
26 | #define SIM_INLINE_C | |
27 | ||
28 | #undef SIM_INLINE_P | |
29 | #define SIM_INLINE_P 1 | |
30 | ||
31 | #include "sim-inline.h" | |
32 | #include "sim-main.h" | |
33 | ||
34 | ||
35 | #if C_REVEALS_MODULE_P (SIM_BITS_INLINE) | |
36 | #include "sim-bits.c" | |
37 | #endif | |
38 | ||
39 | ||
40 | #if C_REVEALS_MODULE_P (SIM_CORE_INLINE) | |
41 | #include "sim-core.c" | |
42 | #endif | |
43 | ||
44 | ||
45 | #if C_REVEALS_MODULE_P (SIM_ENDIAN_INLINE) | |
46 | #include "sim-endian.c" | |
47 | #endif | |
48 | ||
49 | ||
50 | #if C_REVEALS_MODULE_P (SIM_EVENTS_INLINE) | |
51 | #include "sim-events.c" | |
52 | #endif | |
53 | ||
54 | ||
55 | #if C_REVEALS_MODULE_P (SIM_FPU_INLINE) | |
56 | #include "sim-fpu.c" | |
57 | #endif | |
58 | ||
59 | ||
60 | #if C_REVEALS_MODULE_P (SIM_TYPES_INLINE) | |
61 | #include "sim-types.c" | |
62 | #endif | |
63 | ||
64 | ||
65 | #if C_REVEALS_MODULE_P (SIM_MAIN_INLINE) | |
66 | #include "sim-main.c" | |
67 | #endif | |
68 | ||
69 | ||
70 | #if C_REVEALS_MODULE_P (ENGINE_INLINE) | |
71 | /* #include "engine.c" - handled by generator */ | |
72 | #endif | |
73 | ||
74 | ||
75 | #if C_REVEALS_MODULE_P (ICACHE_INLINE) | |
76 | /* #include "icache.c" - handled by generator */ | |
77 | #endif | |
78 | ||
79 | ||
80 | #if C_REVEALS_MODULE_P (IDECODE_INLINE) | |
81 | /* #include "idecode.c" - handled by generator */ | |
82 | #endif | |
83 | ||
84 | ||
85 | #if C_REVEALS_MODULE_P (SEMANTICS_INLINE) | |
86 | /* #include "semantics.c" - handled by generator */ | |
87 | #endif | |
88 | ||
89 | ||
90 | #if C_REVEALS_MODULE_P (SUPPORT_INLINE) | |
91 | /* #include "support.c" - handled by generator */ | |
92 | #endif | |
93 | ||
94 | ||
95 | #undef SIM_INLINE_P | |
96 | #define SIM_INLINE_P 0 | |
97 | ||
98 | #endif |