+2015-05-15 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.h (struct host_callback_struct): Define.
+
2015-01-31 Doug Evans <xdje42@gmail.com>
* section-scripts.h: Remove "future extension" comment.
} SIM_RC;
-/* The bfd struct, as an opaque type. */
+/* Some structs, as opaque types. */
struct bfd;
+struct host_callback_struct;
/* Main simulator entry points. */
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in: Delete includes.
+ [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* bfin-sim.c (decode_dsp32alu_0): Change v to bu32.
Common sim core by default sets hw_system_cpu to NULL for WITH_HW. */
#define WITH_DEVICES 1
-/* FIXME: This is unnecessarily necessary: */
-#include "ansidecl.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
-#include "sim-module.h"
-
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
/* ??? Temporary hack until model support unified. */
#define SIM_HAVE_MODEL
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-socker.h (dv_sockser_install): Declare.
+ * sim-module.c: Include config.h.
+ [HAVE_DV_SOCKSER]: Include dv-sockser.h.
+ (modules) [HAVE_DV_SOCKSER]: Add dv_sockser_install.
+ * sim-module.h: Include gdb/remote-sim.h.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (BUILT_SRC_FROM_COMMON): Delete.
int dv_sockser_write_buffer (SIM_DESC, const unsigned char *, unsigned);
int dv_sockser_read (SIM_DESC);
+SIM_RC dv_sockser_install (SIM_DESC);
+
#endif /* DV_SOCKSER_H */
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "config.h"
#include "sim-main.h"
#include "sim-io.h"
#include "sim-options.h"
#include "sim-hw.h"
#endif
+#ifdef HAVE_DV_SOCKSER
+/* TODO: Shouldn't have device models here. */
+#include "dv-sockser.h"
+#endif
+
#include "libiberty.h"
/* List of all modules. */
#endif
#if WITH_HW
sim_hw_install,
+#endif
+#ifdef HAVE_DV_SOCKSER
+ /* TODO: Shouldn't have device models here. */
+ dv_sockser_install,
#endif
/* Configured in [simulator specific] additional modules. */
#ifdef MODULE_LIST
TODO: Add facilities for saving/restoring state to/from a file. */
+#include "gdb/remote-sim.h"
/* Various function types. */
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in: Delete most includes.
+ [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
#ifndef CRIS_TCONFIG_H
#define CRIS_TCONFIG_H
-#include "ansidecl.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
-#include "sim-module.h"
-
/* There's basically a a big ??? FIXME: CHECK THIS on everything in this
file. I just copied it from m32r, pruned some stuff and added
HAVE_MODEL because it seemed useful. */
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1
+#include "sim-module.h"
extern MODULE_INSTALL_FN cris_option_install;
-
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-extern MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install, cris_option_install,
-#else
#define MODULE_LIST cris_option_install,
-#endif
#define SIM_HAVE_MODEL
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#if 0
/* Enable watchpoints. */
#define WITH_WATCHPOINTS 1
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 0
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#if 0
/* Enable watchpoints. */
#define WITH_WATCHPOINTS 1
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in (SIM_OBJS): Add @SIM_DV_SOCKSER_O@.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
sim-model.o \
sim-reg.o \
sim-signal.o \
+ @SIM_DV_SOCKSER_O@ \
cgen-utils.o cgen-trace.o cgen-scache.o \
cgen-run.o sim-reason.o sim-engine.o sim-stop.o \
sim-if.o arch.o \
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#if 0
/* Enable watchpoints. */
#define WITH_WATCHPOINTS 1
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in: Delete includes.
+ [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
/* See sim-hload.c. We properly handle LMA. */
#ifdef TARGET_TX3904
#define SIM_HANDLES_LMA 1
-
-/* FIXME: This is unnecessarily necessary: */
-#include "ansidecl.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
-#include "sim-module.h"
-
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#else
#define SIM_HANDLES_LMA 0
#endif
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in: Delete file.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
+++ /dev/null
-/* mn10300 target configuration file. */
-
-/* FIXME: This is unnecessarily necessary: */
-#include "ansidecl.h"
-#include "gdb/callback.h"
-#include "gdb/remote-sim.h"
-#include "sim-module.h"
-
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
-/* Define this if the simulator supports profiling.
- See the mips simulator for an example.
- This enables the `-p foo' and `-s bar' options.
- The target is required to provide sim_set_profile{,_size}. */
-/* #define SIM_HAVE_PROFILE */
-
-/* Define this if the simulator uses an instruction cache.
- See the h8/300 simulator for an example.
- This enables the `-c size' option to set the size of the cache.
- The target is required to provide sim_set_simcache_size. */
-/* #define SIM_HAVE_SIMCACHE */
-
-/* Define this if the target cpu is bi-endian
- and the simulator supports it. */
-/* #define SIM_HAVE_BIENDIAN */
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 0
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#if 0
/* Enable watchpoints. */
#define WITH_WATCHPOINTS 1