aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-25 09:58:04 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-25 09:58:04 +0000
commita6a5d3492796f75b03b92f86226b2741ee468f0d (patch)
treea75024976954a22cab17ddffdfe0b6b8e86947ae
parent9ff152f7f560389f2e5a8e645c389f3317dadae0 (diff)
downloadgdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.zip
gdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.tar.gz
gdb-a6a5d3492796f75b03b92f86226b2741ee468f0d.tar.bz2
Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in: Include targ-vals.h instead of syscall.h. Replace SYS_* with TARGET_SYS_*. Add dependency. z8k/support.c: Include <errno.h> v850/simops.c: Replace long with portable signed32. mips/interp.c: Make sim_monitor global - needed by sky.
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/v850/ChangeLog32
-rw-r--r--sim/v850/Makefile.in32
3 files changed, 43 insertions, 26 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 686b76d..d97d985 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,8 @@
+Wed Nov 25 13:41:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-main.h, interp.c (sim_monitor): Change to global
+ function.
+
Wed Nov 25 17:33:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (vr4100): Only include vr4100 instructions in
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 89630f8..ce45dc3 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,35 @@
+Wed Nov 25 17:52:58 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (simops.o): Depends on targ-vals.h
+ * simops.c: Include targ-vals.h instead of
+ libgloss/.../syscall.h. Replace SYS_* with TARGET_SYS_*.
+start-sanitize-v850e
+ (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0):
+ Replace signed long int with signed32.
+end-sanitize-v850e
+
+Fri Oct 9 18:02:25 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * interp.c: #include "itable.h".
+ (get_insn_name): New function.
+ (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
+ * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
+
+start-sanitize-v850e
+Wed Aug 26 10:43:01 1998 Nick Clifton <nickc@cygnus.com>
+
+ * v850.igen: Sanitize out references to PSW_US in sld.b and
+ sld.h.
+
+end-sanitize-v850e
+Wed May 6 19:43:27 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * sim-main.h (INSN_NAME): New arg `cpu'.
+
+Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in
index 043aa2a..ba28238 100644
--- a/sim/v850/Makefile.in
+++ b/sim/v850/Makefile.in
@@ -19,28 +19,16 @@
## COMMON_PRE_CONFIG_FRAG
SIM_OBJS = \
+ $(SIM_NEW_COMMON_OBJS) \
simops.o interp.o \
itable.o semantics.o idecode.o icache.o engine.o irun.o support.o \
- sim-bits.o \
- sim-config.o \
- sim-core.o \
sim-engine.o \
- sim-endian.o \
- sim-events.o \
sim-hload.o \
sim-hrw.o \
- sim-io.o \
- sim-load.o \
- sim-memopt.o \
- sim-module.o \
- sim-options.o \
- sim-profile.o \
sim-resume.o \
sim-reason.o \
- sim-stop.o \
- sim-trace.o \
- sim-watch.o \
- sim-utils.o
+ sim-stop.o
+
SIM_RUN_OBJS = nrun.o
# List of extra dependencies.
@@ -48,20 +36,12 @@ SIM_RUN_OBJS = nrun.o
SIM_EXTRA_DEPS = v850_sim.h sim-main.h simops.h itable.h
# List of flags to always pass to $(CC)
-SIM_WARNINGS=@sim_warnings@
-SIM_ENDIAN=@sim_endian@
-SIM_HOSTENDIAN=@sim_hostendian@
-SIM_RESERVED_BITS=@sim_reserved_bits@
SIM_EXTRA_CFLAGS = \
-DDEBUG \
- -I$(srcdir)/../../newlib/libc/sys/sysnecv850 \
- $(SIM_WARNINGS) \
- $(SIM_ENDIAN) \
- $(SIM_HOSTENDIAN) \
- $(SIM_RESERVED_BITS)
+ -I$(srcdir)/../../newlib/libc/sys/sysnecv850
SIM_EXTRA_CLEAN = clean-extra
-INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS)
+INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS)
## COMMON_POST_CONFIG_FRAG
@@ -155,6 +135,6 @@ clean-extra: clean-igen
rm -f table.c simops.h gencode
#interp.o: interp.c table.c $(INCLUDE)
-simops.o: simops.c $(INCLUDE)
+simops.o: simops.c $(INCLUDE) targ-vals.h
#table.o: table.c
semantics.o: $(INCLUDE)