forked from Imagelibrary/binutils-gdb
sim: cgen: move symcat.h include to where it's used
Move this out of the global sim-main.h and to the few files that actually use functions from it. Only the cgen ports were pulling this, so this makes cgen & non-cgen behave more the same.
This commit is contained in:
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef CGEN_MEM_H
|
||||
#define CGEN_MEM_H
|
||||
|
||||
#include "symcat.h"
|
||||
|
||||
/* TODO: This should get moved into sim-inline.h. */
|
||||
#ifdef MEMOPS_DEFINE_INLINE
|
||||
#define MEMOPS_INLINE
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include "symcat.h"
|
||||
|
||||
#include "sim-main.h"
|
||||
#include "sim-module.h"
|
||||
#include "sim/sim.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef SIM_CORE_H
|
||||
#define SIM_CORE_H
|
||||
|
||||
#include "symcat.h"
|
||||
|
||||
/* core signals (error conditions)
|
||||
Define SIM_CORE_SIGNAL to catch these signals - see sim-core.c for
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "symcat.h"
|
||||
|
||||
/* INTEGER QUANTITIES:
|
||||
|
||||
TYPES:
|
||||
|
||||
Reference in New Issue
Block a user