aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/mn10300/ChangeLog5
-rw-r--r--sim/mn10300/Makefile.in2
-rw-r--r--sim/mn10300/sim-main.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index d4bec0b..a53c8eb 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-28 Andrew Cagney <cagney@redhat.com>
+
+ * sim-main.h: Only include "idecode.h" once.
+ * Makefile.in (SIM_EXTRA_DEPS): Define.
+
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mn10300/Makefile.in b/sim/mn10300/Makefile.in
index 1f493ec..fc05552 100644
--- a/sim/mn10300/Makefile.in
+++ b/sim/mn10300/Makefile.in
@@ -44,6 +44,8 @@ WITH_COMMON_RUN_OBJS = nrun.o
SIM_RUN_OBJS = $(@mn10300_common@_COMMON_RUN_OBJS)
SIM_EXTRA_CLEAN = clean-extra
+# Extra dependencies for "sim-main.h"
+SIM_EXTRA_DEPS = mn10300_sim.h itable.h idecode.h
# Select mn10300 support in nltvals.def.
NL_TARGET = -DNL_TARGET_mn10300
diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h
index d0ff4e4..c13619e 100644
--- a/sim/mn10300/sim-main.h
+++ b/sim/mn10300/sim-main.h
@@ -42,7 +42,6 @@
/* These are generated files. */
#include "itable.h"
#include "idecode.h"
-#include "idecode.h"
typedef instruction_address sim_cia;
static const sim_cia null_cia = {0}; /* Dummy */