From b91b96f4f6321cbbb9b4cbe261ae4dc8729ce4fc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 24 May 2002 00:12:18 +0000 Subject: [PATCH] * sim-d10v.h: Delete file. Moved to include/gdb/. * sim-d10v.h: New file. Moved from include/sim-d10v.h. * Makefile.in (INCLUDE): Add "gdb/sim-d10v.h". * interp.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". * Makefile.in (sim_d10v_h): Update definition. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 2 +- gdb/d10v-tdep.c | 2 +- include/ChangeLog | 4 ++++ include/gdb/ChangeLog | 4 ++++ include/{ => gdb}/sim-d10v.h | 0 sim/d10v/ChangeLog | 5 +++++ sim/d10v/Makefile.in | 3 ++- sim/d10v/interp.c | 2 +- 9 files changed, 23 insertions(+), 4 deletions(-) rename include/{ => gdb}/sim-d10v.h (100%) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cbdde24fe80..b4dfe86085c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-05-23 Andrew Cagney + + * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". + * Makefile.in (sim_d10v_h): Update definition. + 2002-05-24 Andrew Cagney * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c050aeb736a..da4e25e27b9 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -572,7 +572,7 @@ dis_asm_h = $(INCLUDE_DIR)/dis-asm.h remote_sim_h = $(INCLUDE_DIR)/remote-sim.h demangle_h = $(INCLUDE_DIR)/demangle.h obstack_h = $(INCLUDE_DIR)/obstack.h -sim_d10v_h = $(INCLUDE_DIR)/sim-d10v.h +sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h splay_tree_h = $(INCLUDE_DIR)/splay-tree.h readline_headers = \ diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 570fed3b8c6..cd260da8086 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -40,7 +40,7 @@ #include "regcache.h" #include "floatformat.h" -#include "sim-d10v.h" +#include "gdb/sim-d10v.h" struct frame_extra_info { diff --git a/include/ChangeLog b/include/ChangeLog index f59e44757a1..e6ff3f17656 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-05-23 Andrew Cagney + + * sim-d10v.h: Delete file. Moved to include/gdb/. + 2002-05-23 Jakub Jelinek * elf/common.h (PT_TLS, SHF_TLS, STT_TLS, DF_STATIC_TLS): Define. diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 96a4a058a30..e0992c95aba 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-05-23 Andrew Cagney + + * sim-d10v.h: New file. Moved from include/sim-d10v.h. + 2002-05-10 Elena Zannoni * sim-sh.h: New file, for sh gdb<->sim interface. diff --git a/include/sim-d10v.h b/include/gdb/sim-d10v.h similarity index 100% rename from include/sim-d10v.h rename to include/gdb/sim-d10v.h diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 5f7ad2e09f1..f798d941a4f 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,8 @@ +2002-05-23 Andrew Cagney + + * Makefile.in (INCLUDE): Add "gdb/sim-d10v.h". + * interp.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". + 2001-08-01 John R. Moore * interp.c (sim_create_inferior): Removed a hack that stated diff --git a/sim/d10v/Makefile.in b/sim/d10v/Makefile.in index 82d7e11ceb3..7ea6059aaad 100644 --- a/sim/d10v/Makefile.in +++ b/sim/d10v/Makefile.in @@ -22,7 +22,8 @@ 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/callback.h targ-vals.h endian.c \ + $(srcroot)/include/gdb/sim-d10v.h # This selects the d10v newlib/libgloss syscall definitions. NL_TARGET = -DNL_TARGET_d10v diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index ea1828c3e0e..338305c9c25 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -5,7 +5,7 @@ #include "remote-sim.h" #include "d10v_sim.h" -#include "sim-d10v.h" +#include "gdb/sim-d10v.h" enum _leftright { LEFT_FIRST, RIGHT_FIRST }; -- 2.30.2