aboutsummaryrefslogtreecommitdiff
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
commit6c0a25e9f85e2407fea9e304957d624c62682e51 (patch)
tree0c54b5980cd77c1d569f63af1bba26e6c5c88d53
parentabc0af478d50e89dd2b22fba7a20991fff1a604a (diff)
downloadgdb-6c0a25e9f85e2407fea9e304957d624c62682e51.zip
gdb-6c0a25e9f85e2407fea9e304957d624c62682e51.tar.gz
gdb-6c0a25e9f85e2407fea9e304957d624c62682e51.tar.bz2
2002-11-28 Andrew Cagney <cagney@redhat.com>
* sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define.
-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 */