xref: /netbsd-src/external/gpl3/gdb/dist/sim/common/sim-inline.c (revision 88241920d21b339bf319c0e979ffda80c49a2936)
14e98e3e1Schristos /* The common simulator framework for GDB, the GNU Debugger.
24e98e3e1Schristos 
3*88241920Schristos    Copyright 2002-2024 Free Software Foundation, Inc.
44e98e3e1Schristos 
54e98e3e1Schristos    Contributed by Andrew Cagney and Red Hat.
64e98e3e1Schristos 
74e98e3e1Schristos    This file is part of GDB.
84e98e3e1Schristos 
94e98e3e1Schristos    This program is free software; you can redistribute it and/or modify
104e98e3e1Schristos    it under the terms of the GNU General Public License as published by
114e98e3e1Schristos    the Free Software Foundation; either version 3 of the License, or
124e98e3e1Schristos    (at your option) any later version.
134e98e3e1Schristos 
144e98e3e1Schristos    This program is distributed in the hope that it will be useful,
154e98e3e1Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
164e98e3e1Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
174e98e3e1Schristos    GNU General Public License for more details.
184e98e3e1Schristos 
194e98e3e1Schristos    You should have received a copy of the GNU General Public License
204e98e3e1Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
214e98e3e1Schristos 
224e98e3e1Schristos 
234e98e3e1Schristos #ifndef SIM_INLINE_C
244e98e3e1Schristos #define SIM_INLINE_C
254e98e3e1Schristos 
264e98e3e1Schristos #undef SIM_INLINE_P
274e98e3e1Schristos #define SIM_INLINE_P 1
284e98e3e1Schristos 
294b169a6bSchristos /* This must come before any other includes.  */
304b169a6bSchristos #include "defs.h"
314b169a6bSchristos 
324e98e3e1Schristos #include "sim-inline.h"
334e98e3e1Schristos #include "sim-main.h"
344e98e3e1Schristos 
358dffb485Schristos #if C_REVEALS_MODULE_P (SIM_ARANGE_INLINE)
368dffb485Schristos #include "sim-arange.c"
378dffb485Schristos #endif
388dffb485Schristos 
394e98e3e1Schristos 
404e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_BITS_INLINE)
414e98e3e1Schristos #include "sim-bits.c"
424e98e3e1Schristos #endif
434e98e3e1Schristos 
444e98e3e1Schristos 
454e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_CORE_INLINE)
464e98e3e1Schristos #include "sim-core.c"
474e98e3e1Schristos #endif
484e98e3e1Schristos 
494e98e3e1Schristos 
504e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_ENDIAN_INLINE)
514e98e3e1Schristos #include "sim-endian.c"
524e98e3e1Schristos #endif
534e98e3e1Schristos 
544e98e3e1Schristos 
554e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_EVENTS_INLINE)
564e98e3e1Schristos #include "sim-events.c"
574e98e3e1Schristos #endif
584e98e3e1Schristos 
594e98e3e1Schristos 
604e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_FPU_INLINE)
614e98e3e1Schristos #include "sim-fpu.c"
624e98e3e1Schristos #endif
634e98e3e1Schristos 
644e98e3e1Schristos 
654e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_TYPES_INLINE)
664e98e3e1Schristos #include "sim-types.c"
674e98e3e1Schristos #endif
684e98e3e1Schristos 
694e98e3e1Schristos 
704e98e3e1Schristos #if C_REVEALS_MODULE_P (SIM_MAIN_INLINE)
714e98e3e1Schristos #include "sim-main.c"
724e98e3e1Schristos #endif
734e98e3e1Schristos 
744e98e3e1Schristos #if C_REVEALS_MODULE_P (ENGINE_INLINE)
754e98e3e1Schristos /* #include "engine.c" - handled by generator */
764e98e3e1Schristos #endif
774e98e3e1Schristos 
784e98e3e1Schristos 
794e98e3e1Schristos #if C_REVEALS_MODULE_P (ICACHE_INLINE)
804e98e3e1Schristos /* #include "icache.c" - handled by generator */
814e98e3e1Schristos #endif
824e98e3e1Schristos 
834e98e3e1Schristos 
844e98e3e1Schristos #if C_REVEALS_MODULE_P (IDECODE_INLINE)
854e98e3e1Schristos /* #include "idecode.c" - handled by generator */
864e98e3e1Schristos #endif
874e98e3e1Schristos 
884e98e3e1Schristos 
894e98e3e1Schristos #if C_REVEALS_MODULE_P (SEMANTICS_INLINE)
904e98e3e1Schristos /* #include "semantics.c" - handled by generator */
914e98e3e1Schristos #endif
924e98e3e1Schristos 
934e98e3e1Schristos 
944e98e3e1Schristos #if C_REVEALS_MODULE_P (SUPPORT_INLINE)
954e98e3e1Schristos /* #include "support.c" - handled by generator */
964e98e3e1Schristos #endif
974e98e3e1Schristos 
984e98e3e1Schristos 
994e98e3e1Schristos #undef SIM_INLINE_P
1004e98e3e1Schristos #define SIM_INLINE_P 0
1014e98e3e1Schristos 
1024e98e3e1Schristos #endif
103