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