xref: /netbsd-src/external/gpl3/gdb/dist/sim/common/sim-inline.c (revision 53b02e147d4ed531c0d2a5ca9b3e8026ba3e99b5)
1 /* The common simulator framework for GDB, the GNU Debugger.
2 
3    Copyright 2002-2020 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 3 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, see <http://www.gnu.org/licenses/>.  */
21 
22 
23 #ifndef SIM_INLINE_C
24 #define SIM_INLINE_C
25 
26 #undef SIM_INLINE_P
27 #define SIM_INLINE_P 1
28 
29 #include "sim-inline.h"
30 #include "sim-main.h"
31 
32 #if C_REVEALS_MODULE_P (SIM_ARANGE_INLINE)
33 #include "sim-arange.c"
34 #endif
35 
36 
37 #if C_REVEALS_MODULE_P (SIM_BITS_INLINE)
38 #include "sim-bits.c"
39 #endif
40 
41 
42 #if C_REVEALS_MODULE_P (SIM_CORE_INLINE)
43 #include "sim-core.c"
44 #endif
45 
46 
47 #if C_REVEALS_MODULE_P (SIM_ENDIAN_INLINE)
48 #include "sim-endian.c"
49 #endif
50 
51 
52 #if C_REVEALS_MODULE_P (SIM_EVENTS_INLINE)
53 #include "sim-events.c"
54 #endif
55 
56 
57 #if C_REVEALS_MODULE_P (SIM_FPU_INLINE)
58 #include "sim-fpu.c"
59 #endif
60 
61 
62 #if C_REVEALS_MODULE_P (SIM_TYPES_INLINE)
63 #include "sim-types.c"
64 #endif
65 
66 
67 #if C_REVEALS_MODULE_P (SIM_MAIN_INLINE)
68 #include "sim-main.c"
69 #endif
70 
71 #if C_REVEALS_MODULE_P (ENGINE_INLINE)
72 /* #include "engine.c" - handled by generator */
73 #endif
74 
75 
76 #if C_REVEALS_MODULE_P (ICACHE_INLINE)
77 /* #include "icache.c" - handled by generator */
78 #endif
79 
80 
81 #if C_REVEALS_MODULE_P (IDECODE_INLINE)
82 /* #include "idecode.c" - handled by generator */
83 #endif
84 
85 
86 #if C_REVEALS_MODULE_P (SEMANTICS_INLINE)
87 /* #include "semantics.c" - handled by generator */
88 #endif
89 
90 
91 #if C_REVEALS_MODULE_P (SUPPORT_INLINE)
92 /* #include "support.c" - handled by generator */
93 #endif
94 
95 
96 #undef SIM_INLINE_P
97 #define SIM_INLINE_P 0
98 
99 #endif
100