summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-09 15:45:54 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-09 15:45:54 +0000
commit3c25f8c7b071182238e0833c72552ee0e72fd2ae (patch)
tree72f9fd7da4b0bc3057d07dbc142ab9faa014e42a /sim
parent1029b7fa6a31d4cbb42e8d14c67ff4fdbbd4bd8c (diff)
downloadbinutils-3c25f8c7b071182238e0833c72552ee0e72fd2ae.tar.gz
binutils-3c25f8c7b071182238e0833c72552ee0e72fd2ae.tar.bz2
binutils-3c25f8c7b071182238e0833c72552ee0e72fd2ae.zip
Move include/callback.h and include/remote-sim.h to include/gdb/.
Update accordingly.
Diffstat (limited to 'sim')
-rw-r--r--sim/arm/ChangeLog5
-rw-r--r--sim/arm/armos.c2
-rw-r--r--sim/arm/wrapper.c4
-rw-r--r--sim/common/ChangeLog21
-rw-r--r--sim/common/Make-common.in41
-rw-r--r--sim/common/callback.c2
-rw-r--r--sim/common/gentmap.c2
-rw-r--r--sim/common/run.c4
-rw-r--r--sim/common/sim-basics.h4
-rw-r--r--sim/common/sim-load.c4
-rw-r--r--sim/common/syscall.c2
-rw-r--r--sim/d10v/ChangeLog7
-rw-r--r--sim/d10v/Makefile.in2
-rw-r--r--sim/d10v/d10v_sim.h4
-rw-r--r--sim/d10v/gencode.c1
-rw-r--r--sim/d10v/interp.c4
-rw-r--r--sim/erc32/ChangeLog5
-rw-r--r--sim/erc32/interf.c2
-rw-r--r--sim/erc32/sis.h4
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c4
-rw-r--r--sim/h8500/ChangeLog4
-rw-r--r--sim/h8500/compile.c4
-rw-r--r--sim/m68hc11/ChangeLog5
-rw-r--r--sim/m68hc11/Makefile.in2
-rw-r--r--sim/m68hc11/sim-main.h4
-rw-r--r--sim/mcore/ChangeLog4
-rw-r--r--sim/mcore/interp.c4
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c4
-rw-r--r--sim/mn10200/ChangeLog5
-rw-r--r--sim/mn10200/Makefile.in2
-rw-r--r--sim/mn10200/mn10200_sim.h4
-rw-r--r--sim/mn10300/ChangeLog6
-rw-r--r--sim/mn10300/Makefile.in2
-rw-r--r--sim/mn10300/mn10300_sim.h4
-rw-r--r--sim/mn10300/tconfig.in4
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/main.c4
-rw-r--r--sim/ppc/sim_calls.c4
-rw-r--r--sim/sh/ChangeLog4
-rw-r--r--sim/sh/interp.c4
-rw-r--r--sim/w65/ChangeLog4
-rw-r--r--sim/w65/interp.c4
-rw-r--r--sim/z8k/ChangeLog5
-rw-r--r--sim/z8k/iface.c4
-rw-r--r--sim/z8k/support.c4
47 files changed, 156 insertions, 76 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 85de967d7c7..f7dfd133ca4 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * armos.c: Include "gdb/callback.h".
+
2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
* armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
diff --git a/sim/arm/armos.c b/sim/arm/armos.c
index 4635932b497..ccf9a576e87 100644
--- a/sim/arm/armos.c
+++ b/sim/arm/armos.c
@@ -83,7 +83,7 @@ extern int _fisatty (FILE *);
/* For RDIError_BreakpointReached. */
#include "dbg_rdi.h"
-#include "callback.h"
+#include "gdb/callback.h"
extern host_callback *sim_callback;
extern unsigned ARMul_OSInit (ARMul_State *);
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index 0ff2cd9dc02..9aa462ebb98 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -28,8 +28,8 @@
#include <string.h>
#include <bfd.h>
#include <signal.h>
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "armdefs.h"
#include "armemu.h"
#include "dbg_rdi.h"
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 8400639be49..f7c73915213 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,24 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * gentmap.c (gen_targ_map_c): Generate "gdb/callback.h".
+ * sim-basics.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * run.c: Ditto.
+ * sim-load.c: Ditto.
+ * callback.c: Ditto.
+ * syscall.c: Ditto.
+ * Make-common.in (callback_h): Define.
+ (remote_sim_h): Define.
+ (run.o): Update.
+ (callback.o): Update.
+ (syscall.o): Update.
+ (sim-load.o):
+ (nrun.o): Update.
+ (sim-hload.o): Update.
+ (sim-io.o): Update.
+ (sim-reason.o): Update.
+ (sim-reg.o): Update.
+ (sim-resume.o): Update.
+
2002-05-30 Kazu Hirata <kazu@cs.umass.edu>
* run.c: Fix formatting.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 519b213da73..6662efd748a 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -248,6 +248,9 @@ LIB_OBJS = callback.o syscall.o targ-map.o $(SIM_OBJS)
RUNTESTFLAGS =
+callback_h = $(srcroot)/include/gdb/callback.h
+remote_sim_h = $(srcroot)/include/gdb/remote-sim.h
+
all: $(SIM_EXTRA_ALL) libsim.a run .gdbinit
libsim.a: $(LIB_OBJS)
@@ -259,8 +262,7 @@ run: $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
-run.o: $(srccom)/run.c config.h tconfig.h \
- $(srcroot)/include/remote-sim.h $(srcroot)/include/callback.h
+run.o: $(srccom)/run.c config.h tconfig.h $(remote_sim_h) $(callback_h)
$(CC) -c $(srccom)/run.c $(ALL_CFLAGS)
# FIXME: Ideally, callback.o and friends live in a library outside of
@@ -268,12 +270,10 @@ run.o: $(srccom)/run.c config.h tconfig.h \
# devo/libremote because this directory would contain more than just
# a library).
-callback.o: $(srccom)/callback.c config.h tconfig.h \
- $(srcroot)/include/callback.h targ-vals.h
+callback.o: $(srccom)/callback.c config.h tconfig.h $(callback_h) targ-vals.h
$(CC) -c $(srccom)/callback.c $(ALL_CFLAGS)
-syscall.o: $(srccom)/syscall.c config.h tconfig.h \
- $(srcroot)/include/callback.h targ-vals.h
+syscall.o: $(srccom)/syscall.c config.h tconfig.h $(callback_h) targ-vals.h
$(CC) -c $(srccom)/syscall.c $(ALL_CFLAGS)
targ-map.o: targ-map.c targ-vals.h
@@ -399,21 +399,18 @@ sim-fpu.o: $(srccom)/sim-fpu.c $(sim-fpu_h) \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-fpu.c $(ALL_CFLAGS)
-sim-hload.o: $(srccom)/sim-hload.c $(sim-assert_h) \
- $(srcroot)/include/remote-sim.h \
+sim-hload.o: $(srccom)/sim-hload.c $(sim-assert_h) $(remote_sim_h) \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-hload.c $(ALL_CFLAGS)
-sim-hrw.o: $(srccom)/sim-hrw.c $(sim-assert_h) $(sim_core_h) \
- $(srcroot)/include/remote-sim.h \
+sim-hrw.o: $(srccom)/sim-hrw.c $(sim-assert_h) $(sim_core_h) $(remote_sim_h) \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-hrw.c $(ALL_CFLAGS)
sim-hw.o: $(srccom)/sim-hw.c $(sim_main_headers)
$(CC) -c $(srccom)/sim-hw.c $(ALL_CFLAGS)
-sim-info.o: $(srccom)/sim-info.c $(sim-assert_h) \
- $(srcroot)/include/remote-sim.h \
+sim-info.o: $(srccom)/sim-info.c $(sim-assert_h) $(remote_sim_h) \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-info.c $(ALL_CFLAGS)
@@ -423,8 +420,8 @@ sim-inline.c: $(srccom)/sim-inline.c
cat $(srccom)/$@ >> tmp-$@
$(SHELL) $(srcdir)/../../move-if-change tmp-$@ $@
-sim-io.o: $(srccom)/sim-io.c $(sim_main_headers) $(sim-io_h) \
- $(srcroot)/include/remote-sim.h targ-vals.h
+sim-io.o: $(srccom)/sim-io.c $(sim_main_headers) $(sim-io_h) $(remote_sim_h) \
+ targ-vals.h
$(CC) -c $(srccom)/sim-io.c $(ALL_CFLAGS)
sim-memopt.o: $(srccom)/sim-memopt.c $(sim_main_headers) \
@@ -439,16 +436,13 @@ sim-options.o: $(srccom)/sim-options.c $(sim_main_headers) \
$(sim-options_h) $(sim-io_h)
$(CC) -c $(srccom)/sim-options.c $(ALL_CFLAGS)
-sim-reason.o: $(srccom)/sim-reason.c $(sim_main_headers) \
- $(srcroot)/include/remote-sim.h
+sim-reason.o: $(srccom)/sim-reason.c $(sim_main_headers) $(remote_sim_h)
$(CC) -c $(srccom)/sim-reason.c $(ALL_CFLAGS)
-sim-reg.o: $(srccom)/sim-reg.c $(sim_main_headers) \
- $(srcroot)/include/remote-sim.h
+sim-reg.o: $(srccom)/sim-reg.c $(sim_main_headers) $(remote_sim_h)
$(CC) -c $(srccom)/sim-reg.c $(ALL_CFLAGS)
-sim-resume.o: $(srccom)/sim-resume.c $(sim_main_headers) \
- $(srcroot)/include/remote-sim.h
+sim-resume.o: $(srccom)/sim-resume.c $(sim_main_headers) $(remote_sim_h)
$(CC) -c $(srccom)/sim-resume.c $(ALL_CFLAGS)
sim-run.o: $(srccom)/sim-run.c $(sim_main_headers)
@@ -478,7 +472,7 @@ sim-utils.o: $(srccom)/sim-utils.c $(sim_main_headers)
sim-watch.o: $(srccom)/sim-watch.c $(sim_main_headers)
$(CC) -c $(srccom)/sim-watch.c $(ALL_CFLAGS)
-sim-load.o: $(srccom)/sim-load.c $(srcroot)/include/callback.h
+sim-load.o: $(srccom)/sim-load.c $(callback_h)
$(CC) -c $(srccom)/sim-load.c $(ALL_CFLAGS)
sim-break.o: $(srccom)/sim-break.c $(sim_main_headers) \
@@ -547,8 +541,7 @@ dv-sockser.o: $(srccom)/dv-sockser.h $(sim_main_headers)
$(CC) -c $(srccom)/dv-sockser.c $(ALL_CFLAGS)
-nrun.o: $(srccom)/nrun.c config.h tconfig.h \
- $(srcroot)/include/remote-sim.h $(srcroot)/include/callback.h \
+nrun.o: $(srccom)/nrun.c config.h tconfig.h $(remote_sim_h) $(callback_h) \
$(sim_main_headers)
$(CC) -c $(srccom)/nrun.c $(ALL_CFLAGS)
@@ -685,7 +678,7 @@ cgen-arch: force
$(SHELL) $(srccom)/cgen.sh arch $(srcdir) \
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
$(arch) "$(FLAGS)" ignored "$(isa)" $(mach) ignored ignored
-
+
cgen-cpu: force
$(SHELL) $(srccom)/cgen.sh cpu $(srcdir) \
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
diff --git a/sim/common/callback.c b/sim/common/callback.c
index af5de148ad0..db0fff68e80 100644
--- a/sim/common/callback.c
+++ b/sim/common/callback.c
@@ -46,7 +46,7 @@
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "callback.h"
+#include "gdb/callback.h"
#include "targ-vals.h"
#ifdef HAVE_UNISTD_H
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index e4f5d0dc8b4..897a6f70c77 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -68,7 +68,7 @@ gen_targ_map_c ()
printf ("#include <errno.h>\n");
printf ("#include <fcntl.h>\n");
printf ("#include \"ansidecl.h\"\n");
- printf ("#include \"callback.h\"\n");
+ printf ("#include \"gdb/callback.h\"\n");
printf ("#include \"targ-vals.h\"\n");
printf ("\n");
diff --git a/sim/common/run.c b/sim/common/run.c
index a2180a1a46a..d8c86cdd701 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -43,8 +43,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "libiberty.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "ansidecl.h"
#include "run-sim.h"
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index fc34b21618f..a7d7a1ed472 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -132,8 +132,8 @@ typedef enum {
#endif
#include "ansidecl.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "sim-config.h"
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index bfe3f15c4bd..314d2dd173c 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -36,8 +36,8 @@ along with this program; if not, write to the Free Software Foundation, Inc.,
#include "bfd.h"
#include "sim-utils.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
static void eprintf PARAMS ((host_callback *, const char *, ...));
static void xprintf PARAMS ((host_callback *, const char *, ...));
diff --git a/sim/common/syscall.c b/sim/common/syscall.c
index e0a3b880b84..75121cf2fc4 100644
--- a/sim/common/syscall.c
+++ b/sim/common/syscall.c
@@ -46,7 +46,7 @@
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "callback.h"
+#include "gdb/callback.h"
#include "targ-vals.h"
#ifndef ENOSYS
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 67b3ab73a13..91d71f3f512 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,10 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (INCLUDE): Update path to callback.h.
+ * gencode.c: Do not include "callback.h".
+ * d10v_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * interp.c: Ditto.
+
2002-06-08 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_fetch_register): Fix name of enum used in cast.
diff --git a/sim/d10v/Makefile.in b/sim/d10v/Makefile.in
index 7ea6059aaad..f46c54dd388 100644
--- a/sim/d10v/Makefile.in
+++ b/sim/d10v/Makefile.in
@@ -22,7 +22,7 @@ SIM_OBJS = interp.o table.o simops.o endian.o sim-load.o
SIM_EXTRA_CLEAN = clean-extra
SIM_EXTRA_CFLAGS = -DNEED_UI_LOOP_HOOK -DSIM_HAVE_ENVIRONMENT
-INCLUDE = d10v_sim.h $(srcroot)/include/callback.h targ-vals.h endian.c \
+INCLUDE = d10v_sim.h $(srcroot)/include/gdb/callback.h targ-vals.h endian.c \
$(srcroot)/include/gdb/sim-d10v.h
# This selects the d10v newlib/libgloss syscall definitions.
diff --git a/sim/d10v/d10v_sim.h b/sim/d10v/d10v_sim.h
index 377a001580d..ca14006fbce 100644
--- a/sim/d10v/d10v_sim.h
+++ b/sim/d10v/d10v_sim.h
@@ -3,7 +3,7 @@
#include <ctype.h>
#include <limits.h>
#include "ansidecl.h"
-#include "callback.h"
+#include "gdb/callback.h"
#include "opcode/d10v.h"
#include "bfd.h"
@@ -21,7 +21,7 @@
extern int d10v_debug;
-#include "remote-sim.h"
+#include "gdb/remote-sim.h"
#include "sim-config.h"
#include "sim-types.h"
diff --git a/sim/d10v/gencode.c b/sim/d10v/gencode.c
index 2d1269be996..b66297d0146 100644
--- a/sim/d10v/gencode.c
+++ b/sim/d10v/gencode.c
@@ -3,7 +3,6 @@
#include <ctype.h>
#include <limits.h>
#include "ansidecl.h"
-#include "callback.h"
#include "opcode/d10v.h"
static void write_header PARAMS ((void));
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index 37a2e1177d1..e465a809d02 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -1,8 +1,8 @@
#include <signal.h>
#include "sysdep.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "d10v_sim.h"
#include "gdb/sim-d10v.h"
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index f2ff60050a1..d68e6639a2b 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * sis.h: Include "gdb/remote-sim.h" and "gdb/callback.h".
+ * interf.c: Include "gdb/remote-sim.h".
+
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index d0a781eb937..19318864534 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -31,7 +31,7 @@
#include <dis-asm.h>
#include "sim-config.h"
-#include "remote-sim.h"
+#include "gdb/remote-sim.h"
#ifndef fprintf
extern fprintf();
diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h
index 2a895c0277d..5bdd7704e24 100644
--- a/sim/erc32/sis.h
+++ b/sim/erc32/sis.h
@@ -21,8 +21,8 @@
*/
#include "ansidecl.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "end.h"
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 09aa6fb7048..443b2228ba7 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
* compile.c: Fix formatting.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 27530dbfd56..b8c5ef3f568 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -32,8 +32,8 @@
#endif
#include "ansidecl.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#ifndef SIGTRAP
# define SIGTRAP 5
diff --git a/sim/h8500/ChangeLog b/sim/h8500/ChangeLog
index af4f78470bb..eeb4d6ddc48 100644
--- a/sim/h8500/ChangeLog
+++ b/sim/h8500/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/h8500/compile.c b/sim/h8500/compile.c
index 1aad644fa8a..aec8ce97372 100644
--- a/sim/h8500/compile.c
+++ b/sim/h8500/compile.c
@@ -31,8 +31,8 @@
#include <setjmp.h>
#include "ansidecl.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#define O_RECOMPILE 85
#define DEFINE_TABLE
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 12734148c17..ee0cd2eac7a 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (INCLUDE): Update path to callback.h.
+ * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
diff --git a/sim/m68hc11/Makefile.in b/sim/m68hc11/Makefile.in
index 51e873bbbeb..a054a329c7d 100644
--- a/sim/m68hc11/Makefile.in
+++ b/sim/m68hc11/Makefile.in
@@ -42,7 +42,7 @@ SIM_EXTRA_CLEAN = clean-extra
SIM_EXTRA_OBJS = @m68hc11_extra_objs@
-INCLUDE = $(srcdir)/../../include/callback.h \
+INCLUDE = $(srcdir)/../../include/gdb/callback.h \
interrupts.h sim-main.h
diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h
index a47e7aa36e9..75c3b5b8451 100644
--- a/sim/m68hc11/sim-main.h
+++ b/sim/m68hc11/sim-main.h
@@ -36,8 +36,8 @@ typedef address_word sim_cia;
#include "opcode/m68hc11.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "opcode/m68hc11.h"
#include "sim-types.h"
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index a5e5ef97c94..066f0f3bedb 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c
index 456e4811cd4..79c7d2ede0b 100644
--- a/sim/mcore/interp.c
+++ b/sim/mcore/interp.c
@@ -24,9 +24,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <sys/param.h>
#include <netinet/in.h> /* for byte ordering macros */
#include "bfd.h"
-#include "callback.h"
+#include "gdb/callback.h"
#include "libiberty.h"
-#include "remote-sim.h"
+#include "gdb/remote-sim.h"
#ifndef NUM_ELEM
#define NUM_ELEM(A) (sizeof (A) / sizeof (A)[0])
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 51366dbbacb..e0e664b99aa 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
2002-06-07 Chris Demetriou <cgd@broadcom.com>
Ed Satterthwaite <ehs@broadcom.com>
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 8cc6318aaef..d069d2bc834 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -61,8 +61,8 @@ code on the hardware.
#include "getopt.h"
#include "libiberty.h"
#include "bfd.h"
-#include "callback.h" /* GDB simulator callback interface */
-#include "remote-sim.h" /* GDB simulator interface */
+#include "gdb/callback.h" /* GDB simulator callback interface */
+#include "gdb/remote-sim.h" /* GDB simulator interface */
#include "sysdep.h"
diff --git a/sim/mn10200/ChangeLog b/sim/mn10200/ChangeLog
index 6e997245746..ddc51c9b8d9 100644
--- a/sim/mn10200/ChangeLog
+++ b/sim/mn10200/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (INCLUDE): Update path to callback.h.
+ * mn10200_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
2001-04-15 J.T. Conklin <jtc@redback.com>
* Makefile.in (simops.o): Add simops.h to dependency list.
diff --git a/sim/mn10200/Makefile.in b/sim/mn10200/Makefile.in
index bcc15c86834..563a4edec7b 100644
--- a/sim/mn10200/Makefile.in
+++ b/sim/mn10200/Makefile.in
@@ -25,7 +25,7 @@ SIM_EXTRA_CLEAN = clean-extra
# Select mn10200 support in nltvals.def.
NL_TARGET = -DNL_TARGET_mn10200
-INCLUDE = mn10200_sim.h $(srcdir)/../../include/callback.h
+INCLUDE = mn10200_sim.h $(srcdir)/../../include/gdb/callback.h
## COMMON_POST_CONFIG_FRAG
diff --git a/sim/mn10200/mn10200_sim.h b/sim/mn10200/mn10200_sim.h
index a7b7c4d888c..2f85aa0cb4f 100644
--- a/sim/mn10200/mn10200_sim.h
+++ b/sim/mn10200/mn10200_sim.h
@@ -1,10 +1,10 @@
#include <stdio.h>
#include <ctype.h>
#include "ansidecl.h"
-#include "callback.h"
+#include "gdb/callback.h"
#include "opcode/mn10200.h"
#include <limits.h>
-#include "remote-sim.h"
+#include "gdb/remote-sim.h"
#ifndef INLINE
#ifdef __GNUC__
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 59f45155012..7245767f471 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * Makefile.in (INCLUDE): Update path to callback.h.
+ * mn10300_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * tconfig.in: Ditto.
+
2001-05-06 Jim Blandy <jimb@redhat.com>
* mn10300.igen: Doc fixes.
diff --git a/sim/mn10300/Makefile.in b/sim/mn10300/Makefile.in
index f3a52ed1994..1f493ec467d 100644
--- a/sim/mn10300/Makefile.in
+++ b/sim/mn10300/Makefile.in
@@ -48,7 +48,7 @@ SIM_EXTRA_CLEAN = clean-extra
# Select mn10300 support in nltvals.def.
NL_TARGET = -DNL_TARGET_mn10300
-INCLUDE = mn10300_sim.h $(srcdir)/../../include/callback.h
+INCLUDE = mn10300_sim.h $(srcdir)/../../include/gdb/callback.h
# List of extra flags to always pass to $(CC).
SIM_EXTRA_CFLAGS = @sim_gen@ -DPOLL_QUIT_INTERVAL=0x20
diff --git a/sim/mn10300/mn10300_sim.h b/sim/mn10300/mn10300_sim.h
index da6c25915be..6a2c5715583 100644
--- a/sim/mn10300/mn10300_sim.h
+++ b/sim/mn10300/mn10300_sim.h
@@ -1,10 +1,10 @@
#include <stdio.h>
#include <ctype.h>
#include "ansidecl.h"
-#include "callback.h"
+#include "gdb/callback.h"
#include "opcode/mn10300.h"
#include <limits.h>
-#include "remote-sim.h"
+#include "gdb/remote-sim.h"
#include "bfd.h"
#ifndef INLINE
diff --git a/sim/mn10300/tconfig.in b/sim/mn10300/tconfig.in
index 521b6e77694..14ca8e77645 100644
--- a/sim/mn10300/tconfig.in
+++ b/sim/mn10300/tconfig.in
@@ -2,8 +2,8 @@
/* FIXME: This is unnecessarily necessary: */
#include "ansidecl.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "sim-module.h"
MODULE_INSTALL_FN dv_sockser_install;
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index dce94995bc2..0aea7d41b49 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * main.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * sim_calls.c: Ditto.
+
2002-05-30 DJ Delorie <dj@redhat.com>
* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
diff --git a/sim/ppc/main.c b/sim/ppc/main.c
index f6ac87f45fd..4df78ab5aef 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -31,8 +31,8 @@
#include "events.h" /* FIXME: psim should provide the interface */
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c
index 47af5b12a45..f2c2d1950d5 100644
--- a/sim/ppc/sim_calls.c
+++ b/sim/ppc/sim_calls.c
@@ -42,8 +42,8 @@
#include "defs.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
/* Define the rate at which the simulator should poll the host
for a quit. */
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 541ed1f27d2..62320a84a69 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
2001-01-30 Ben Elliston <bje@redhat.com>
* interp.c (sim_create_inferior): Record program arguments for
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index 99f51d16a2c..286dd2dccba 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -27,8 +27,8 @@
#include "sysdep.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
/* This file is local - if newlib changes, then so should this. */
#include "syscall.h"
diff --git a/sim/w65/ChangeLog b/sim/w65/ChangeLog
index 088f8b24867..ea4ffbe3041 100644
--- a/sim/w65/ChangeLog
+++ b/sim/w65/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/w65/interp.c b/sim/w65/interp.c
index 36c4e322c9c..a4b325a1cc7 100644
--- a/sim/w65/interp.c
+++ b/sim/w65/interp.c
@@ -33,8 +33,8 @@
#endif
#include <sys/param.h>
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "../../newlib/libc/sys/w65/sys/syscall.h"
#include "interp.h"
diff --git a/sim/z8k/ChangeLog b/sim/z8k/ChangeLog
index da38d37eabc..b6f5ed8346c 100644
--- a/sim/z8k/ChangeLog
+++ b/sim/z8k/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-09 Andrew Cagney <cagney@redhat.com>
+
+ * iface.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * support.c: Ditto.
+
2002-06-06 Andrew Cagney <ac131313@redhat.com>
* writecode.c (lookup_inst): Generate inverse table on-the-fly.
diff --git a/sim/z8k/iface.c b/sim/z8k/iface.c
index 1b3883ef545..c76d63f30a6 100644
--- a/sim/z8k/iface.c
+++ b/sim/z8k/iface.c
@@ -22,8 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "tm.h"
#include "signal.h"
#include "bfd.h"
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#ifndef NULL
#define NULL 0
diff --git a/sim/z8k/support.c b/sim/z8k/support.c
index 73923640628..e3cdc736e03 100644
--- a/sim/z8k/support.c
+++ b/sim/z8k/support.c
@@ -36,8 +36,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
-#include "callback.h"
-#include "remote-sim.h"
+#include "gdb/callback.h"
+#include "gdb/remote-sim.h"
#include "syscall.h"
static int get_now PARAMS ((void));