Home | History | Annotate | Line # | Download | only in common
      1 /* The common simulator framework for GDB, the GNU Debugger.
      2 
      3    Copyright 2002-2024 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 /* This must come before any other includes.  */
     30 #include "defs.h"
     31 
     32 #include "sim-inline.h"
     33 #include "sim-main.h"
     34 
     35 #if C_REVEALS_MODULE_P (SIM_ARANGE_INLINE)
     36 #include "sim-arange.c"
     37 #endif
     38 
     39 
     40 #if C_REVEALS_MODULE_P (SIM_BITS_INLINE)
     41 #include "sim-bits.c"
     42 #endif
     43 
     44 
     45 #if C_REVEALS_MODULE_P (SIM_CORE_INLINE)
     46 #include "sim-core.c"
     47 #endif
     48 
     49 
     50 #if C_REVEALS_MODULE_P (SIM_ENDIAN_INLINE)
     51 #include "sim-endian.c"
     52 #endif
     53 
     54 
     55 #if C_REVEALS_MODULE_P (SIM_EVENTS_INLINE)
     56 #include "sim-events.c"
     57 #endif
     58 
     59 
     60 #if C_REVEALS_MODULE_P (SIM_FPU_INLINE)
     61 #include "sim-fpu.c"
     62 #endif
     63 
     64 
     65 #if C_REVEALS_MODULE_P (SIM_TYPES_INLINE)
     66 #include "sim-types.c"
     67 #endif
     68 
     69 
     70 #if C_REVEALS_MODULE_P (SIM_MAIN_INLINE)
     71 #include "sim-main.c"
     72 #endif
     73 
     74 #if C_REVEALS_MODULE_P (ENGINE_INLINE)
     75 /* #include "engine.c" - handled by generator */
     76 #endif
     77 
     78 
     79 #if C_REVEALS_MODULE_P (ICACHE_INLINE)
     80 /* #include "icache.c" - handled by generator */
     81 #endif
     82 
     83 
     84 #if C_REVEALS_MODULE_P (IDECODE_INLINE)
     85 /* #include "idecode.c" - handled by generator */
     86 #endif
     87 
     88 
     89 #if C_REVEALS_MODULE_P (SEMANTICS_INLINE)
     90 /* #include "semantics.c" - handled by generator */
     91 #endif
     92 
     93 
     94 #if C_REVEALS_MODULE_P (SUPPORT_INLINE)
     95 /* #include "support.c" - handled by generator */
     96 #endif
     97 
     98 
     99 #undef SIM_INLINE_P
    100 #define SIM_INLINE_P 0
    101 
    102 #endif
    103