summaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-28 18:08:26 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-28 18:08:26 +0000
commitaff0c01668617a347c4151a3b19da70ea45664a6 (patch)
tree77a020b39357a8fe92687a2ac65e912ea3f20d55 /sim/mn10300
parent4565cadcf93341e4e32993499a252d9ce1cc1f7b (diff)
downloadgdb-aff0c01668617a347c4151a3b19da70ea45664a6.tar.gz
2002-11-28 Andrew Cagney <cagney@redhat.com>
* sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define.
Diffstat (limited to 'sim/mn10300')
-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 d4bec0b4a60..a53c8eb36fa 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 1f493ec467d..fc055529ba0 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 d0ff4e47325..c13619e8215 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 */