sim: rename ChangeLog files to ChangeLog-2021
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Jul 2021 06:33:28 +0000 (02:33 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 18 Aug 2021 00:27:36 +0000 (20:27 -0400)
Now that ChangeLog entries are no longer used for sim patches,
this commit renames all relevant sim ChangeLog to ChangeLog-2021,
similar to what we would do in the context of the "Start of New
Year" procedure.

The purpose of this change is to avoid people merging ChangeLog
entries by mistake when applying existing commits that they are
currently working on.

Also throw in a .gitignore entry to keep people from adding new
ChangeLog files anywhere in the sim tree.

132 files changed:
include/sim/ChangeLog [deleted file]
include/sim/ChangeLog-2021 [new file with mode: 0644]
sim/.gitignore
sim/ChangeLog [deleted file]
sim/ChangeLog-2021 [new file with mode: 0644]
sim/aarch64/ChangeLog [deleted file]
sim/aarch64/ChangeLog-2021 [new file with mode: 0644]
sim/arm/ChangeLog [deleted file]
sim/arm/ChangeLog-2021 [new file with mode: 0644]
sim/avr/ChangeLog [deleted file]
sim/avr/ChangeLog-2021 [new file with mode: 0644]
sim/bfin/ChangeLog [deleted file]
sim/bfin/ChangeLog-2021 [new file with mode: 0644]
sim/bpf/ChangeLog [deleted file]
sim/bpf/ChangeLog-2021 [new file with mode: 0644]
sim/common/ChangeLog [deleted file]
sim/common/ChangeLog-2021 [new file with mode: 0644]
sim/cr16/ChangeLog [deleted file]
sim/cr16/ChangeLog-2021 [new file with mode: 0644]
sim/cris/ChangeLog [deleted file]
sim/cris/ChangeLog-2021 [new file with mode: 0644]
sim/d10v/ChangeLog [deleted file]
sim/d10v/ChangeLog-2021 [new file with mode: 0644]
sim/erc32/ChangeLog [deleted file]
sim/erc32/ChangeLog-2021 [new file with mode: 0644]
sim/example-synacor/ChangeLog [deleted file]
sim/example-synacor/ChangeLog-2021 [new file with mode: 0644]
sim/frv/ChangeLog [deleted file]
sim/frv/ChangeLog-2021 [new file with mode: 0644]
sim/ft32/ChangeLog [deleted file]
sim/ft32/ChangeLog-2021 [new file with mode: 0644]
sim/h8300/ChangeLog [deleted file]
sim/h8300/ChangeLog-2021 [new file with mode: 0644]
sim/igen/ChangeLog [deleted file]
sim/igen/ChangeLog-2021 [new file with mode: 0644]
sim/iq2000/ChangeLog [deleted file]
sim/iq2000/ChangeLog-2021 [new file with mode: 0644]
sim/lm32/ChangeLog [deleted file]
sim/lm32/ChangeLog-2021 [new file with mode: 0644]
sim/m32c/ChangeLog [deleted file]
sim/m32c/ChangeLog-2021 [new file with mode: 0644]
sim/m32r/ChangeLog [deleted file]
sim/m32r/ChangeLog-2021 [new file with mode: 0644]
sim/m68hc11/ChangeLog [deleted file]
sim/m68hc11/ChangeLog-2021 [new file with mode: 0644]
sim/mcore/ChangeLog [deleted file]
sim/mcore/ChangeLog-2021 [new file with mode: 0644]
sim/microblaze/ChangeLog [deleted file]
sim/microblaze/ChangeLog-2021 [new file with mode: 0644]
sim/mips/ChangeLog [deleted file]
sim/mips/ChangeLog-2021 [new file with mode: 0644]
sim/mn10300/ChangeLog [deleted file]
sim/mn10300/ChangeLog-2021 [new file with mode: 0644]
sim/moxie/ChangeLog [deleted file]
sim/moxie/ChangeLog-2021 [new file with mode: 0644]
sim/msp430/ChangeLog [deleted file]
sim/msp430/ChangeLog-2021 [new file with mode: 0644]
sim/or1k/ChangeLog [deleted file]
sim/or1k/ChangeLog-2021 [new file with mode: 0644]
sim/ppc/ChangeLog [deleted file]
sim/ppc/ChangeLog-2021 [new file with mode: 0644]
sim/ppc/ChangeLog.00 [deleted file]
sim/pru/ChangeLog [deleted file]
sim/pru/ChangeLog-2021 [new file with mode: 0644]
sim/riscv/ChangeLog [deleted file]
sim/riscv/ChangeLog-2021 [new file with mode: 0644]
sim/rl78/ChangeLog [deleted file]
sim/rl78/ChangeLog-2021 [new file with mode: 0644]
sim/rx/ChangeLog [deleted file]
sim/rx/ChangeLog-2021 [new file with mode: 0644]
sim/sh/ChangeLog [deleted file]
sim/sh/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/ChangeLog [deleted file]
sim/testsuite/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/aarch64/ChangeLog [deleted file]
sim/testsuite/aarch64/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/arm/ChangeLog [deleted file]
sim/testsuite/arm/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/avr/ChangeLog [deleted file]
sim/testsuite/avr/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/bfin/ChangeLog [deleted file]
sim/testsuite/bfin/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/bpf/ChangeLog [deleted file]
sim/testsuite/bpf/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/cr16/ChangeLog [deleted file]
sim/testsuite/cr16/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/cris/ChangeLog [deleted file]
sim/testsuite/cris/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/d10v/ChangeLog [deleted file]
sim/testsuite/d10v/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/example-synacor/ChangeLog [deleted file]
sim/testsuite/example-synacor/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/frv/ChangeLog [deleted file]
sim/testsuite/frv/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/ft32/ChangeLog [deleted file]
sim/testsuite/ft32/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/h8300/ChangeLog [deleted file]
sim/testsuite/h8300/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/iq2000/ChangeLog [deleted file]
sim/testsuite/iq2000/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/lm32/ChangeLog [deleted file]
sim/testsuite/lm32/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/m32c/ChangeLog [deleted file]
sim/testsuite/m32c/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/m32r/ChangeLog [deleted file]
sim/testsuite/m32r/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/m68hc11/ChangeLog [deleted file]
sim/testsuite/m68hc11/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/mcore/ChangeLog [deleted file]
sim/testsuite/mcore/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/microblaze/ChangeLog [deleted file]
sim/testsuite/microblaze/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/mips/ChangeLog [deleted file]
sim/testsuite/mips/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/mn10300/ChangeLog [deleted file]
sim/testsuite/mn10300/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/moxie/ChangeLog [deleted file]
sim/testsuite/moxie/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/msp430/ChangeLog [deleted file]
sim/testsuite/msp430/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/or1k/ChangeLog [deleted file]
sim/testsuite/or1k/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/pru/ChangeLog [deleted file]
sim/testsuite/pru/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/riscv/ChangeLog [deleted file]
sim/testsuite/riscv/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/sh/ChangeLog [deleted file]
sim/testsuite/sh/ChangeLog-2021 [new file with mode: 0644]
sim/testsuite/v850/ChangeLog [deleted file]
sim/testsuite/v850/ChangeLog-2021 [new file with mode: 0644]
sim/v850/ChangeLog [deleted file]
sim/v850/ChangeLog-2021 [new file with mode: 0644]

diff --git a/include/sim/ChangeLog b/include/sim/ChangeLog
deleted file mode 100644 (file)
index 21a9778..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/callback.h (struct host_callback_struct): Add ATTRIBUTE_PRINTF
-       to printf functions.
-
-2021-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/callback.h (struct host_callback_struct): Add arg5, arg6, and
-       arg7.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/callback.h (struct host_callback_struct): Add kill.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/callback.h (struct host_callback_struct): Add getpid.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/callback.h (struct host_callback_struct): Change lseek return and
-       3rd arg to int64_t.  Change truncate & ftruncate 3rd arg to int64_t.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.h: Include stdint.h.
-       (struct host_callback_struct): Change time return to int64_t.  Delete
-       2nd arg.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.h (p1, p2): Change PTR to void*.
-       (cb_host_to_target_stat): Likewise.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.h (error): Replace __attribute__ with ATTRIBUTE_NORETURN.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.h: Delete va_start define check.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.h: Moved from ../gdb/callback.h.
-       * sim.h: Moved from ../gdb/remote-sim.h.
diff --git a/include/sim/ChangeLog-2021 b/include/sim/ChangeLog-2021
new file mode 100644 (file)
index 0000000..21a9778
--- /dev/null
@@ -0,0 +1,46 @@
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/callback.h (struct host_callback_struct): Add ATTRIBUTE_PRINTF
+       to printf functions.
+
+2021-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/callback.h (struct host_callback_struct): Add arg5, arg6, and
+       arg7.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/callback.h (struct host_callback_struct): Add kill.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/callback.h (struct host_callback_struct): Add getpid.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/callback.h (struct host_callback_struct): Change lseek return and
+       3rd arg to int64_t.  Change truncate & ftruncate 3rd arg to int64_t.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h: Include stdint.h.
+       (struct host_callback_struct): Change time return to int64_t.  Delete
+       2nd arg.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h (p1, p2): Change PTR to void*.
+       (cb_host_to_target_stat): Likewise.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h (error): Replace __attribute__ with ATTRIBUTE_NORETURN.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h: Delete va_start define check.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h: Moved from ../gdb/callback.h.
+       * sim.h: Moved from ../gdb/remote-sim.h.
index abdfed08d46745375d99c29e68916aa474675dfc..0ba781c2234670d4f50de8e1fb8a7b1bceb99d23 100644 (file)
@@ -1,3 +1,5 @@
+ChangeLog
+
 /*/gentmap
 /*/run
 /*/hw-config.h
diff --git a/sim/ChangeLog b/sim/ChangeLog
deleted file mode 100644 (file)
index cae9e35..0000000
+++ /dev/null
@@ -1,1924 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_RESERVED_BITS.
-       (sim_reserved_bits): Delete.
-       * m4/sim_ac_option_reserved_bits.m4: Delete first arg.  Define
-       WITH_RESERVED_BITS.
-       * m4/sim_ac_output.m4 (sim_reserved_bits): Delete.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Remove [true] from m32r SIM_TARGET call.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Remove [true] from cris, frv, iq2000, and lm32
-       SIM_TARGET calls.  Include frv/acinclude.m4.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_SCACHE.
-       (sim_scache): Delete.
-       * m4/sim_ac_option_scache.m4: Delete first arg.  Define WITH_SCACHE.
-       * m4/sim_ac_output.m4 (sim_scache): Delete.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Remove [true] from bfin SIM_TARGET call.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (sim_default_model): Delete.
-       * m4/sim_ac_output.m4 (sim_default_model): Likewise.
-       * configure, Makefile.in: Regenerate.
-       * m4/sim_ac_option_default_model.m4: Removed.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_option_warnings.m4: Add -Wunused-but-set-parameter.
-       * configure: Regenerate.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_option_warnings.m4: Add -Wno-error=maybe-uninitialized.
-       * configure: Regenerate.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move TERMCAP and READLINE variables from
-       erc32/Makefile.in.
-       * configure.ac: Remove [true] from erc32 SIM_TARGET call.
-       * m4/sim_ac_platform.m4: Check for cygwin, termcap, and readline.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move SDL_CFLAGS & SDL_LIBS from bfin/Makefile.in.
-       * m4/sim_ac_platform.m4: Call PKG_CHECK_MODULES and export SDL_CFLAGS
-       and SDL_LIBS.
-       * m4/sim_ac_toolchain.m4: Call PKG_PROG_PKG_CONFIG.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_BUILD_TARGET): Simplify sed script.
-       * configure: Regenerate.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Update rx SIM_TARGET call.  Include rx/acinclude.m4.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (SUBDIRS): Add $(SIM_SUBDIRS).
-       * configure.ac (SIM_SUBDIRS): Define.
-       (SIM_COMMON_BUILD): New conditional.
-       (SIM_BUILD_TARGET): Update to take a 2nd arg.
-       (SIM_TARGET): Update to take a 4th arg.  Update callers.
-       (sim_bitsize, sim_float, sim_scache, sim_default_model,
-       sim_reserved_bits): Define.
-       * m4/sim_ac_output.m4 (SIM_COMMON_BUILD): New conditional.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move sim-hw settings from common/Make-common.in.
-       * configure.ac: Call SIM_AC_OPTION_HARDWARE.
-       * m4/sim_ac_option_hardware.m4: Use AM_CONDITIONAL for SIM_ENABLE_HW.
-       * m4/sim_ac_output.m4: Do not require SIM_AC_OPTION_HARDWARE.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Change SIM_AC_OPTION_HARDWARE to
-       SIM_EXTRA_HW_DEVICES.
-       * m4/sim_ac_option_hardware.m4: Remove first argument, and change
-       configure option to a boolean.  Delete device list.
-       * m4/sim_ac_output.m4: Delete sim_hw variables.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (SIM_AC_COMMON): Delete mention.
-       * m4/sim_ac_common.m4: Removed.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in (MAINT): Define.
-       * m4/sim_ac_common.m4: Delete AM_MAINTAINER_MODE call.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in (CGEN_MAINT, CGENDIR): Define.
-       * configure.ac: Call SIM_AC_OPTION_CGEN_MAINT.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (AM_CPPFLAGS): Add $(SIM_INLINE).
-       * arch-subdir.mk.in (SIM_INLINE): Define.
-       * configure.ac: Call SIM_AC_OPTION_INLINE.
-       * m4/sim_ac_common.m4: Delete SIM_AC_OPTION_INLINE call.
-       * m4/sim_ac_option_inline.m4: Output SIM_INLINE.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in (DTC): Define.
-       * m4/sim_ac_toolchain.m4: Call AC_CHECK_TOOL.
-       * configure, Makefile.in: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move intl vars from common/Make-common.in.
-       * m4/sim_ac_common.m4: Move ZW_GNU_GETTEXT_SISTER_DIR call ...
-       * m4/sim_ac_platform.m4: ... here.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move dependency vars from common/Make-common.in.
-       * configure.ac (SIM_BUILD_TARGET): New macro.
-       (SIM_TARGET): Call SIM_BUILD_TARGET.
-       (example): Change AC_CONFIG_SUBDIRS to SIM_BUILD_TARGET.
-       * m4/sim_ac_common.m4: Delete AC_PROG_CC & AC_PROG_INSTALL require,
-       and delete ZW_CREATE_DEPDIR & ZW_PROG_COMPILER_DEPENDENCIES.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in: Move toolchain vars from common/Make-common.in.
-       * m4/sim_ac_common.m4: Delete SIM_AC_TOOLCHAIN call.  Require
-       AC_PROG_CC and AC_PROG_INSTALL.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in (zlibdir): New variable.
-       (@PLUGINS_TRUE@LIBDL): New variable.
-       * m4/sim_ac_common.m4: Move bfd dep calls ...
-       * m4/sim_ac_platform.m4: ... here.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch-subdir.mk.in (COMMON_LIBS): New variable.
-       * m4/sim_ac_common.m4: Delete AC_CHECK_LIB calls.
-       * m4/sim_ac_option_hardware.m4: Likewise.
-       * m4/sim_ac_platform.m4: Call AC_CHECK_LIB.
-       * config.h.in, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (AM_CFLAGS): New variable.
-       * arch-subdir.mk.in (WARN_CFLAGS, WERROR_CFLAGS): New variables.
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * m4/sim_ac_output.m4: Delete SIM_AC_OPTION_WARNINGS require.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_option_warnings.m4: Delete 1st arg to macro.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Output arch-subdir.mk.
-       * Makefile.in, configure: Regenerate.
-       * arch-subdir.mk.in: New file.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
-       * m4/sim_ac_option_endian.m4: Delete wire & default arguments.
-       * m4/sim_ac_output.m4: Delete sim_alignment & sim_endian.
-       * aclocal.m4, Makefile.in, config.h.in, configure: Regenerate.
-
-2021-06-16  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * common/Make-common.in (COMPILE, libsim.a, run$(EXEEXT),
-       gentmap.o, gentmap): Make rules silent.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Delete AC_EXEEXT call.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Delete AC_CONFIG_HEADERS call.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_option_hardware.m4: Delete AC_DEFINE_UNQUOTED call.
-       Add -DHAVE_DV_SOCKSER to sim_hw_cflags.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call AM_SILENT_RULES.
-       * Makefile.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_platform.m4: Delete sys/select.h.
-       * config.h.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ALIGNMENT.
-       * m4/sim_ac_option_alignment.m4: Delete wire and default alignment.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Define PKGVERSION & REPORT_BUGS_TO.
-       * m4/sim_ac_common.m4: Delete calls to ACX_PKGVERSION & ACX_BUGURL.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_DEBUG, SIM_AC_OPTION_STDIO,
-       SIM_AC_OPTION_TRACE, and SIM_AC_OPTION_PROFILE.
-       * m4/sim_ac_common.m4: Delete calls to SIM_AC_OPTION_DEBUG,
-       SIM_AC_OPTION_STDIO, SIM_AC_OPTION_TRACE, and SIM_AC_OPTION_PROFILE.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Replace --enable-sim-debug, --enable-sim-stdio,
-       --enable-sim-trace, and --enable-sim-profile with calls to
-       SIM_AC_OPTION_DEBUG, SIM_AC_OPTION_STDIO, SIM_AC_OPTION_TRACE, and
-       SIM_AC_OPTION_PROFILE.
-       * m4/sim_ac_option_debug.m4: New file.
-       * m4/sim_ac_option_profile.m4: New file.
-       * m4/sim_ac_option_stdio.m4: New file.
-       * m4/sim_ac_option_trace.m4: New file.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_platform.m4: Check more headers, funcs, structs, and
-       types.
-       * config.h.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ENVIRONMENT.
-       * m4/sim_ac_common.m4: Delete call to SIM_AC_OPTION_ENVIRONMENT.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ASSERT.
-       * m4/sim_ac_common.m4: Delete call to SIM_AC_OPTION_ASSERT.
-       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call AC_CONFIG_HEADERS and SIM_AC_PLATFORM.
-       * m4/sim_ac_common.m4: Delete calls to AC_CHECK_HEADERS_ONCE,
-       AC_CHECK_FUNCS_ONCE, AC_CHECK_MEMBERS, AC_CHECK_TYPES, and
-       AC_TYPE_SIGNAL.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-       * config.h.in: New file.
-       * m4/sim_ac_platform.m4: New file.
-
-2021-06-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am: Include common/local.mk.
-       (SIM_ALL_RECURSIVE_DEPS): Define.
-       (all-recursive): New rule.
-       * Makefile.in: Regenerated.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (pkginclude_HEADERS): Define.
-       * Makefile.in: Regenerated.
-
-2021-05-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Check for __int128 type.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Update callback.h path.
-
-2021-05-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Delete mention of SIM_AC_OPTION_ENVIRONMENT.
-
-2021-05-12  Luis Machado  <luis.machado@linaro.org>
-
-       * d10v/interp.c (sim_create_inferior): Fix memset call.
-
-2021-05-07  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * Makefile.in: Rebuild.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * Makefile.in: Rebuild.
-       * Makefile.am (AM_CPPFLAGS): New variable.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_toolchain.m4 (SIM_AC_TOOLCHAIN): Define AR_FOR_BUILD and
-       RANLIB_FOR_BUILD.
-       * configure, Makefile.in: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4 (AC_CHECK_FUNCS_ONCE): Add strsignal.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (nltvals.def): Update to gennltvals.py.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_output.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_HARDWARE.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * m4/sim_ac_option_hardware.m4 (SIM_AC_OPTION_HARDWARE): Replace [$1]
-       with yes.  Delete test [$2].  Change [$3] to [$1].  Update comments.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for sys/time.h
-       or sys/times.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for make.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * m4/sim_ac_option_warnings.m4 (SIM_AC_OPTION_WARNINGS): Use
-       -Werror when probing for supported warning flags.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Change AC_CHECK_HEADERS to
-       AC_CHECK_HEADERS_ONCE, merge calls, and sort args.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE,
-       merge calls, and sort args.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Add --example-sims option.
-       * configure: Regenerate.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (check_PROGRAMS, CLEANFILES, DISTCLEANFILES): Define.
-       * Makefile.in: Regenerated.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (SIM_PRIMARY_TARGET, AM_MAKEFLAGS): Define.
-       * configure.ac: Add --enable-targets option.  Define SIM_PRIMARY_TARGET
-       and SIM_TARGET.  Rewrite case statement with SIM_TARGET calls.
-       * Makefile.in, configure: Regenerate.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am [SIM_ENABLE_IGEN]: Include igen/local.mk.
-       * configure.ac: Delete AC_CONFIG_SUBDIRS(igen) call.
-       (SIM_ENABLE_IGEN): Define.
-       * configure, Makefile.in: Regenerate.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am (ACLOCAL_AMFLAGS): Add -Im4.
-       (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
-       * configure.ac: Replace toolchain calls with SIM_AC_TOOLCHAIN.
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Replace toolchain calls
-       with SIM_AC_TOOLCHAIN.
-       * m4/sim_ac_toolchain.m4: New file.
-       * aclocal.m4, configure, Makefile.in: Regenerate.
-
-2021-03-08  Tom Tromey  <tromey@adacore.com>
-
-       * aclocal.m4, configure, Makefile.in: Rebuild.
-       * configure.ac: Use AM_MAINTAINER_MODE.
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_FILES): Delete testsuite/Makefile.
-       * Makefile.am: Include testsuite/local.mk.
-       (AUTOMAKE_OPTIONS): Add dejagnu.
-       * configure, Makefile.in: Regenerated.
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.am: New file.
-       * configure.ac: Update AC_INIT call.  Move AC_CANONICAL_SYSTEM after
-       it.  Call AM_INIT_AUTOMAKE.  Delete AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure, Makefile.in: Regenerated.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Delete CC_FOR_BUILD test.
-       Change CC_FOR_BUILD assignment.  Define CFLAGS_FOR_BUILD.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Replace AR assignment and
-       AC_SUBST(AR) with call to AC_CHECK_TOOL(AR, ar).
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Require AC_PROG_CPP.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Delete SIM_EXTRA_LIBDEPS.
-
-2021-02-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Delete SIM_EXTRA_ALL.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * m4/sim_ac_common.m4, m4/sim_ac_option_alignment.m4,
-       m4/sim_ac_option_assert.m4, m4/sim_ac_option_bitsize.m4,
-       m4/sim_ac_option_cgen_maint.m4, m4/sim_ac_option_default_model.m4,
-       m4/sim_ac_option_endian.m4, m4/sim_ac_option_environment.m4,
-       m4/sim_ac_option_float.m4, m4/sim_ac_option_hardware.m4,
-       m4/sim_ac_option_inline.m4, m4/sim_ac_option_reserved_bits.m4,
-       m4/sim_ac_option_scache.m4, m4/sim_ac_option_smp.m4,
-       m4/sim_ac_option_warnings.m4, m4/sim_ac_option_xor_endian.m4,
-       m4/sim_ac_output.m4: New files.
-
-2021-02-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.tgt: Move arch list ...
-       * configure.ac: ... here.
-       * configure: Regenerate.
-
-2021-02-19  Nelson Chu  <nelson.chu@sifive.com>
-
-       PR 27158
-       * riscv/sim-main.c (execute_i): Updated encoding macros.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.tgt: Delete call to AC_SUBST(sim_arch).
-       * configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Replace sinclude with AC_CONFIG_MACRO_DIRS in
-       configure.ac skeleton.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Replace STATE_WATCHPOINTS with CPU_PC_FETCH.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (HDEFINES): Delete AC_SUBST call.
-       * configure: Regenerate.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.tgt (sim_arch): Add entry for riscv*-*-*.
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (nltvals): Change to gennltvals.py.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Delete reference to sizeof_pc.
-
-2021-01-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * MAINTAINERS (Global Maintainers): Move myself back.
-
-2021-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call AC_PROG_CPP.
-       * configure: Regenerate.
-       * Makefile.in (abs_srcdir, srcroot, CPP): Define.
-       (nltvals): New target.
-       * README-HACKING: Change headers to nltvals.
-
-2021-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (headers): Change args to gennltvals.sh.
-       * gennltvals.sh: Rewrite from scratch.
-       * gentvals.sh: Delete.
-       * nltvals.def: Regen.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CONFIG_SUBDIRS(testsuite) call.
-       Add AC_CONFIG_FILES([Makefile testsuite/Makefile]) call.
-       Drop argument to AC_OUTPUT.
-       * configure: Regenerate.
-
-2021-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (SIM_RUN_OBJS): Delete.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * MAINTAINERS (sh64): Move to past maintainers.
-       * configure: Regenerate.
-       * configure.tgt (sh64*-*-*): Delete.
-       * sh64/: Delete.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (AC_PREREQ): Delete.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING (C Language Assumptions): Require C11 compiler.
-
-2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * configure.ac: Do not configure sim/testsuite nor sim/igen if the
-       primary target doesn't have a simulator.
-       * configure: Regenerate.
-
-2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
-           David Faust <david.faust@oracle.com>
-
-       * configure.tgt (sim_arch): Add entry for bpf-*-*.
-       * configure: Regenerate.
-       * MAINTAINERS: Add maintainer for the BPF simulator.
-
-2019-12-19  Tom Tromey  <tromey@adacore.com>
-
-       PR build/24572:
-       * Makefile.in (install-strip): New target.
-
-2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * MAINTAINERS: Add myself as PRU maintainer.
-       * configure: Regenerated.
-       * configure.tgt: Add PRU.
-
-2019-09-18  Alan Modra  <amodra@gmail.com>
-
-       * common/sim-load.c, * common/sim-utils.c, * cris/sim-if.c,
-       * erc32/func.c, * lm32/sim-if.c, * m32c/load.c, * m32c/trace.c,
-       * m68hc11/interp.c, * ppc/hw_htab.c, * ppc/hw_init.c,
-       * rl78/load.c, * rl78/trace.c, * rx/gdb-if.c, * rx/load.c,
-       * rx/trace.c: Update throughout for bfd section macro changes.
-
-2019-02-28  Joel Brobecker  <brobecker@adacore.com>
-
-       * MAINTAINERS: Move Mike Frysinger to past maintainers' section.
-
-2019-02-13  Simon Marchi  <simon.marchi@ericsson.com>
-
-       * MAINTAINERS: Add Andrew Burgess as global maintainer.
-
-2019-01-03  Pavel I. Kryukov  <kryukov@frtk.ru>
-
-       * sim-base.h: Add 'extern C' if header is compiled with C++.
-
-2018-12-06  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * common/acinclude.m4 (enable-cgen-maint): Support passing path to
-       cgen source tree.
-       * cris/configure: Regenerate.
-       * frv/configure: Regenerate.
-       * iq2000/configure: Regenerate.
-       * lm32/configure: Regenerate.
-       * m32r/configure: Regenerate.
-       * or1k/configure: Regenerate.
-       * sh64/configure: Regenerate.
-
-2018-07-20  Maciej W. Rozycki  <macro@mips.com>
-
-       * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
-       ISA maintenance.
-
-2018-07-19  DJ Delorie  <dj@redhat.com>
-
-       * MAINTAINERS (rl78, m32c, rx, v850): Remove myself as maintainer.
-
-2018-07-14  Stafford Horne  <shorne@gmail.com>
-
-       * MAINTAINERS (or1k): Add myself as or1k maintainer.
-
-2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
-
-       * All configure.ac: Remove AC_PREREQ.
-       * All configure: Re-generate.
-
-2018-01-22  Maciej W. Rozycki  <macro@mips.com>
-
-       * MAINTAINERS: Update my company e-mail address.
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * configure: Regenerated.
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * configure.tgt: Add or1k sim.
-
-2017-10-12  James Bowman  <james.bowman@ftdichip.com>
-
-       * MAINTAINERS (ft32): Add myself.
-
-2017-10-03  Jim Wilson  <wilson@tuliptree.org>
-
-       * MAINTAINERS (aarch64): Update my email address.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure.ac: Honor existing CC_FOR_BUILD in environment.
-       * configure: Regenerate.
-
-2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
-
-       * MAINTAINTERS (aarch64): Add myself.
-
-2016-12-14  Maciej W. Rozycki  <macro@imgtec.com>
-
-       * MAINTAINERS (Maintainers for particular sims): Add myself as
-       a MIPS maintainer.
-
-2016-02-03  Maciej W. Rozycki  <macro@linux-mips.org>
-
-       * MAINTAINERS (Past sim maintainers): Add Thiemo Seufer.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete sim_common check and the
-       AC_CONFIG_SUBDIRS(common) call.
-       * configure: Regenerate.
-       * configure.tgt (sim_common): Delete the variable.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore: Delete /common/cconfig.h entry.
-
-2016-01-05  Nick Clifton  <nickc@redhat.com>
-
-       * MAINTAINERS: Add myself as AArch64 sim maintainer.
-
-2015-12-09  Tristan Gingold  <gingold@adacore.com>
-
-       * aarch64/simulator.c: Remove syscall.h include.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Delete mention of tconfig.h.
-
-2015-11-24  Nick Clifton  <nickc@redhat.com>
-
-       * configure.tgt: Add aarch64 entry.
-       * configure: Regenerate.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_ARG_ENABLE(sim)): Call AS_HELP_STRING.
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Change configure.in to configure.ac.
-
-2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * arm/configure: Regenerated.
-       * avr/configure: Likewise.
-       * bfin/configure: Likewise.
-       * common/configure: Likewise.
-       * cr16/configure: Likewise.
-       * cris/configure: Likewise.
-       * d10v/configure: Likewise.
-       * erc32/configure: Likewise.
-       * frv/configure: Likewise.
-       * ft32/configure: Likewise.
-       * h8300/configure: Likewise.
-       * igen/configure: Likewise.
-       * iq2000/configure: Likewise.
-       * lm32/configure: Likewise.
-       * m32c/configure: Likewise.
-       * m32r/configure: Likewise.
-       * m68hc11/configure: Likewise.
-       * mcore/configure: Likewise.
-       * microblaze/configure: Likewise.
-       * mips/configure: Likewise.
-       * mn10300/configure: Likewise.
-       * moxie/configure: Likewise.
-       * msp430/configure: Likewise.
-       * ppc/configure: Likewise.
-       * rl78/configure: Likewise.
-       * rx/configure: Likewise.
-       * sh/configure: Likewise.
-       * sh64/configure: Likewise.
-       * v850/configure: Likewise.
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * common/Make-common.in (CSEARCH): Remove $(ZLIBINC).
-       (BFD_LIB): Remove $(ZLIB).
-       (CONFIG_LIBS): Add $(ZLIB).
-       * ppc/Makefile.in (ZLIBINC): Removed.
-       (INCLUDES): Remove $(ZLIBINC).
-       (BFD_LIB): Remove $(ZLIB).
-
-2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * arm/configure: Regenerated.
-       * avr/configure: Likewise.
-       * bfin/configure: Likewise.
-       * common/configure: Likewise.
-       * cr16/configure: Likewise.
-       * cris/configure: Likewise.
-       * d10v/configure: Likewise.
-       * erc32/configure: Likewise.
-       * frv/configure: Likewise.
-       * ft32/configure: Likewise.
-       * h8300/configure: Likewise.
-       * igen/configure: Likewise.
-       * iq2000/configure: Likewise.
-       * lm32/configure: Likewise.
-       * m32c/configure: Likewise.
-       * m32r/configure: Likewise.
-       * m68hc11/configure: Likewise.
-       * mcore/configure: Likewise.
-       * microblaze/configure: Likewise.
-       * mips/configure: Likewise.
-       * mn10300/configure: Likewise.
-       * moxie/configure: Likewise.
-       * msp430/configure: Likewise.
-       * ppc/configure: Likewise.
-       * rl78/configure: Likewise.
-       * rx/configure: Likewise.
-       * sh/configure: Likewise.
-       * sh64/configure: Likewise.
-       * v850/configure: Likewise.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac: Delete sim_testsuite check and config in testsuite.
-       * configure.tgt (sim_testsuite): Delete everywhere.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.tgt (avr*-*-*): Set sim_testsuite=yes.
-
-2015-03-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * configure.tgt: Add FT32 entry.
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore: Delete tconfig.h.
-       * README-HACKING: Change tconfig.in to tconfig.h.
-
-2014-03-12  Nick Clifton  <nickc@redhat.com>
-
-       * MAINTAINERS: Add myself as the maintainer for the MSP430.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.tgt (msp430*-*-*): Set sim_testsuite to yes.
-       * configure: Regenerate.
-
-2014-01-06  Tom Tromey  <tromey@redhat.com>
-
-       * common/cgen-trace.c: Don't use old VA_* macros.
-       * common/sim-load.c (xprintf): Likewise.
-       * common/sim-trace.c (trace_printf, debug_printf): Likewise.
-
-2014-01-06  Tom Tromey  <tromey@redhat.com>
-
-       * README-HACKING: Don't use PARAMS.
-       * arm/wrapper.c: Don't use PARAMS.
-       * bfin/sim-main.h: Don't use PARAMS.
-       * common/callback.c: Don't use PARAMS.
-       * common/cgen-trace.c: Don't use PARAMS.
-       * common/run-sim.h: Don't use PARAMS.
-       * common/run.c: Don't use PARAMS.
-       * common/sim-base.h: Don't use PARAMS.
-       * common/sim-load.c: Don't use PARAMS.
-       * common/sim-options.h: Don't use PARAMS.
-       * common/sim-trace.c: Don't use PARAMS.
-       * common/sim-trace.h: Don't use PARAMS.
-       * common/sim-utils.h: Don't use PARAMS.
-       * cr16/cr16_sim.h: Don't use PARAMS.
-       * cr16/gencode.c: Don't use PARAMS.
-       * cr16/interp.c: Don't use PARAMS.
-       * cr16/simops.c: Don't use PARAMS.
-       * d10v/d10v_sim.h: Don't use PARAMS.
-       * d10v/gencode.c: Don't use PARAMS.
-       * d10v/interp.c: Don't use PARAMS.
-       * d10v/simops.c: Don't use PARAMS.
-       * erc32/erc32.c: Don't use PARAMS.
-       * erc32/exec.c: Don't use PARAMS.
-       * erc32/float.c: Don't use PARAMS.
-       * erc32/func.c: Don't use PARAMS.
-       * erc32/sis.c: Don't use PARAMS.
-       * erc32/sis.h: Don't use PARAMS.
-       * mips/interp.c: Don't use PARAMS.
-       * mips/sim-main.h: Don't use PARAMS.
-       * sh/interp.c: Don't use PARAMS.
-       * v850/sim-main.h: Don't use PARAMS.
-       * v850/v850_sim.h: Don't use PARAMS.
-
-2013-11-07  Will Newton  <will.newton@linaro.org>
-
-       PR gdb/15508
-       * arm/wrapper.c (sim_create_inferior): Call init before
-       accessing STATE.
-
-2013-11-07  Will Newton  <will.newton@linaro.org>
-
-       PR gdb/8989
-       * arm/wrapper.c (sim_create_inferior): Avoid calling
-       bfd_get_mach with a NULL bfd.
-
-2013-06-21  Nick Clifton  <nickc@redhat.com>
-
-       * msp430: New Directory.
-       * configure.tgt: Add it.
-       * configure: Regenerate.
-
-2013-03-15  Steve Ellcey  <sellcey@mips.com>
-
-       * arm/wrapper.c (sim_complete_command): Make char arguments const.
-       * avr/interp.c (sim_complete_command): Ditto.
-       * common/sim-options.c (sim_complete_command): Ditto.
-       * cr16/interp.c (sim_complete_command): Ditto.
-       * erc32/interf.c (sim_complete_command): Ditto.
-       * m32c/gdb-if.c (sim_complete_command): Ditto.
-       * microblaze/interp.c (sim_complete_command): Ditto.
-       * ppc/sim_calls.c (sim_complete_command): Ditto.
-       * rl78/gdb-if.c (sim_complete_command): Ditto.
-       * rx/gdb-if.c (sim_complete_command): Ditto.
-       * sh/interp.c (sim_complete_command): Ditto.
-
-2013-01-01  Joel Brobecker  <brobecker@adacore.com>
-
-       Update year range in copyright notice of all files.
-
-2012-12-19  Joel Brobecker  <brobecker@adacore.com>
-
-       Update old contact info in GPL license notices.
-
-2012-12-19  Joel Brobecker  <brobecker@adacore.com>
-
-       Update the non-FSF-copyrighted files in sim to GPLv3 or later.
-
-2012-11-20  Pavel Chupin  <pavel.v.chupin@intel.com>
-
-       * common/Make-common.in: Use lt_cv_dlopen_libs under PLUGINS
-       condition.
-       * common/acinclude.m4: Define lt_cv_dlopen_libs.
-       * arm/configure: Regenerate.
-       * avr/configure: Regenerate.
-       * bfin/configure: Regenerate.
-       * common/configure: Regenerate.
-       * cr16/configure: Regenerate.
-       * cris/configure: Regenerate.
-       * d10v/configure: Regenerate.
-       * erc32/configure: Regenerate.
-       * frv/configure: Regenerate.
-       * h8300/configure: Regenerate.
-       * igen/configure: Regenerate.
-       * iq2000/configure: Regenerate.
-       * lm32/configure: Regenerate.
-       * m32c/configure: Regenerate.
-       * m32r/configure: Regenerate.
-       * m68hc11/configure: Regenerate.
-       * mcore/configure: Regenerate.
-       * microblaze/configure: Regenerate.
-       * mips/configure: Regenerate.
-       * mn10300/configure: Regenerate.
-       * moxie/configure: Regenerate.
-       * ppc/configure: Regenerate.
-       * rl78/configure: Regenerate.
-       * rx/configure: Regenerate.
-       * sh/configure: Regenerate.
-       * sh64/configure: Regenerate.
-       * testsuite/configure: Regenerate.
-       * v850/configure: Regenerate.
-
-2012-11-05  Stephane Carrez  <Stephane.Carrez@gmail.com>
-
-       * MAINTAINERS: Update my email address.
-
-2012-09-24  Steve Ellcey  <sellcey@mips.com>
-
-       * mips/basic.exp: Add mips*-mti-elf* target.
-       * configure.ac: Add mips*-mti-elf* target.
-       * configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * configure: Regenerate.
-
-2012-06-06  Michael Eager  <eager@eagercon.com>
-
-       * microblaze/interp.c (config.h): Add #include.
-
-2011-11-29  Joel Brobecker  <brobecker@adacore.com>
-
-       * MAINTAINERS (Global Maintainers): New section.  Add Mike
-       Frysinger.
-
-2011-11-28  DJ Delorie  <dj@redhat.com>
-
-       * configure.tgt: Add rl78 support.
-       * configure: Regenerate.
-       * rl78: New directory.
-       * MAINTAINERS: Add myself as RL78 maintainer.
-
-2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * MAINTAINERS: Remove Thiemo Seufer.
-
-2011-06-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.tgt (bfin-*-*): Add sim_testsuite=yes.
-       * configure: Regenerate.
-
-2011-05-04  Joseph Myers  <joseph@codesourcery.com>
-
-       * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
-       handle targets.
-       * configure: Regenerate.
-
-2011-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * MAINTAINERS: Add bfin entry.
-       * configure.tgt (bfin-*-*): Handle bfin targets.
-       * configure: Regenerate.
-
-2011-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore: Add /*/hw-config.h.
-
-2010-12-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore: New file.
-
-2010-07-28  DJ Delorie  <dj@redhat.com>
-
-       * MAINTAINERS: Add self as RX maintainer.  Sort list.
-
-2010-06-08  Nick Clifton  <nickc@redhat.com>
-
-       * reg.c (set_oszc): Use unsigned int for the mask.
-       (set_szc, set_osz, set_sz): Likewise.
-
-2010-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Target logic moved out to and included from ...
-       * configure.tgt: ... this new file.
-       * configure: Regenerated.
-
-2010-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * README-HACKING: Add more sections.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * avr/configure: Regenerate.
-       * cris/configure: Regenerate.
-       * microblaze/configure: Regenerate.
-
-2009-11-24  Joel Brobecker  <brobecker@adacore.com>
-
-       * common/aclocal.m4: Add include of ../../config/zlib.m4.
-       * common/common.m4: Use AM_ZLIB to check for zlib support.
-       * ppc/configure.ac: Likewise.
-       * arm/configure, avr/configure, common/configure, cr16/configure,
-       cris/configure, d10v/configure, erc32/configure, frv/configure,
-       h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
-       m32r/configure, m68hc11/configure, mcore/configure,
-       microblaze/configure, mips/configure, mn10300/configure,
-       moxie/configure, ppc/configure, sh/configure, sh64/configure,
-       v850/configure: Regenerate.
-
-2009-11-24  DJ Delorie  <dj@redhat.com>
-
-       * rx: New directory.
-       * configure.ac: Add entry for Renesas RX.
-       * configure: Regenerate.
-
-2009-10-16  Doug Evans  <dje@sebabeach.org>
-
-       * MAINTAINERS: Add myself as m32r maintainer.
-
-2009-10-15  Michael Egaer  <eager@eagercon.com>
-
-       * MAINTAINERS: Add self as MicroBlaze maintainer.
-
-2009-10-14  Ben Elliston  <bje@gnu.org>
-
-       * MAINTAINERS (common): Move myself to "past maintainers" section.
-
-2009-10-06  Michael Eager  <eager@eagercon.com>
-
-       * microblaze/interp.c: Add include microblaze-dis.h.
-
-2009-09-23  Michael Eager  <eager@eagercon.com>
-
-       * configure: Add microblaze-*.* (not regenerated).
-       * configure.ac: Likewise.
-       * microblaze/config.in: New.
-       * microblaze/configure: Generate.
-       * microblaze/configure.ac: New.
-       * microblaze/interp.c: New.
-       * microblaze/Makefile.in: New.
-       * microblaze/microblaze.h: New.
-       * microblaze/microblaze.isa: New.
-       * microblaze/sim-main.h: New.
-       * microblaze/sysdep.h: New.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * avr/config.in: Regenerate.
-       * avr/configure: Likewise.
-       * configure: Likewise.
-       * cris/config.in: Likewise.
-       * cris/configure: Likewise.
-
-       * configure.ac: m4_include toplevel config/override.m4.
-       * configure: Regenerate.
-       * avr/configure: Regenerate.
-       * cris/configure: Regenerate.
-
-2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in (datarootdir): New variable.
-
-2009-05-18  Jon Beniston <jon@beniston.com>
-
-       * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
-       * configure.ac: Add lm32 target.
-       * lm32: New directory.
-
-2009-05-11  Andrew Cagney  <cagney@gnu.org>
-
-       * MAINTAINERS: Orphan ppc.
-
-2009-04-30  Anthony Green  <green@moxielogic.com>
-
-       * MAINTAINERS: Add myself for the moxie port.
-       * moxie: New directory.
-       * configure.ac: Add entry for moxie.
-       * configure: Regenerate.
-
-2009-04-27  Tristan Gingold  <gingold@adacore.com>
-
-       * avr: New directory.
-       * configure.ac: Add avr.
-       * configure: Regenerated.
-
-2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
-
-       * Makefile.in: Add dummy install-pdf, html, and
-       install-html targets.
-
-2008-07-29  Nick Clifton  <nickc@redhat.com>
-
-       * common/genmloop.sh: Add new parameter: -shell to specify the
-       command interpreter to use to run the input file.  This is
-       necessary because otherwise SHELL is taken from the user's
-       environment, and not from the makefile that invoked this script
-       and the user might not be running an sh-like shell.
-       * cris/Makefile.in: Pass -shell parameter to genmloop.sh.
-       * fr30/Makefile.in: Likewise.
-       * frv/Makefile.in: Likewise.
-       * i960/Makefile.in: Likewise.
-       * iq2000/Makefile.in: Likewise.
-       * m32r/Makefile.in: Likewise.
-
-       * frv/mloop.in: Add missing start of line comment marker.
-
-2008-05-09  Olivier Hainque  <hainque@adacore.com>
-
-       * ppc/altivec.igen (vperm): Latch inputs into temporaries.
-
-2008-03-25  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * MAINTAINERS: Add myself as maintainer of cr16 port.
-
-2008-02-12  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       Add simulator for National cr16 processor.
-       * cr16: New directory.
-       * configure.ac: Add entry for National cr16.
-       * configure: Regenerate.
-
-2008-02-05  DJ Delorie  <dj@redhat.com>
-
-       * configure.ac (v850): V850 now has a testsuite.
-       * configure (v850): Likewise.
-
-2008-01-01  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       Updated copyright notices for most files.
-
-2007-12-19  DJ Delorie  <dj@redhat.com>
-
-       * frv/frv.c (frvbf_cut): Only look at the six LSBs of
-       cut_point.
-
-2007-08-24  Joel Brobecker  <brobecker@adacore.com>
-
-       Switch the license of all files explicitly copyright the FSF
-       to GPLv3.
-
-2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
-
-       * Makefile.in: Add dummy "pdf" target.
-
-2007-02-16  Thiemo Seufer  <ths@mips.com>
-
-       * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
-
-2007-01-28  Manuel Lauss  <slauss@resi.at>
-
-       * configure.ac (sh64-*-*): Change to sh64*-*-*.
-       (sh-*-*): Change to sh*-*-*.
-       * configure: Regenerated.
-
-2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       Updated copyright notices for most files.
-
-2006-12-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (autoconf-common autoheader-common): Only run
-       autoheader on subdirs with a file config.in.
-
-       * configure.ac (common): Make the default "yes" for all targets
-       with sim subdirs.
-       * configure: Regenerate.
-
-       * Makefile.in (autoconf-common autoheader-common): In documented
-       usage, say SHELL=/bin/sh.
-       (.PHONY): Add autoheader-common.
-
-       * MAINTAINERS: Add self as authorized committer for *.
-
-2006-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * MAINTAINERS: Add Dave Brolley for sh64.
-
-2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
-       * Makefile.in (FLAGS_TO_PASS): Include libdir.
-       * configure: Regenerated.
-
-2006-05-05  Andreas Schwab  <schwab@suse.de>
-
-       * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
-       * configure: Regenerate.
-
-       * Makefile.in (CFLAGS_FOR_BUILD): Define.
-       (CC_FOR_BUILD): Don't override.
-       (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.
-
-2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * MAINTAINERS: Add an "Authorized committers" section, and list
-       DJ Delorie for v850.
-
-2006-03-13  DJ Delorie  <dj@redhat.com>
-
-       * MAINTAINERS: Add self as m32c sim maintainer.
-
-2006-01-23  Jim Blandy  <jimb@redhat.com>
-
-       Add simulator for Renesas M32C and M16C.
-
-       * m32c: New directory.
-       * configure.ac: Add entry for Renesas M32C.
-       * configure: Regenerate.
-
-2005-05-26  Chris Demetriou  <cgd@netbsd.org>
-
-       * MAINTAINERS: Update my mail address, move myself to the
-       "Past maintainers" section.
-
-2005-05-17  Corinna Vinschen  <vinschen@redhat.com>
-
-       * configure.ac: Add igen to v850 build.
-       * configure: Regenerate.
-
-2005-04-29  Paul Brook  <paul@codesourcery.com>
-
-       * common/callback.c (PIPE_BUF): Provide default definition.
-       (os_lstat): Use stat if lstat is not available on the host.
-       (os_ftruncate): Return EINVAL if not available on the host.
-       (os_truncate): Ditto.
-       * common/configure.ac: Check for lstat, truncate and ftruncate.
-       * common/configure: Regenerate.
-       * common/config.in: Regenerate.
-
-2005-04-27  Paul Brook  <paul@codesourcery.com>
-
-       * common/Make-common.in: Add $(EXEEXT) to "run".
-
-2005-04-15  Corinna Vinschen  <vinschen@redhat.com>
-
-       * configure.ac: Add explicit sh64 case.
-       * configure: Regenerate.
-
-2005-03-30  Paul Brook  <paul@codesourcery.com>
-
-       * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
-
-2005-02-28  Jim Blandy  <jimb@redhat.com>
-
-       * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
-       mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
-       Regenerated, after change to common/aclocal.m4.
-
-2005-02-18  Corinna Vinschen  <vinschen@redhat.com>
-
-       * iq2000: New target subdirectory.
-       * configure.ac: Add iq2000 target.
-       * configure: Regenerate.
-
-2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
-       (realclean, install): Fail if subdir make failed.
-
-2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris: New directory, simulator for Axis Communications CRIS
-       including CRIS v32, CGEN-based.
-       * configure.ac: Add corresponding configury.
-       * configure: Regenerate.
-
-2005-01-17  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: For mips*-*-* and mn10300*-*-* configure the
-       common directory.  Remove sparc*-*-* from list.
-
-2005-01-11  Andrew Cagney  <cagney@gnu.org>
-
-       * Makefile.in (autoconf-common autoheader-common): Add --force to
-       autoconf and autoheader.
-       (autoconf-common autoheader-common)
-       (autoconf-install autoheader-install): Check for configure.ac, not
-       configure.in.
-       * configure.ac: Delete AC_CONFIG_AUX_DIR.
-       * configure: Re-generate.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Replace configure.in.  Requires autoconf 2.59 and
-       correctly calls AC_CONFIG_SUBDIRS.
-       * configure: Re-generate.
-
-2004-12-01  Andrew Cagney  <cagney@gnu.org>
-
-       * i960, h8500: Delete directory.
-
-2004-11-12  Andrew Cagney  <cagney@gnu.org>
-
-       * d30v, fr30, mn10200, z8k: Delete directory.
-
-2004-03-10  Ben Elliston  <bje@gnu.org>
-
-       * MAINTAINERS: Update my mail address.
-
-2004-01-26  Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in (mips*-*-*): Configure in testsuite.
-       * configure: Regenerate.
-
-2003-10-08  Dave Brolley  <brolley@redhat.com>
-
-       * configure.in: Move frv handling to alphabetically correct placement.
-
-2003-09-03  Andreas Schwab  <schwab@suse.de>
-
-       * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
-
-2003-08-29  Dave Brolley  <brolley@redhat.com>
-
-       * MAINTAINERS: Add myself as maintainer of the FRV port.
-
-2003-08-20  Michael Snyder  <msnyder@redhat.com>
-           Dave Brolley  <brolley@redhat.com>
-
-       * frv/: New directory, simulator for the Fujitsu FRV.
-       * configure.in: Add frv configury.
-       * configure: Regenerate.
-
-2003-08-10  Ben Elliston  <bje@wasabisystems.com>
-
-       * MAINTAINERS: Update my mail address.
-
-2003-08-09  Andrew Cagney  <cagney@redhat.com>
-
-       * MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
-       maintenance.  List igen and sh maintainers.  Mention that target
-       and global maintainers pick up the slack.
-
-2003-07-09  Michael Snyder  <msnyder@redhat.com>
-
-       * configure.in: Add testsuite to extra_subdirs for sh.
-       * configure: Regenerate.
-
-2003-01-23  Nick Clifton  <nickc@redhat.com>
-
-       * Add sh2e support:
-
-2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
-
-       * sh/gencode.c: Replace sh3e with sh2e except in fsqrt.
-
-2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
-
-       * MAINTAINERS: Update my email address.
-
-2002-07-17  Andrew Cagney  <ac131313@redhat.com>
-
-       * w65/: Delete directory.
-
-2002-07-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure.in (extra_subdirs): Mark fr30-*-* as obsolete.
-       * configure: Re-generate.
-
-2002-07-13  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure.in (extra_subdirs): Mark d30v-*-* as obsolete.
-       * configure: Re-generate.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in (autoconf-changelog autoheader-changelog): Let name,
-       id, date and host to be overriden by NAME, ID, DATE and HOST
-       respectfully.  Use ISO dates.
-
-Thu Jun  6 12:34:13 2002  Andrew Cagney  <cagney@redhat.com>
-
-       * Makefile.in (ChangeLog): New makefile variable.
-       * README-HACKING: Mention the ChangeLog makefile variable.
-
-2002-06-01  Andrew Cagney  <ac131313@redhat.com>
-
-       * tic80/: Delete directory.
-
-2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * MAINTAINERS: Update my email address.
-
-2002-03-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * MAINTAINERS: Record self as maintainer of m68hc11 simulator.
-
-2002-03-01  Frank Ch. Eigler  <fche@redhat.com>
-
-       * MAINTAINERS: Record self as a co-maintainer of just common/.
-
-2002-02-07  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * MAINTAINERS: Point to GDB files describing overall maintaince
-       and check-in procedures.
-
-2002-01-10  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * MAINTAINERS: Add myself for ARM portions.
-
-2001-10-19  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure.in: When Linux or NetBSD, enable PowerPC simulator.
-       * configure: Re-generate.
-
-2001-02-16  Ben Elliston  <bje@redhat.com>
-
-       * MAINTAINERS: Add myself for common portions.
-
-2001-01-15  Chris Demetriou  <cgd@broadcom.com>
-
-       * MAINTAINERS: Added self and Andrew for the mips sim.
-
-2000-10-25  Geoff Keating  <geoffk@cygnus.com>
-
-       * MAINTAINERS: Added self and Andrew for the ppc sim.
-
-Thu Jul 27 21:26:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From Stephane Carrez <Stephane.Carrez@worldnet.fr>:
-       * m68hc11: New directory.
-       * configure.in: Add.
-       * configure: Regenerate.
-
-Tue Jul  4 13:43:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * tic80: New directory.
-       * configure.in: Add configury.
-       * configure: Regenerate.
-
-2000-04-20  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in (extra_subdirs): Add testsuite to strongarm
-       directories.
-       * configure: Regenerate.
-
-Sat Mar  4 16:48:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * MAINTAINERS: New file.  Blank.
-
-1999-11-18  Ben Elliston  <bje@cygnus.com>
-
-       * configure.in: Require autoconf 2.13 and remove obsolete
-       invocation of AC_C_CROSS.
-       * configure: Regenerate.
-
-1999-09-29  Doug Evans  <devans@casey.cygnus.com>
-
-       * configure.in: Configure the testsuite directory for thumb.
-       * configure: Regenerate.
-
-1999-07-16  Ben Elliston  <bje@cygnus.com>
-
-       * configure.in: Configure the testsuite directory for arm.
-       * configure: Regenerate.
-
-1999-04-08  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in: Add support for MCore target.
-       * configure: Regenerate.
-
-1999-03-14  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Remove
-       RUNTEST instead of commenting out, fixes portability problem.
-
-1999-02-08  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in: Add support for StrongARM target.
-       * configure: Regenerate.
-
-1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
-
-       * configure.in: Require autoconf 2.12.1 or higher.
-
-1998-12-08  James E Wilson  <wilson@wilson-pc.cygnus.com>
-
-       * configure.in (i960-*-*): Add.
-       * configure: Rebuild.
-
-Wed Nov  4 19:11:43 1998  Dave Brolley  <brolley@cygnus.com>
-
-       * configure.in: Added case for fr30-*-*.
-       * configure: Regenerated.
-
-Fri Sep 25 10:12:19 1998  Christopher Faylor <cgf@cygnus.com>
-
-       * ppc/Makefile.in: Add EXEEXT to installed powerpc-eabi-run program
-       to allow successful operation on Windows.
-
-Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
-
-       * Makefile.in: Take RUNTEST out of FLAGS_TO_PASS so that make
-       check can be invoked recursively.
-
-Wed Apr 29 12:38:53 1998  Mark Alexander  <marka@cygnus.com>
-
-       * configure.in: Build simulator on sparclite and sparc86x targets.
-       * configure: Regenerate.
-
-Sun Apr 26 15:21:01 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * Makefile.in (autoconf-common autoheader-common): Don't pass -l
-       to autoconf and autoheader.
-
-Fri Apr 24 11:14:13 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * Makefile.in (autoconf-common autoheader-common): Pass `-l
-       ../common' to autoconf and autoheader.  Unconditionally run
-       autoconf in every subdir.
-       (autoconf-changelog autoheader-changelog): Unconditionally run
-       commands in every subdir.
-       (autoconf-install autoheader-install): Likewise.
-
-Tue Mar 24 17:12:43 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * Makefile.in:  Get SHELL from configure.
-       * (FLAGS_TO_PASS):  Pass down SHELL.
-       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
-       NT native builds.
-
-Tue Mar 24 11::18:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * configure.in (extra_subdirs): Enable igen for mn10300.
-       * configure: Re-generate.
-
-Tue Dec  2 10:10:42 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in (extra_subdirs): Add support for thumb target.
-
-       * configure (extra_subdirs): Add support for thumb target.
-
-Wed Oct  8 12:38:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (extra_subdirs): Add IGEN directory when MIPS
-       target.
-       * configure: Regenerate.
-
-Fri Sep 12 13:10:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (extra_subdirs): v850ea needs igen.
-       * configure: Re-generate.
-
-Mon Sep  1 16:48:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (testdir): When a testsuite directory, add that to
-       the list of confdirs.
-
-Tue Aug 19 11:17:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (extra_subdirs): Enable igen ready for V850.
-
-Tue Aug 26 15:14:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (w65-*-*, only_if_enabled): Set.
-       * configure: Re-generate.
-
-Mon Aug 25 16:26:53 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (sparc*-*-*, only_if_enabled): Set
-       only_if_enabled=yes.  Check only_if_enabled before enabling a
-       simulator.
-       * configure: Regenerate.
-
-Mon Aug 18 10:56:59 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in (extra_subdirs): Add v850e target.
-
-Mon Aug 18 10:56:59 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * configure.in (extra_subdirs): Add v850ea target.
-
-Fri Jul 25 11:40:47 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (sparc*-*-*): Don't build erc32.
-       * configure: Regenerate.
-
-Thu Apr 24 00:47:20 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (m32r-*-*): New target.
-       * configure: Regenerate.
-
-       * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.
-
-Mon Apr 21 22:57:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (.NOEXPORT, MAKEOVERRIDES): Moved to end, BSD make
-       thought that .NOEXPORT was the default target.
-
-Fri Apr 11 17:18:07 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (clean mostlyclean): Restore targets accidentally
-       deleted in earlier change.
-
-Thu Apr  3 12:20:32 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Makefile.in (autoheader-common, autoheader-changelog,
-       autoheader-install): Perform autoheader in addition to autoconf.
-
-Wed Apr  2 15:09:05 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (autoconf-install): New target.
-       (autoconf-changelog): Try different way to obtain user name.
-
-Wed Apr  2 14:25:52 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Makefile.in (autoconf-changelog): New target, update
-       ChangeLog for all subdirectories - normally used after
-       autoconf-common target.
-
-Wed Mar 19 14:26:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure.in (extra_subdirs): Include testsuite for d30v.
-       * configure: Regenerate.
-
-       * Makefile.in (RUNTEST, RUNTESTFLAGS): Borrow test rules from
-       ../gdb/Makefile.in
-       (check): New rules - drive the testsuite.
-
-Mon Mar  3 13:01:00 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * configure.in: Add mn10200 configure lines accidentally
-       removed.
-       * configure: Regenerated.
-
-Wed Feb 19 10:34:20 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * configure.in (extra_subdirs): Generalize common sub directory
-       into a list.
-       (extra_subdirs): For d30v add igen to the list to be built.
-
-Sun Feb 16 16:37:47 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * configure.in (d30v): New target.
-       * configure: Regenerated.
-
-Wed Feb 19 23:17:13 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * configure.in: Don't require GCC to build the mn10200
-       simulator anymore.
-       * configure: Rebuilt.
-
-Wed Feb  5 13:28:13 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in: Don't configure any subdirs if no simulator
-       is being built.  Don't use erc32 for sparc64.
-       * configure: Regenerated.
-
-Tue Feb  4 13:19:39 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (autoconf-common): New target.
-       * configure.in: Do configure common.
-       * configure: Regenerated.
-
-Thu Jan 23 13:59:52 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in:  Don't configure common anymore.  Files
-       from common are now built in the individual simualtor directories.
-       This fixes problems with the WinGDB build procedure.
-
-Mon Jan 13 13:16:42 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * configure: Enable the mn10200 simulator.
-
-Wed Nov 20 01:00:36 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (configdirs): Add common.
-       * configure: Regenerated.
-
-Fri Nov  1 08:03:30 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (powerpc*-*-linux*): Treat like the other powerpc
-       system V based targets.
-       * configure: Regenerate.
-
-Thu Oct 17 12:50:08 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (--enable-sim-powerpc): Delete.
-       (--enable-sim): Add.
-       * configure: Regenerated.
-
-Fri Oct 11 21:13:43 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * configure.in: Only build the V850 simulator if
-       we are using gcc.
-       * configure: Rebuild.
-
-Sun Sep  8 17:22:50 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Do build erc32 for DOS and Windows hosts.
-       * configure: Rebuild.
-
-Wed Sep  4 18:11:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * Makefile.in erc32/Makefile.in:  Don't set srcroot.  This should
-       be inherited from the parent.  Remove INSTALL_XFORM and
-       INSTALL_XFORM1.  Make INSTALL be set from configure.
-
-Wed Sep  4 15:49:16 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Only build the MIPS simulator if we are using
-       gcc.
-       * configure: Rebuild.
-
-Wed Aug 28 19:05:23 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * configure.in (v850-*-*): Added V850 simulator.
-
-Thu Aug  1 17:08:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * configure.in (d10v-*-*): Added D10V simulator.
-
-Wed Jun 26 12:33:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Mon Jun 24 14:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Only configure erc32 if using gcc.
-       * configure: Rebuild.
-
-Tue Jun  4 09:24:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (sim_target): Build PowerPC simulator for powerpc
-       System V.4, Solaris, and Elf targets.
-       * configure: Regenerate with autoconf 2.10.
-
-Wed May 22 12:10:49 1996  Rob Savoye  <rob@chinadoll>
-
-       * configure.in: Only built erc32 simulator on Unix hosts as it
-       uses pseudo ttys.
-       * configure: Regenerated with autoconf 2.8.
-
-Sun May 19 20:20:40 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
-
-       * erc32: Sparc simulator from the ESA.
-
-Sun Apr  7 21:00:09 1996  Fred Fish  <fnf@cygnus.com>
-
-       From: Miles Bader  <miles@gnu.ai.mit.edu>
-       * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
-       * configure: Regenerate using autoconf.
-
-Thu Feb 22 11:31:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (install): Fix typo.
-
-Wed Feb 21 11:59:57 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.7.
-
-       * Makefile.in (all): Simplify.
-       (clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
-       as in the all target.
-       (distclean, maintainer-clean, realclean): Likewise.
-       (install): Likewise.
-
-Thu Feb 15 18:37:00 1996  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (all): Remove extra '\' char from shell script.
-
-Wed Feb 14 16:43:59 1996  Mike Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (all): Avoid a for loop with zero elements, even if
-       the loop will not be executed because of an if statement.
-
-Wed Jan 31 21:48:34 1996  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (install): Add missing semicolon in "fi \".
-
-Thu Nov  9 16:10:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB): Pick up
-       defaults from configure.
-
-       * configure.in: Pick up AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB using
-       configure defaults.
-       (powerpc*-*-eabi*): Build simulator for all powerpc eabi targets
-       if either --enable-sim-powerpc is used, or the host compiler is
-       GCC.
-
-Wed Nov  8 15:46:49 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
-
-       * configure.in (mips*-*-*): Added "mips" simulator target.
-       * configure: Re-generated.
-
-Tue Oct 10 11:08:20 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (BISON): Remove macro.
-       (FLAGS_TO_PASS): Remove BISON.
-
-Sun Oct  8 04:26:27 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
-
-       * configure.in:  Explicitly `exit 0' for broken shells.
-       * configure:  Rebuilt.
-
-Fri Oct  6 12:03:27 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * common/run.c (main): Initialize the callbacks.
-
-Wed Sep 20 13:34:50 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (maintainer-clean): New synonym for realclean.
-
-Fri Aug 25 11:53:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (powerpc*-*-eabisim*): Only build the simulator if
-       the target is powerpc*-*-eabisim*, since it requires GCC to build.
-
-Mon Aug 21 17:53:48 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (powerpc{,le}-*-*): Add psim from Andrew Cagney
-       <cagney@highland.com.au>.
-       * configure: Regnerate from configure.in.
-
-Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Update all FSF addresses except those in COPYING* files.
-
-Thu Jul 20 15:17:29 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (CC_FOR_BUILD):  Define default and arrange to pass
-       submakes either default or passed in value.
-
-Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * Makefile.in (all, clean, distclean, mostlyclean, realclean,
-         install): Changed targets so that they descend all
-         subdirectories in $(SUBDIRS).
-         (*-all, *-clean, *-install): Removed targets.
-
-       * configure.in: Don't bother with target makefile fragments, they
-         are no longer needed.
-       * configure: regenerated.
-
-       * Makefile.in, configure.in: converted to autoconf.
-       * configure: New file, generated with autconf 2.4.
-
-Wed May 24 14:48:46 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * Makefile.in: Support ARM.
-       * configure.in: Ditto.
-
-Sun Jan 15 16:53:47 1995  Steve Chamberlain  <sac@splat>
-
-       * Makefile.in: Support W65.
-       * configure.in: Ditto.
-
-Sun Mar 13 09:27:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * Makefile.in: Add TAGS target.
-
-Mon Sep 13 12:47:15 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
-
-       * Makefile.in (all-z8k, install-z8k, clean-z8k, all-h8300,
-         install-h8300, clean-h8300, all-h8500, install-h8500,
-         clean-h8500, all-sh, install-sh, clean-sh): do not echo
-         recursion lines.
-
-Wed Jun 30 14:12:05 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
-
-       * Makefile.in: remove endian.h trace from h8500
-
-Sun Jun 13 13:08:58 1993  Jim Kingdon  (kingdon@cygnus.com)
-
-       * Makefile.in: Add distclean, realclean, and mostlyclean targets.
-
-Fri May 21 11:21:16 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
-
-       * Makefile.in: make all of the all-* target (except all-nothing)
-       depend on endian.h, so that if we're not building a simulator, we
-       don't built endian
-
-Fri May 21 10:55:06 1993  Ian Lance Taylor  (ian@cygnus.com)
-
-       * Makefile.in (check, installcheck): Added dummy targets.
-
-Mon May  3 21:39:43 1993  Fred Fish  (fnf@cygnus.com)
-
-       * Makefile.in (endian): Find endian.c in $(srcdir), and also
-       explicitly make it, since some makes apparently don't work with
-       VPATH and .c to executable rules (SunOS make for example).
-
-Mon May  3 08:29:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * Makefile.in (endian): Add explicit rule for broken makes.
-
-Mon Mar 15 15:47:53 1993  Ian Lance Taylor  (ian@cygnus.com)
-
-       * Makefile.in (info, install-info): New targets.
-       (DO_INSTALL): Renamed from INSTALL, which is overridden by the top
-       level Makefile.
-
-Wed Feb 10 20:12:27 1993  K. Richard Pixley  (rich@ok.cygnus.com)
-
-       * Makefile.in (endian.h): build endian.h via a temporary file so
-         that we don't leave an incomplete file lying around on
-         interrupted builds.
-         (clean): remove endian, e.h, and endian.h.
-
-Mon Feb  8 11:46:06 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * Makefile.in, configure.in: if target isn't supported, build a
-       harmless makefile.
diff --git a/sim/ChangeLog-2021 b/sim/ChangeLog-2021
new file mode 100644 (file)
index 0000000..cae9e35
--- /dev/null
@@ -0,0 +1,1924 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_RESERVED_BITS.
+       (sim_reserved_bits): Delete.
+       * m4/sim_ac_option_reserved_bits.m4: Delete first arg.  Define
+       WITH_RESERVED_BITS.
+       * m4/sim_ac_output.m4 (sim_reserved_bits): Delete.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Remove [true] from m32r SIM_TARGET call.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Remove [true] from cris, frv, iq2000, and lm32
+       SIM_TARGET calls.  Include frv/acinclude.m4.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_SCACHE.
+       (sim_scache): Delete.
+       * m4/sim_ac_option_scache.m4: Delete first arg.  Define WITH_SCACHE.
+       * m4/sim_ac_output.m4 (sim_scache): Delete.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Remove [true] from bfin SIM_TARGET call.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (sim_default_model): Delete.
+       * m4/sim_ac_output.m4 (sim_default_model): Likewise.
+       * configure, Makefile.in: Regenerate.
+       * m4/sim_ac_option_default_model.m4: Removed.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_option_warnings.m4: Add -Wunused-but-set-parameter.
+       * configure: Regenerate.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_option_warnings.m4: Add -Wno-error=maybe-uninitialized.
+       * configure: Regenerate.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move TERMCAP and READLINE variables from
+       erc32/Makefile.in.
+       * configure.ac: Remove [true] from erc32 SIM_TARGET call.
+       * m4/sim_ac_platform.m4: Check for cygwin, termcap, and readline.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move SDL_CFLAGS & SDL_LIBS from bfin/Makefile.in.
+       * m4/sim_ac_platform.m4: Call PKG_CHECK_MODULES and export SDL_CFLAGS
+       and SDL_LIBS.
+       * m4/sim_ac_toolchain.m4: Call PKG_PROG_PKG_CONFIG.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_BUILD_TARGET): Simplify sed script.
+       * configure: Regenerate.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Update rx SIM_TARGET call.  Include rx/acinclude.m4.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (SUBDIRS): Add $(SIM_SUBDIRS).
+       * configure.ac (SIM_SUBDIRS): Define.
+       (SIM_COMMON_BUILD): New conditional.
+       (SIM_BUILD_TARGET): Update to take a 2nd arg.
+       (SIM_TARGET): Update to take a 4th arg.  Update callers.
+       (sim_bitsize, sim_float, sim_scache, sim_default_model,
+       sim_reserved_bits): Define.
+       * m4/sim_ac_output.m4 (SIM_COMMON_BUILD): New conditional.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move sim-hw settings from common/Make-common.in.
+       * configure.ac: Call SIM_AC_OPTION_HARDWARE.
+       * m4/sim_ac_option_hardware.m4: Use AM_CONDITIONAL for SIM_ENABLE_HW.
+       * m4/sim_ac_output.m4: Do not require SIM_AC_OPTION_HARDWARE.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Change SIM_AC_OPTION_HARDWARE to
+       SIM_EXTRA_HW_DEVICES.
+       * m4/sim_ac_option_hardware.m4: Remove first argument, and change
+       configure option to a boolean.  Delete device list.
+       * m4/sim_ac_output.m4: Delete sim_hw variables.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (SIM_AC_COMMON): Delete mention.
+       * m4/sim_ac_common.m4: Removed.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (MAINT): Define.
+       * m4/sim_ac_common.m4: Delete AM_MAINTAINER_MODE call.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (CGEN_MAINT, CGENDIR): Define.
+       * configure.ac: Call SIM_AC_OPTION_CGEN_MAINT.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (AM_CPPFLAGS): Add $(SIM_INLINE).
+       * arch-subdir.mk.in (SIM_INLINE): Define.
+       * configure.ac: Call SIM_AC_OPTION_INLINE.
+       * m4/sim_ac_common.m4: Delete SIM_AC_OPTION_INLINE call.
+       * m4/sim_ac_option_inline.m4: Output SIM_INLINE.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (DTC): Define.
+       * m4/sim_ac_toolchain.m4: Call AC_CHECK_TOOL.
+       * configure, Makefile.in: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move intl vars from common/Make-common.in.
+       * m4/sim_ac_common.m4: Move ZW_GNU_GETTEXT_SISTER_DIR call ...
+       * m4/sim_ac_platform.m4: ... here.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move dependency vars from common/Make-common.in.
+       * configure.ac (SIM_BUILD_TARGET): New macro.
+       (SIM_TARGET): Call SIM_BUILD_TARGET.
+       (example): Change AC_CONFIG_SUBDIRS to SIM_BUILD_TARGET.
+       * m4/sim_ac_common.m4: Delete AC_PROG_CC & AC_PROG_INSTALL require,
+       and delete ZW_CREATE_DEPDIR & ZW_PROG_COMPILER_DEPENDENCIES.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in: Move toolchain vars from common/Make-common.in.
+       * m4/sim_ac_common.m4: Delete SIM_AC_TOOLCHAIN call.  Require
+       AC_PROG_CC and AC_PROG_INSTALL.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (zlibdir): New variable.
+       (@PLUGINS_TRUE@LIBDL): New variable.
+       * m4/sim_ac_common.m4: Move bfd dep calls ...
+       * m4/sim_ac_platform.m4: ... here.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (COMMON_LIBS): New variable.
+       * m4/sim_ac_common.m4: Delete AC_CHECK_LIB calls.
+       * m4/sim_ac_option_hardware.m4: Likewise.
+       * m4/sim_ac_platform.m4: Call AC_CHECK_LIB.
+       * config.h.in, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (AM_CFLAGS): New variable.
+       * arch-subdir.mk.in (WARN_CFLAGS, WERROR_CFLAGS): New variables.
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * m4/sim_ac_output.m4: Delete SIM_AC_OPTION_WARNINGS require.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_option_warnings.m4: Delete 1st arg to macro.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Output arch-subdir.mk.
+       * Makefile.in, configure: Regenerate.
+       * arch-subdir.mk.in: New file.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
+       * m4/sim_ac_option_endian.m4: Delete wire & default arguments.
+       * m4/sim_ac_output.m4: Delete sim_alignment & sim_endian.
+       * aclocal.m4, Makefile.in, config.h.in, configure: Regenerate.
+
+2021-06-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common/Make-common.in (COMPILE, libsim.a, run$(EXEEXT),
+       gentmap.o, gentmap): Make rules silent.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Delete AC_EXEEXT call.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Delete AC_CONFIG_HEADERS call.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_option_hardware.m4: Delete AC_DEFINE_UNQUOTED call.
+       Add -DHAVE_DV_SOCKSER to sim_hw_cflags.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call AM_SILENT_RULES.
+       * Makefile.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_platform.m4: Delete sys/select.h.
+       * config.h.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ALIGNMENT.
+       * m4/sim_ac_option_alignment.m4: Delete wire and default alignment.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Define PKGVERSION & REPORT_BUGS_TO.
+       * m4/sim_ac_common.m4: Delete calls to ACX_PKGVERSION & ACX_BUGURL.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_DEBUG, SIM_AC_OPTION_STDIO,
+       SIM_AC_OPTION_TRACE, and SIM_AC_OPTION_PROFILE.
+       * m4/sim_ac_common.m4: Delete calls to SIM_AC_OPTION_DEBUG,
+       SIM_AC_OPTION_STDIO, SIM_AC_OPTION_TRACE, and SIM_AC_OPTION_PROFILE.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Replace --enable-sim-debug, --enable-sim-stdio,
+       --enable-sim-trace, and --enable-sim-profile with calls to
+       SIM_AC_OPTION_DEBUG, SIM_AC_OPTION_STDIO, SIM_AC_OPTION_TRACE, and
+       SIM_AC_OPTION_PROFILE.
+       * m4/sim_ac_option_debug.m4: New file.
+       * m4/sim_ac_option_profile.m4: New file.
+       * m4/sim_ac_option_stdio.m4: New file.
+       * m4/sim_ac_option_trace.m4: New file.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_platform.m4: Check more headers, funcs, structs, and
+       types.
+       * config.h.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ENVIRONMENT.
+       * m4/sim_ac_common.m4: Delete call to SIM_AC_OPTION_ENVIRONMENT.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ASSERT.
+       * m4/sim_ac_common.m4: Delete call to SIM_AC_OPTION_ASSERT.
+       * aclocal.m4, config.h.in, configure, Makefile.in: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call AC_CONFIG_HEADERS and SIM_AC_PLATFORM.
+       * m4/sim_ac_common.m4: Delete calls to AC_CHECK_HEADERS_ONCE,
+       AC_CHECK_FUNCS_ONCE, AC_CHECK_MEMBERS, AC_CHECK_TYPES, and
+       AC_TYPE_SIGNAL.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+       * config.h.in: New file.
+       * m4/sim_ac_platform.m4: New file.
+
+2021-06-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am: Include common/local.mk.
+       (SIM_ALL_RECURSIVE_DEPS): Define.
+       (all-recursive): New rule.
+       * Makefile.in: Regenerated.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (pkginclude_HEADERS): Define.
+       * Makefile.in: Regenerated.
+
+2021-05-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Check for __int128 type.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Update callback.h path.
+
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Delete mention of SIM_AC_OPTION_ENVIRONMENT.
+
+2021-05-12  Luis Machado  <luis.machado@linaro.org>
+
+       * d10v/interp.c (sim_create_inferior): Fix memset call.
+
+2021-05-07  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * Makefile.in: Rebuild.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in: Rebuild.
+       * Makefile.am (AM_CPPFLAGS): New variable.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_toolchain.m4 (SIM_AC_TOOLCHAIN): Define AR_FOR_BUILD and
+       RANLIB_FOR_BUILD.
+       * configure, Makefile.in: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4 (AC_CHECK_FUNCS_ONCE): Add strsignal.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (nltvals.def): Update to gennltvals.py.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_output.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_HARDWARE.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * m4/sim_ac_option_hardware.m4 (SIM_AC_OPTION_HARDWARE): Replace [$1]
+       with yes.  Delete test [$2].  Change [$3] to [$1].  Update comments.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for sys/time.h
+       or sys/times.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for make.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * m4/sim_ac_option_warnings.m4 (SIM_AC_OPTION_WARNINGS): Use
+       -Werror when probing for supported warning flags.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Change AC_CHECK_HEADERS to
+       AC_CHECK_HEADERS_ONCE, merge calls, and sort args.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE,
+       merge calls, and sort args.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add --example-sims option.
+       * configure: Regenerate.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (check_PROGRAMS, CLEANFILES, DISTCLEANFILES): Define.
+       * Makefile.in: Regenerated.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (SIM_PRIMARY_TARGET, AM_MAKEFLAGS): Define.
+       * configure.ac: Add --enable-targets option.  Define SIM_PRIMARY_TARGET
+       and SIM_TARGET.  Rewrite case statement with SIM_TARGET calls.
+       * Makefile.in, configure: Regenerate.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am [SIM_ENABLE_IGEN]: Include igen/local.mk.
+       * configure.ac: Delete AC_CONFIG_SUBDIRS(igen) call.
+       (SIM_ENABLE_IGEN): Define.
+       * configure, Makefile.in: Regenerate.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am (ACLOCAL_AMFLAGS): Add -Im4.
+       (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
+       * configure.ac: Replace toolchain calls with SIM_AC_TOOLCHAIN.
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Replace toolchain calls
+       with SIM_AC_TOOLCHAIN.
+       * m4/sim_ac_toolchain.m4: New file.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2021-03-08  Tom Tromey  <tromey@adacore.com>
+
+       * aclocal.m4, configure, Makefile.in: Rebuild.
+       * configure.ac: Use AM_MAINTAINER_MODE.
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_FILES): Delete testsuite/Makefile.
+       * Makefile.am: Include testsuite/local.mk.
+       (AUTOMAKE_OPTIONS): Add dejagnu.
+       * configure, Makefile.in: Regenerated.
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.am: New file.
+       * configure.ac: Update AC_INIT call.  Move AC_CANONICAL_SYSTEM after
+       it.  Call AM_INIT_AUTOMAKE.  Delete AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure, Makefile.in: Regenerated.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Delete CC_FOR_BUILD test.
+       Change CC_FOR_BUILD assignment.  Define CFLAGS_FOR_BUILD.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Replace AR assignment and
+       AC_SUBST(AR) with call to AC_CHECK_TOOL(AR, ar).
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4 (SIM_AC_COMMON): Require AC_PROG_CPP.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Delete SIM_EXTRA_LIBDEPS.
+
+2021-02-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Delete SIM_EXTRA_ALL.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * m4/sim_ac_common.m4, m4/sim_ac_option_alignment.m4,
+       m4/sim_ac_option_assert.m4, m4/sim_ac_option_bitsize.m4,
+       m4/sim_ac_option_cgen_maint.m4, m4/sim_ac_option_default_model.m4,
+       m4/sim_ac_option_endian.m4, m4/sim_ac_option_environment.m4,
+       m4/sim_ac_option_float.m4, m4/sim_ac_option_hardware.m4,
+       m4/sim_ac_option_inline.m4, m4/sim_ac_option_reserved_bits.m4,
+       m4/sim_ac_option_scache.m4, m4/sim_ac_option_smp.m4,
+       m4/sim_ac_option_warnings.m4, m4/sim_ac_option_xor_endian.m4,
+       m4/sim_ac_output.m4: New files.
+
+2021-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt: Move arch list ...
+       * configure.ac: ... here.
+       * configure: Regenerate.
+
+2021-02-19  Nelson Chu  <nelson.chu@sifive.com>
+
+       PR 27158
+       * riscv/sim-main.c (execute_i): Updated encoding macros.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt: Delete call to AC_SUBST(sim_arch).
+       * configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Replace sinclude with AC_CONFIG_MACRO_DIRS in
+       configure.ac skeleton.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Replace STATE_WATCHPOINTS with CPU_PC_FETCH.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (HDEFINES): Delete AC_SUBST call.
+       * configure: Regenerate.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt (sim_arch): Add entry for riscv*-*-*.
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (nltvals): Change to gennltvals.py.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Delete reference to sizeof_pc.
+
+2021-01-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * MAINTAINERS (Global Maintainers): Move myself back.
+
+2021-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call AC_PROG_CPP.
+       * configure: Regenerate.
+       * Makefile.in (abs_srcdir, srcroot, CPP): Define.
+       (nltvals): New target.
+       * README-HACKING: Change headers to nltvals.
+
+2021-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (headers): Change args to gennltvals.sh.
+       * gennltvals.sh: Rewrite from scratch.
+       * gentvals.sh: Delete.
+       * nltvals.def: Regen.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CONFIG_SUBDIRS(testsuite) call.
+       Add AC_CONFIG_FILES([Makefile testsuite/Makefile]) call.
+       Drop argument to AC_OUTPUT.
+       * configure: Regenerate.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (SIM_RUN_OBJS): Delete.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * MAINTAINERS (sh64): Move to past maintainers.
+       * configure: Regenerate.
+       * configure.tgt (sh64*-*-*): Delete.
+       * sh64/: Delete.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (AC_PREREQ): Delete.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (C Language Assumptions): Require C11 compiler.
+
+2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * configure.ac: Do not configure sim/testsuite nor sim/igen if the
+       primary target doesn't have a simulator.
+       * configure: Regenerate.
+
+2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+           David Faust <david.faust@oracle.com>
+
+       * configure.tgt (sim_arch): Add entry for bpf-*-*.
+       * configure: Regenerate.
+       * MAINTAINERS: Add maintainer for the BPF simulator.
+
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24572:
+       * Makefile.in (install-strip): New target.
+
+2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * MAINTAINERS: Add myself as PRU maintainer.
+       * configure: Regenerated.
+       * configure.tgt: Add PRU.
+
+2019-09-18  Alan Modra  <amodra@gmail.com>
+
+       * common/sim-load.c, * common/sim-utils.c, * cris/sim-if.c,
+       * erc32/func.c, * lm32/sim-if.c, * m32c/load.c, * m32c/trace.c,
+       * m68hc11/interp.c, * ppc/hw_htab.c, * ppc/hw_init.c,
+       * rl78/load.c, * rl78/trace.c, * rx/gdb-if.c, * rx/load.c,
+       * rx/trace.c: Update throughout for bfd section macro changes.
+
+2019-02-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Move Mike Frysinger to past maintainers' section.
+
+2019-02-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * MAINTAINERS: Add Andrew Burgess as global maintainer.
+
+2019-01-03  Pavel I. Kryukov  <kryukov@frtk.ru>
+
+       * sim-base.h: Add 'extern C' if header is compiled with C++.
+
+2018-12-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * common/acinclude.m4 (enable-cgen-maint): Support passing path to
+       cgen source tree.
+       * cris/configure: Regenerate.
+       * frv/configure: Regenerate.
+       * iq2000/configure: Regenerate.
+       * lm32/configure: Regenerate.
+       * m32r/configure: Regenerate.
+       * or1k/configure: Regenerate.
+       * sh64/configure: Regenerate.
+
+2018-07-20  Maciej W. Rozycki  <macro@mips.com>
+
+       * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
+       ISA maintenance.
+
+2018-07-19  DJ Delorie  <dj@redhat.com>
+
+       * MAINTAINERS (rl78, m32c, rx, v850): Remove myself as maintainer.
+
+2018-07-14  Stafford Horne  <shorne@gmail.com>
+
+       * MAINTAINERS (or1k): Add myself as or1k maintainer.
+
+2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * All configure.ac: Remove AC_PREREQ.
+       * All configure: Re-generate.
+
+2018-01-22  Maciej W. Rozycki  <macro@mips.com>
+
+       * MAINTAINERS: Update my company e-mail address.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * configure: Regenerated.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * configure.tgt: Add or1k sim.
+
+2017-10-12  James Bowman  <james.bowman@ftdichip.com>
+
+       * MAINTAINERS (ft32): Add myself.
+
+2017-10-03  Jim Wilson  <wilson@tuliptree.org>
+
+       * MAINTAINERS (aarch64): Update my email address.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure.ac: Honor existing CC_FOR_BUILD in environment.
+       * configure: Regenerate.
+
+2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
+
+       * MAINTAINTERS (aarch64): Add myself.
+
+2016-12-14  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * MAINTAINERS (Maintainers for particular sims): Add myself as
+       a MIPS maintainer.
+
+2016-02-03  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * MAINTAINERS (Past sim maintainers): Add Thiemo Seufer.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete sim_common check and the
+       AC_CONFIG_SUBDIRS(common) call.
+       * configure: Regenerate.
+       * configure.tgt (sim_common): Delete the variable.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: Delete /common/cconfig.h entry.
+
+2016-01-05  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add myself as AArch64 sim maintainer.
+
+2015-12-09  Tristan Gingold  <gingold@adacore.com>
+
+       * aarch64/simulator.c: Remove syscall.h include.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Delete mention of tconfig.h.
+
+2015-11-24  Nick Clifton  <nickc@redhat.com>
+
+       * configure.tgt: Add aarch64 entry.
+       * configure: Regenerate.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_ARG_ENABLE(sim)): Call AS_HELP_STRING.
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Change configure.in to configure.ac.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * arm/configure: Regenerated.
+       * avr/configure: Likewise.
+       * bfin/configure: Likewise.
+       * common/configure: Likewise.
+       * cr16/configure: Likewise.
+       * cris/configure: Likewise.
+       * d10v/configure: Likewise.
+       * erc32/configure: Likewise.
+       * frv/configure: Likewise.
+       * ft32/configure: Likewise.
+       * h8300/configure: Likewise.
+       * igen/configure: Likewise.
+       * iq2000/configure: Likewise.
+       * lm32/configure: Likewise.
+       * m32c/configure: Likewise.
+       * m32r/configure: Likewise.
+       * m68hc11/configure: Likewise.
+       * mcore/configure: Likewise.
+       * microblaze/configure: Likewise.
+       * mips/configure: Likewise.
+       * mn10300/configure: Likewise.
+       * moxie/configure: Likewise.
+       * msp430/configure: Likewise.
+       * ppc/configure: Likewise.
+       * rl78/configure: Likewise.
+       * rx/configure: Likewise.
+       * sh/configure: Likewise.
+       * sh64/configure: Likewise.
+       * v850/configure: Likewise.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * common/Make-common.in (CSEARCH): Remove $(ZLIBINC).
+       (BFD_LIB): Remove $(ZLIB).
+       (CONFIG_LIBS): Add $(ZLIB).
+       * ppc/Makefile.in (ZLIBINC): Removed.
+       (INCLUDES): Remove $(ZLIBINC).
+       (BFD_LIB): Remove $(ZLIB).
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * arm/configure: Regenerated.
+       * avr/configure: Likewise.
+       * bfin/configure: Likewise.
+       * common/configure: Likewise.
+       * cr16/configure: Likewise.
+       * cris/configure: Likewise.
+       * d10v/configure: Likewise.
+       * erc32/configure: Likewise.
+       * frv/configure: Likewise.
+       * ft32/configure: Likewise.
+       * h8300/configure: Likewise.
+       * igen/configure: Likewise.
+       * iq2000/configure: Likewise.
+       * lm32/configure: Likewise.
+       * m32c/configure: Likewise.
+       * m32r/configure: Likewise.
+       * m68hc11/configure: Likewise.
+       * mcore/configure: Likewise.
+       * microblaze/configure: Likewise.
+       * mips/configure: Likewise.
+       * mn10300/configure: Likewise.
+       * moxie/configure: Likewise.
+       * msp430/configure: Likewise.
+       * ppc/configure: Likewise.
+       * rl78/configure: Likewise.
+       * rx/configure: Likewise.
+       * sh/configure: Likewise.
+       * sh64/configure: Likewise.
+       * v850/configure: Likewise.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac: Delete sim_testsuite check and config in testsuite.
+       * configure.tgt (sim_testsuite): Delete everywhere.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.tgt (avr*-*-*): Set sim_testsuite=yes.
+
+2015-03-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * configure.tgt: Add FT32 entry.
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: Delete tconfig.h.
+       * README-HACKING: Change tconfig.in to tconfig.h.
+
+2014-03-12  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Add myself as the maintainer for the MSP430.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt (msp430*-*-*): Set sim_testsuite to yes.
+       * configure: Regenerate.
+
+2014-01-06  Tom Tromey  <tromey@redhat.com>
+
+       * common/cgen-trace.c: Don't use old VA_* macros.
+       * common/sim-load.c (xprintf): Likewise.
+       * common/sim-trace.c (trace_printf, debug_printf): Likewise.
+
+2014-01-06  Tom Tromey  <tromey@redhat.com>
+
+       * README-HACKING: Don't use PARAMS.
+       * arm/wrapper.c: Don't use PARAMS.
+       * bfin/sim-main.h: Don't use PARAMS.
+       * common/callback.c: Don't use PARAMS.
+       * common/cgen-trace.c: Don't use PARAMS.
+       * common/run-sim.h: Don't use PARAMS.
+       * common/run.c: Don't use PARAMS.
+       * common/sim-base.h: Don't use PARAMS.
+       * common/sim-load.c: Don't use PARAMS.
+       * common/sim-options.h: Don't use PARAMS.
+       * common/sim-trace.c: Don't use PARAMS.
+       * common/sim-trace.h: Don't use PARAMS.
+       * common/sim-utils.h: Don't use PARAMS.
+       * cr16/cr16_sim.h: Don't use PARAMS.
+       * cr16/gencode.c: Don't use PARAMS.
+       * cr16/interp.c: Don't use PARAMS.
+       * cr16/simops.c: Don't use PARAMS.
+       * d10v/d10v_sim.h: Don't use PARAMS.
+       * d10v/gencode.c: Don't use PARAMS.
+       * d10v/interp.c: Don't use PARAMS.
+       * d10v/simops.c: Don't use PARAMS.
+       * erc32/erc32.c: Don't use PARAMS.
+       * erc32/exec.c: Don't use PARAMS.
+       * erc32/float.c: Don't use PARAMS.
+       * erc32/func.c: Don't use PARAMS.
+       * erc32/sis.c: Don't use PARAMS.
+       * erc32/sis.h: Don't use PARAMS.
+       * mips/interp.c: Don't use PARAMS.
+       * mips/sim-main.h: Don't use PARAMS.
+       * sh/interp.c: Don't use PARAMS.
+       * v850/sim-main.h: Don't use PARAMS.
+       * v850/v850_sim.h: Don't use PARAMS.
+
+2013-11-07  Will Newton  <will.newton@linaro.org>
+
+       PR gdb/15508
+       * arm/wrapper.c (sim_create_inferior): Call init before
+       accessing STATE.
+
+2013-11-07  Will Newton  <will.newton@linaro.org>
+
+       PR gdb/8989
+       * arm/wrapper.c (sim_create_inferior): Avoid calling
+       bfd_get_mach with a NULL bfd.
+
+2013-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * msp430: New Directory.
+       * configure.tgt: Add it.
+       * configure: Regenerate.
+
+2013-03-15  Steve Ellcey  <sellcey@mips.com>
+
+       * arm/wrapper.c (sim_complete_command): Make char arguments const.
+       * avr/interp.c (sim_complete_command): Ditto.
+       * common/sim-options.c (sim_complete_command): Ditto.
+       * cr16/interp.c (sim_complete_command): Ditto.
+       * erc32/interf.c (sim_complete_command): Ditto.
+       * m32c/gdb-if.c (sim_complete_command): Ditto.
+       * microblaze/interp.c (sim_complete_command): Ditto.
+       * ppc/sim_calls.c (sim_complete_command): Ditto.
+       * rl78/gdb-if.c (sim_complete_command): Ditto.
+       * rx/gdb-if.c (sim_complete_command): Ditto.
+       * sh/interp.c (sim_complete_command): Ditto.
+
+2013-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       Update year range in copyright notice of all files.
+
+2012-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       Update old contact info in GPL license notices.
+
+2012-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       Update the non-FSF-copyrighted files in sim to GPLv3 or later.
+
+2012-11-20  Pavel Chupin  <pavel.v.chupin@intel.com>
+
+       * common/Make-common.in: Use lt_cv_dlopen_libs under PLUGINS
+       condition.
+       * common/acinclude.m4: Define lt_cv_dlopen_libs.
+       * arm/configure: Regenerate.
+       * avr/configure: Regenerate.
+       * bfin/configure: Regenerate.
+       * common/configure: Regenerate.
+       * cr16/configure: Regenerate.
+       * cris/configure: Regenerate.
+       * d10v/configure: Regenerate.
+       * erc32/configure: Regenerate.
+       * frv/configure: Regenerate.
+       * h8300/configure: Regenerate.
+       * igen/configure: Regenerate.
+       * iq2000/configure: Regenerate.
+       * lm32/configure: Regenerate.
+       * m32c/configure: Regenerate.
+       * m32r/configure: Regenerate.
+       * m68hc11/configure: Regenerate.
+       * mcore/configure: Regenerate.
+       * microblaze/configure: Regenerate.
+       * mips/configure: Regenerate.
+       * mn10300/configure: Regenerate.
+       * moxie/configure: Regenerate.
+       * ppc/configure: Regenerate.
+       * rl78/configure: Regenerate.
+       * rx/configure: Regenerate.
+       * sh/configure: Regenerate.
+       * sh64/configure: Regenerate.
+       * testsuite/configure: Regenerate.
+       * v850/configure: Regenerate.
+
+2012-11-05  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * MAINTAINERS: Update my email address.
+
+2012-09-24  Steve Ellcey  <sellcey@mips.com>
+
+       * mips/basic.exp: Add mips*-mti-elf* target.
+       * configure.ac: Add mips*-mti-elf* target.
+       * configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure: Regenerate.
+
+2012-06-06  Michael Eager  <eager@eagercon.com>
+
+       * microblaze/interp.c (config.h): Add #include.
+
+2011-11-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS (Global Maintainers): New section.  Add Mike
+       Frysinger.
+
+2011-11-28  DJ Delorie  <dj@redhat.com>
+
+       * configure.tgt: Add rl78 support.
+       * configure: Regenerate.
+       * rl78: New directory.
+       * MAINTAINERS: Add myself as RL78 maintainer.
+
+2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * MAINTAINERS: Remove Thiemo Seufer.
+
+2011-06-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt (bfin-*-*): Add sim_testsuite=yes.
+       * configure: Regenerate.
+
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
+       handle targets.
+       * configure: Regenerate.
+
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * MAINTAINERS: Add bfin entry.
+       * configure.tgt (bfin-*-*): Handle bfin targets.
+       * configure: Regenerate.
+
+2011-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: Add /*/hw-config.h.
+
+2010-12-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: New file.
+
+2010-07-28  DJ Delorie  <dj@redhat.com>
+
+       * MAINTAINERS: Add self as RX maintainer.  Sort list.
+
+2010-06-08  Nick Clifton  <nickc@redhat.com>
+
+       * reg.c (set_oszc): Use unsigned int for the mask.
+       (set_szc, set_osz, set_sz): Likewise.
+
+2010-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Target logic moved out to and included from ...
+       * configure.tgt: ... this new file.
+       * configure: Regenerated.
+
+2010-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING: Add more sections.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * avr/configure: Regenerate.
+       * cris/configure: Regenerate.
+       * microblaze/configure: Regenerate.
+
+2009-11-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/aclocal.m4: Add include of ../../config/zlib.m4.
+       * common/common.m4: Use AM_ZLIB to check for zlib support.
+       * ppc/configure.ac: Likewise.
+       * arm/configure, avr/configure, common/configure, cr16/configure,
+       cris/configure, d10v/configure, erc32/configure, frv/configure,
+       h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
+       m32r/configure, m68hc11/configure, mcore/configure,
+       microblaze/configure, mips/configure, mn10300/configure,
+       moxie/configure, ppc/configure, sh/configure, sh64/configure,
+       v850/configure: Regenerate.
+
+2009-11-24  DJ Delorie  <dj@redhat.com>
+
+       * rx: New directory.
+       * configure.ac: Add entry for Renesas RX.
+       * configure: Regenerate.
+
+2009-10-16  Doug Evans  <dje@sebabeach.org>
+
+       * MAINTAINERS: Add myself as m32r maintainer.
+
+2009-10-15  Michael Egaer  <eager@eagercon.com>
+
+       * MAINTAINERS: Add self as MicroBlaze maintainer.
+
+2009-10-14  Ben Elliston  <bje@gnu.org>
+
+       * MAINTAINERS (common): Move myself to "past maintainers" section.
+
+2009-10-06  Michael Eager  <eager@eagercon.com>
+
+       * microblaze/interp.c: Add include microblaze-dis.h.
+
+2009-09-23  Michael Eager  <eager@eagercon.com>
+
+       * configure: Add microblaze-*.* (not regenerated).
+       * configure.ac: Likewise.
+       * microblaze/config.in: New.
+       * microblaze/configure: Generate.
+       * microblaze/configure.ac: New.
+       * microblaze/interp.c: New.
+       * microblaze/Makefile.in: New.
+       * microblaze/microblaze.h: New.
+       * microblaze/microblaze.isa: New.
+       * microblaze/sim-main.h: New.
+       * microblaze/sysdep.h: New.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * avr/config.in: Regenerate.
+       * avr/configure: Likewise.
+       * configure: Likewise.
+       * cris/config.in: Likewise.
+       * cris/configure: Likewise.
+
+       * configure.ac: m4_include toplevel config/override.m4.
+       * configure: Regenerate.
+       * avr/configure: Regenerate.
+       * cris/configure: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (datarootdir): New variable.
+
+2009-05-18  Jon Beniston <jon@beniston.com>
+
+       * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
+       * configure.ac: Add lm32 target.
+       * lm32: New directory.
+
+2009-05-11  Andrew Cagney  <cagney@gnu.org>
+
+       * MAINTAINERS: Orphan ppc.
+
+2009-04-30  Anthony Green  <green@moxielogic.com>
+
+       * MAINTAINERS: Add myself for the moxie port.
+       * moxie: New directory.
+       * configure.ac: Add entry for moxie.
+       * configure: Regenerate.
+
+2009-04-27  Tristan Gingold  <gingold@adacore.com>
+
+       * avr: New directory.
+       * configure.ac: Add avr.
+       * configure: Regenerated.
+
+2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.in: Add dummy install-pdf, html, and
+       install-html targets.
+
+2008-07-29  Nick Clifton  <nickc@redhat.com>
+
+       * common/genmloop.sh: Add new parameter: -shell to specify the
+       command interpreter to use to run the input file.  This is
+       necessary because otherwise SHELL is taken from the user's
+       environment, and not from the makefile that invoked this script
+       and the user might not be running an sh-like shell.
+       * cris/Makefile.in: Pass -shell parameter to genmloop.sh.
+       * fr30/Makefile.in: Likewise.
+       * frv/Makefile.in: Likewise.
+       * i960/Makefile.in: Likewise.
+       * iq2000/Makefile.in: Likewise.
+       * m32r/Makefile.in: Likewise.
+
+       * frv/mloop.in: Add missing start of line comment marker.
+
+2008-05-09  Olivier Hainque  <hainque@adacore.com>
+
+       * ppc/altivec.igen (vperm): Latch inputs into temporaries.
+
+2008-03-25  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * MAINTAINERS: Add myself as maintainer of cr16 port.
+
+2008-02-12  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       Add simulator for National cr16 processor.
+       * cr16: New directory.
+       * configure.ac: Add entry for National cr16.
+       * configure: Regenerate.
+
+2008-02-05  DJ Delorie  <dj@redhat.com>
+
+       * configure.ac (v850): V850 now has a testsuite.
+       * configure (v850): Likewise.
+
+2008-01-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Updated copyright notices for most files.
+
+2007-12-19  DJ Delorie  <dj@redhat.com>
+
+       * frv/frv.c (frvbf_cut): Only look at the six LSBs of
+       cut_point.
+
+2007-08-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Switch the license of all files explicitly copyright the FSF
+       to GPLv3.
+
+2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.in: Add dummy "pdf" target.
+
+2007-02-16  Thiemo Seufer  <ths@mips.com>
+
+       * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
+
+2007-01-28  Manuel Lauss  <slauss@resi.at>
+
+       * configure.ac (sh64-*-*): Change to sh64*-*-*.
+       (sh-*-*): Change to sh*-*-*.
+       * configure: Regenerated.
+
+2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Updated copyright notices for most files.
+
+2006-12-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (autoconf-common autoheader-common): Only run
+       autoheader on subdirs with a file config.in.
+
+       * configure.ac (common): Make the default "yes" for all targets
+       with sim subdirs.
+       * configure: Regenerate.
+
+       * Makefile.in (autoconf-common autoheader-common): In documented
+       usage, say SHELL=/bin/sh.
+       (.PHONY): Add autoheader-common.
+
+       * MAINTAINERS: Add self as authorized committer for *.
+
+2006-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Add Dave Brolley for sh64.
+
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
+       * Makefile.in (FLAGS_TO_PASS): Include libdir.
+       * configure: Regenerated.
+
+2006-05-05  Andreas Schwab  <schwab@suse.de>
+
+       * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
+       * configure: Regenerate.
+
+       * Makefile.in (CFLAGS_FOR_BUILD): Define.
+       (CC_FOR_BUILD): Don't override.
+       (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.
+
+2006-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Add an "Authorized committers" section, and list
+       DJ Delorie for v850.
+
+2006-03-13  DJ Delorie  <dj@redhat.com>
+
+       * MAINTAINERS: Add self as m32c sim maintainer.
+
+2006-01-23  Jim Blandy  <jimb@redhat.com>
+
+       Add simulator for Renesas M32C and M16C.
+
+       * m32c: New directory.
+       * configure.ac: Add entry for Renesas M32C.
+       * configure: Regenerate.
+
+2005-05-26  Chris Demetriou  <cgd@netbsd.org>
+
+       * MAINTAINERS: Update my mail address, move myself to the
+       "Past maintainers" section.
+
+2005-05-17  Corinna Vinschen  <vinschen@redhat.com>
+
+       * configure.ac: Add igen to v850 build.
+       * configure: Regenerate.
+
+2005-04-29  Paul Brook  <paul@codesourcery.com>
+
+       * common/callback.c (PIPE_BUF): Provide default definition.
+       (os_lstat): Use stat if lstat is not available on the host.
+       (os_ftruncate): Return EINVAL if not available on the host.
+       (os_truncate): Ditto.
+       * common/configure.ac: Check for lstat, truncate and ftruncate.
+       * common/configure: Regenerate.
+       * common/config.in: Regenerate.
+
+2005-04-27  Paul Brook  <paul@codesourcery.com>
+
+       * common/Make-common.in: Add $(EXEEXT) to "run".
+
+2005-04-15  Corinna Vinschen  <vinschen@redhat.com>
+
+       * configure.ac: Add explicit sh64 case.
+       * configure: Regenerate.
+
+2005-03-30  Paul Brook  <paul@codesourcery.com>
+
+       * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
+
+2005-02-28  Jim Blandy  <jimb@redhat.com>
+
+       * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
+       mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
+       Regenerated, after change to common/aclocal.m4.
+
+2005-02-18  Corinna Vinschen  <vinschen@redhat.com>
+
+       * iq2000: New target subdirectory.
+       * configure.ac: Add iq2000 target.
+       * configure: Regenerate.
+
+2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
+       (realclean, install): Fail if subdir make failed.
+
+2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris: New directory, simulator for Axis Communications CRIS
+       including CRIS v32, CGEN-based.
+       * configure.ac: Add corresponding configury.
+       * configure: Regenerate.
+
+2005-01-17  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: For mips*-*-* and mn10300*-*-* configure the
+       common directory.  Remove sparc*-*-* from list.
+
+2005-01-11  Andrew Cagney  <cagney@gnu.org>
+
+       * Makefile.in (autoconf-common autoheader-common): Add --force to
+       autoconf and autoheader.
+       (autoconf-common autoheader-common)
+       (autoconf-install autoheader-install): Check for configure.ac, not
+       configure.in.
+       * configure.ac: Delete AC_CONFIG_AUX_DIR.
+       * configure: Re-generate.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Replace configure.in.  Requires autoconf 2.59 and
+       correctly calls AC_CONFIG_SUBDIRS.
+       * configure: Re-generate.
+
+2004-12-01  Andrew Cagney  <cagney@gnu.org>
+
+       * i960, h8500: Delete directory.
+
+2004-11-12  Andrew Cagney  <cagney@gnu.org>
+
+       * d30v, fr30, mn10200, z8k: Delete directory.
+
+2004-03-10  Ben Elliston  <bje@gnu.org>
+
+       * MAINTAINERS: Update my mail address.
+
+2004-01-26  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (mips*-*-*): Configure in testsuite.
+       * configure: Regenerate.
+
+2003-10-08  Dave Brolley  <brolley@redhat.com>
+
+       * configure.in: Move frv handling to alphabetically correct placement.
+
+2003-09-03  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
+
+2003-08-29  Dave Brolley  <brolley@redhat.com>
+
+       * MAINTAINERS: Add myself as maintainer of the FRV port.
+
+2003-08-20  Michael Snyder  <msnyder@redhat.com>
+           Dave Brolley  <brolley@redhat.com>
+
+       * frv/: New directory, simulator for the Fujitsu FRV.
+       * configure.in: Add frv configury.
+       * configure: Regenerate.
+
+2003-08-10  Ben Elliston  <bje@wasabisystems.com>
+
+       * MAINTAINERS: Update my mail address.
+
+2003-08-09  Andrew Cagney  <cagney@redhat.com>
+
+       * MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
+       maintenance.  List igen and sh maintainers.  Mention that target
+       and global maintainers pick up the slack.
+
+2003-07-09  Michael Snyder  <msnyder@redhat.com>
+
+       * configure.in: Add testsuite to extra_subdirs for sh.
+       * configure: Regenerate.
+
+2003-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * Add sh2e support:
+
+2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * sh/gencode.c: Replace sh3e with sh2e except in fsqrt.
+
+2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
+
+       * MAINTAINERS: Update my email address.
+
+2002-07-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * w65/: Delete directory.
+
+2002-07-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (extra_subdirs): Mark fr30-*-* as obsolete.
+       * configure: Re-generate.
+
+2002-07-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (extra_subdirs): Mark d30v-*-* as obsolete.
+       * configure: Re-generate.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (autoconf-changelog autoheader-changelog): Let name,
+       id, date and host to be overriden by NAME, ID, DATE and HOST
+       respectfully.  Use ISO dates.
+
+Thu Jun  6 12:34:13 2002  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (ChangeLog): New makefile variable.
+       * README-HACKING: Mention the ChangeLog makefile variable.
+
+2002-06-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * tic80/: Delete directory.
+
+2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * MAINTAINERS: Update my email address.
+
+2002-03-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * MAINTAINERS: Record self as maintainer of m68hc11 simulator.
+
+2002-03-01  Frank Ch. Eigler  <fche@redhat.com>
+
+       * MAINTAINERS: Record self as a co-maintainer of just common/.
+
+2002-02-07  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * MAINTAINERS: Point to GDB files describing overall maintaince
+       and check-in procedures.
+
+2002-01-10  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * MAINTAINERS: Add myself for ARM portions.
+
+2001-10-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in: When Linux or NetBSD, enable PowerPC simulator.
+       * configure: Re-generate.
+
+2001-02-16  Ben Elliston  <bje@redhat.com>
+
+       * MAINTAINERS: Add myself for common portions.
+
+2001-01-15  Chris Demetriou  <cgd@broadcom.com>
+
+       * MAINTAINERS: Added self and Andrew for the mips sim.
+
+2000-10-25  Geoff Keating  <geoffk@cygnus.com>
+
+       * MAINTAINERS: Added self and Andrew for the ppc sim.
+
+Thu Jul 27 21:26:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+       * m68hc11: New directory.
+       * configure.in: Add.
+       * configure: Regenerate.
+
+Tue Jul  4 13:43:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * tic80: New directory.
+       * configure.in: Add configury.
+       * configure: Regenerate.
+
+2000-04-20  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in (extra_subdirs): Add testsuite to strongarm
+       directories.
+       * configure: Regenerate.
+
+Sat Mar  4 16:48:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: New file.  Blank.
+
+1999-11-18  Ben Elliston  <bje@cygnus.com>
+
+       * configure.in: Require autoconf 2.13 and remove obsolete
+       invocation of AC_C_CROSS.
+       * configure: Regenerate.
+
+1999-09-29  Doug Evans  <devans@casey.cygnus.com>
+
+       * configure.in: Configure the testsuite directory for thumb.
+       * configure: Regenerate.
+
+1999-07-16  Ben Elliston  <bje@cygnus.com>
+
+       * configure.in: Configure the testsuite directory for arm.
+       * configure: Regenerate.
+
+1999-04-08  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in: Add support for MCore target.
+       * configure: Regenerate.
+
+1999-03-14  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Remove
+       RUNTEST instead of commenting out, fixes portability problem.
+
+1999-02-08  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in: Add support for StrongARM target.
+       * configure: Regenerate.
+
+1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * configure.in: Require autoconf 2.12.1 or higher.
+
+1998-12-08  James E Wilson  <wilson@wilson-pc.cygnus.com>
+
+       * configure.in (i960-*-*): Add.
+       * configure: Rebuild.
+
+Wed Nov  4 19:11:43 1998  Dave Brolley  <brolley@cygnus.com>
+
+       * configure.in: Added case for fr30-*-*.
+       * configure: Regenerated.
+
+Fri Sep 25 10:12:19 1998  Christopher Faylor <cgf@cygnus.com>
+
+       * ppc/Makefile.in: Add EXEEXT to installed powerpc-eabi-run program
+       to allow successful operation on Windows.
+
+Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
+
+       * Makefile.in: Take RUNTEST out of FLAGS_TO_PASS so that make
+       check can be invoked recursively.
+
+Wed Apr 29 12:38:53 1998  Mark Alexander  <marka@cygnus.com>
+
+       * configure.in: Build simulator on sparclite and sparc86x targets.
+       * configure: Regenerate.
+
+Sun Apr 26 15:21:01 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in (autoconf-common autoheader-common): Don't pass -l
+       to autoconf and autoheader.
+
+Fri Apr 24 11:14:13 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in (autoconf-common autoheader-common): Pass `-l
+       ../common' to autoconf and autoheader.  Unconditionally run
+       autoconf in every subdir.
+       (autoconf-changelog autoheader-changelog): Unconditionally run
+       commands in every subdir.
+       (autoconf-install autoheader-install): Likewise.
+
+Tue Mar 24 17:12:43 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * Makefile.in:  Get SHELL from configure.
+       * (FLAGS_TO_PASS):  Pass down SHELL.
+       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
+       NT native builds.
+
+Tue Mar 24 11::18:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * configure.in (extra_subdirs): Enable igen for mn10300.
+       * configure: Re-generate.
+
+Tue Dec  2 10:10:42 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in (extra_subdirs): Add support for thumb target.
+
+       * configure (extra_subdirs): Add support for thumb target.
+
+Wed Oct  8 12:38:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (extra_subdirs): Add IGEN directory when MIPS
+       target.
+       * configure: Regenerate.
+
+Fri Sep 12 13:10:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (extra_subdirs): v850ea needs igen.
+       * configure: Re-generate.
+
+Mon Sep  1 16:48:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (testdir): When a testsuite directory, add that to
+       the list of confdirs.
+
+Tue Aug 19 11:17:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (extra_subdirs): Enable igen ready for V850.
+
+Tue Aug 26 15:14:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (w65-*-*, only_if_enabled): Set.
+       * configure: Re-generate.
+
+Mon Aug 25 16:26:53 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (sparc*-*-*, only_if_enabled): Set
+       only_if_enabled=yes.  Check only_if_enabled before enabling a
+       simulator.
+       * configure: Regenerate.
+
+Mon Aug 18 10:56:59 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in (extra_subdirs): Add v850e target.
+
+Mon Aug 18 10:56:59 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in (extra_subdirs): Add v850ea target.
+
+Fri Jul 25 11:40:47 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (sparc*-*-*): Don't build erc32.
+       * configure: Regenerate.
+
+Thu Apr 24 00:47:20 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (m32r-*-*): New target.
+       * configure: Regenerate.
+
+       * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.
+
+Mon Apr 21 22:57:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (.NOEXPORT, MAKEOVERRIDES): Moved to end, BSD make
+       thought that .NOEXPORT was the default target.
+
+Fri Apr 11 17:18:07 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (clean mostlyclean): Restore targets accidentally
+       deleted in earlier change.
+
+Thu Apr  3 12:20:32 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Makefile.in (autoheader-common, autoheader-changelog,
+       autoheader-install): Perform autoheader in addition to autoconf.
+
+Wed Apr  2 15:09:05 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (autoconf-install): New target.
+       (autoconf-changelog): Try different way to obtain user name.
+
+Wed Apr  2 14:25:52 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Makefile.in (autoconf-changelog): New target, update
+       ChangeLog for all subdirectories - normally used after
+       autoconf-common target.
+
+Wed Mar 19 14:26:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure.in (extra_subdirs): Include testsuite for d30v.
+       * configure: Regenerate.
+
+       * Makefile.in (RUNTEST, RUNTESTFLAGS): Borrow test rules from
+       ../gdb/Makefile.in
+       (check): New rules - drive the testsuite.
+
+Mon Mar  3 13:01:00 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in: Add mn10200 configure lines accidentally
+       removed.
+       * configure: Regenerated.
+
+Wed Feb 19 10:34:20 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * configure.in (extra_subdirs): Generalize common sub directory
+       into a list.
+       (extra_subdirs): For d30v add igen to the list to be built.
+
+Sun Feb 16 16:37:47 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * configure.in (d30v): New target.
+       * configure: Regenerated.
+
+Wed Feb 19 23:17:13 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in: Don't require GCC to build the mn10200
+       simulator anymore.
+       * configure: Rebuilt.
+
+Wed Feb  5 13:28:13 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in: Don't configure any subdirs if no simulator
+       is being built.  Don't use erc32 for sparc64.
+       * configure: Regenerated.
+
+Tue Feb  4 13:19:39 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (autoconf-common): New target.
+       * configure.in: Do configure common.
+       * configure: Regenerated.
+
+Thu Jan 23 13:59:52 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in:  Don't configure common anymore.  Files
+       from common are now built in the individual simualtor directories.
+       This fixes problems with the WinGDB build procedure.
+
+Mon Jan 13 13:16:42 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * configure: Enable the mn10200 simulator.
+
+Wed Nov 20 01:00:36 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (configdirs): Add common.
+       * configure: Regenerated.
+
+Fri Nov  1 08:03:30 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (powerpc*-*-linux*): Treat like the other powerpc
+       system V based targets.
+       * configure: Regenerate.
+
+Thu Oct 17 12:50:08 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (--enable-sim-powerpc): Delete.
+       (--enable-sim): Add.
+       * configure: Regenerated.
+
+Fri Oct 11 21:13:43 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in: Only build the V850 simulator if
+       we are using gcc.
+       * configure: Rebuild.
+
+Sun Sep  8 17:22:50 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Do build erc32 for DOS and Windows hosts.
+       * configure: Rebuild.
+
+Wed Sep  4 18:11:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Makefile.in erc32/Makefile.in:  Don't set srcroot.  This should
+       be inherited from the parent.  Remove INSTALL_XFORM and
+       INSTALL_XFORM1.  Make INSTALL be set from configure.
+
+Wed Sep  4 15:49:16 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Only build the MIPS simulator if we are using
+       gcc.
+       * configure: Rebuild.
+
+Wed Aug 28 19:05:23 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in (v850-*-*): Added V850 simulator.
+
+Thu Aug  1 17:08:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * configure.in (d10v-*-*): Added D10V simulator.
+
+Wed Jun 26 12:33:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Mon Jun 24 14:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Only configure erc32 if using gcc.
+       * configure: Rebuild.
+
+Tue Jun  4 09:24:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (sim_target): Build PowerPC simulator for powerpc
+       System V.4, Solaris, and Elf targets.
+       * configure: Regenerate with autoconf 2.10.
+
+Wed May 22 12:10:49 1996  Rob Savoye  <rob@chinadoll>
+
+       * configure.in: Only built erc32 simulator on Unix hosts as it
+       uses pseudo ttys.
+       * configure: Regenerated with autoconf 2.8.
+
+Sun May 19 20:20:40 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * erc32: Sparc simulator from the ESA.
+
+Sun Apr  7 21:00:09 1996  Fred Fish  <fnf@cygnus.com>
+
+       From: Miles Bader  <miles@gnu.ai.mit.edu>
+       * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
+       * configure: Regenerate using autoconf.
+
+Thu Feb 22 11:31:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (install): Fix typo.
+
+Wed Feb 21 11:59:57 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.7.
+
+       * Makefile.in (all): Simplify.
+       (clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
+       as in the all target.
+       (distclean, maintainer-clean, realclean): Likewise.
+       (install): Likewise.
+
+Thu Feb 15 18:37:00 1996  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (all): Remove extra '\' char from shell script.
+
+Wed Feb 14 16:43:59 1996  Mike Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (all): Avoid a for loop with zero elements, even if
+       the loop will not be executed because of an if statement.
+
+Wed Jan 31 21:48:34 1996  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (install): Add missing semicolon in "fi \".
+
+Thu Nov  9 16:10:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB): Pick up
+       defaults from configure.
+
+       * configure.in: Pick up AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB using
+       configure defaults.
+       (powerpc*-*-eabi*): Build simulator for all powerpc eabi targets
+       if either --enable-sim-powerpc is used, or the host compiler is
+       GCC.
+
+Wed Nov  8 15:46:49 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
+
+       * configure.in (mips*-*-*): Added "mips" simulator target.
+       * configure: Re-generated.
+
+Tue Oct 10 11:08:20 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (BISON): Remove macro.
+       (FLAGS_TO_PASS): Remove BISON.
+
+Sun Oct  8 04:26:27 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * configure.in:  Explicitly `exit 0' for broken shells.
+       * configure:  Rebuilt.
+
+Fri Oct  6 12:03:27 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * common/run.c (main): Initialize the callbacks.
+
+Wed Sep 20 13:34:50 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New synonym for realclean.
+
+Fri Aug 25 11:53:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (powerpc*-*-eabisim*): Only build the simulator if
+       the target is powerpc*-*-eabisim*, since it requires GCC to build.
+
+Mon Aug 21 17:53:48 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (powerpc{,le}-*-*): Add psim from Andrew Cagney
+       <cagney@highland.com.au>.
+       * configure: Regnerate from configure.in.
+
+Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Update all FSF addresses except those in COPYING* files.
+
+Thu Jul 20 15:17:29 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (CC_FOR_BUILD):  Define default and arrange to pass
+       submakes either default or passed in value.
+
+Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (all, clean, distclean, mostlyclean, realclean,
+         install): Changed targets so that they descend all
+         subdirectories in $(SUBDIRS).
+         (*-all, *-clean, *-install): Removed targets.
+
+       * configure.in: Don't bother with target makefile fragments, they
+         are no longer needed.
+       * configure: regenerated.
+
+       * Makefile.in, configure.in: converted to autoconf.
+       * configure: New file, generated with autconf 2.4.
+
+Wed May 24 14:48:46 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * Makefile.in: Support ARM.
+       * configure.in: Ditto.
+
+Sun Jan 15 16:53:47 1995  Steve Chamberlain  <sac@splat>
+
+       * Makefile.in: Support W65.
+       * configure.in: Ditto.
+
+Sun Mar 13 09:27:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in: Add TAGS target.
+
+Mon Sep 13 12:47:15 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * Makefile.in (all-z8k, install-z8k, clean-z8k, all-h8300,
+         install-h8300, clean-h8300, all-h8500, install-h8500,
+         clean-h8500, all-sh, install-sh, clean-sh): do not echo
+         recursion lines.
+
+Wed Jun 30 14:12:05 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
+
+       * Makefile.in: remove endian.h trace from h8500
+
+Sun Jun 13 13:08:58 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Makefile.in: Add distclean, realclean, and mostlyclean targets.
+
+Fri May 21 11:21:16 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in: make all of the all-* target (except all-nothing)
+       depend on endian.h, so that if we're not building a simulator, we
+       don't built endian
+
+Fri May 21 10:55:06 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (check, installcheck): Added dummy targets.
+
+Mon May  3 21:39:43 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (endian): Find endian.c in $(srcdir), and also
+       explicitly make it, since some makes apparently don't work with
+       VPATH and .c to executable rules (SunOS make for example).
+
+Mon May  3 08:29:01 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * Makefile.in (endian): Add explicit rule for broken makes.
+
+Mon Mar 15 15:47:53 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (info, install-info): New targets.
+       (DO_INSTALL): Renamed from INSTALL, which is overridden by the top
+       level Makefile.
+
+Wed Feb 10 20:12:27 1993  K. Richard Pixley  (rich@ok.cygnus.com)
+
+       * Makefile.in (endian.h): build endian.h via a temporary file so
+         that we don't leave an incomplete file lying around on
+         interrupted builds.
+         (clean): remove endian, e.h, and endian.h.
+
+Mon Feb  8 11:46:06 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * Makefile.in, configure.in: if target isn't supported, build a
+       harmless makefile.
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
deleted file mode 100644 (file)
index 81c2b87..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpustate.c: Include sim-signal.h.
-       * memory.c, simulator.c: Likewise.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpustate.c: Include defs.h.
-       * interp.c: Replace config.h include with defs.h.
-       * memory.c, simulator.c: Likewise.
-       * cpustate.h, simulator.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpustate.h: Update include path.
-       * interp.c: Likewise.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpustate.c (aarch64_set_FP_float): Change lx to PRIx64.
-       (aarch64_set_FP_double, aarch64_set_FP_long_double,
-       aarch64_set_vec_u64, aarch64_set_vec_s64): Likewise.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * simulator.c (do_fcvtzu): Change UL to ULL.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-07  Jim Wilson  <jimw@sifive.com>
-
-       PR sim/27483
-       * simulator.c (set_flags_for_add32): Compare uresult against
-       itself.  Compare sresult against itself.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-02-06  Carlo Bramini  <carlo_bramini@users.sourceforge.net>
-
-       PR sim/25318
-       * simulator.c (blr): Read destination register before calling
-       aarch64_save_LR.
-
-2019-03-28  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * cpustate.c: Add 'libiberty.h' include.
-       * interp.c: Add 'sim-assert.h' include.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-04-22  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (vec_load): Add M argument.  Rewrite to iterate over
-       registers based on structure size.
-       (LD4, LD3, LD2, LD1_2, LD1_3, LD1_4): Pass new arg to vec_load.
-       (LD1_1): Replace with call to vec_load.
-       (vec_store): Add new M argument.  Rewrite to iterate over registers
-       based on structure size.
-       (ST4, ST3, ST2, ST1_2, ST1_3, ST1_4): Pass new arg to vec_store.
-       (ST1_1): Replace with call to vec_store.
-
-2017-04-08  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_FCVTL): New.
-       (do_vec_op1): Call do_vec_FCVTL.
-
-       * simulator.c (do_scalar_FCMGE_zero, do_scalar_FCMLE_zero,
-       do_scalar_FCMGT_zero, do_scalar_FCMEQ_zero, do_scalar_FCMLT_zero): New.
-       (do_scalar_vec): Add calls to new functions.
-
-2017-03-25  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (set_flags_for_add32): Cast result to uint32_t in carry
-       flag check.
-
-2017-03-03  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (mul64hi): Shift carry left by 32.
-       (smulh): Change signum to negate.  If negate, invert result, and add
-       carry bit if low part of multiply result is zero.
-
-2017-02-25  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_SMOV_into_scalar): New.
-       (do_vec_UMOV_into_scalar): Renamed from do_vec_MOV_into_scalar.
-       Rewritten.
-       (do_vec_UMOV): Merged into do_vec_UMOV_into_scalar and deleted.
-       (do_vec_op1): Move do_vec_TRN call and do_vec_UZP call.  Add
-       do_vec_SMOV_into_scalar call.  Delete do_vec_MOV_into_scalar and
-       do_vec_UMOV calls.  Add do_vec_UMOV_into_scalar call.
-
-       * simulator.c (popcount): New.
-       (do_vec_CNT): New.
-       (do_vec_op1): Add do_vec_CNT call.
-
-2017-02-19  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_ADDV): Mov val declaration inside each case,
-       with type set to input type size.
-       (do_vec_xtl): Change bias from 3 to 4 for byte case.
-
-2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_MLA): Rewrite switch body.
-
-       * simulator.c (do_vec_bit): Change loop limits from 16 and 8 to 4 and
-       2.  Move test_false if inside loop.  Fix logic for computing result
-       stored to vd.
-
-       * simulator.c: (LDn_STn_SINGLE_LANE_AND_SIZE): New.
-       (do_vec_LDn_single, do_vec_STn_single): New.
-       (do_vec_LDnR): Add and set new nregs var.  Replace switch on nregs with
-       loop over nregs using new var n.  Add n times size to address in loop.
-       Add n to vd in loop.
-       (do_vec_load_store): Add comment for instruction bit 24.  New var
-       single to hold instruction bit 24.  Add new code to use single.  Move
-       ldnr support inside single if statements.  Fix ldnr register counts
-       inside post if statement.  Change HALT_NYI calls to HALT_UNALLOC.
-
-2017-01-23  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_compare): Add case 0x23 for CMTST.
-
-2017-01-17  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_ADDV): Call aarch64_set_vec_u64 instead of
-       aarch64_set_reg_u64.  In case 2, call HALT_UNALLOC if not full.  In
-       case 3, call HALT_UNALLOC unconditionally.
-       (do_vec_XTN): Delete shifts.  In case 2, change index from i + 4 to
-       i + 2.  Delete if on bias, change index to i + bias * X.
-
-2017-01-09  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (do_vec_UZP): Rewrite.
-
-2017-01-04  Jim Wilson  <jim.wilson@linaro.org>
-
-       * cpustate.c: Include math.h.
-       (aarch64_set_FP_float): Use signbit to check for signed zero.
-       (aarch64_set_FP_double): Likewise.
-       * simulator.c (do_vec_MOV_immediate, case 0x8): Add missing break.
-       (do_vec_mul): In all DO_VEC_WIDENING_MUL calls, make second and fourth
-       args same size as third arg.
-       (fmaxnm): Use isnan instead of fpclassify.
-       (fminnm, dmaxnm, dminnm): Likewise.
-       (do_vec_MLS): Reverse order of subtraction operands.
-       (dexSimpleFPCondSelect): Call aarch64_get_FP_double or
-       aarch64_get_FP_float to get source register contents.
-       (UINT_MIN, ULONG_MIN, FLOAT_UINT_MAX, FLOAT_UINT_MIN,
-       DOUBLE_UINT_MAX, DOUBLE_UINT_MIN, FLOAT_ULONG_MAX, FLOAT_ULONG_MIN,
-       DOUBLE_ULONG_MAX, DOUBLE_ULONG_MIN): New.
-       (do_fcvtzu): Use ULONG instead of LONG, and UINT instead of INT in
-       raise_exception calls.
-
-2016-12-21  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (set_flags_for_float_compare): Add code to handle Inf.
-       Add comment to document NaN issue.
-       (set_flags_for_double_compare): Likewise.
-
-2016-12-13  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (NEG, POS): Move before set_flags_for_add64.
-       (set_flags_for_add64): Replace with a modified copy of
-       set_flags_for_sub64.
-
-2016-12-03  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
-       (dexTestBranchImmediate): Shift high bit of pos by 5 not 4.
-
-2016-12-01  Jim Wilson  <jim.wilson@linaro.org>
-
-       * simulator.c (fsturs): Switch use of rn and st variables.
-       (fsturd, fsturq): Likewise
-
-2016-08-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include bfd.h.
-       (symcount, symtab, aarch64_get_sym_value): Delete.
-       (remove_useless_symbols): Change count type to long.
-       (aarch64_get_func): Add SIM_DESC to arg list.  Add symcount
-       and symtab local variables.
-       (sim_create_inferior): Delete storage.  Replace symbol code
-       with a call to trace_load_symbols.
-       * memory.c: Delete bfd.h, elf/internal.h, and elf/common.h
-       includes.
-       (aarch64_get_heap_start): Change aarch64_get_sym_value to
-       trace_sym_value.
-       * memory.h: Delete bfd.h include.
-       (mem_add_blk): Delete unused prototype.
-       * simulator.c (bl, blr): Pass SIM_DESC to aarch64_get_func.
-       * simulator.c (aarch64_get_func): Add SIM_DESC to arg list.
-       (aarch64_get_sym_value): Delete.
-
-2016-08-12  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c (aarch64_step): Revert pervious delta.
-       (aarch64_run): Call sim_events_tick after each
-       instruction is simulated, and if necessary call
-       sim_events_process.
-       * simulator.h: Revert previous delta.
-
-2016-08-11  Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (sim_create_inferior): Allow for being called with a
-       NULL abfd parameter.  If a bfd is provided, initialise the sim
-       with that start address.
-       * simulator.c (HALT_NYI): Just print out the numeric value of the
-       instruction when not tracing.
-       (aarch64_step): Change from static to global.
-       * simulator.h: Add a prototype for aarch64_step().
-
-2016-07-27  Alan Modra  <amodra@gmail.com>
-
-       * memory.c: Don't include libbfd.h.
-
-2016-07-21  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c (fsqrts): Use sqrtf rather than sqrt.
-
-2016-06-30  Jim Wilson  <jim.wilson@linaro.org>
-
-       * cpustate.h: Include config.h.
-       (union GRegisterValue): Add WORDS_BIGENDIAN check.  For big endian code
-       use anonymous structs to align members.
-       * simulator.c (aarch64_step): Use sim_core_read_buffer and
-       endian_le2h_4 to read instruction from pc.
-
-2016-05-06  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c (do_FMLA_by_element): New function.
-       (do_vec_op2): Call it.
-
-2016-04-27  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c: Add TRACE_DECODE statements to all emulation
-       functions.
-
-2016-03-30  Nick Clifton  <nickc@redhat.com>
-
-       * cpustate.c (aarch64_set_reg_s32): New function.
-       (aarch64_set_reg_u32): New function.
-       (aarch64_get_FP_half): Place half precision value into the correct
-       slot of the union.
-       (aarch64_set_FP_half): Likewise.
-       * cpustate.h: Add prototypes for aarch64_set_reg_s32 and
-       aarch64_set_reg_u32.
-       * memory.c (FETCH_FUNC): Cast the read value to the access type
-       before converting it to the return type.  Rename to FETCH_FUNC64.
-       (FETCH_FUNC32): New macro.  Duplicates FETCH_FUNC64 but for 32-bit
-       accesses.  Use for 32-bit memory access functions.
-       * simulator.c (ldrsb_wb): Use sign extension not zero extension.
-       (ldrb_scale_ext, ldrsh32_abs, ldrsh32_wb): Likewise.
-       (ldrsh32_scale_ext, ldrsh_abs, ldrsh64_wb): Likewise.
-       (ldrsh_scale_ext, ldrsw_abs): Likewise.
-       (ldrh32_abs): Store 32 bit value not 64-bits.
-       (ldrh32_wb, ldrh32_scale_ext): Likewise.
-       (do_vec_MOV_immediate): Fix computation of val.
-       (do_vec_MVNI): Likewise.
-       (DO_VEC_WIDENING_MUL): New macro.
-       (do_vec_mull): Use new macro.
-       (do_vec_mul): Use new macro.
-       (do_vec_MLA): Read values before writing.
-       (do_vec_xtl): Likewise.
-       (do_vec_SSHL): Select correct shift value.
-       (do_vec_USHL): Likewise.
-       (do_scalar_UCVTF): New function.
-       (do_scalar_vec): Call new function.
-       (store_pair_u64): Treat reads of SP as reads of XZR.
-
-2016-03-29  Nick Clifton  <nickc@redhat.com>
-
-       * cpustate.c: Remove space after asterisk in function parameters.
-       * decode.h (greg): Delete unused function.
-       (vreg, shift, extension, scaling, writeback, condcode): Likewise.
-       * simulator.c: Use INSTR macro in more places.
-       (HALT_NYI): Use sim_io_eprintf in place of fprintf.
-       Remove extraneous whitespace.
-
-2016-03-23  Nick Clifton  <nickc@redhat.com>
-
-       * cpustate.c (aarch64_get_FP_half): New function.  Read a vector
-       register as a half precision floating point number.
-       (aarch64_set_FP_half): New function.  Similar, but for setting
-       a half precision register.
-       (aarch64_get_thread_id): New function.  Returns the value of the
-       CPU's TPIDR register.
-       (aarch64_get_FPCR): New function.  Returns the value of the CPU's
-       floating point control register.
-       (aarch64_set_FPCR): New function.  Set the value of the CPU's FPCR
-       register.
-       * cpustate.h: Add prototypes for new functions.
-       * sim-main.h (struct _sim_cpu): Add FPCR and tpidr fields.
-       * memory.c: Use unaligned core access functions for all memory
-       reads and writes.
-       * simulator.c (HALT_NYI): Generate an error message if tracing
-       will not tell the user why the simulator is halting.
-       (HALT_UNREACHABLE): Delete.  Delete (unneeded) uses of the macro.
-       (INSTR): New time-saver macro.
-       (fldrb_abs): New function.  Loads an 8-bit value using a scaled
-       offset.
-       (fldrh_abs): New function.  Likewise for 16-bit values.
-       (do_vec_SSHL): Allow for negative shift values.
-       (do_vec_USHL): Likewise.
-       (do_vec_SHL): Correct computation of shift amount.
-       (do_vec_SSHR_USHR): Correct decision of signed vs unsigned
-       shifts and computation of shift value.
-       (clz): New function.  Counts leading zero bits.
-       (do_vec_CLZ): New function.  Implements CLZ (vector).
-       (do_vec_MOV_element): Call do_vec_CLZ.
-       (dexSimpleFPCondCompare): Implement.
-       (do_FCVT_half_to_single): New function.  Implements one of the
-       FCVT operations.
-       (do_FCVT_half_to_double): New function.  Likewise.
-       (do_FCVT_single_to_half): New function.  Likewise.
-       (do_FCVT_double_to_half): New function.  Likewise.
-       (dexSimpleFPDataProc1Source): Call new FCVT functions.
-       (do_scalar_SHL): Handle negative shifts.
-       (do_scalar_shift): Handle SSHR.
-       (do_scalar_USHL): New function.
-       (do_double_add): Simplify to just performing a double precision
-       add operation.  Move remaining code into...
-       (do_scalar_vec): ... New function.
-       (dexLoadUnsignedImmediate): Call new fldrb_abs and fldrh_abs
-       functions.
-       (system_get): Add support for TPIDR, CTR, FPCR, FPSR and CPSR
-       registers.
-       (system_set): New function.
-       (do_MSR_immediate): New function.  Stub for now.
-       (do_MSR_reg): New function.  Likewise. Partially implements MSR
-       instruction.
-       (do_SYS): New function.  Stub for now,
-       (dexSystem): Call new functions.
-
-2016-03-18  Nick Clifton  <nickc@redhat.com>
-
-       * cpustate.c: Remove spurious spaces from TRACE strings.
-       Print hex equivalents of floats and doubles.
-       Check element number against array size when accessing vector
-       registers.
-       (GET_VEC_ELEMENT): Fix off by one error checking for an invalid
-       element index.
-       (SET_VEC_ELEMENT): Likewise.
-       (GET_VEC_ELEMENT): And fix thinko using macro arguments.
-
-       * memory.c: Trace memory reads when --trace-memory is enabled.
-       Remove float and double load and store functions.
-       * memory.h (aarch64_get_mem_float): Delete prototype.
-       (aarch64_get_mem_double): Likewise.
-       (aarch64_set_mem_float): Likewise.
-       (aarch64_set_mem_double): Likewise.
-       * simulator (IS_SET): Always return either 0 or 1.
-       (IS_CLEAR): Likewise.
-       (fldrs_pcrel): Load and store floats using 32-bit memory accesses
-       and doubles using 64-bit memory accesses.
-       (fldrd_pcrel, fldrs_wb, fldrs_abs, fldrs_scale_ext): Likewise.
-       (fldrd_wb, fldrd_abs, fsturs, fsturd, fldurs, fldurd): Likewise.
-       (fstrs_abs, fstrs_wb, fstrs_scale_ext, fstrd_abs): Likewise.
-       (fstrd_wb, fstrd_scale_ext, store_pair_float): Likewise.
-       (store_pair_double, load_pair_float, load_pair_double): Likewise.
-       (do_vec_MUL_by_element): New function.
-       (do_vec_op2): Call do_vec_MUL_by_element.
-       (do_scalar_NEG): New function.
-       (do_double_add): Call do_scalar_NEG.
-
-2016-03-03  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c (set_flags_for_sub32): Correct type of signbit.
-       (CondCompare): Swap interpretation of bit 30.
-       (DO_ADDP): Delete macro.
-       (do_vec_ADDP): Copy source registers before starting to update
-       destination register.
-       (do_vec_FADDP): Likewise.
-       (do_vec_load_store): Fix computation of sizeof_operation.
-       (rbit64): Fix type of constant.
-       (aarch64_step): When displaying insn value, display all 32 bits.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Mark argv and env const.
-       (sim_open): Mark argv const.
-
-2016-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete dis-asm.h include.
-       (info, opbuf, op_printf, aarch64_print_insn, sim_dis_read): Delete.
-       (sim_create_inferior): Delete disassemble init logic.
-       (OPTION_DISAS, aarch64_option_handler, aarch64_options): Delete.
-       (sim_open): Delete sim_add_option_table call.
-       * memory.c (mem_error): Delete disas check.
-       * simulator.c: Delete dis-asm.h include.
-       (disas): Delete.
-       (HALT_UNALLOC): Replace disassembly logic with TRACE_DISASM.
-       (HALT_NYI): Likewise.
-       (handle_halt): Delete disas call.
-       (aarch64_step): Replace disas logic with TRACE_DISASM.
-       * simulator.h: Delete dis-asm.h include.
-       (aarch64_print_insn): Delete.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * simulator.c (MAX, MIN): Delete.
-       (do_vec_maxv): Change MAX to max and MIN to min.
-       (do_vec_fminmaxV): Likewise.
-
-2016-01-04  Tristan Gingold  <gingold@adacore.com>
-
-       * simulator.c: Remove syscall.h include.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_dis_read): Change private_data to application_data.
-       (sim_create_inferior): Likewise.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Update comment and argv check.
-
-2015-12-14  Nick Clifton  <nickc@redhat.com>
-
-       * simulator.c (system_get): New function.  Provides read
-       access to the dczid system register.
-       (do_mrs): New function - implements the MRS instruction.
-       (dexSystem): Call do_mrs for the MRS instruction.  Halt on
-       unimplemented system instructions.
-
-2015-11-24  Nick Clifton  <nickc@redhat.com>
-
-       * configure.ac: New configure template.
-       * aclocal.m4: Generate.
-       * config.in: Generate.
-       * configure: Generate.
-       * cpustate.c: New file - functions for accessing AArch64 registers.
-       * cpustate.h: New header.
-       * decode.h: New header.
-       * interp.c: New file - interface between GDB and simulator.
-       * Makefile.in: New makefile template.
-       * memory.c: New file - functions for simulating aarch64 memory
-       accesses.
-       * memory.h: New header.
-       * sim-main.h: New header.
-       * simulator.c: New file - aarch64 simulator functions.
-       * simulator.h: New header.
diff --git a/sim/aarch64/ChangeLog-2021 b/sim/aarch64/ChangeLog-2021
new file mode 100644 (file)
index 0000000..81c2b87
--- /dev/null
@@ -0,0 +1,666 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpustate.c: Include sim-signal.h.
+       * memory.c, simulator.c: Likewise.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpustate.c: Include defs.h.
+       * interp.c: Replace config.h include with defs.h.
+       * memory.c, simulator.c: Likewise.
+       * cpustate.h, simulator.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpustate.h: Update include path.
+       * interp.c: Likewise.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpustate.c (aarch64_set_FP_float): Change lx to PRIx64.
+       (aarch64_set_FP_double, aarch64_set_FP_long_double,
+       aarch64_set_vec_u64, aarch64_set_vec_s64): Likewise.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * simulator.c (do_fcvtzu): Change UL to ULL.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-07  Jim Wilson  <jimw@sifive.com>
+
+       PR sim/27483
+       * simulator.c (set_flags_for_add32): Compare uresult against
+       itself.  Compare sresult against itself.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-02-06  Carlo Bramini  <carlo_bramini@users.sourceforge.net>
+
+       PR sim/25318
+       * simulator.c (blr): Read destination register before calling
+       aarch64_save_LR.
+
+2019-03-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cpustate.c: Add 'libiberty.h' include.
+       * interp.c: Add 'sim-assert.h' include.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-04-22  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (vec_load): Add M argument.  Rewrite to iterate over
+       registers based on structure size.
+       (LD4, LD3, LD2, LD1_2, LD1_3, LD1_4): Pass new arg to vec_load.
+       (LD1_1): Replace with call to vec_load.
+       (vec_store): Add new M argument.  Rewrite to iterate over registers
+       based on structure size.
+       (ST4, ST3, ST2, ST1_2, ST1_3, ST1_4): Pass new arg to vec_store.
+       (ST1_1): Replace with call to vec_store.
+
+2017-04-08  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_FCVTL): New.
+       (do_vec_op1): Call do_vec_FCVTL.
+
+       * simulator.c (do_scalar_FCMGE_zero, do_scalar_FCMLE_zero,
+       do_scalar_FCMGT_zero, do_scalar_FCMEQ_zero, do_scalar_FCMLT_zero): New.
+       (do_scalar_vec): Add calls to new functions.
+
+2017-03-25  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (set_flags_for_add32): Cast result to uint32_t in carry
+       flag check.
+
+2017-03-03  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (mul64hi): Shift carry left by 32.
+       (smulh): Change signum to negate.  If negate, invert result, and add
+       carry bit if low part of multiply result is zero.
+
+2017-02-25  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_SMOV_into_scalar): New.
+       (do_vec_UMOV_into_scalar): Renamed from do_vec_MOV_into_scalar.
+       Rewritten.
+       (do_vec_UMOV): Merged into do_vec_UMOV_into_scalar and deleted.
+       (do_vec_op1): Move do_vec_TRN call and do_vec_UZP call.  Add
+       do_vec_SMOV_into_scalar call.  Delete do_vec_MOV_into_scalar and
+       do_vec_UMOV calls.  Add do_vec_UMOV_into_scalar call.
+
+       * simulator.c (popcount): New.
+       (do_vec_CNT): New.
+       (do_vec_op1): Add do_vec_CNT call.
+
+2017-02-19  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_ADDV): Mov val declaration inside each case,
+       with type set to input type size.
+       (do_vec_xtl): Change bias from 3 to 4 for byte case.
+
+2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_MLA): Rewrite switch body.
+
+       * simulator.c (do_vec_bit): Change loop limits from 16 and 8 to 4 and
+       2.  Move test_false if inside loop.  Fix logic for computing result
+       stored to vd.
+
+       * simulator.c: (LDn_STn_SINGLE_LANE_AND_SIZE): New.
+       (do_vec_LDn_single, do_vec_STn_single): New.
+       (do_vec_LDnR): Add and set new nregs var.  Replace switch on nregs with
+       loop over nregs using new var n.  Add n times size to address in loop.
+       Add n to vd in loop.
+       (do_vec_load_store): Add comment for instruction bit 24.  New var
+       single to hold instruction bit 24.  Add new code to use single.  Move
+       ldnr support inside single if statements.  Fix ldnr register counts
+       inside post if statement.  Change HALT_NYI calls to HALT_UNALLOC.
+
+2017-01-23  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_compare): Add case 0x23 for CMTST.
+
+2017-01-17  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_ADDV): Call aarch64_set_vec_u64 instead of
+       aarch64_set_reg_u64.  In case 2, call HALT_UNALLOC if not full.  In
+       case 3, call HALT_UNALLOC unconditionally.
+       (do_vec_XTN): Delete shifts.  In case 2, change index from i + 4 to
+       i + 2.  Delete if on bias, change index to i + bias * X.
+
+2017-01-09  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (do_vec_UZP): Rewrite.
+
+2017-01-04  Jim Wilson  <jim.wilson@linaro.org>
+
+       * cpustate.c: Include math.h.
+       (aarch64_set_FP_float): Use signbit to check for signed zero.
+       (aarch64_set_FP_double): Likewise.
+       * simulator.c (do_vec_MOV_immediate, case 0x8): Add missing break.
+       (do_vec_mul): In all DO_VEC_WIDENING_MUL calls, make second and fourth
+       args same size as third arg.
+       (fmaxnm): Use isnan instead of fpclassify.
+       (fminnm, dmaxnm, dminnm): Likewise.
+       (do_vec_MLS): Reverse order of subtraction operands.
+       (dexSimpleFPCondSelect): Call aarch64_get_FP_double or
+       aarch64_get_FP_float to get source register contents.
+       (UINT_MIN, ULONG_MIN, FLOAT_UINT_MAX, FLOAT_UINT_MIN,
+       DOUBLE_UINT_MAX, DOUBLE_UINT_MIN, FLOAT_ULONG_MAX, FLOAT_ULONG_MIN,
+       DOUBLE_ULONG_MAX, DOUBLE_ULONG_MIN): New.
+       (do_fcvtzu): Use ULONG instead of LONG, and UINT instead of INT in
+       raise_exception calls.
+
+2016-12-21  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (set_flags_for_float_compare): Add code to handle Inf.
+       Add comment to document NaN issue.
+       (set_flags_for_double_compare): Likewise.
+
+2016-12-13  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (NEG, POS): Move before set_flags_for_add64.
+       (set_flags_for_add64): Replace with a modified copy of
+       set_flags_for_sub64.
+
+2016-12-03  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
+       (dexTestBranchImmediate): Shift high bit of pos by 5 not 4.
+
+2016-12-01  Jim Wilson  <jim.wilson@linaro.org>
+
+       * simulator.c (fsturs): Switch use of rn and st variables.
+       (fsturd, fsturq): Likewise
+
+2016-08-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include bfd.h.
+       (symcount, symtab, aarch64_get_sym_value): Delete.
+       (remove_useless_symbols): Change count type to long.
+       (aarch64_get_func): Add SIM_DESC to arg list.  Add symcount
+       and symtab local variables.
+       (sim_create_inferior): Delete storage.  Replace symbol code
+       with a call to trace_load_symbols.
+       * memory.c: Delete bfd.h, elf/internal.h, and elf/common.h
+       includes.
+       (aarch64_get_heap_start): Change aarch64_get_sym_value to
+       trace_sym_value.
+       * memory.h: Delete bfd.h include.
+       (mem_add_blk): Delete unused prototype.
+       * simulator.c (bl, blr): Pass SIM_DESC to aarch64_get_func.
+       * simulator.c (aarch64_get_func): Add SIM_DESC to arg list.
+       (aarch64_get_sym_value): Delete.
+
+2016-08-12  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c (aarch64_step): Revert pervious delta.
+       (aarch64_run): Call sim_events_tick after each
+       instruction is simulated, and if necessary call
+       sim_events_process.
+       * simulator.h: Revert previous delta.
+
+2016-08-11  Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (sim_create_inferior): Allow for being called with a
+       NULL abfd parameter.  If a bfd is provided, initialise the sim
+       with that start address.
+       * simulator.c (HALT_NYI): Just print out the numeric value of the
+       instruction when not tracing.
+       (aarch64_step): Change from static to global.
+       * simulator.h: Add a prototype for aarch64_step().
+
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * memory.c: Don't include libbfd.h.
+
+2016-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c (fsqrts): Use sqrtf rather than sqrt.
+
+2016-06-30  Jim Wilson  <jim.wilson@linaro.org>
+
+       * cpustate.h: Include config.h.
+       (union GRegisterValue): Add WORDS_BIGENDIAN check.  For big endian code
+       use anonymous structs to align members.
+       * simulator.c (aarch64_step): Use sim_core_read_buffer and
+       endian_le2h_4 to read instruction from pc.
+
+2016-05-06  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c (do_FMLA_by_element): New function.
+       (do_vec_op2): Call it.
+
+2016-04-27  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c: Add TRACE_DECODE statements to all emulation
+       functions.
+
+2016-03-30  Nick Clifton  <nickc@redhat.com>
+
+       * cpustate.c (aarch64_set_reg_s32): New function.
+       (aarch64_set_reg_u32): New function.
+       (aarch64_get_FP_half): Place half precision value into the correct
+       slot of the union.
+       (aarch64_set_FP_half): Likewise.
+       * cpustate.h: Add prototypes for aarch64_set_reg_s32 and
+       aarch64_set_reg_u32.
+       * memory.c (FETCH_FUNC): Cast the read value to the access type
+       before converting it to the return type.  Rename to FETCH_FUNC64.
+       (FETCH_FUNC32): New macro.  Duplicates FETCH_FUNC64 but for 32-bit
+       accesses.  Use for 32-bit memory access functions.
+       * simulator.c (ldrsb_wb): Use sign extension not zero extension.
+       (ldrb_scale_ext, ldrsh32_abs, ldrsh32_wb): Likewise.
+       (ldrsh32_scale_ext, ldrsh_abs, ldrsh64_wb): Likewise.
+       (ldrsh_scale_ext, ldrsw_abs): Likewise.
+       (ldrh32_abs): Store 32 bit value not 64-bits.
+       (ldrh32_wb, ldrh32_scale_ext): Likewise.
+       (do_vec_MOV_immediate): Fix computation of val.
+       (do_vec_MVNI): Likewise.
+       (DO_VEC_WIDENING_MUL): New macro.
+       (do_vec_mull): Use new macro.
+       (do_vec_mul): Use new macro.
+       (do_vec_MLA): Read values before writing.
+       (do_vec_xtl): Likewise.
+       (do_vec_SSHL): Select correct shift value.
+       (do_vec_USHL): Likewise.
+       (do_scalar_UCVTF): New function.
+       (do_scalar_vec): Call new function.
+       (store_pair_u64): Treat reads of SP as reads of XZR.
+
+2016-03-29  Nick Clifton  <nickc@redhat.com>
+
+       * cpustate.c: Remove space after asterisk in function parameters.
+       * decode.h (greg): Delete unused function.
+       (vreg, shift, extension, scaling, writeback, condcode): Likewise.
+       * simulator.c: Use INSTR macro in more places.
+       (HALT_NYI): Use sim_io_eprintf in place of fprintf.
+       Remove extraneous whitespace.
+
+2016-03-23  Nick Clifton  <nickc@redhat.com>
+
+       * cpustate.c (aarch64_get_FP_half): New function.  Read a vector
+       register as a half precision floating point number.
+       (aarch64_set_FP_half): New function.  Similar, but for setting
+       a half precision register.
+       (aarch64_get_thread_id): New function.  Returns the value of the
+       CPU's TPIDR register.
+       (aarch64_get_FPCR): New function.  Returns the value of the CPU's
+       floating point control register.
+       (aarch64_set_FPCR): New function.  Set the value of the CPU's FPCR
+       register.
+       * cpustate.h: Add prototypes for new functions.
+       * sim-main.h (struct _sim_cpu): Add FPCR and tpidr fields.
+       * memory.c: Use unaligned core access functions for all memory
+       reads and writes.
+       * simulator.c (HALT_NYI): Generate an error message if tracing
+       will not tell the user why the simulator is halting.
+       (HALT_UNREACHABLE): Delete.  Delete (unneeded) uses of the macro.
+       (INSTR): New time-saver macro.
+       (fldrb_abs): New function.  Loads an 8-bit value using a scaled
+       offset.
+       (fldrh_abs): New function.  Likewise for 16-bit values.
+       (do_vec_SSHL): Allow for negative shift values.
+       (do_vec_USHL): Likewise.
+       (do_vec_SHL): Correct computation of shift amount.
+       (do_vec_SSHR_USHR): Correct decision of signed vs unsigned
+       shifts and computation of shift value.
+       (clz): New function.  Counts leading zero bits.
+       (do_vec_CLZ): New function.  Implements CLZ (vector).
+       (do_vec_MOV_element): Call do_vec_CLZ.
+       (dexSimpleFPCondCompare): Implement.
+       (do_FCVT_half_to_single): New function.  Implements one of the
+       FCVT operations.
+       (do_FCVT_half_to_double): New function.  Likewise.
+       (do_FCVT_single_to_half): New function.  Likewise.
+       (do_FCVT_double_to_half): New function.  Likewise.
+       (dexSimpleFPDataProc1Source): Call new FCVT functions.
+       (do_scalar_SHL): Handle negative shifts.
+       (do_scalar_shift): Handle SSHR.
+       (do_scalar_USHL): New function.
+       (do_double_add): Simplify to just performing a double precision
+       add operation.  Move remaining code into...
+       (do_scalar_vec): ... New function.
+       (dexLoadUnsignedImmediate): Call new fldrb_abs and fldrh_abs
+       functions.
+       (system_get): Add support for TPIDR, CTR, FPCR, FPSR and CPSR
+       registers.
+       (system_set): New function.
+       (do_MSR_immediate): New function.  Stub for now.
+       (do_MSR_reg): New function.  Likewise. Partially implements MSR
+       instruction.
+       (do_SYS): New function.  Stub for now,
+       (dexSystem): Call new functions.
+
+2016-03-18  Nick Clifton  <nickc@redhat.com>
+
+       * cpustate.c: Remove spurious spaces from TRACE strings.
+       Print hex equivalents of floats and doubles.
+       Check element number against array size when accessing vector
+       registers.
+       (GET_VEC_ELEMENT): Fix off by one error checking for an invalid
+       element index.
+       (SET_VEC_ELEMENT): Likewise.
+       (GET_VEC_ELEMENT): And fix thinko using macro arguments.
+
+       * memory.c: Trace memory reads when --trace-memory is enabled.
+       Remove float and double load and store functions.
+       * memory.h (aarch64_get_mem_float): Delete prototype.
+       (aarch64_get_mem_double): Likewise.
+       (aarch64_set_mem_float): Likewise.
+       (aarch64_set_mem_double): Likewise.
+       * simulator (IS_SET): Always return either 0 or 1.
+       (IS_CLEAR): Likewise.
+       (fldrs_pcrel): Load and store floats using 32-bit memory accesses
+       and doubles using 64-bit memory accesses.
+       (fldrd_pcrel, fldrs_wb, fldrs_abs, fldrs_scale_ext): Likewise.
+       (fldrd_wb, fldrd_abs, fsturs, fsturd, fldurs, fldurd): Likewise.
+       (fstrs_abs, fstrs_wb, fstrs_scale_ext, fstrd_abs): Likewise.
+       (fstrd_wb, fstrd_scale_ext, store_pair_float): Likewise.
+       (store_pair_double, load_pair_float, load_pair_double): Likewise.
+       (do_vec_MUL_by_element): New function.
+       (do_vec_op2): Call do_vec_MUL_by_element.
+       (do_scalar_NEG): New function.
+       (do_double_add): Call do_scalar_NEG.
+
+2016-03-03  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c (set_flags_for_sub32): Correct type of signbit.
+       (CondCompare): Swap interpretation of bit 30.
+       (DO_ADDP): Delete macro.
+       (do_vec_ADDP): Copy source registers before starting to update
+       destination register.
+       (do_vec_FADDP): Likewise.
+       (do_vec_load_store): Fix computation of sizeof_operation.
+       (rbit64): Fix type of constant.
+       (aarch64_step): When displaying insn value, display all 32 bits.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Mark argv and env const.
+       (sim_open): Mark argv const.
+
+2016-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete dis-asm.h include.
+       (info, opbuf, op_printf, aarch64_print_insn, sim_dis_read): Delete.
+       (sim_create_inferior): Delete disassemble init logic.
+       (OPTION_DISAS, aarch64_option_handler, aarch64_options): Delete.
+       (sim_open): Delete sim_add_option_table call.
+       * memory.c (mem_error): Delete disas check.
+       * simulator.c: Delete dis-asm.h include.
+       (disas): Delete.
+       (HALT_UNALLOC): Replace disassembly logic with TRACE_DISASM.
+       (HALT_NYI): Likewise.
+       (handle_halt): Delete disas call.
+       (aarch64_step): Replace disas logic with TRACE_DISASM.
+       * simulator.h: Delete dis-asm.h include.
+       (aarch64_print_insn): Delete.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * simulator.c (MAX, MIN): Delete.
+       (do_vec_maxv): Change MAX to max and MIN to min.
+       (do_vec_fminmaxV): Likewise.
+
+2016-01-04  Tristan Gingold  <gingold@adacore.com>
+
+       * simulator.c: Remove syscall.h include.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_dis_read): Change private_data to application_data.
+       (sim_create_inferior): Likewise.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Update comment and argv check.
+
+2015-12-14  Nick Clifton  <nickc@redhat.com>
+
+       * simulator.c (system_get): New function.  Provides read
+       access to the dczid system register.
+       (do_mrs): New function - implements the MRS instruction.
+       (dexSystem): Call do_mrs for the MRS instruction.  Halt on
+       unimplemented system instructions.
+
+2015-11-24  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac: New configure template.
+       * aclocal.m4: Generate.
+       * config.in: Generate.
+       * configure: Generate.
+       * cpustate.c: New file - functions for accessing AArch64 registers.
+       * cpustate.h: New header.
+       * decode.h: New header.
+       * interp.c: New file - interface between GDB and simulator.
+       * Makefile.in: New makefile template.
+       * memory.c: New file - functions for simulating aarch64 memory
+       accesses.
+       * memory.h: New header.
+       * sim-main.h: New header.
+       * simulator.c: New file - aarch64 simulator functions.
+       * simulator.h: New header.
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
deleted file mode 100644 (file)
index fa1d7ab..0000000
+++ /dev/null
@@ -1,2018 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * wrapper.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * armcopro.c, armemu.c, arminit.c, armsupp.c, armvirt.c, iwmmxt.c,
-       maverick.c, thumbemu.c: Include defs.h.
-       * armos.c, wrapper.c: Replace config.h include with defs.h.
-       * armdefs.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * armos.c (ARMul_OSHandleSWI): Delete 2nd arg to time callback.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * armos.c: Update include path.
-       * wrapper.c: Likewise.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * armdefs.h (ARMul_ConsolePrint): Use format attribute.
-       * wrapper.c (op_printf): Likewise.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
-       (armemu26.o, armemu32.o): Delete targets.
-       * armemu32.c: New file.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-26  Nick Clifton  <nickc@redhat.com>
-
-       PR 22790
-       * armemu.c (Handle_Store_Double): Allow 4 byte alignment when
-       running in v6 mode.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
-       POSTCOMPILE.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c: Include stdlib.h.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * iwmmxt.c: Include stdlib.h.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-12-15  Nick Clifton  <nickc@redhat.com>
-
-       * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
-
-2020-12-15  Jens Bauer <jens@plustv.dk>
-
-       * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
-       * thumbemu.c (handle_T2_insn): Likewise.
-
-2020-10-20  Dr. David Alan Gilbert  <dgilbert@redhat.com>
-
-       * armos.c (SWIread): Fix printf format.
-
-2020-08-13  Luis Machado  <luis.machado@linaro.org>
-
-       PR sim/26365
-
-       * wrapper.c (sim_target_parse_command_line): Free discarded argv
-       entries.
-       (sim_open): Use a duplicate of argv instead of the original argv.
-
-2020-01-17  Christian Biesinger  <cbiesinger@google.com>
-
-       * iwmmxt.c: Fix spelling error (seperate).
-
-2019-12-06  Luis Machado  <luis.machado@linaro.org>
-
-       * armemu.c (isize): Move this declaration ...
-       * arminit.c (isize): ... here.
-       * maverick.h: New file.
-       * wrapper.c: Include "maverick.h".
-       (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
-       comment.
-       (sim_create_inferior): Cast variables to proper type.
-       * maverick.c: Include "maverick.h".
-       (<struct maverick_regs>, <union maverick_acc_regs>): Move
-       declarations to maverick.h and update comment.
-       (DSPsc, DSPacc, DSPregs): Adjust comment.
-
-2018-01-02  Nick Clifton  <nickc@redhat.com>
-
-       PR 22663
-       * maverick.c (DSPCDP4): Add missing parameter to debug print
-       statement.
-
-2017-09-21  Yao Qi  <yao.qi@linaro.org>
-
-       * wrapper.c (print_insn): Use disassembler instead of
-       print_insn_little_arm.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * armos.c: Include libiberty.h.
-       (SWIopen): Use ARRAY_SIZE.
-       * armsupp.c: Include libiberty.h.
-       (ModeToBank): Use ARRAY_SIZE.
-       * wrapper.c (sim_target_parse_command_line): Likewise.
-
-2016-07-14  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (Multiply64): Only issue error messages about invalid
-       arguments if debugging is enabled.
-       * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_create_inferior): Mark argv and env const.
-       (sim_open): Mark argv const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_target_parse_arg_array): Replace for loop with
-       a call to countargv.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_store_register): Rename to ...
-       (arm_reg_store): ... this.
-       (sim_fetch_register): Rename to ...
-       (arm_reg_fetch): ... this.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete bag.o.
-       * armdefs.h (struct ARMul_State): Delete ErrorCode.
-       (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
-       Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
-       ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
-       HOURGLASS_RATE): Delete.
-       * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
-       * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
-       (ARMul_Abort): Delete ARMul_OSException call.
-       * armopts.h: Delete file.
-       * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
-       ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
-       BINARY, READOP, WRITEOP, FIXCRLF): Delete.
-       (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
-       tempnames.
-       (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
-       OSptr->tempnames.
-       * armrdi.c: Delete file.
-       * armvirt.c: Delete armopts.h include.
-       (ARMul_LoadInstrS): Delete HOURGLASS logic.
-       * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
-       dbg_hif.h: Delete files.
-       * dbg_rdi.h (RDP_*, RDI*): Delete defines.
-       (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
-       Dbg_MCState, getbufferproc): Delete.
-       (rdi_*): Delete Functions.
-       (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
-       (struct RDIProcVec): Delete.
-       * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
-       * wrapper.c (ARMul_Debug): Delete.
-
-2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
-       * armemu.c (handle_v6_insn): Likewise.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_close): Delete.
-
-2015-07-14  Nick Clifton  <nickc@redhat.com>
-
-       * armcopro.c: Remove extraneous whitespace.
-       * armdefs.h: Likewise.
-       * armfpe.h: Likewise.
-       * arminit.c: Likewise.
-       * armopts.h: Likewise.
-       * armos.c: Likewise.
-       * armos.h: Likewise.
-       * armrdi.c: Likewise.
-       * armsupp.c: Likewise.
-       * armvirt.c: Likewise.
-       * bag.c: Likewise.
-       * bag.h: Likewise.
-       * communicate.c: Likewise.
-       * communicate.h: Likewise.
-       * dbg_conf.h: Likewise.
-       * dbg_cp.h: Likewise.
-       * dbg_hif.h: Likewise.
-       * dbg_rdi.h: Likewise.
-       * gdbhost.c: Likewise.
-       * gdbhost.h: Likewise.
-       * iwmmxt.c: Likewise.
-       * iwmmxt.h: Likewise.
-       * kid.c: Likewise.
-       * main.c: Likewise.
-       * maverick.c: Likewise.
-       * parent.c: Likewise.
-       * thumbemu.c: Likewise.
-       * wrapper.c: Likewise.
-
-2015-07-02  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
-       (SIM_EXTRA_LIBS): Add -lm.
-
-2015-06-28  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
-       * armdefs.h (ARMdval, ARMfval): New types.
-       (ARM_VFP_reg): New union.
-       (struct ARMul_State): Add VFP_Reg and FPSCR fields.
-       (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
-       macros for the new VFP_Reg field.
-       * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
-       QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
-       USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
-       instructions.
-       (handle_VFP_move): New function.
-       (ARMul_Emulate16): Add checks for newly supported v6
-       instructions.  Add support for VMRS, VMOV and MRC instructions.
-       (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
-       operating in v6 mode.
-       * armemu.h (t_resolved): Define.
-       * armsupp.c: Include math.h.
-       (handle_VFP_xfer): New function.  Handles VMOV, VSTM, VSTR, VPUSH,
-       VSTM, VLDM and VPOP instructions.
-       (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
-       new handle_VFP_xfer function.
-       (ARMul_STC): Likewise.
-       (handle_VFP_op): New function.  Handles VMLA, VMLS, VNMLA, VNMLS,
-       VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
-       VCMPE and VCVT instructions.
-       (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
-       new handle_VFP_op function.
-       * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
-       (test_cond): New function.  Tests a condition and returns non-zero
-       if the condition has been met.
-       (handle_IT_block): New function.
-       (in_IT_block): New function.
-       (IT_block_allow): New function.
-       (ThumbExpandImm): New function.
-       (handle_T2_insn): New function.  Handles T2 thumb instructions.
-       (handle_v6_thumb_insn): Add next_instr and pc parameters.
-       (ARMul_ThumbDecode): Add support for IT blocks.  Add support for
-       v6 instructions.
-       * wrapper.c (sim_create_inferior): Detect a thumb address and call
-       SETT appropriately.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * armdefs.h: Always include stdint.h.
-       [!__STDC__]: Delete.
-       [!HAVE_STDINT_H]: Delete.
-       * dbg_hif.h [!__STDC__]: Delete.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (arm_pc_get, arm_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
-       CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
-       armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
-       * tconfig.h: Delete file.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-       (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * sim-main.h: New file.
-       * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
-       Add sim-main.h and sim-options.h includes.
-       (sim_callback, mem_size, trace): Add TODO comments.
-       (state): Delete static and add TODO comment.
-       (sim_kind, myname, big_endian): Delete.
-       (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
-       (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
-       sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
-       (sim_target_parse_command_line): Mark static.
-       (free_state): New function.
-       (sim_open): Rewrite to use new common logic.
-       (sim_close): Delete body.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
-       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
-       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
-       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * armemu.c [MODE32] (handle_v6_insn): Move definition.
-       (ARMul_Emulate26): Initialize do_int after label target.
-       * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
-       UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
-       UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
-       UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
-       UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
-       UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
-       UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
-       UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
-       * armsupp.c (ARMul_Align): Convert old style prototype.
-       * bag.c (addtolist, killwholelist): Mark static.
-       (BAG_newbag): Convert old style prototype.
-       * maverick.c (mv_compute_host_endianness): Delete.
-       * wrapper.c (verbosity, sim_set_verbose): Delete.
-       (init): Set state->verbose to 0.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
-       SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
-       * config.in, configure: Regenerate.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (COPRO): Delete.
-       (SIM_OBJS): Expand COPRO.
-       * configure.ac: Deletd stdint.h check.
-       (COPRO): Delete.
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Add
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-18  Nick Clifton  <nickc@redhat.com>
-
-       * wrapper.c: Convert function declarations to ISO C format.
-       (sim_open): Delete code for handling t,d and z command line
-       options.
-
-2014-03-14  Nick Clifton  <nickc@redhat.com>
-
-       * wrapper.c (op_print): New function.
-       (sim_dis_read): New function.
-       (print_insn): New function - disassembles the given instruction.
-       (sim_trace): Note that tracing is now allowed.
-       (sim_create_inferior): Default to emulating v6.
-       Initialise the disassembler machinery.
-       (sim_target_parse_command_line): Add support for -t -d and -z
-       options.
-       (sim_target_display_usage): Note existence of -d and -z options.
-       (sim_open): Parse -t -d and -z options.
-       * armemu.h: Add exports of trace, disas and trace_funcs.
-       Add prototype for print_insn.
-       * armemu.c (ARMul_Emulate26): Add tracing code.
-       Delete unused variables.
-       * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
-       Move Rm variable into switch cases.
-       Add tracing code.
-
-       * armcopro.c (XScale_cp15_init): Add a return value.
-       (XScale_cp13_init): Likewise.
-       (XScale_cp14_init): Likewise.
-       (XScale_cp15_LDC): Delete unused function.
-       (XScale_cp15_STC): Likewise.
-       * maverick.c: Delete comment inside comment.
-       (DSPInit): Delete unused function.
-       (DSPMCR4): Fix compile time warning about missing parenthesis.
-       (DSPMCR5): Likewise.
-       (DSPCDP6): Delete unused variable opcode2.
-
-2014-03-14  David McQuillan  <dmcq@tao-group.com>
-
-       PR sim/8388
-       * armemu.c (WriteR15Load): New function.  Determines if the state
-       can be changed upon a write to R15.
-       (LoadMult): Use WriteR15Load.
-       * armemu.h (WRITEDESTB): Use WriteR15Load.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_load): Add const to prog.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-07  Jayant Sonar  <jayant.sonar@kpitcummins.com>
-           Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
-
-       * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
-
-2012-12-19  Joel Brobecker  <brobecker@adacore.com>
-
-       * COPYING: Update to GPL version 3.
-
-2012-09-03  Nick Clifton  <nickc@redhat.com>
-
-       PR sim/14540
-       * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
-       is denied.
-
-2012-08-01  Kevin Buettner  <kevinb@redhat.com>
-
-       * wrapper.c (libiberty.h): Include.
-       (sim_store_register, sim_fetch_register): On success, return
-       length, instead of -1.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-06-13  Nick Clifton  <nickc@redhat.com>
-
-       * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
-       binaries (for now).
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * wrapper.c: Include config.h before system header files.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-01  Nick Clifton  <nickc@redhat.com>
-
-       PR sim/12737
-       * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
-       signed compare.
-       (WMAC): Extend computed result before adding to result register.
-       (WRSA): Sign extend 32-bit values before shifting.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_complete_command): New stub function.
-
-2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-       * communicate.c (MYread_char): Check error return from accept() call
-       by its equality to -1 not by it being negative.
-       (MYread_charwait): Likewise.
-       * main.c (main): Likewise for both socket() and accept() calls.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_write): Add const to buffer arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-    * arminit.c, iwmmxt.c: Include <string.h> to
-    eliminate warning.
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-       * wrapper.c (sim_target_display_usage): Add help parameter.
-
-2007-02-27  Mark Mitchell  <mark@codesourcery.com>
-
-       * armos.c (SWIflen): Do not treate file descriptor zero as
-       special.
-
-2007-02-15  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (handle_v6_insn): Fix typo in sign extension test of
-       the sext and sxtah instructions.
-
-2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       Reported by timeless@gmail.com:
-       * wrapper.c (sim_target_parse_arg_array): Do not return void value.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-03-07  Paul Brook  <paul@codesourcery.com>
-
-       * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
-
-2006-02-01  Shaun Jackman  <sjackman@gmail.com>
-
-       * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
-       call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
-
-2005-11-23  Mark Mitchell  <mark@codesourcery.com>
-
-       * wrapper.c (gdb/signals.h): Include it.
-       (SIGTRAP): Don't define.
-       (SIGBUS): Likewise.
-       (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
-
-2005-11-16  Shaun Jackman  <sjackman@gmail.com>
-
-       * armos.c: Include limits.h
-       (unlink): Remove this macro. It is unused in this file and
-       conflicts with sim_callback->unlink.
-       (PATH_MAX): Define as 1024 if not already defined.
-       (ReadFileName): New function.
-       (SWIopen): Fix a potential buffer overflow.
-       (SWIremove): New function.
-       (SWIrename): Ditto.
-       (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
-       SWI_Remove, and SWI_Rename, as well as the RDI calls
-       AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
-       AngelSWI_Reason_Rename.
-
-2005-09-19  Paul Brook  <paul@codesourcery.com>
-
-       * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
-       available.
-       * armemu.c: Use them.
-       * armvirt.c (ARMul_MemoryInit): Use correct type for size.
-       * configure.ac: Check for stdint.h.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-2005-05-24  Nick Clifton  <nickc@redhat.com>
-
-       * thumbemu.c (handle_v6_thumb_insn): New function.
-       (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
-       instruction binary is encountered.
-
-2005-05-12  Nick Clifton  <nickc@redhat.com>
-
-       * Update the address and phone number of the FSF organization in
-       the GPL notices in the following files:
-       COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
-       armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
-       armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
-       communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
-       gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
-       maverick.c, parent.c, thumbemu.c, wrapper.c
-
-2005-04-20  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (handle_v6_insn): New function - emulate a few of the
-       v6 instructions - the ones now generated by GCC.
-       (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
-       found.
-       * armdefs.h (struct ARMul_State): Add new field: is_v6.
-       (ARM_v6_Prop): Define.
-       * arminit.c (ARMul_NewState): Initialise the v6 flag.
-       (ARMul_SelectProcessor): Determine if the v6 flag should be
-       set.
-       * wrapper.c (sim_create_inferior): For unknown architectures,
-       default to allowing the v6 instructions.
-
-2005-04-18  Nick Clifton  <nickc@redhat.com>
-
-       * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
-       operator to the RHS.
-       (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
-       indicate an unsigned long long constant.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-06-28  Andrew Cagney  <cagney@gnu.org>
-
-       * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
-
-2003-12-29  Mark Mitchell  <mark@codesourcery.com>
-
-       * armos.c (fcntl.h): Do not include it.
-       (O_RDONLY): Do not define.
-       (O_WRONLY): Likewise.
-       (O_RDWR): Likewise.
-       (targ-vals.h): Include it.
-       (translate_open_mode): Use TARGET_O_* instead of O_*.
-       (SWIopen): Likewise.
-       * Makefile.in (armos.o): Depend on targ-vals.h.
-
-2003-04-13  Nick Clifton  <nickc@redhat.com>
-
-       * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
-       mode.
-       (PutWord): Likewise.
-
-2003-03-30  Nick Clifton  <nickc@redhat.com>
-
-       * configure.in (CON_FLAGS): Remove.
-       (COPRO): Unconditionally include iwmmxt.o.
-       * configure: Regenerate.
-       * Makefile.in (CON_FLAGS): Remove.
-       * armcopro.c: Remove use of __IWMMXT__ flag.
-       * wrapper.c: Likewise.
-       * armemu.c: Likewise.
-       Add explanatory comment for suppressed code.
-
-2003-03-27  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
-
-2003-03-27  Nick Clifton  <nickc@redhat.com>
-
-       * configure.in: (CON_FLAGS): Define and intialise.
-       (COPRO): Add iwmmxt.o if configuring for XScale.
-       * configure: Regenerate.
-       * Makefile.in (iwmmxt.o): Add rule to build.
-       (COM_FLAGS): Define.
-       (ALL_FLAGS): Add CON_FLAGS.
-       * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
-       * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
-       (ARM_iWMMXt_Prop): Define.
-       * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
-       pass to coprocessor.
-       * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
-       (ARMul_Abort): Catch branches through uninitialised vectors.
-       * armos.c (softevtorcode): Update comment.
-       (ARMul_OsInit): Use ARMUndefinedInstrV.
-       * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
-       (sim_store_register): Handle iWMMXt registers.
-       (sim_fetch_register): Handle iWMMXt registers.
-       * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
-       functions.
-       * iwmmxt.c: New file: iWMMXt emulator.
-
-2003-03-20  Nick Clifton  <nickc@redhat.com>
-
-       * Contribute support for Cirrus Maverick ARM co-processor,
-       written by Aldy Hernandez  <aldyh@redhat.com> and
-       Andrew Cagney  <cagney@redhat.com>:
-
-       * maverick.c: New file: Support for Maverick floating point
-       co-processor.
-       * Makefile.in: Add maverick.o target.
-       * configure.in (COPRO): Add maverick.o.
-       * configure: Regenerate.
-       * armcopro.c (ARMul_CoProInit): Only initialise co-processors
-       available on target processor.  Add code to initialse Maverick
-       co-processor support code.
-       * armdefs.h (ARMul_state): Add is_ep9312 field.
-       (ARM_ep9312_Prop): Define.
-       * armemu.h: Add prototypes for Maverick co-processor
-       functions.
-       * arminit.c (ARMul_SelectProcessor): Initialise the
-       co-processor support once the chip has been selected.
-       * wrapper.c: Add support for Maverick co-processor.
-       (init): Do not call ARMul_CoProInit.  Delays this until the
-       chip has been selected.
-
-2003-03-02  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c (SWIWrite0): Catch big-endian bug when printing
-       characters.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
-
-2003-01-10  Ben Elliston  <bje@redhat.com>
-
-       * README.Cygnus: Rename from this ..
-       * README: .. to this.
-
-2002-09-27  Andrew Cagney  <ac131313@redhat.com>
-
-       * wrapper.c (sim_open): Add support for -m<mem-size>.
-       (mem_size): Reduce to 2MB.
-       Fix PR gdb/433.
-
-2002-08-15  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
-       can be caused by an interrupted system call being resumed by GDB.
-
-2002-07-05  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
-       and MIAxy instructions.
-
-2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armos.h (ADP_Stopped_RunTimeError): Set correct value.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2002-06-12  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in: Update copyright.
-       (wrapper.o): Specify dependencies.
-       * wrapper.c: Include "gdb/sim-arm.h".
-       (sim_store_register, sim_fetch_register): Rewrite using `enum
-       arm_sim_regs' and a switch.
-
-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
-       if a Data Abort is detected.
-
-2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armvirt.c (GetWord): Only perform access checks if 'check'
-       is set.
-       (PutWord): Likewise.
-       * wrapper.c (sim_create_inferior): Report unknown machine
-       numbers.
-       * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
-       2, it has already been advanced.
-
-2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
-       instruction do not add in the second bit of the base address -
-       this has already been accounted for.
-
-2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armcopro.c (check_cp13_access): Allow access to register 1 when
-       CRm is 1.
-       (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
-
-2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * Makefile.in (SIM_TARGET_SWITCHES): Define.
-       * armos.c (swi_mask): Define.  Initialise to supporting all
-       SWI emulations.
-       (ARMul_OSInit): For XScale targets, only support the ANGEL
-       SWI interface.  (This is at the request if Intel).
-       (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
-       SWI call should be emulated.
-       Do not fall through from AngelSWI_Reason_WriteC.
-       Propagate exit code from RedBoot Exit SWI.
-       * rdi-dgb.h (swi_mask): Prototype.
-       (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
-       * wrapper.c (sim_target_parse_command_line): New function.
-       Look for and handle --swi-support switch.
-       (sim_target_parse_arg_array): New function.  Process an argv
-       array for parsing by sim_target_parse_command_line.
-       (sim_target_display_usage): New function.  Describe syntax of
-       --swi-suppoort switch.
-       (sim_open): Add call to sim_target_parse_arg_array).
-
-2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
-       mode and some of its system calls.
-
-2002-03-17  Anthony Green  <green@redhat.com>
-
-       * wrapper.c (mem_size): Increase the default target memory to 8MB.
-
-2002-02-21  Keith Seitz  <keiths@redhat.com>
-
-       * armos.c (SWIWrite0): Use generic host_callback mechanism
-       for supported OS functions "open", "close", "write", etc.
-       (SWIopen): Likewise.
-       (SWIread): Likewise.
-       (SWIwrite): Likewise.
-       (SWIflen): Likewise.
-       (ARMul_OSHandleSWI): Likewise.
-
-2002-02-05  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * wrapper.c (sim_create_inferior): Modify previous patch so that
-       it is only triggered for COFF format executables.
-
-2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * wrapper.c (sin_create_inferior): If a v5 architecture is
-       detected, assume it might be an XScale binary, since there is no
-       way to distinguish between the two in the COFF file format.
-
-2002-01-10  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
-       * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
-       and CPRead[14].
-       Fix formatting.  Improve layout.
-       * armemu.h: Fix formatting.  Improve layout.
-
-2002-01-09  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
-       return zeroes in the other words.
-       General formatting tidy ups.
-
-2001-11-16  Ben Harris  <bjh21@netbsd.org>
-
-       * Makefile.in (armemu32.o): Replace $< with autoconf recommended
-       $(srcdir)/....
-       (armemu26.o): Ditto.
-
-2001-10-18  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armemu.h (CP_ACCESS_ALLOWED): New macro.
-       Fix formatting.
-       * armcopro.c (read_cp14_reg): Make static.
-       (write_cp14_reg): Make static.
-       (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
-       Fix formatting.
-       * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
-       (ARMul_STC): Check CP_ACCESS_ALLOWED.
-       (ARMul_MCR): Check CP_ACCESS_ALLOWED.
-       (ARMul_MRC): Check CP_ACCESS_ALLOWED.
-       (ARMul_CDP): Check CP_ACCESS_ALLOWED.
-       Fix formatting.
-       * armemu.c (MCRR): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not
-       equal to 15.
-       (MRRC): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not equal to 15.
-       Fix formatting.
-
-2001-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
-       instructions with post indexed addressing modes.
-
-2001-05-08  Jens-Christian Lache  <lache@tu-harburg.de>
-
-       * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
-       determine rocesor mode.
-
-2001-04-18  matthew green  <mrg@redhat.com>
-
-       * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
-       (read_cp15_reg): Make non-static.
-       (XScale_cp15_LDC): Update for write_cp15_reg() change.
-       (XScale_cp15_MCR): Likewise.
-       (XScale_cp15_write_reg): Likewise.
-       (XScale_check_memacc): New function. Check for breakpoints being
-       activated by memory accesses.  Does not support the Branch Target
-       Buffer.
-       (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
-       (XScale_debug_moe): New function. Set the debug Method Of Entry,
-       if configured.
-       (write_cp14_reg): Reset count counter if requested.
-       * armdefs.h (struct ARMul_State): New members `LastTime' and
-       `CP14R0_CCD' used for the timer/counters.
-       (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
-       ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
-       ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
-       ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
-       ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
-       ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
-       ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
-       ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
-       defines for XScale registers.
-       (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
-       (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
-       (ARMul_Emulate32): Handle the clock counter and hardware instruction
-       breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
-       software interrupts.
-       (LoadMult): Call XScale_set_fsr_far() for data aborts.
-       (LoadSMult): Likewise.
-       (StoreMult): Likewise.
-       (StoreSMult): Likewise.
-       * armemu.h (write_cp15_reg): Update prototype.
-       * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
-       (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
-       register 0.
-       * armvirt.c (GetWord): Call XScale_check_memacc().
-       (PutWord): Likewise.
-
-2001-03-20  Nick Clifton  <nickc@redhat.com>
-
-       * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
-       when loading unaligned thumb instructions.
-
-2001-03-06  Nick Clifton  <nickc@redhat.com>
-
-       * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
-       Compute destination address of BLX(1) instruction by
-       taking bit 1 from PC and not from bit 0 of the offset.
-
-2001-02-27  Nick Clifton  <nickc@redhat.com>
-
-       * armvirt.c (GetWord): Add new parameter - check - to enable or
-       disable the alignment checking.
-       (PutWord):  Add new parameter - check - to enable or disable the
-       alignment checking.
-       (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
-       (ARMul_ReadWord): Pass extra parameter to GetWord.
-       (ARMul_WriteWord): Pass extra parameter to PutWord.
-       (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
-       (ARMul_WriteByte): Pass extra parameter to GetWord.
-       (ARMul_SwapWord): Pass extra parameter to PutWord.
-       (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
-       (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
-
-       * armdefs.h: Add prototypes for ARMul_SafeReadByte and
-       ARMul_SafeWriteByte.
-
-       * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
-       (sim_read): Use ARMul_SafeReadByte.
-
-       * armos.c (in_SWI_handler): Remove.
-       (SWIWrite0): Use ARMul_SafeReadByte.
-       (WriteCommandLineTo): Use ARMul_SafeWriteByte.
-       (SWIopen): Use ARMul_SafeReadByte.
-       (SWIread): Use ARMul_SafeWriteByte.
-       (SWIwrite): Use ARMul_SafeReadByte.
-       (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
-       (ARMul_OSException): Remove use of is_SWI_handler.
-
-2001-02-16  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c: Remove Prefetch abort for breakpoints.  Instead set
-       the state to RESUME.
-
-2001-02-14  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c: Add code to preserve processor mode when a prefetch
-       abort is signalled after processing a breakpoint.
-
-       * wrapper.c (sim_create_inferior): Reset processor into ARM mode
-       for any machine type except the early ARMs.
-
-2001-02-13  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c (in_SWI_handler): New static variable.
-       (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
-       (ARMul_OSException): Ignore exceptions generated whilst emulating
-       a SWI.
-
-2001-02-12  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.h (NEGBRANCH): Fix defintion.
-
-2001-02-01  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (LoadSMult): Update base address register after
-       restoring register bank.
-       (StoreMult): Update base address register after restoring register
-       bank.
-
-2001-01-31  Nick Clifton  <nickc@redhat.com>
-
-       * armvirt.c (PutWord): Detect installation of SWI vector.
-       (SWI_vector_installed): Define.
-       * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
-       * armos.h (SWI_vector_installed): Declare.
-       * wrapper.c (SWI_vector_installed): Remove definition.
-       (sim_write): Remove check of SWI vector installation
-
-2000-12-18  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
-       instruction.
-
-2000-12-10  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
-
-2000-12-07  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (ARMul_Emulate26): Detect double word load and
-       store instructions and call emulation routines.
-       (Handle_Load_Double): Emulate a double word load instruction.
-       (Handle_Store_Double): Emulate a double word store
-       instruction.
-
-2000-12-03  Nick Clifton  <nickc@redhat.com>
-
-       * armos.c: Fix formatting.
-       (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
-       mode.
-
-2000-11-29  Nick Clifton  <nickc@redhat.com>
-
-       * armdefs.h (State): Add 'v5e' and 'xscale' fields.
-       (ARM_v5e_Prop): Define.
-       (ARM_XScale_Prop): Define.
-
-       * wrapper.c (sim_create_inferior): Select processor based on
-       machine number.
-       (SWI_vector_installed): New boolean.  Set to true if the SWI
-       vector address is written to by the executable.
-
-       * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
-       (ARMul_SelectProcessor): Initialise v5e and xscale signals.
-       (ARMul_Abort): Fix calculation of LR address.
-
-       * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
-       and a SWI is not handled by the simulator, pass the SWI off to the
-       vector, otherwise issue a warning message and continue.
-
-       * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
-
-       * thumbemu.c: Add v5 instruction simulation.
-       * armemu.c: Add v5, XScale and El Segundo instruction simulation.
-
-       * armcopro.c: Add XScale co-processor emulation.
-       * armemu.h: Add exported XScale co-processor functions.
-
-2000-09-15  Nick Clifton  <nickc@redhat.com>
-
-       * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
-       property.  Delete unnecessary processor names.
-       (ARM_Strong_Prop): Delete.
-       (STRONGARM): Delete.
-       (ARM_v4_Prop): Add.
-       (ARM_v5_Prop): Add
-       (State): Delete is_StrongARM boolean.  Add is_v4 and is_v5
-       booleans.
-
-       * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
-       (BUSUSEDINCPCN): Use is_v4 boolean.
-
-       * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
-       (ARMul_SelectProcessor): Change second parameter from 'processor'
-       to 'properties'.  Set is_v4 and is_v5 booleans in State.
-
-       * armrdi.c: Remove use of ARM processor names.  Replace with ARM
-       processor properties.
-
-       * wrapper.c (sim_create_inferior): Choose properties passed to
-       ARMul_SelectProcessor based on machine number.
-
-2000-08-14  Nick Clifton  <nickc@redhat.com>
-
-       * armemu.c (LHPOSTDOWN): Compute write back value before
-       performing load in case the offset register is overwritten.
-       (LHPOSTUP): Ditto.
-
-2000-07-14  Fernando Nasser <fnasser@cygnus.com>
-
-       * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
-
-2000-07-14  Fernando Nasser <fnasser@cygnus.com>
-
-       * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
-       new inferior.
-
-2000-07-04  Alexandre Oliva  <aoliva@redhat.com>
-
-       * armvirt.c (ABORTS): Do not define.
-
-       * armdefs.h (struct ARMul_State): Add is_StrongARM.
-       (ARM_Strong_Prop, STRONGARM): Define.
-       * arminit.c (ARMul_NewState): Reset is_StrongARM.
-       (ARMul_SelectProcessor): Set is_StrongARM.
-       * wrapper.c (sim_create_inferior): Use bfd machine type to
-       determine processor type to emulate.
-       * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
-       when emulating StrongARM.
-
-       * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
-
-       * armemu.h (INSN_SIZE): New macro.
-       (SET_ABORT): Save CPSR in SPSR and set LR.
-       * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
-       (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
-       * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
-
-       * armemu.c (LoadSMult): Use WriteR15() to discard the least
-       significant bits of PC.
-
-       * armemu.h (WRITEDESTB): New macro.
-       * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
-       modify PC.  Moved the existing logic...
-       (WriteR15Branch): ... here.  New function.
-       (WriteR15, WriteSR15): Drop the two least significant bits.
-       (LoadSMult): Use WriteR15Branch() to modify PC.
-       (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
-
-       * armemu.h (GETSPSR): Call ARMul_GetSPSR().
-       * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
-       extracted from state->Cpsr, but preserve the unused bits.
-       (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
-       (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
-       get the full CPSR word.
-
-       * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
-       (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
-       (SETPSR, SET_INTMODE, SETCC): Removed.
-       * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
-       mask.  Use SETPSR_* to modify PSR.
-       (ARMul_SetCPSR): Load all bits from value.
-       * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
-
-       * armemu.c (ARMul_Emulate): Compute writeback value before
-       loading, since the offset register may be the destination
-       register.
-
-       * armdefs.h (SYSTEMBANK): Define as USERBANK.
-       * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
-
-2000-06-22  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * armemu.c (Multiply64): Fix computation of flag N.
-
-       * armemu.c (MultiplyAdd64): Fix computation of flag N.
-
-2000-06-20  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * armemu.h (NEGBRANCH): Do not overwrite the two most significant
-       bits of the offset.
-
-2000-05-25  Nick Clifton  <nickc@cygnus.com>
-
-       * armcopro.c (MMUMCR): Only indicate mode change if a singal has
-       really changed.
-       (MMUWrite): Only indicate mode change if a singal has really
-       changed.
-
-       * armdefs.h (SYSTEMMODE): Define.
-       (BANK_CAN_ACEESS_SPSR): Define.
-
-       * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
-       to advance before stopping the emulation.
-
-       * arminit.c (ARMul_Reset): Ensure Mode field of State is set
-       correctly.
-
-       * armos.c (ARMul_OSInit): Create a initial stack pointer for
-       System mode.
-
-       * armsupp.c (ModeToBank): Remove unused first parameter.
-       Add support for System Mode.
-       (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
-       (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
-       (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
-       (ARMulSwitchMode): Add support for System Mode.
-
-Wed May 24 14:40:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-05-23  Nick Clifton  <nickc@cygnus.com>
-
-       * wrapper.c (sim_store_register): Special handling for CPSR
-       register.
-
-2000-03-11  Philip Blundell  <philb@gnu.org>
-
-       * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
-       Patch from Allan Skillman <Allan.Skillman@arm.com>.
-
-Wed Mar 22 15:24:21 2000  glen mccready  <gkm@pobox.com>
-
-       * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
-
-2000-02-08  Nick Clifton  <nickc@cygnus.com>
-
-       * wrapper.c: Fix compile time warning messages.
-       * armcopro.c: Fix compile time warning messages.
-       * armdefs.h: Fix compile time warning messages.
-       * armemu.c: Fix compile time warning messages.
-       * armemu.h: Fix compile time warning messages.
-       * armos.c: Fix compile time warning messages.
-       * armsupp.c: Fix compile time warning messages.
-       * armvirt.c: Fix compile time warning messages.
-       * bag.c: Fix compile time warning messages.
-
-2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
-
-       * *.[ch]: Use indent to make readable.
-
-1999-11-22  Nick Clifton  <nickc@cygnus.com>
-
-       * armos.c (SWIread): Generate an error message if a huge read is
-       performed.
-       (SWIwrite): Generate an error message if a huge write is
-       performed.
-
-1999-10-27  Nick Clifton  <nickc@cygnus.com>
-
-       * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
-       breakpoint.
-
-1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
-
-       * armos.c (SWIopen): Always pass third parameter with 0666 since
-       otherwise uninitialized memory gets access if the O_CREAT bit is
-       set and so we possibly cannot access the file afterwards.
-
-1999-09-29  Doug Evans  <devans@casey.cygnus.com>
-
-       * armos.c (SWIWrite0): Send output to stdout instead of stderr.
-       (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-06  Keith Seitz  <keiths@cygnus.com>
-
-       * wrapper.c (stop_simulator): New global.
-       (sim_stop): Set sim state to STOP and set
-       stop_simulator.
-       (sim_resume): Reset stop_simulator.
-       (sim_stop_reason): If stop_simulator is set, tell gdb
-       that the we took SIGINT.
-       * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
-       stop_simulator is set.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
-       whenever the counter expires.
-       * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
-
-1999-03-24  Nick Clifton  <nickc@cygnus.com>
-
-       * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
-       * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
-
-Mon Sep 14 09:00:05 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * wrapper.c (sim_open): Set endianness according to BFD or command
-       line switch.
-
-       * tconfig.in: Define SIM_HAVE_BIENDIAN.
-
-Thu Aug 27 11:00:05 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
-       the same as either RdHi or RdLo.
-
-Thu Jul  2 10:24:35 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
-       Set Reg[0] based on reason for for the exception.
-
-Thu Jun  4 15:22:03 1998  Jason Molenda  (crash@bugshack.cygnus.com)
-
-       * armos.c (SWIwrite0): New function.
-       (WriteCommandLineTo): New function.
-       (SWIopen): New function.
-       (SWIread): New function.
-       (SWIwrite): New function.
-       (SWIflen): New function.
-       (ARMul_OSHandleSWI): Call new functions instead of handling
-       these here.
-       (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
-       (*): Reformat spacing to be a bit more GNUly.
-       Most code taken from a patch by Anthony Thompson
-       (athompso@cambridge.arm.com)
-
-Tue Jun  2 15:22:22 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * armos.h: Add Angel SWI and its reason codes.
-       * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
-
-Mon Jun  1 17:14:19 1998  Anthony Thompson (athompso@cambridge.arm.com)
-
-       * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
-       of ":tt" to catch stdin in addition to stdout.
-       (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
-       or success of lseek().
-
-Wed May 20 17:36:25 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
-       to open stdout.
-
-Wed Apr 29 15:29:55 1998  Jeff Johnston  <jjohnstn@cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
-       SWI_Flen, and SWI_Time.  Also fixed SWI_Seek code to only
-       seek from offset 0 and not to use R2 for whence since it is
-       not passed as part of the SWI call.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:26 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:20:19 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Mar 10 09:26:38 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * armopts.h: Remove definition of LITTLEND - it is not used.
-
-Tue Feb 17 12:35:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter. Return -1.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Dec  9 11:30:48 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * Makefile.in: Updated with changes from branch.
-       * armdefs.h:   ditto
-       * armemu.c:    ditto   these changes
-       * armemu.h:    ditto   add support for
-       * armos.c:     ditto   the Thumb instruction
-       * armsupp.c:   ditto   set and the new v4
-       * armvirt.c:   ditto   architecture.
-       * wrapper.c:   ditto
-       * thumbemu.c:  New file from branch.
-
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Oct 30 13:54:06 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI.  Patch
-       from Tony Thompson at ARM: athompso@arm.com
-
-       * wrapper.c (sim_create_inferior): Add code to create an execution
-       environment.  Patch from Tony Thompson at ARM: athompso@arm.com
-
-Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_load): Pass lma_p and sim_write args to
-       sim_load_file.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:37:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 15:35:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_open): Add ABFD argument.
-
-Tue May 20 10:13:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Drop SIM_DESC argument.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 18 13:32:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_stop): Stub sim_stop function.
-
-Thu Apr 17 18:33:01 1997  Fred Fish  <fnf@cygnus.com>
-
-       * arminit.c (ARMul_NewState): Preinitialize the state to
-       all zero/NULL.
-
-Thu Apr 17 02:39:02 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * wrapper.c (sim_kind,myname): New static locals.
-       (sim_open): Set sim_kind, myname.
-       (sim_load): Call sim_load_file to do work.  Set start address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete start_address arg.
-
-Thu Apr 17 11:48:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * wrapper.c (sim_trace): Update so that it matches prototype.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Apr  7 12:01:17 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Makefile.in (armemu32.o): Replace $< with autoconf recommended
-       $(srcdir)/....
-       (armemu26.o): Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * wrapper.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:50:44 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * COPYING: Update FSF address.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 12:38:56 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * wrapper.c (sim_open): Has result now.
-       (sim_*): New SIM_DESC argument.
-
-Tue Feb  4 13:22:21 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Wed Nov 20 01:05:10 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * run.c: Deleted, use one in ../common now.
-       * Makefile.in: Delete everything that's been moved to
-       ../common/Make-common.in.
-       (SIM_OBJS): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       * configure: Regenerated.
-       * config.in: New file.
-       * armos.c: #include config.h.
-       * wrapper.c (mem_size): Value is in bytes now.
-       (sim_callback): New global.
-       (arm_sim_set_profile{,_size}): Delete.
-       (arm_sim_set_mem_size): Rename to sim_size.
-       (sim_do_command): Call printf_filtered via callback.
-       (sim_set_callbacks): Record callback.
-
-Thu Oct  3 16:10:27 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (mostlyclean): Remove config.log.
-
-Wed Jun 26 12:17:24 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Wed Feb 21 12:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.7.
-
-Fri Dec 15 16:27:30 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * run.c (main): Use new bfd_big_endian macro.
-
-Mon Nov 20 17:40:38 1995  Doug Evans  <dje@canuck.cygnus.com>
-
-       * run.c: Include "getopt.h".
-       (verbose): Delete.
-       (usage): Make static.
-       (main): Call arm_sim_set_verbosity.
-       Only load sections marked SEC_LOAD.
-       * wrapper.c (mem_size, verbosity): New static global.
-       (arm_sim_set_mem_size): Renamed from sim_size.  Callers updated.
-       (arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.
-
-Fri Nov 17 19:35:11 1995  Doug Evans  <dje@canuck.cygnus.com>
-
-       * armdefs.h (ARMul_State): New member `verbose'.
-       * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
-       * run.c (verbose): Make global.
-       * wrapper.c (init): Set state->verbose.
-       (ARMul_ConsolePrint): Don't print anything if !verbose.
-
-Fri Oct 13 15:30:30 1995  Doug Evans  <dje@canuck.cygnus.com>
-
-       * armos.c: #include dbg_rdi.h.
-       (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
-       * armos.h (SWI_Breakpoint): Define.
-       * wrapper.c: #include armemu.h, dbg_rdi.h.
-       (rc): Delete.
-       (sim_resume): Use state->EndCondition to record stop state.
-       Call FLUSHPIPE before returning.
-       (sim_stop_reason): Determine reason from state->EndCondition.
-
-Fri Oct 13 15:04:05 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * wrapper.c (sim_set_callbacks): New.
-
-Thu Sep 28 19:45:56 1995  Doug Evans  <dje@deneb.cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
-       number of bytes not read/written (or -1).
-
-Wed Sep 20 13:35:54 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (maintainer-clean): New synonym for realclean.
-
-Fri Sep  8 14:27:20 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Remove AC_PROG_INSTALL.
-       * configure: Rebuild.
-       * Makefile.in (INSTALL): Revert to using install.sh.
-       (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
-       (INSTALL_XFORM, INSTALL_XFORM1): Restore.
-       (mostlyclean): Make the same as clean, not distclean.
-       (clean): Remove config.log.
-       (install): Don't install in $(tooldir).
-
-Thu Sep  7 12:00:17 1995  Doug Evans  <dje@canuck.cygnus.com>
-
-       (Try to) Update to new bfd autoconf scheme.
-       * run.c: Don't include sysdep.h.
-       * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
-       (CC, CFLAGS, AR, RANLIB): Likewise.
-       (HDEFINES, TDEFINES): Define.
-       (CC_FOR_BUILD): Delete.
-       (host_makefile_frag): Delete.
-       (Makefile): Don't depend on frags.
-       * configure.in (sysdep.h): Don't create symlink.
-       (host_makefile_frag, frags): Deleted.
-       (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
-       * configure: Regenerated.
-
-Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Update all FSF addresses except those in COPYING* files.
-
-Wed Jul  5 16:15:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * Makefile.in (clean): Remove run, libsim.a.
-
-       * Makefile.in, configure.in: converted to autoconf.
-       * configure: New file, generated with autconf 2.4.
-
-       * arm.mt: Removed.
-
-Fri Jun 30 16:49:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * wrapper.c (sim_do_command): New function.
-
-Tue Jun 13 10:57:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * armos.c (ARMul_OSHandleSWI): New version to work with
-       newlib simply.
-
-Thu Jun  8 14:37:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * run.c (main): Grab return value from right register.
-
-Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * New.
diff --git a/sim/arm/ChangeLog-2021 b/sim/arm/ChangeLog-2021
new file mode 100644 (file)
index 0000000..fa1d7ab
--- /dev/null
@@ -0,0 +1,2018 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * wrapper.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * armcopro.c, armemu.c, arminit.c, armsupp.c, armvirt.c, iwmmxt.c,
+       maverick.c, thumbemu.c: Include defs.h.
+       * armos.c, wrapper.c: Replace config.h include with defs.h.
+       * armdefs.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * armos.c (ARMul_OSHandleSWI): Delete 2nd arg to time callback.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * armos.c: Update include path.
+       * wrapper.c: Likewise.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * armdefs.h (ARMul_ConsolePrint): Use format attribute.
+       * wrapper.c (op_printf): Likewise.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
+       (armemu26.o, armemu32.o): Delete targets.
+       * armemu32.c: New file.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-26  Nick Clifton  <nickc@redhat.com>
+
+       PR 22790
+       * armemu.c (Handle_Store_Double): Allow 4 byte alignment when
+       running in v6 mode.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
+       POSTCOMPILE.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c: Include stdlib.h.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * iwmmxt.c: Include stdlib.h.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-12-15  Nick Clifton  <nickc@redhat.com>
+
+       * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
+
+2020-12-15  Jens Bauer <jens@plustv.dk>
+
+       * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
+       * thumbemu.c (handle_T2_insn): Likewise.
+
+2020-10-20  Dr. David Alan Gilbert  <dgilbert@redhat.com>
+
+       * armos.c (SWIread): Fix printf format.
+
+2020-08-13  Luis Machado  <luis.machado@linaro.org>
+
+       PR sim/26365
+
+       * wrapper.c (sim_target_parse_command_line): Free discarded argv
+       entries.
+       (sim_open): Use a duplicate of argv instead of the original argv.
+
+2020-01-17  Christian Biesinger  <cbiesinger@google.com>
+
+       * iwmmxt.c: Fix spelling error (seperate).
+
+2019-12-06  Luis Machado  <luis.machado@linaro.org>
+
+       * armemu.c (isize): Move this declaration ...
+       * arminit.c (isize): ... here.
+       * maverick.h: New file.
+       * wrapper.c: Include "maverick.h".
+       (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
+       comment.
+       (sim_create_inferior): Cast variables to proper type.
+       * maverick.c: Include "maverick.h".
+       (<struct maverick_regs>, <union maverick_acc_regs>): Move
+       declarations to maverick.h and update comment.
+       (DSPsc, DSPacc, DSPregs): Adjust comment.
+
+2018-01-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 22663
+       * maverick.c (DSPCDP4): Add missing parameter to debug print
+       statement.
+
+2017-09-21  Yao Qi  <yao.qi@linaro.org>
+
+       * wrapper.c (print_insn): Use disassembler instead of
+       print_insn_little_arm.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * armos.c: Include libiberty.h.
+       (SWIopen): Use ARRAY_SIZE.
+       * armsupp.c: Include libiberty.h.
+       (ModeToBank): Use ARRAY_SIZE.
+       * wrapper.c (sim_target_parse_command_line): Likewise.
+
+2016-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (Multiply64): Only issue error messages about invalid
+       arguments if debugging is enabled.
+       * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_create_inferior): Mark argv and env const.
+       (sim_open): Mark argv const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_target_parse_arg_array): Replace for loop with
+       a call to countargv.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_store_register): Rename to ...
+       (arm_reg_store): ... this.
+       (sim_fetch_register): Rename to ...
+       (arm_reg_fetch): ... this.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete bag.o.
+       * armdefs.h (struct ARMul_State): Delete ErrorCode.
+       (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
+       Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
+       ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
+       HOURGLASS_RATE): Delete.
+       * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
+       * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
+       (ARMul_Abort): Delete ARMul_OSException call.
+       * armopts.h: Delete file.
+       * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
+       ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
+       BINARY, READOP, WRITEOP, FIXCRLF): Delete.
+       (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
+       tempnames.
+       (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
+       OSptr->tempnames.
+       * armrdi.c: Delete file.
+       * armvirt.c: Delete armopts.h include.
+       (ARMul_LoadInstrS): Delete HOURGLASS logic.
+       * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
+       dbg_hif.h: Delete files.
+       * dbg_rdi.h (RDP_*, RDI*): Delete defines.
+       (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
+       Dbg_MCState, getbufferproc): Delete.
+       (rdi_*): Delete Functions.
+       (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
+       (struct RDIProcVec): Delete.
+       * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
+       * wrapper.c (ARMul_Debug): Delete.
+
+2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
+       * armemu.c (handle_v6_insn): Likewise.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_close): Delete.
+
+2015-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * armcopro.c: Remove extraneous whitespace.
+       * armdefs.h: Likewise.
+       * armfpe.h: Likewise.
+       * arminit.c: Likewise.
+       * armopts.h: Likewise.
+       * armos.c: Likewise.
+       * armos.h: Likewise.
+       * armrdi.c: Likewise.
+       * armsupp.c: Likewise.
+       * armvirt.c: Likewise.
+       * bag.c: Likewise.
+       * bag.h: Likewise.
+       * communicate.c: Likewise.
+       * communicate.h: Likewise.
+       * dbg_conf.h: Likewise.
+       * dbg_cp.h: Likewise.
+       * dbg_hif.h: Likewise.
+       * dbg_rdi.h: Likewise.
+       * gdbhost.c: Likewise.
+       * gdbhost.h: Likewise.
+       * iwmmxt.c: Likewise.
+       * iwmmxt.h: Likewise.
+       * kid.c: Likewise.
+       * main.c: Likewise.
+       * maverick.c: Likewise.
+       * parent.c: Likewise.
+       * thumbemu.c: Likewise.
+       * wrapper.c: Likewise.
+
+2015-07-02  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
+       (SIM_EXTRA_LIBS): Add -lm.
+
+2015-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
+       * armdefs.h (ARMdval, ARMfval): New types.
+       (ARM_VFP_reg): New union.
+       (struct ARMul_State): Add VFP_Reg and FPSCR fields.
+       (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
+       macros for the new VFP_Reg field.
+       * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
+       QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
+       USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
+       instructions.
+       (handle_VFP_move): New function.
+       (ARMul_Emulate16): Add checks for newly supported v6
+       instructions.  Add support for VMRS, VMOV and MRC instructions.
+       (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
+       operating in v6 mode.
+       * armemu.h (t_resolved): Define.
+       * armsupp.c: Include math.h.
+       (handle_VFP_xfer): New function.  Handles VMOV, VSTM, VSTR, VPUSH,
+       VSTM, VLDM and VPOP instructions.
+       (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
+       new handle_VFP_xfer function.
+       (ARMul_STC): Likewise.
+       (handle_VFP_op): New function.  Handles VMLA, VMLS, VNMLA, VNMLS,
+       VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
+       VCMPE and VCVT instructions.
+       (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
+       new handle_VFP_op function.
+       * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
+       (test_cond): New function.  Tests a condition and returns non-zero
+       if the condition has been met.
+       (handle_IT_block): New function.
+       (in_IT_block): New function.
+       (IT_block_allow): New function.
+       (ThumbExpandImm): New function.
+       (handle_T2_insn): New function.  Handles T2 thumb instructions.
+       (handle_v6_thumb_insn): Add next_instr and pc parameters.
+       (ARMul_ThumbDecode): Add support for IT blocks.  Add support for
+       v6 instructions.
+       * wrapper.c (sim_create_inferior): Detect a thumb address and call
+       SETT appropriately.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * armdefs.h: Always include stdint.h.
+       [!__STDC__]: Delete.
+       [!HAVE_STDINT_H]: Delete.
+       * dbg_hif.h [!__STDC__]: Delete.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (arm_pc_get, arm_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
+       CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
+       armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
+       * tconfig.h: Delete file.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+       (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * sim-main.h: New file.
+       * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
+       Add sim-main.h and sim-options.h includes.
+       (sim_callback, mem_size, trace): Add TODO comments.
+       (state): Delete static and add TODO comment.
+       (sim_kind, myname, big_endian): Delete.
+       (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
+       (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
+       sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
+       (sim_target_parse_command_line): Mark static.
+       (free_state): New function.
+       (sim_open): Rewrite to use new common logic.
+       (sim_close): Delete body.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
+       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
+       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
+       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * armemu.c [MODE32] (handle_v6_insn): Move definition.
+       (ARMul_Emulate26): Initialize do_int after label target.
+       * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
+       UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
+       UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
+       UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
+       UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
+       UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
+       UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
+       UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
+       * armsupp.c (ARMul_Align): Convert old style prototype.
+       * bag.c (addtolist, killwholelist): Mark static.
+       (BAG_newbag): Convert old style prototype.
+       * maverick.c (mv_compute_host_endianness): Delete.
+       * wrapper.c (verbosity, sim_set_verbose): Delete.
+       (init): Set state->verbose to 0.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
+       SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
+       * config.in, configure: Regenerate.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (COPRO): Delete.
+       (SIM_OBJS): Expand COPRO.
+       * configure.ac: Deletd stdint.h check.
+       (COPRO): Delete.
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Add
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-18  Nick Clifton  <nickc@redhat.com>
+
+       * wrapper.c: Convert function declarations to ISO C format.
+       (sim_open): Delete code for handling t,d and z command line
+       options.
+
+2014-03-14  Nick Clifton  <nickc@redhat.com>
+
+       * wrapper.c (op_print): New function.
+       (sim_dis_read): New function.
+       (print_insn): New function - disassembles the given instruction.
+       (sim_trace): Note that tracing is now allowed.
+       (sim_create_inferior): Default to emulating v6.
+       Initialise the disassembler machinery.
+       (sim_target_parse_command_line): Add support for -t -d and -z
+       options.
+       (sim_target_display_usage): Note existence of -d and -z options.
+       (sim_open): Parse -t -d and -z options.
+       * armemu.h: Add exports of trace, disas and trace_funcs.
+       Add prototype for print_insn.
+       * armemu.c (ARMul_Emulate26): Add tracing code.
+       Delete unused variables.
+       * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
+       Move Rm variable into switch cases.
+       Add tracing code.
+
+       * armcopro.c (XScale_cp15_init): Add a return value.
+       (XScale_cp13_init): Likewise.
+       (XScale_cp14_init): Likewise.
+       (XScale_cp15_LDC): Delete unused function.
+       (XScale_cp15_STC): Likewise.
+       * maverick.c: Delete comment inside comment.
+       (DSPInit): Delete unused function.
+       (DSPMCR4): Fix compile time warning about missing parenthesis.
+       (DSPMCR5): Likewise.
+       (DSPCDP6): Delete unused variable opcode2.
+
+2014-03-14  David McQuillan  <dmcq@tao-group.com>
+
+       PR sim/8388
+       * armemu.c (WriteR15Load): New function.  Determines if the state
+       can be changed upon a write to R15.
+       (LoadMult): Use WriteR15Load.
+       * armemu.h (WRITEDESTB): Use WriteR15Load.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_load): Add const to prog.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-07  Jayant Sonar  <jayant.sonar@kpitcummins.com>
+           Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
+
+       * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
+
+2012-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * COPYING: Update to GPL version 3.
+
+2012-09-03  Nick Clifton  <nickc@redhat.com>
+
+       PR sim/14540
+       * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
+       is denied.
+
+2012-08-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * wrapper.c (libiberty.h): Include.
+       (sim_store_register, sim_fetch_register): On success, return
+       length, instead of -1.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-06-13  Nick Clifton  <nickc@redhat.com>
+
+       * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
+       binaries (for now).
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * wrapper.c: Include config.h before system header files.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR sim/12737
+       * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
+       signed compare.
+       (WMAC): Extend computed result before adding to result register.
+       (WRSA): Sign extend 32-bit values before shifting.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_complete_command): New stub function.
+
+2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * communicate.c (MYread_char): Check error return from accept() call
+       by its equality to -1 not by it being negative.
+       (MYread_charwait): Likewise.
+       * main.c (main): Likewise for both socket() and accept() calls.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_write): Add const to buffer arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+    * arminit.c, iwmmxt.c: Include <string.h> to
+    eliminate warning.
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+       * wrapper.c (sim_target_display_usage): Add help parameter.
+
+2007-02-27  Mark Mitchell  <mark@codesourcery.com>
+
+       * armos.c (SWIflen): Do not treate file descriptor zero as
+       special.
+
+2007-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (handle_v6_insn): Fix typo in sign extension test of
+       the sext and sxtah instructions.
+
+2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Reported by timeless@gmail.com:
+       * wrapper.c (sim_target_parse_arg_array): Do not return void value.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-03-07  Paul Brook  <paul@codesourcery.com>
+
+       * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
+
+2006-02-01  Shaun Jackman  <sjackman@gmail.com>
+
+       * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
+       call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
+
+2005-11-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * wrapper.c (gdb/signals.h): Include it.
+       (SIGTRAP): Don't define.
+       (SIGBUS): Likewise.
+       (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
+
+2005-11-16  Shaun Jackman  <sjackman@gmail.com>
+
+       * armos.c: Include limits.h
+       (unlink): Remove this macro. It is unused in this file and
+       conflicts with sim_callback->unlink.
+       (PATH_MAX): Define as 1024 if not already defined.
+       (ReadFileName): New function.
+       (SWIopen): Fix a potential buffer overflow.
+       (SWIremove): New function.
+       (SWIrename): Ditto.
+       (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
+       SWI_Remove, and SWI_Rename, as well as the RDI calls
+       AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
+       AngelSWI_Reason_Rename.
+
+2005-09-19  Paul Brook  <paul@codesourcery.com>
+
+       * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
+       available.
+       * armemu.c: Use them.
+       * armvirt.c (ARMul_MemoryInit): Use correct type for size.
+       * configure.ac: Check for stdint.h.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2005-05-24  Nick Clifton  <nickc@redhat.com>
+
+       * thumbemu.c (handle_v6_thumb_insn): New function.
+       (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
+       instruction binary is encountered.
+
+2005-05-12  Nick Clifton  <nickc@redhat.com>
+
+       * Update the address and phone number of the FSF organization in
+       the GPL notices in the following files:
+       COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
+       armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
+       armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
+       communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
+       gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
+       maverick.c, parent.c, thumbemu.c, wrapper.c
+
+2005-04-20  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (handle_v6_insn): New function - emulate a few of the
+       v6 instructions - the ones now generated by GCC.
+       (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
+       found.
+       * armdefs.h (struct ARMul_State): Add new field: is_v6.
+       (ARM_v6_Prop): Define.
+       * arminit.c (ARMul_NewState): Initialise the v6 flag.
+       (ARMul_SelectProcessor): Determine if the v6 flag should be
+       set.
+       * wrapper.c (sim_create_inferior): For unknown architectures,
+       default to allowing the v6 instructions.
+
+2005-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
+       operator to the RHS.
+       (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
+       indicate an unsigned long long constant.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-06-28  Andrew Cagney  <cagney@gnu.org>
+
+       * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
+
+2003-12-29  Mark Mitchell  <mark@codesourcery.com>
+
+       * armos.c (fcntl.h): Do not include it.
+       (O_RDONLY): Do not define.
+       (O_WRONLY): Likewise.
+       (O_RDWR): Likewise.
+       (targ-vals.h): Include it.
+       (translate_open_mode): Use TARGET_O_* instead of O_*.
+       (SWIopen): Likewise.
+       * Makefile.in (armos.o): Depend on targ-vals.h.
+
+2003-04-13  Nick Clifton  <nickc@redhat.com>
+
+       * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
+       mode.
+       (PutWord): Likewise.
+
+2003-03-30  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (CON_FLAGS): Remove.
+       (COPRO): Unconditionally include iwmmxt.o.
+       * configure: Regenerate.
+       * Makefile.in (CON_FLAGS): Remove.
+       * armcopro.c: Remove use of __IWMMXT__ flag.
+       * wrapper.c: Likewise.
+       * armemu.c: Likewise.
+       Add explanatory comment for suppressed code.
+
+2003-03-27  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
+
+2003-03-27  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: (CON_FLAGS): Define and intialise.
+       (COPRO): Add iwmmxt.o if configuring for XScale.
+       * configure: Regenerate.
+       * Makefile.in (iwmmxt.o): Add rule to build.
+       (COM_FLAGS): Define.
+       (ALL_FLAGS): Add CON_FLAGS.
+       * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
+       * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
+       (ARM_iWMMXt_Prop): Define.
+       * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
+       pass to coprocessor.
+       * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
+       (ARMul_Abort): Catch branches through uninitialised vectors.
+       * armos.c (softevtorcode): Update comment.
+       (ARMul_OsInit): Use ARMUndefinedInstrV.
+       * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
+       (sim_store_register): Handle iWMMXt registers.
+       (sim_fetch_register): Handle iWMMXt registers.
+       * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
+       functions.
+       * iwmmxt.c: New file: iWMMXt emulator.
+
+2003-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * Contribute support for Cirrus Maverick ARM co-processor,
+       written by Aldy Hernandez  <aldyh@redhat.com> and
+       Andrew Cagney  <cagney@redhat.com>:
+
+       * maverick.c: New file: Support for Maverick floating point
+       co-processor.
+       * Makefile.in: Add maverick.o target.
+       * configure.in (COPRO): Add maverick.o.
+       * configure: Regenerate.
+       * armcopro.c (ARMul_CoProInit): Only initialise co-processors
+       available on target processor.  Add code to initialse Maverick
+       co-processor support code.
+       * armdefs.h (ARMul_state): Add is_ep9312 field.
+       (ARM_ep9312_Prop): Define.
+       * armemu.h: Add prototypes for Maverick co-processor
+       functions.
+       * arminit.c (ARMul_SelectProcessor): Initialise the
+       co-processor support once the chip has been selected.
+       * wrapper.c: Add support for Maverick co-processor.
+       (init): Do not call ARMul_CoProInit.  Delays this until the
+       chip has been selected.
+
+2003-03-02  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c (SWIWrite0): Catch big-endian bug when printing
+       characters.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
+
+2003-01-10  Ben Elliston  <bje@redhat.com>
+
+       * README.Cygnus: Rename from this ..
+       * README: .. to this.
+
+2002-09-27  Andrew Cagney  <ac131313@redhat.com>
+
+       * wrapper.c (sim_open): Add support for -m<mem-size>.
+       (mem_size): Reduce to 2MB.
+       Fix PR gdb/433.
+
+2002-08-15  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
+       can be caused by an interrupted system call being resumed by GDB.
+
+2002-07-05  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
+       and MIAxy instructions.
+
+2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armos.h (ADP_Stopped_RunTimeError): Set correct value.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Update copyright.
+       (wrapper.o): Specify dependencies.
+       * wrapper.c: Include "gdb/sim-arm.h".
+       (sim_store_register, sim_fetch_register): Rewrite using `enum
+       arm_sim_regs' and a switch.
+
+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
+       if a Data Abort is detected.
+
+2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armvirt.c (GetWord): Only perform access checks if 'check'
+       is set.
+       (PutWord): Likewise.
+       * wrapper.c (sim_create_inferior): Report unknown machine
+       numbers.
+       * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
+       2, it has already been advanced.
+
+2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
+       instruction do not add in the second bit of the base address -
+       this has already been accounted for.
+
+2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armcopro.c (check_cp13_access): Allow access to register 1 when
+       CRm is 1.
+       (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
+
+2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * Makefile.in (SIM_TARGET_SWITCHES): Define.
+       * armos.c (swi_mask): Define.  Initialise to supporting all
+       SWI emulations.
+       (ARMul_OSInit): For XScale targets, only support the ANGEL
+       SWI interface.  (This is at the request if Intel).
+       (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
+       SWI call should be emulated.
+       Do not fall through from AngelSWI_Reason_WriteC.
+       Propagate exit code from RedBoot Exit SWI.
+       * rdi-dgb.h (swi_mask): Prototype.
+       (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
+       * wrapper.c (sim_target_parse_command_line): New function.
+       Look for and handle --swi-support switch.
+       (sim_target_parse_arg_array): New function.  Process an argv
+       array for parsing by sim_target_parse_command_line.
+       (sim_target_display_usage): New function.  Describe syntax of
+       --swi-suppoort switch.
+       (sim_open): Add call to sim_target_parse_arg_array).
+
+2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
+       mode and some of its system calls.
+
+2002-03-17  Anthony Green  <green@redhat.com>
+
+       * wrapper.c (mem_size): Increase the default target memory to 8MB.
+
+2002-02-21  Keith Seitz  <keiths@redhat.com>
+
+       * armos.c (SWIWrite0): Use generic host_callback mechanism
+       for supported OS functions "open", "close", "write", etc.
+       (SWIopen): Likewise.
+       (SWIread): Likewise.
+       (SWIwrite): Likewise.
+       (SWIflen): Likewise.
+       (ARMul_OSHandleSWI): Likewise.
+
+2002-02-05  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * wrapper.c (sim_create_inferior): Modify previous patch so that
+       it is only triggered for COFF format executables.
+
+2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * wrapper.c (sin_create_inferior): If a v5 architecture is
+       detected, assume it might be an XScale binary, since there is no
+       way to distinguish between the two in the COFF file format.
+
+2002-01-10  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
+       * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
+       and CPRead[14].
+       Fix formatting.  Improve layout.
+       * armemu.h: Fix formatting.  Improve layout.
+
+2002-01-09  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
+       return zeroes in the other words.
+       General formatting tidy ups.
+
+2001-11-16  Ben Harris  <bjh21@netbsd.org>
+
+       * Makefile.in (armemu32.o): Replace $< with autoconf recommended
+       $(srcdir)/....
+       (armemu26.o): Ditto.
+
+2001-10-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armemu.h (CP_ACCESS_ALLOWED): New macro.
+       Fix formatting.
+       * armcopro.c (read_cp14_reg): Make static.
+       (write_cp14_reg): Make static.
+       (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
+       Fix formatting.
+       * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
+       (ARMul_STC): Check CP_ACCESS_ALLOWED.
+       (ARMul_MCR): Check CP_ACCESS_ALLOWED.
+       (ARMul_MRC): Check CP_ACCESS_ALLOWED.
+       (ARMul_CDP): Check CP_ACCESS_ALLOWED.
+       Fix formatting.
+       * armemu.c (MCRR): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not
+       equal to 15.
+       (MRRC): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not equal to 15.
+       Fix formatting.
+
+2001-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
+       instructions with post indexed addressing modes.
+
+2001-05-08  Jens-Christian Lache  <lache@tu-harburg.de>
+
+       * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
+       determine rocesor mode.
+
+2001-04-18  matthew green  <mrg@redhat.com>
+
+       * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
+       (read_cp15_reg): Make non-static.
+       (XScale_cp15_LDC): Update for write_cp15_reg() change.
+       (XScale_cp15_MCR): Likewise.
+       (XScale_cp15_write_reg): Likewise.
+       (XScale_check_memacc): New function. Check for breakpoints being
+       activated by memory accesses.  Does not support the Branch Target
+       Buffer.
+       (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
+       (XScale_debug_moe): New function. Set the debug Method Of Entry,
+       if configured.
+       (write_cp14_reg): Reset count counter if requested.
+       * armdefs.h (struct ARMul_State): New members `LastTime' and
+       `CP14R0_CCD' used for the timer/counters.
+       (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
+       ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
+       ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
+       ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
+       ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
+       ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
+       ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
+       ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
+       defines for XScale registers.
+       (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
+       (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
+       (ARMul_Emulate32): Handle the clock counter and hardware instruction
+       breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
+       software interrupts.
+       (LoadMult): Call XScale_set_fsr_far() for data aborts.
+       (LoadSMult): Likewise.
+       (StoreMult): Likewise.
+       (StoreSMult): Likewise.
+       * armemu.h (write_cp15_reg): Update prototype.
+       * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
+       (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
+       register 0.
+       * armvirt.c (GetWord): Call XScale_check_memacc().
+       (PutWord): Likewise.
+
+2001-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
+       when loading unaligned thumb instructions.
+
+2001-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
+       Compute destination address of BLX(1) instruction by
+       taking bit 1 from PC and not from bit 0 of the offset.
+
+2001-02-27  Nick Clifton  <nickc@redhat.com>
+
+       * armvirt.c (GetWord): Add new parameter - check - to enable or
+       disable the alignment checking.
+       (PutWord):  Add new parameter - check - to enable or disable the
+       alignment checking.
+       (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
+       (ARMul_ReadWord): Pass extra parameter to GetWord.
+       (ARMul_WriteWord): Pass extra parameter to PutWord.
+       (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
+       (ARMul_WriteByte): Pass extra parameter to GetWord.
+       (ARMul_SwapWord): Pass extra parameter to PutWord.
+       (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
+       (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
+
+       * armdefs.h: Add prototypes for ARMul_SafeReadByte and
+       ARMul_SafeWriteByte.
+
+       * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
+       (sim_read): Use ARMul_SafeReadByte.
+
+       * armos.c (in_SWI_handler): Remove.
+       (SWIWrite0): Use ARMul_SafeReadByte.
+       (WriteCommandLineTo): Use ARMul_SafeWriteByte.
+       (SWIopen): Use ARMul_SafeReadByte.
+       (SWIread): Use ARMul_SafeWriteByte.
+       (SWIwrite): Use ARMul_SafeReadByte.
+       (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
+       (ARMul_OSException): Remove use of is_SWI_handler.
+
+2001-02-16  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c: Remove Prefetch abort for breakpoints.  Instead set
+       the state to RESUME.
+
+2001-02-14  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c: Add code to preserve processor mode when a prefetch
+       abort is signalled after processing a breakpoint.
+
+       * wrapper.c (sim_create_inferior): Reset processor into ARM mode
+       for any machine type except the early ARMs.
+
+2001-02-13  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c (in_SWI_handler): New static variable.
+       (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
+       (ARMul_OSException): Ignore exceptions generated whilst emulating
+       a SWI.
+
+2001-02-12  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.h (NEGBRANCH): Fix defintion.
+
+2001-02-01  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (LoadSMult): Update base address register after
+       restoring register bank.
+       (StoreMult): Update base address register after restoring register
+       bank.
+
+2001-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * armvirt.c (PutWord): Detect installation of SWI vector.
+       (SWI_vector_installed): Define.
+       * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
+       * armos.h (SWI_vector_installed): Declare.
+       * wrapper.c (SWI_vector_installed): Remove definition.
+       (sim_write): Remove check of SWI vector installation
+
+2000-12-18  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
+       instruction.
+
+2000-12-10  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
+
+2000-12-07  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (ARMul_Emulate26): Detect double word load and
+       store instructions and call emulation routines.
+       (Handle_Load_Double): Emulate a double word load instruction.
+       (Handle_Store_Double): Emulate a double word store
+       instruction.
+
+2000-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * armos.c: Fix formatting.
+       (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
+       mode.
+
+2000-11-29  Nick Clifton  <nickc@redhat.com>
+
+       * armdefs.h (State): Add 'v5e' and 'xscale' fields.
+       (ARM_v5e_Prop): Define.
+       (ARM_XScale_Prop): Define.
+
+       * wrapper.c (sim_create_inferior): Select processor based on
+       machine number.
+       (SWI_vector_installed): New boolean.  Set to true if the SWI
+       vector address is written to by the executable.
+
+       * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
+       (ARMul_SelectProcessor): Initialise v5e and xscale signals.
+       (ARMul_Abort): Fix calculation of LR address.
+
+       * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
+       and a SWI is not handled by the simulator, pass the SWI off to the
+       vector, otherwise issue a warning message and continue.
+
+       * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
+
+       * thumbemu.c: Add v5 instruction simulation.
+       * armemu.c: Add v5, XScale and El Segundo instruction simulation.
+
+       * armcopro.c: Add XScale co-processor emulation.
+       * armemu.h: Add exported XScale co-processor functions.
+
+2000-09-15  Nick Clifton  <nickc@redhat.com>
+
+       * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
+       property.  Delete unnecessary processor names.
+       (ARM_Strong_Prop): Delete.
+       (STRONGARM): Delete.
+       (ARM_v4_Prop): Add.
+       (ARM_v5_Prop): Add
+       (State): Delete is_StrongARM boolean.  Add is_v4 and is_v5
+       booleans.
+
+       * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
+       (BUSUSEDINCPCN): Use is_v4 boolean.
+
+       * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
+       (ARMul_SelectProcessor): Change second parameter from 'processor'
+       to 'properties'.  Set is_v4 and is_v5 booleans in State.
+
+       * armrdi.c: Remove use of ARM processor names.  Replace with ARM
+       processor properties.
+
+       * wrapper.c (sim_create_inferior): Choose properties passed to
+       ARMul_SelectProcessor based on machine number.
+
+2000-08-14  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.c (LHPOSTDOWN): Compute write back value before
+       performing load in case the offset register is overwritten.
+       (LHPOSTUP): Ditto.
+
+2000-07-14  Fernando Nasser <fnasser@cygnus.com>
+
+       * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
+
+2000-07-14  Fernando Nasser <fnasser@cygnus.com>
+
+       * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
+       new inferior.
+
+2000-07-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * armvirt.c (ABORTS): Do not define.
+
+       * armdefs.h (struct ARMul_State): Add is_StrongARM.
+       (ARM_Strong_Prop, STRONGARM): Define.
+       * arminit.c (ARMul_NewState): Reset is_StrongARM.
+       (ARMul_SelectProcessor): Set is_StrongARM.
+       * wrapper.c (sim_create_inferior): Use bfd machine type to
+       determine processor type to emulate.
+       * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
+       when emulating StrongARM.
+
+       * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
+
+       * armemu.h (INSN_SIZE): New macro.
+       (SET_ABORT): Save CPSR in SPSR and set LR.
+       * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
+       (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
+       * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
+
+       * armemu.c (LoadSMult): Use WriteR15() to discard the least
+       significant bits of PC.
+
+       * armemu.h (WRITEDESTB): New macro.
+       * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
+       modify PC.  Moved the existing logic...
+       (WriteR15Branch): ... here.  New function.
+       (WriteR15, WriteSR15): Drop the two least significant bits.
+       (LoadSMult): Use WriteR15Branch() to modify PC.
+       (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
+
+       * armemu.h (GETSPSR): Call ARMul_GetSPSR().
+       * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
+       extracted from state->Cpsr, but preserve the unused bits.
+       (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
+       (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
+       get the full CPSR word.
+
+       * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
+       (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
+       (SETPSR, SET_INTMODE, SETCC): Removed.
+       * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
+       mask.  Use SETPSR_* to modify PSR.
+       (ARMul_SetCPSR): Load all bits from value.
+       * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
+
+       * armemu.c (ARMul_Emulate): Compute writeback value before
+       loading, since the offset register may be the destination
+       register.
+
+       * armdefs.h (SYSTEMBANK): Define as USERBANK.
+       * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
+
+2000-06-22  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * armemu.c (Multiply64): Fix computation of flag N.
+
+       * armemu.c (MultiplyAdd64): Fix computation of flag N.
+
+2000-06-20  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * armemu.h (NEGBRANCH): Do not overwrite the two most significant
+       bits of the offset.
+
+2000-05-25  Nick Clifton  <nickc@cygnus.com>
+
+       * armcopro.c (MMUMCR): Only indicate mode change if a singal has
+       really changed.
+       (MMUWrite): Only indicate mode change if a singal has really
+       changed.
+
+       * armdefs.h (SYSTEMMODE): Define.
+       (BANK_CAN_ACEESS_SPSR): Define.
+
+       * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
+       to advance before stopping the emulation.
+
+       * arminit.c (ARMul_Reset): Ensure Mode field of State is set
+       correctly.
+
+       * armos.c (ARMul_OSInit): Create a initial stack pointer for
+       System mode.
+
+       * armsupp.c (ModeToBank): Remove unused first parameter.
+       Add support for System Mode.
+       (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
+       (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
+       (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
+       (ARMulSwitchMode): Add support for System Mode.
+
+Wed May 24 14:40:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-05-23  Nick Clifton  <nickc@cygnus.com>
+
+       * wrapper.c (sim_store_register): Special handling for CPSR
+       register.
+
+2000-03-11  Philip Blundell  <philb@gnu.org>
+
+       * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
+       Patch from Allan Skillman <Allan.Skillman@arm.com>.
+
+Wed Mar 22 15:24:21 2000  glen mccready  <gkm@pobox.com>
+
+       * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
+
+2000-02-08  Nick Clifton  <nickc@cygnus.com>
+
+       * wrapper.c: Fix compile time warning messages.
+       * armcopro.c: Fix compile time warning messages.
+       * armdefs.h: Fix compile time warning messages.
+       * armemu.c: Fix compile time warning messages.
+       * armemu.h: Fix compile time warning messages.
+       * armos.c: Fix compile time warning messages.
+       * armsupp.c: Fix compile time warning messages.
+       * armvirt.c: Fix compile time warning messages.
+       * bag.c: Fix compile time warning messages.
+
+2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * *.[ch]: Use indent to make readable.
+
+1999-11-22  Nick Clifton  <nickc@cygnus.com>
+
+       * armos.c (SWIread): Generate an error message if a huge read is
+       performed.
+       (SWIwrite): Generate an error message if a huge write is
+       performed.
+
+1999-10-27  Nick Clifton  <nickc@cygnus.com>
+
+       * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
+       breakpoint.
+
+1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
+
+       * armos.c (SWIopen): Always pass third parameter with 0666 since
+       otherwise uninitialized memory gets access if the O_CREAT bit is
+       set and so we possibly cannot access the file afterwards.
+
+1999-09-29  Doug Evans  <devans@casey.cygnus.com>
+
+       * armos.c (SWIWrite0): Send output to stdout instead of stderr.
+       (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-06  Keith Seitz  <keiths@cygnus.com>
+
+       * wrapper.c (stop_simulator): New global.
+       (sim_stop): Set sim state to STOP and set
+       stop_simulator.
+       (sim_resume): Reset stop_simulator.
+       (sim_stop_reason): If stop_simulator is set, tell gdb
+       that the we took SIGINT.
+       * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
+       stop_simulator is set.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
+       whenever the counter expires.
+       * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
+
+1999-03-24  Nick Clifton  <nickc@cygnus.com>
+
+       * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
+       * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
+
+Mon Sep 14 09:00:05 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * wrapper.c (sim_open): Set endianness according to BFD or command
+       line switch.
+
+       * tconfig.in: Define SIM_HAVE_BIENDIAN.
+
+Thu Aug 27 11:00:05 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
+       the same as either RdHi or RdLo.
+
+Thu Jul  2 10:24:35 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
+       Set Reg[0] based on reason for for the exception.
+
+Thu Jun  4 15:22:03 1998  Jason Molenda  (crash@bugshack.cygnus.com)
+
+       * armos.c (SWIwrite0): New function.
+       (WriteCommandLineTo): New function.
+       (SWIopen): New function.
+       (SWIread): New function.
+       (SWIwrite): New function.
+       (SWIflen): New function.
+       (ARMul_OSHandleSWI): Call new functions instead of handling
+       these here.
+       (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
+       (*): Reformat spacing to be a bit more GNUly.
+       Most code taken from a patch by Anthony Thompson
+       (athompso@cambridge.arm.com)
+
+Tue Jun  2 15:22:22 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * armos.h: Add Angel SWI and its reason codes.
+       * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
+
+Mon Jun  1 17:14:19 1998  Anthony Thompson (athompso@cambridge.arm.com)
+
+       * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
+       of ":tt" to catch stdin in addition to stdout.
+       (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
+       or success of lseek().
+
+Wed May 20 17:36:25 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
+       to open stdout.
+
+Wed Apr 29 15:29:55 1998  Jeff Johnston  <jjohnstn@cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
+       SWI_Flen, and SWI_Time.  Also fixed SWI_Seek code to only
+       seek from offset 0 and not to use R2 for whence since it is
+       not passed as part of the SWI call.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:26 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:20:19 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Mar 10 09:26:38 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * armopts.h: Remove definition of LITTLEND - it is not used.
+
+Tue Feb 17 12:35:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter. Return -1.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Dec  9 11:30:48 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.in: Updated with changes from branch.
+       * armdefs.h:   ditto
+       * armemu.c:    ditto   these changes
+       * armemu.h:    ditto   add support for
+       * armos.c:     ditto   the Thumb instruction
+       * armsupp.c:   ditto   set and the new v4
+       * armvirt.c:   ditto   architecture.
+       * wrapper.c:   ditto
+       * thumbemu.c:  New file from branch.
+
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Oct 30 13:54:06 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI.  Patch
+       from Tony Thompson at ARM: athompso@arm.com
+
+       * wrapper.c (sim_create_inferior): Add code to create an execution
+       environment.  Patch from Tony Thompson at ARM: athompso@arm.com
+
+Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_load): Pass lma_p and sim_write args to
+       sim_load_file.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:37:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 15:35:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_open): Add ABFD argument.
+
+Tue May 20 10:13:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Drop SIM_DESC argument.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 18 13:32:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_stop): Stub sim_stop function.
+
+Thu Apr 17 18:33:01 1997  Fred Fish  <fnf@cygnus.com>
+
+       * arminit.c (ARMul_NewState): Preinitialize the state to
+       all zero/NULL.
+
+Thu Apr 17 02:39:02 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * wrapper.c (sim_kind,myname): New static locals.
+       (sim_open): Set sim_kind, myname.
+       (sim_load): Call sim_load_file to do work.  Set start address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete start_address arg.
+
+Thu Apr 17 11:48:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * wrapper.c (sim_trace): Update so that it matches prototype.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Apr  7 12:01:17 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Makefile.in (armemu32.o): Replace $< with autoconf recommended
+       $(srcdir)/....
+       (armemu26.o): Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * wrapper.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:50:44 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * COPYING: Update FSF address.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 12:38:56 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * wrapper.c (sim_open): Has result now.
+       (sim_*): New SIM_DESC argument.
+
+Tue Feb  4 13:22:21 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Wed Nov 20 01:05:10 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: Deleted, use one in ../common now.
+       * Makefile.in: Delete everything that's been moved to
+       ../common/Make-common.in.
+       (SIM_OBJS): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       * configure: Regenerated.
+       * config.in: New file.
+       * armos.c: #include config.h.
+       * wrapper.c (mem_size): Value is in bytes now.
+       (sim_callback): New global.
+       (arm_sim_set_profile{,_size}): Delete.
+       (arm_sim_set_mem_size): Rename to sim_size.
+       (sim_do_command): Call printf_filtered via callback.
+       (sim_set_callbacks): Record callback.
+
+Thu Oct  3 16:10:27 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (mostlyclean): Remove config.log.
+
+Wed Jun 26 12:17:24 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Wed Feb 21 12:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.7.
+
+Fri Dec 15 16:27:30 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * run.c (main): Use new bfd_big_endian macro.
+
+Mon Nov 20 17:40:38 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: Include "getopt.h".
+       (verbose): Delete.
+       (usage): Make static.
+       (main): Call arm_sim_set_verbosity.
+       Only load sections marked SEC_LOAD.
+       * wrapper.c (mem_size, verbosity): New static global.
+       (arm_sim_set_mem_size): Renamed from sim_size.  Callers updated.
+       (arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.
+
+Fri Nov 17 19:35:11 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * armdefs.h (ARMul_State): New member `verbose'.
+       * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
+       * run.c (verbose): Make global.
+       * wrapper.c (init): Set state->verbose.
+       (ARMul_ConsolePrint): Don't print anything if !verbose.
+
+Fri Oct 13 15:30:30 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * armos.c: #include dbg_rdi.h.
+       (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
+       * armos.h (SWI_Breakpoint): Define.
+       * wrapper.c: #include armemu.h, dbg_rdi.h.
+       (rc): Delete.
+       (sim_resume): Use state->EndCondition to record stop state.
+       Call FLUSHPIPE before returning.
+       (sim_stop_reason): Determine reason from state->EndCondition.
+
+Fri Oct 13 15:04:05 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * wrapper.c (sim_set_callbacks): New.
+
+Thu Sep 28 19:45:56 1995  Doug Evans  <dje@deneb.cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
+       number of bytes not read/written (or -1).
+
+Wed Sep 20 13:35:54 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New synonym for realclean.
+
+Fri Sep  8 14:27:20 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Remove AC_PROG_INSTALL.
+       * configure: Rebuild.
+       * Makefile.in (INSTALL): Revert to using install.sh.
+       (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
+       (INSTALL_XFORM, INSTALL_XFORM1): Restore.
+       (mostlyclean): Make the same as clean, not distclean.
+       (clean): Remove config.log.
+       (install): Don't install in $(tooldir).
+
+Thu Sep  7 12:00:17 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       (Try to) Update to new bfd autoconf scheme.
+       * run.c: Don't include sysdep.h.
+       * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
+       (CC, CFLAGS, AR, RANLIB): Likewise.
+       (HDEFINES, TDEFINES): Define.
+       (CC_FOR_BUILD): Delete.
+       (host_makefile_frag): Delete.
+       (Makefile): Don't depend on frags.
+       * configure.in (sysdep.h): Don't create symlink.
+       (host_makefile_frag, frags): Deleted.
+       (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
+       * configure: Regenerated.
+
+Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Update all FSF addresses except those in COPYING* files.
+
+Wed Jul  5 16:15:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (clean): Remove run, libsim.a.
+
+       * Makefile.in, configure.in: converted to autoconf.
+       * configure: New file, generated with autconf 2.4.
+
+       * arm.mt: Removed.
+
+Fri Jun 30 16:49:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * wrapper.c (sim_do_command): New function.
+
+Tue Jun 13 10:57:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * armos.c (ARMul_OSHandleSWI): New version to work with
+       newlib simply.
+
+Thu Jun  8 14:37:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * run.c (main): Grab return value from right register.
+
+Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * New.
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
deleted file mode 100644 (file)
index e36f2aa..0000000
+++ /dev/null
@@ -1,496 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (do_call): Change sd to avr_sim_state.
-       (step_once): Likewise.
-       (sim_open): Likewise.
-       (sim_create_inferior): Likewise.
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-       (struct avr_sim_state): New struct.
-       (AVR_SIM_STATE): Define.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c: Delete HAVE_STRING_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-07-19  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
-
-       PR target/19401
-       * interp.c (step_once): Pass break instruction address to
-       sim_engine_halt function which writes that to PC. Remove code that
-       follows that function call as it is unreachable.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * interp.c (sign_ext): Fix left shift of negative value.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (pc, cycles, avr_pc22): Delete.
-       (do_call): Add cpu to arguments.  Declare sd.  Change pc to cpu->pc,
-       avr_pc22 to sd->avr_pc22, and cycles to cpu->cycles.
-       (gen_mul): Add cpu to arguments.  Change cycles to cpu->cycles.
-       (step_once): Change pc to cpu->pc, avr_pc22 to sd->avr_pc22, and
-       cycles to cpu->cycles.  Pass cpu to do_call and gen_mul calls.
-       (avr_reg_store, avr_reg_fetch, avr_pc_get, avr_pc_set): Change pc
-       to cpu->pc.
-       (sim_open): Likewise.  Declare cpu.
-       (sim_create_inferior): Declare cpu and addr.  Change pc to addr and
-       call sim_pc_set.  Change avr_pc22 to sd->avr_pc22.
-       * sim-main.h (pc): Delete.
-       (struct _sim_cpu): Add pc and cycles.
-       (struct sim_state): Add avr_pc22.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_store_register): Rename to ...
-       (avr_reg_store): ... this.  Adjust signature.
-       (sim_fetch_register): Rename to ...
-       (avr_reg_fetch): ... this.  Adjust signature.
-       (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-27  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
-
-       * Makefile.in (SIM_OBJS): Move interp.o
-       above $(SIM_NEW_COMMON_OBJS).
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (avr_pc_get, avr_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
-       CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h: Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS, SIM_RUN_OBJS, SIM_EXTRA_LIBS): Delete.
-       (interp.o): Delete rule.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
-       SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
-       * interp.c: Delete gdb/callback.h, gdb/signals.h, dis-asm.h, and
-       sim-utils.h includes.  Include sim-main.h, sim-base.h, and
-       sim-options.h.
-       (tracing, lock_step, verbose): Delete.
-       (pc): Drop static.
-       (cur_bfd, cpu_exception, cpu_signal, sim_kind, myname, callback):
-       Delete.
-       (flash, sram): Add TODO.
-       (sim_size, disasm_read_memory, disasm_perror_memory,
-       disassemble_insn): Delete.
-       (sim_resume): Rename to ...
-       (step_once): ... this.  Mark static.  Delete step variable and while
-       loop, and unindent body.  Add #if 0 around tracing/verbose code.
-       Change cpu_exception to sim_engine_halt.
-       (sim_trace): Delete.
-       (sim_engine_run): New function.
-       (sim_stop_reason, sim_stop, sim_info): Delete.
-       (free_state): New function.
-       (sim_open, sim_close, sim_create_inferior): Rewrite from scratch.
-       (sim_load, sim_do_command, sim_set_callbacks,
-       sim_complete_command): delete.
-       * sim-main.h: New file.
-       * config.in, configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_kill): Delete unused func.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-       * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_complete_command): New stub function.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2009-11-12  Tristan Gingold  <gingold@adacore.com>
-
-       * interp.c (sim_write): Allow byte access.
-       (sim_read): Ditto.
-
-2009-11-12  Tristan Gingold  <gingold@adacore.com>
-
-       * interp.c (sim_load): Clear memory before loading.
-
-2009-11-09  Tristan Gingold  <gingold@adacore.com>
-
-       * interp.c (sim_resume): Fix typo for OP_ret.
-
-2009-10-22  Tristan Gingold  <gingold@adacore.com>
-
-       * interp.c (sim_stop): Return 1.
-
-2009-04-27  Tristan Gingold  <gingold@adacore.com>
-
-       * interp.c, Makefile.in, configure.ac: New files.
-       * config.in: New file, generated by autoheader.
-       * configure: New file generated by autoconf.
diff --git a/sim/avr/ChangeLog-2021 b/sim/avr/ChangeLog-2021
new file mode 100644 (file)
index 0000000..e36f2aa
--- /dev/null
@@ -0,0 +1,496 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (do_call): Change sd to avr_sim_state.
+       (step_once): Likewise.
+       (sim_open): Likewise.
+       (sim_create_inferior): Likewise.
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+       (struct avr_sim_state): New struct.
+       (AVR_SIM_STATE): Define.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c: Delete HAVE_STRING_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-07-19  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
+
+       PR target/19401
+       * interp.c (step_once): Pass break instruction address to
+       sim_engine_halt function which writes that to PC. Remove code that
+       follows that function call as it is unreachable.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * interp.c (sign_ext): Fix left shift of negative value.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (pc, cycles, avr_pc22): Delete.
+       (do_call): Add cpu to arguments.  Declare sd.  Change pc to cpu->pc,
+       avr_pc22 to sd->avr_pc22, and cycles to cpu->cycles.
+       (gen_mul): Add cpu to arguments.  Change cycles to cpu->cycles.
+       (step_once): Change pc to cpu->pc, avr_pc22 to sd->avr_pc22, and
+       cycles to cpu->cycles.  Pass cpu to do_call and gen_mul calls.
+       (avr_reg_store, avr_reg_fetch, avr_pc_get, avr_pc_set): Change pc
+       to cpu->pc.
+       (sim_open): Likewise.  Declare cpu.
+       (sim_create_inferior): Declare cpu and addr.  Change pc to addr and
+       call sim_pc_set.  Change avr_pc22 to sd->avr_pc22.
+       * sim-main.h (pc): Delete.
+       (struct _sim_cpu): Add pc and cycles.
+       (struct sim_state): Add avr_pc22.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_store_register): Rename to ...
+       (avr_reg_store): ... this.  Adjust signature.
+       (sim_fetch_register): Rename to ...
+       (avr_reg_fetch): ... this.  Adjust signature.
+       (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-27  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * Makefile.in (SIM_OBJS): Move interp.o
+       above $(SIM_NEW_COMMON_OBJS).
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (avr_pc_get, avr_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
+       CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h: Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS, SIM_RUN_OBJS, SIM_EXTRA_LIBS): Delete.
+       (interp.o): Delete rule.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
+       SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
+       * interp.c: Delete gdb/callback.h, gdb/signals.h, dis-asm.h, and
+       sim-utils.h includes.  Include sim-main.h, sim-base.h, and
+       sim-options.h.
+       (tracing, lock_step, verbose): Delete.
+       (pc): Drop static.
+       (cur_bfd, cpu_exception, cpu_signal, sim_kind, myname, callback):
+       Delete.
+       (flash, sram): Add TODO.
+       (sim_size, disasm_read_memory, disasm_perror_memory,
+       disassemble_insn): Delete.
+       (sim_resume): Rename to ...
+       (step_once): ... this.  Mark static.  Delete step variable and while
+       loop, and unindent body.  Add #if 0 around tracing/verbose code.
+       Change cpu_exception to sim_engine_halt.
+       (sim_trace): Delete.
+       (sim_engine_run): New function.
+       (sim_stop_reason, sim_stop, sim_info): Delete.
+       (free_state): New function.
+       (sim_open, sim_close, sim_create_inferior): Rewrite from scratch.
+       (sim_load, sim_do_command, sim_set_callbacks,
+       sim_complete_command): delete.
+       * sim-main.h: New file.
+       * config.in, configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_kill): Delete unused func.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+       * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_complete_command): New stub function.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2009-11-12  Tristan Gingold  <gingold@adacore.com>
+
+       * interp.c (sim_write): Allow byte access.
+       (sim_read): Ditto.
+
+2009-11-12  Tristan Gingold  <gingold@adacore.com>
+
+       * interp.c (sim_load): Clear memory before loading.
+
+2009-11-09  Tristan Gingold  <gingold@adacore.com>
+
+       * interp.c (sim_resume): Fix typo for OP_ret.
+
+2009-10-22  Tristan Gingold  <gingold@adacore.com>
+
+       * interp.c (sim_stop): Return 1.
+
+2009-04-27  Tristan Gingold  <gingold@adacore.com>
+
+       * interp.c, Makefile.in, configure.ac: New files.
+       * config.in: New file, generated by autoheader.
+       * configure: New file generated by autoconf.
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
deleted file mode 100644 (file)
index d02e56c..0000000
+++ /dev/null
@@ -1,1495 +0,0 @@
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * interp.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Set STATE_MACHS.
-       * machs.c (sim_machs): Rename to ...
-       (bfin_sim_machs): ... this.
-       * machs.h (bfin_sim_machs): New decl.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (sim_machs): Mark const.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Change to $(SDL_CFLAGS) & $(SDL_LIBS).
-       * configure.ac: Delete PKG_PROG_PKG_CONFIG &
-       PKG_CHECK_MODULES calls.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_syscall): Set sc.arg5 & sc.arg6.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Change @MAINTAINER_MODE_TRUE@ to $(MAINT).
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_cec.c: Include sim-signal.h.
-       * sim-main.h: Delete sim-signal.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include portability.h.
-       (getuid, getgid, geteuid, getegid setuid, setgid): Delete.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete calls to AC_CHECK_FUNCS_ONCE and
-       AC_CHECK_HEADERS_ONCE.
-       * config.in, configure: Regenerate.
-
-2021-05-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_otp.c (bfin_otp_write_page): Shift data1 & data3 by 32-bits.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_otp.c (bfin_otp_write_page): Fix args to
-       bfin_otp_write_page_val2.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_otp.c (bfin_otp_write_page): Call bfin_otp_write_page_val2.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_cec.c: Include strings.h.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Call sim_state_alloc_extra.
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-       (STATE_BOARD_DATA): Define.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c, devices.c, dv-bfin_cec.c, dv-bfin_ctimer.c,
-       dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
-       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
-       dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gpio.c, dv-bfin_gpio2.c,
-       dv-bfin_gptimer.c, dv-bfin_jtag.c, dv-bfin_mmu.c, dv-bfin_nfc.c,
-       dv-bfin_otp.c, dv-bfin_pfmon.c, dv-bfin_pint.c, dv-bfin_pll.c,
-       dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
-       dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
-       dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c, interp.c,
-       machs.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * interp.c (sim_open): Adjust format string specifier.
-
-2021-05-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c: Include ansidecl.h.
-       (illegal_instruction): Change __attribute__((noreturn)) to
-       ATTRIBUTE_NORETURN.
-       (illegal_instruction_combination, illegal_instruction_or_combination,
-       unhandled_instruction): Likewise.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_mmu.c (bfin_mmu_options): Mark static.
-       (sim_install_bfin_mmu): New function & prototype.
-       * interp.c (e_sim_add_option_table): Delete.
-       * machs.c (bfin_mach_options): Mark static.
-       (sim_install_bfin_mach): New function & prototype.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (INCLUDE): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
-       delete mmap & munmap.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_syscall): Delete CB_SYS_getpid handling.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c: Include stdlib.h.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_dma.c: Include stdlib.h.
-
-2021-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Change ALIGN to align_up.
-       * sim-main.h (ALIGN): Delete
-
-2020-08-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure.ac: Include config/pkg.m4.
-
-2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
-
-       * aclocal.m4, configure: Re-generate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-08-13  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/20438
-       * machs.h (MODEL_TYPE, MACH_ATTR, BFIN_INSN_*): Move ...
-       * arch.h: ... to this new header file.
-       * sim-main.h (SIM_CPU): Delete.
-       Include arch.h before sim-base.h, and move sim-base.h before
-       bfin-sim.h.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_syscall): Remove first const from argv.
-       (sim_open): Mark argv const.
-       (simple_env): Remove first const.
-       (bfin_user_init): Remove first const from argv and and env
-       (bfin_os_init): Remove first const from argv.
-       (sim_create_inferior): Mark argv and env const.
-       Drop casts from bfin_user_init and bfin_os_init calls.
-
-2016-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (step_once): Call TRACE_DISASM.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32shift_0): Change MIN to min.
-       * dv-bfin_dma.c (bfin_dma_hw_event_callback): Likewise.
-       * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_write_amgctl): Likewise.
-       * dv-bfin_emac.c (bfin_emac_dma_read_buffer): Change MAX to max.
-       * dv-bfin_mmu.c (_mmu_check_addr): Change MIN to min.
-       * dv-bfin_trace.c (bfin_trace_io_read_buffer): Likewise.
-       * interp.c (bfin_fdpic_load): Change MAX to max.
-       (bfin_fdpic_load): Likewise.
-       * sim-main.h (MIN, MAX): Delete.
-       (CLAMP): Change MIN to min and MAX to max.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * TODO: Delete file.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (count_argc): Delete.
-       (bfin_syscall): Change count_argc to countargv.
-       (bfin_user_init): Likewise.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (bfin_mmr_invalid): Delete cpu arg and add missing arg.
-       Add cpu, rw, and reason local vars.  Rewrite error messages.  Add
-       more todo comments.
-       (dv_bfin_mmr_invalid): Update bfin_mmr_invalid call.
-       (dv_bfin_mmr_require): Likewise.  Change return to bool.  Check
-       alignment of the addr variable.
-       (bfin_mmr_check, dv_bfin_mmr_check, device_io_read_buffer,
-       device_io_write_buffer): Delete.
-       (dv_bfin_mmr_require_16_32): Define.
-       * devices.h (dv_bfin_mmr_require): Change return to bool.
-       (dv_bfin_mmr_check): Delete.
-       (dv_bfin_mmr_require_16_32): Define.
-       Add a few comments.
-       * dv-bfin_cec.c (bfin_cec_io_write_buffer): Call
-       dv_bfin_mmr_require_32.
-       (bfin_cec_io_read_buffer): Likewise.
-       * dv-bfin_ctimer.c (bfin_ctimer_io_write_buffer): Likewise.
-       (bfin_ctimer_io_read_buffer): Likewise.
-       * dv-bfin_dma.c (bfin_dma_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.  Return 0 in the default case.
-       (bfin_dma_io_read_buffer): Call dv_bfin_mmr_require_16_32.
-       * dv-bfin_ebiu_amc.c (bf50x_ebiu_amc_io_write_buffer): Return 0
-       when dv_bfin_mmr_require_16 fails and in the default case.
-       (bf53x_ebiu_amc_io_write_buffer): Likewise.
-       (bf54x_ebiu_amc_io_write_buffer): Likewise.
-       (bfin_ebiu_amc_io_write_buffer): Call dv_bfin_mmr_require_16_32.
-       (bf50x_ebiu_amc_io_read_buffer): Return 0 when
-       dv_bfin_mmr_require_16 fails and in the default case.
-       (bf53x_ebiu_amc_io_read_buffer): Likewise.
-       (bf54x_ebiu_amc_io_read_buffer): Likewise.
-       (bfin_ebiu_amc_io_read_buffer): Call dv_bfin_mmr_require_16_32.
-       * dv-bfin_ebiu_ddrc.c (bfin_ebiu_ddrc_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16 or
-       dv_bfin_mmr_require_32 fails.
-       (bfin_ebiu_ddrc_io_read_buffer): Likewise.
-       * dv-bfin_ebiu_sdc.c (bfin_ebiu_sdc_io_write_buffer): Likewise.
-       (bfin_ebiu_sdc_io_read_buffer): Likewise.
-       * dv-bfin_emac.c (bfin_emac_io_write_buffer): Return 0 when
-       dv_bfin_mmr_require_32 fails and in the default case.
-       (bfin_emac_io_read_buffer): Likewise.
-       * dv-bfin_eppi.c (bfin_eppi_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32 and return 0 when dv_bfin_mmr_require_16
-       or dv_bfin_mmr_require_32 fails and in the default case.
-       (bfin_eppi_io_read_buffer): Likewise.
-       * dv-bfin_evt.c (bfin_evt_io_write_buffer): Call
-       dv_bfin_mmr_require_32.
-       (bfin_evt_io_read_buffer): Likewise.
-       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       (bfin_gpio_io_read_buffer): Likewise.
-       * dv-bfin_gpio2.c (bfin_gpio_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 and dv_bfin_mmr_require_32 to earlier in the
-       func.  Return 0 when it fails and in the default case.
-       (bfin_gpio_io_read_buffer): Likewise.
-       * dv-bfin_gptimer.c (bfin_gptimer_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16 or
-       dv_bfin_mmr_require_32 fails and in the default case.
-       (bfin_gptimer_io_read_buffer): Likewise.
-       * dv-bfin_jtag.c (bfin_jtag_io_write_buffer): Call
-       dv_bfin_mmr_require_32.  Return 0 in the default case.
-       (bfin_jtag_io_read_buffer): Likewise.  Delete while(1) loop.
-       * dv-bfin_mmu.c (bfin_mmu_io_write_buffer): Call
-       dv_bfin_mmr_require_32.  Return 0 in the default case.
-       (bfin_mmu_io_read_buffer): Likewise.  Delete while(1) loop.
-       * dv-bfin_nfc.c (bfin_nfc_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       (bfin_nfc_io_read_buffer): Likewise.
-       * dv-bfin_otp.c (bfin_otp_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16
-       or dv_bfin_mmr_require_32 fails and in the default case.
-       (bfin_otp_io_read_buffer): Likewise.
-       * dv-bfin_pfmon.c (bfin_pfmon_io_write_buffer): Call
-       dv_bfin_mmr_require_32.  Return 0 in the default case.
-       (bfin_pfmon_io_read_buffer): Likewise.  Delete while(1) loop.
-       * dv-bfin_pint.c (bfin_pint_io_write_buffer): Move call to
-       dv_bfin_mmr_require_32 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       (bfin_pint_io_read_buffer): Likewise.
-       * dv-bfin_pll.c (bfin_pll_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16
-       fails.
-       (bfin_pll_io_read_buffer): Likewise.
-       * dv-bfin_ppi.c (bfin_ppi_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       9bfin_ppi_io_read_buffer): Likewise.
-       * dv-bfin_rtc.c (bfin_rtc_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.
-       (bfin_rtc_io_read_buffer): Likewise.
-       * dv-bfin_sic.c (bfin_sic_52x_io_write_buffer): Likewise.
-       (bfin_sic_52x_io_read_buffer, bfin_sic_537_io_write_buffer,
-       bfin_sic_537_io_read_buffer, bfin_sic_54x_io_write_buffer,
-       bfin_sic_54x_io_read_buffer, bfin_sic_561_io_write_buffer,
-       bfin_sic_561_io_read_buffer): Likewise.
-       * dv-bfin_spi.c (bfin_spi_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       (bfin_spi_io_read_buffer): Likewise.
-       * dv-bfin_trace.c (bfin_trace_io_write_buffer): Call
-       dv_bfin_mmr_require_32.  Return 0 in the default case.
-       (bfin_trace_io_read_buffer): Likewise.  Delete while(1) loop.
-       * dv-bfin_twi.c (bfin_twi_io_write_buffer): Move call to
-       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
-       fails and in the default case.
-       (bfin_twi_io_read_buffer): Likewise.
-       * dv-bfin_uart.c (bfin_uart_io_write_buffer): Likewise.
-       (bfin_uart_io_read_buffer): Likewise.
-       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Likewise.
-       (bfin_uart_io_read_buffer): Likewise.
-       * dv-bfin_wdog.c (bfin_wdog_io_write_buffer): Call
-       dv_bfin_mmr_require_16_32.
-       (bfin_wdog_io_read_buffer): Likewise.  Return 0 when
-       dv_bfin_mmr_require_16 fails.
-       * dv-bfin_wp.c (bfin_wp_io_write_buffer): Call
-       dv_bfin_mmr_require_32.  Return 0 in the default case.
-       (bfin_wp_io_read_buffer): Likewise.  Delete while(1) loop.
-       * tconfig.h: Delete file.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_LDST_0): Add 4th element to posts array.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Update comment and argv check.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-       * tconfig.h (SIM_HAVE_MODEL): Delete.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (WITH_MODULO_MEMORY): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-10-11  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/18407
-       * bfin-sim.c (decode_dsp32shiftimm_0): Call ashiftrt when count
-       is less than 0.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (trace_register): Delete.
-       * sim-main.h (trace_register, TRACE_REGISTER, TRACE_REG): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (bfin_syscall): Change syscall_read_mem/syscall_write_mem to
-       sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * linux-targ-map.h: Update example comments.
-       (cb_linux_syscall_map): Fill out name field.
-       (cb_linux_errno_map, cb_linux_open_map, cb_linux_signal_map):
-       Likewise.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Expand comment on CB_SYS_xxx defines.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (hwloop_get_next_pc): Change TRACE_BRANCH to
-       BFIN_TRACE_BRANCH.
-       (decode_ProgCtrl_0, decode_BRCC_0, decode_UJUMP_0, decode_CALLa_0):
-       Likewise.
-       * bfin-sim.h (__PUT_MEM, __GET_MEM): Change TRACE_CORE to
-       BFIN_TRACE_CORE.
-       * dv-bfin_cec.c (_cec_raise, cec_latch, cec_return): Change
-       TRACE_BRANCH to BFIN_TRACE_BRANCH.
-       * interp.c (syscall_read_mem, syscall_write_mem): Change MAYBE_TRACE
-       to TRACE_CORE.
-       * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
-       TRACE_SYSCALL, TRACE_EVENTS): Delete.
-       (TRACE_CORE): Rename to ...
-       (BFIN_TRACE_CORE): ... this.  Change MAYBE_TRACE to TRACE_CORE.
-       (TRACE_BRANCH): Rename to ...
-       (BFIN_TRACE_BRANCH): ... this.  Change MAYBE_TRACE to TRACE_BRANCH.
-
-2015-04-24  David Binderman  <dcb314@hotmail.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * bfin-sim.c (decode_dsp32alu_0): Remove spurious check for
-       s == 1.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Add note to clean this up.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac (BFIN_SIM_EXTRA_OBJS): Delete.
-       * Makefile.in (SIM_OBJS): Delete @BFIN_SIM_EXTRA_OBJS@.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_uart.c [!HAVE_DV_SOCKSER] (dv_sockser_status,
-       dv_sockser_write, dv_sockser_read): Delete.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Delete run-sim.h include.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-
-2015-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/13160
-       * Makefile.in ($(srcdir)/linux-fixed-code.h): Put a ; after the
-       print sed command for BSD compatibility.
-
-2015-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/13160
-       * Makefile.in ($(srcdir)/linux-fixed-code.h): Specify the asm input
-       directly rather than use $<.  Move the file name to the end of the
-       sed command to be POSIX compliant.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32alu_0): Add note about broken handling of
-       SEARCH with parallel insns.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32shift_0): Make sure HLs is 0 after last
-       insn that uses it.
-       (decode_dsp32shiftimm_0): Likewise.
-       Require HLs be less than 2 for accumulator shift insns.
-
-2013-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32alu_0): Check more opcode fields before
-       decoding various insns.
-
-2013-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * TODO: Add more notes.
-
-2013-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in ($(srcdir)/linux-fixed-code.h): Add
-       @MAINTAINER_MODE_TRUE@ as the first item in the dependency list.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Use $SIM_DV_SOCKSER_O.
-       * configure: Regenerated.
-
-2012-12-20  Joel Brobecker  <brobecker@adacore.com>
-
-       * aclocal.m4: Revert the previous change changing
-       the license from GPL v2 or later to GPL v3 or later
-       (this file was generated).
-
-2012-12-20  Joel Brobecker  <brobecker@adacore.com>
-
-       * linux-fixed-code.s: Revert the previous change changing
-       the license from GPL v2 or later to GPL v3 or later.
-
-2012-07-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bf54x_roms): Pass 0x1000 to alias field of BFROM, and
-       0x10000 to the alias field of BFROMA.
-       (bf561_roms): Pass 0x1000 to alias field of BFROM.
-       (bf59x_roms): Pass 0x10000 to alias field of BFROMA.
-
-2012-07-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bfin_reg_fetch): Change return 0 to return -1, and
-       return -1 to return 4.
-       (bfin_reg_store): Likewise.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-04-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pint.
-       * configure: Regenerate.
-       * dv-bfin_pint.c, dv-bfin_pint.h: New device model.
-       * machs.c (bf542_dev): Add PINT register blocks.
-       (bf544_dev, bf547_dev): Likewise.
-       (PINT_PIQS): Define.
-       (bf54x_port): Add pint/gpio routing.
-       * machs.h (BFIN_MMR_PINT_SIZE): Define.
-
-2012-04-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio2.
-       * configure: Regenerate.
-       * dv-bfin_gpio2.c, dv-bfin_gpio2.h: New device model.
-       * machs.c (bf54x_mem): Delete GPIO mem stub.
-       (bf542_dev): Add GPIO register blocks.
-       (bf544_dev, bf547_dev): Likewise.
-       * machs.h (BFIN_MMR_GPIO2_SIZE): Define.
-
-2012-04-09  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shift_0): Extract the sign for ASHIFT
-       and LSHIFT, and set ASTAT based on the before/after values.
-       Rename "val" to "acc" to be consistent with other code branches.
-
-2012-04-09  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (sgn_extend): New helper.
-       (decode_dsp32shiftimm_0): Call lshift when newimmag is more
-       than 16, otherwise call ashiftrt.  Set ASTAT fields as needed.
-       For accumulator shifts, call new sgn_extend helper.
-
-2012-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (illegal_instruction_or_combination): New helper.
-       (decode_ProgCtrl_0): Call illegal_instruction_or_combination instead
-       of illegal_instruction.
-       (decode_PushPopReg_0, decode_CCflag_0, decode_CC2dreg_0,
-       decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0,
-       decode_dspLDST_0, decode_LDST_0, _interp_insn_bfin): Likewise.
-       (decode_PushPopMultiple_0): Call illegal_instruction_combination when
-       PARALLEL_GROUP is not BFIN_PARALLEL_NONE.
-       (decode_CCflag_0, decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0,
-       decode_COMPI2opD_0, decode_COMPI2opP_0): Likewise.
-       (decode_CC2stat_0): Check PARALLEL_GROUP before cbit.
-       (decode_LDSTpmod_0): Call illegal_instruction_combination when
-       PARALLEL_GROUP is BFIN_PARALLEL_GROUP2.
-       (decode_dagMODim_0, decode_dagMODik_0, decode_LDST_0,
-       decode_LDSTiiFP_0, decode_LDSTii_0): Likewise.
-
-2012-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.h (bfin_parallel_group): New enum.
-       (bfin_cpu_state): Add new "group" member.
-       (PARALLEL_GROUP): Define.
-       * bfin-sim.c (decode_ProgCtrl_0): Change INSN_LEN check to
-       PARALLEL_GROUP.
-       (decode_CaCTRL_0, decode_PushPopReg_0, decode_ccMV_0, decode_CCflag_0,
-       decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0,
-       decode_LOGI2op_0, decode_LoopSetup_0, decode_LDIMMhalf_0,
-       decode_CALLa_0, decode_linkage_0): Likewise.
-       (_interp_insn_bfin): Set PARALLEL_GROUP.
-       (interp_insn_bfin): Likewise.
-
-2012-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32alu_0): Delete extra space in TRACE_INSN.
-
-2012-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (_interp_insn_bfin): Call illegal_instruction_combination
-       when INSN_LEN is non-zero before 32bit decode.
-
-2012-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-dis.c (fmtconst): Replace decimal handling with a single
-       sprintf call and the '*' field width.
-
-2012-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bfin_model_map_bfrom): Return when mnum is 535.
-
-2012-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_user_init): Move auxvt_size decl from top to
-       inside of auxvt check.
-
-2012-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_sic.c (bfin_sic_finish): Change iwr1 to iwr2.
-
-2012-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c: Include devices.h.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-03-19  Robin Getz  <robin.getz@analog.com>
-           Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (lshift): Add an overflow flag.  Delete now unused
-       i, j, and tmp vars.  Add a new v_i var.  Split the overflow logic
-       out from the saturate logic.  Do not set V ASTAT bits when working
-       with accumulators.
-       (decode_ALU2op_0): Add new argument to lshift call.
-       (decode_LOGI2op_0, decode_dsp32shift_0, decode_dsp32shiftimm_0):
-       Likewise.
-
-2012-03-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_ebiu_amc.c (struct bfin_ebiu_amc): Add bank_base.
-       (bfin_ebiu_amc_write_amgctl): Replace BFIN_EBIU_AMC_BASE with
-       amc->bank_base.
-       (bfin_ebiu_amc_finish): Assign BFIN_EBIU_AMC_BASE to amc->bank_base.
-
-2012-03-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_attach_address_callback): Use
-       ARRAY_SIZE rather than hardcoded constant.
-
-2012-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-       * configure.ac: Add linux/types.h to AC_CHECK_HEADERS.
-       * dv-eth_phy.c: Check for HAVE_LINUX_TYPES_H, and delete __u16 and
-       _LINUX_TYPES_H defines.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_syscall): Increase _tbuf storage.  Declare new local
-       tstr buffer.  Call cb_get_string on tstr when handling CB_SYS_stat64,
-       CB_SYS_lstat64, CB_SYS_open, CB_SYS_write, CB_SYS_unlink,
-       CB_SYS_truncate, CB_SYS_rename, CB_SYS_stat, CB_SYS_lstat.  Include
-       tstr in the tbuf output.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete all dependency rules.
-       * aclocal.m4, configure: Regenerate.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-       * aclocal.m4, configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-09-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32shift_0): Use STORE() for VIT_MAX insns.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Delete.
-
-2011-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (cb_linux_stat_map_32, cb_linux_stat_map_64): Rename from
-       stat_map_32 and stat_map_64.
-       (cb_libgloss_stat_map_32): New stat map.
-       (stat_map_32, stat_map_64): New stat map pointers.
-       (bfin_user_init): Assign stat_map_32 to cb_linux_stat_map_32 and
-       stat_map_64 to cb_linux_stat_map_64.
-       (bfin_virtual_init): New function.
-       (sim_create_inferior): Call bfin_virtual_init for all other envs.
-
-2011-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (bfin_syscall): Delete old comment.  Set dreg 1 to
-       sc.result2 and dreg 2 to sc.errcode.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shift_0): Clear ASTAT[AV] if val is 0,
-       else set it.  Set ASTAT[AVS] if val is 0.  Do this for LSHIFT and
-       ASHIFT accumulator insns.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (ashiftrt): If size is 40, do not call SET_ASTATREG.
-       (lshiftrt): Likewise.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shift_0): Use get_unextended_acc
-       rather than get_extended_acc in LSHIFT insns.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_macfunc): Handle MM when mmod is M_TFU.
-       Check MM once when mmod is M_FU to match M_TFU better.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shiftimm_0): When shift is greater than
-       32, perform a left shift.  Update the corresponding AV bit.  Set
-       AZ when the low 32bits are also zero.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shiftimm_0): With left shift vector insns,
-       call lshift only when count is positive.  Otherwise, call ashiftrt.
-       With arithmetic right shift insns, call ashiftrt when the value is
-       small enough, otherwise call lshift.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (extract_mult): Call saturate_s16 directly when
-       mmod is M_IH rather than computing the result by hand.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_macfunc): Add nosat_acc to track acc value
-       before saturation, set sat when more cases saturate, and set the
-       overflow bit based on these results.  For M_TFU, M_IU, M_FU, and
-       M_W32, change the max values compared against.
-       (decode_dsp32mac_0): Delete v_i and add v_0 and v_1.  Pass v_1
-       when processing MAC1 and pass v_0 when processing MAC0.  Combine
-       the results into the V/VS ASTAT bits.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (extract_mult): Call saturate_s32 when MM is set
-       and mmod is M_IU.  Call saturate_s16 when MM is set and mmod
-       is M_TFU.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_multfunc): Call new is_macmod_signed, and
-       allow MM to sign extend all the time.
-       (decode_macfunc): Likewise.  Drop sign extension of unsigned
-       values.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (saturate_s40_astat): Change ">=" to ">".
-       (decode_macfunc): Likewise when mmod is M_IH.
-
-2011-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Change free to freeargv.
-
-2011-06-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bf534_dev, bf537_dev): Add glue-or devices.
-       (bf537_port): Define applicable devices with PORT to the glue-or
-       devices instead of SIC.
-       (bfin_model_hw_tree_init): Drop old sim_hw_parse call for bfin_sic.
-       Only parse reg/type when the device has an address.  Move the call
-       to dv_bfin_hw_port_parse up before slash check.
-
-2011-06-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_sic.c (ENC, DEC_PIN, DEC_SIC): Move above the
-       BFIN_SIC_TO_CEC_PORTS definition.
-       (SIC_PORTS): New define.
-       (bfin_sic_50x_ports, bfin_sic_51x_ports, bfin_sic_52x_ports,
-       bfin_sic_533_ports, bfin_sic_537_ports, bfin_sic_538_ports,
-       bfin_sic_54x_ports, bfin_sic_561_ports, bfin_sic_59x_ports):
-       Delete old layouts.
-       (bfin_sic1_ports, bfin_sic2_ports, bfin_sic3_ports,
-       bfin_sic_561_ports): Define new layouts with SIC_PORTS().
-       (bfin_sic_finish): Change reference to bfin_sic_50x_ports,
-       bfin_sic_51x_ports, bfin_sic_52x_ports, and bfin_sic_538_ports
-       to bfin_sic2_ports.  Change reference to bfin_sic_533_ports,
-       bfin_sic_537_ports, and bfin_sic_59x_ports to bfin_sic1_ports.
-       Change reference to bfin_sic_54x_ports to bfin_sic3_ports.
-       * machs.c (bfin_port_layout): New structure.
-       (bfin_model_data): Add new "port" and "port_count" members.
-       (PORT, SIC): New defines.
-       (bf000_port, bf50x_port, bf51x_port, bf52x_port, bf533_port,
-       bf537_port, bf538_port, bf54x_port, bf561_port, bf592_port):
-       Move and redefine port layout from dv-bfin_sic.c to here.
-       (bf504_port, bf506_port, bf512_port, bf514_port, bf516_port,
-       bf518_port, bf522_port, bf523_port, bf524_port, bf525_port,
-       bf526_port, bf527_port, bf531_port, bf532_port, bf534_port,
-       bf536_port, bf539_port, bf542_port, bf544_port, bf547_port,
-       bf548_port, bf549_port): New defines.
-       (bfin_model_data): Link in new bfin_port_layout.port member.
-       (dv_bfin_hw_port_parse): New function.
-       (dv_bfin_hw_parse): Call new dv_bfin_hw_port_parse function.
-       (bfin_model_hw_tree_init): Replace calls to sim_hw_parse for
-       bfin_sic links with new dv_bfin_hw_port_parse function.
-
-2011-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_dma.c (bfin_dma_io_write_buffer): Fix indentation.
-
-2011-05-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (TRACE_SYSCALL): Change EVENTS to SYSCALL.
-
-2011-05-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_cec.h (BFIN_COREMMR_CEC_{BASE,SIZE}): Move to ...
-       * dv-bfin_ctimer.h (BFIN_COREMMR_CTIMER_{BASE,SIZE}): Move to ...
-       * dv-bfin_dma.h (BFIN_MMR_DMA_SIZE): Move to ...
-       * dv-bfin_dmac.h (BFIN_MMR_DMAC{0,1}_BASE): Move to ...
-       * dv-bfin_ebiu_amc.h (BF{IN,50X,54X}_MMR_EBIU_AMC_SIZE): Move to ...
-       * dv-bfin_ebiu_ddrc.h (BFIN_MMR_EBIU_DDRC_SIZE): Move to ...
-       * dv-bfin_ebiu_sdc.h (BFIN_MMR_EBIU_SDC_SIZE): Move to ...
-       * dv-bfin_emac.h (BFIN_MMR_EMAC_{BASE,SIZE}): Move to ...
-       * dv-bfin_eppi.h (BFIN_MMR_EPPI_SIZE): Move to ...
-       * dv-bfin_evt.h (BFIN_COREMMR_EVT_{BASE,SIZE}): Move to ...
-       * dv-bfin_gpio.h (BFIN_MMR_GPIO_SIZE): Move to ...
-       * dv-bfin_gptimer.h (BFIN_MMR_GPTIMER_SIZE): Move to ...
-       * dv-bfin_jtag.h (BFIN_COREMMR_JTAG_{BASE,SIZE}): Move to ...
-       * dv-bfin_mmu.h (BFIN_COREMMR_MMU_{BASE,SIZE}): Move to ...
-       * dv-bfin_nfc.h (BFIN_MMR_NFC_SIZE): Move to ...
-       * dv-bfin_otp.h (BFIN_MMR_OTP_SIZE): Move to ...
-       * dv-bfin_pfmon.h (BFIN_COREMMR_PFMON_{BASE,SIZE}): Move to ...
-       * dv-bfin_pll.h (BFIN_MMR_PLL_{BASE,SIZE}): Move to ...
-       * dv-bfin_ppi.h (BFIN_MMR_PPI_SIZE): Move to ...
-       * dv-bfin_rtc.h (BFIN_MMR_RTC_SIZE): Move to ...
-       * dv-bfin_sic.h (BFIN_MMR_SIC_{BASE,SIZE}): Move to ...
-       * dv-bfin_spi.h (BFIN_MMR_SPI_SIZE): Move to ...
-       * dv-bfin_trace.h (BFIN_COREMMR_TRACE_{BASE,SIZE}): Move to ...
-       * dv-bfin_twi.h (BFIN_MMR_TWI_SIZE): Move to ...
-       * dv-bfin_uart.h (BFIN_MMR_UART_SIZE): Move to ...
-       * dv-bfin_uart2.h (BFIN_MMR_UART2_SIZE): Move to ...
-       * dv-bfin_wdog.h (BFIN_MMR_WDOG_SIZE): Move to ...
-       * dv-bfin_wp.h (BFIN_COREMMR_WP_{BASE,SIZE}): Move to ...
-       * machs.h: ... here.
-       * machs.c: Delete all dv-bfin_*.h includes except for cec/dmac.
-
-2011-05-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (dv-bfin_pfmon.o): New target.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pfmon.
-       * configure: Regenerated.
-       * dv-bfin_pfmon.c, dv-bfin_pfmon.h: New files.
-       * machs.c: Add include new bfin_pfmon.h.
-       (bfin_core_dev): Add pfmon.
-
-2011-05-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bf526_roms): Add a region with rev of 2.
-       (bf54x_roms): Add regions with rev of 4.
-       * bfroms/all.h: Include new bf526-0.2.h, bf54x-0.4.h, and
-       bf54x_l1-0.4.h headers.
-       * bfroms/bf526-0.2.h, bfroms/bf54x-0.4.h, bfroms/bf54x_l1-0.4.h:
-       New header files.
-
-2011-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_PushPopReg_0): Delete (grp == 1 && reg == 6)
-       check for SP reg.
-
-2011-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_uart.c (bfin_uart_write_byte): Add a mcr arg.  Declare a
-       local uart.  When LOOP_ENA is set in mcr, write to the saved byte
-       and count fields of the uart.
-       (bfin_uart_io_write_buffer): Pass uart->mcr to bfin_uart_write_byte
-       and bfin_uart_get_next_byte.
-       (bfin_uart_get_next_byte): Add a mcr arg.  Move uart->saved_count
-       check first, and skip the remaining code when LOOP_ENA is set in mcr.
-       * dv-bfin_uart.h (bfin_uart_write_byte): Add an mcr argument.
-       (bfin_uart_get_next_byte): Likewise.
-       (XOFF, MRTS, RFIT, RFRT, LOOP_ENA, FCPOL, ARTS, ACTS): Define.
-       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Padd uart->mcr when
-       calling bfin_uart_write_byte and bfin_uart_get_next_byte.
-
-2011-05-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_uart2.c (bfin_uart_io_read_buffer): Clear DR/THRE/TEMT bits
-       from uart->lsr before setting them.
-
-2011-04-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_dmac.c (bfin_dmac): Constify pmap array.
-       (bfin_dmac_50x_pmap, bfin_dmac_51x_pmap, bfin_dmac_52x_pmap,
-       bfin_dmac_533_pmap, bfin_dmac_537_pmap, bfin_dmac0_538_pmap,
-       bfin_dmac1_538_pmap, bfin_dmac0_54x_pmap, bfin_dmac1_54x_pmap,
-       bfin_dmac0_561_pmap, bfin_dmac1_561_pmap, bfin_dmac_59x_pmap):
-       Likewise.
-
-2011-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio_forward_ouput): New function.
-       (bfin_gpio_io_write_buffer): Store the current port state into
-       "data", and call bfin_gpio_forward_ouput when the data or dir
-       MMRs are updated.
-       (bfin_gpio_ports): Change p0..p15 to bidirect_port.
-
-2011-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio): Add "int_state" member.
-       (bfin_gpio_forward_int, bfin_gpio_forward_ints): New functions.
-       (bfin_gpio_io_write_buffer): Call bfin_gpio_forward_int when the
-       mask a or mask b MMRs are written.
-       (bfin_gpio_port_event): When handling edge gpios, set the bit in
-       int_state, call bfin_gpio_forward_ints, and then clear the bit.
-       When handling level gpios, clear/set the bit in int_state rather
-       than returning immediately.  Call bfin_gpio_forward_ints instead
-       of checking mask[ab] and calling HW_TRACE/hw_port_event directly.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32alu_0): Call STORE instead of SET_DREG for
-       BYTEOP2P, BYTEOP3P, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK, and
-       BYTEUNPACK.
-       (decode_dsp32shift_0): Call STORE instead of SET_DREG for PACK,
-       BITMUX, EXTRACT, DEPOSIT, ALIGN8, ALIGN16, and ALIGN24.
-
-2011-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfin-sim.c (decode_dsp32alu_0): Set DIS_ALGN_EXPT when handling
-       BYTEOP2P, BYTEOP3P, SAA, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK,
-       and BYTEUNPACK insns.
-
-2011-04-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_sic.c (bfin_sic_port_event): New helper function.
-       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
-       bfin_sic_54x_port_event, bfin_sic_561_port_event): Include level
-       in the trace output, and call the new bfin_sic_port_event func.
-
-2011-04-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio_ports): Add p15.
-
-2011-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_otp.c (bfin_otp_ports): Declare.
-       (bfin_otp_finish): Call set_hw_ports with bfin_otp_ports.
-
-2011-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/aclocal.m4 changes.
-
-2011-03-28  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Cast high 16bits of A0.W to bs16
-       and add to casted low 16bits of A0.L and store in val0.  Cast high
-       16bits of A1.W to bs16 and add to casted low 16bits of A1.L and
-       store in val1.  Delete bit checks of val0 and val1.
-
-2011-03-26  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Set result to 0x7FFFFFFF when
-       the result was 0x80000000 for RND12 subtraction.
-
-2011-03-26  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Set VS when V is set.
-
-2011-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio_port_event): Call HW_TRACE at every
-       major code flow point.
-       * dv-bfin_sic.c (bfin_sic_forward_interrupts): Call HW_TRACE just
-       before calling hw_port_event on ourselves.
-       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
-       bfin_sic_54x_port_event, bfin_sic_561_port_event): Call HW_TRACE
-       at the start of the function.
-
-2011-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio_port_event): Split dir/inen bit checking.
-       Normalize "level" to 0/1 values.  Shift "level" over by "my_port".
-       Invert port->both bit check.
-
-2011-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Subtract 2 from the
-       valuep pointer for clear MMRs, 4 for set MMRs, and 6 for toggle MMRs.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * TODO: Document some known SIC issues.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.h (dv_w1c): Fix typos in documentation of "bits" arg.
-       * dv-bfin_cec.c (bfin_cec_io_write_buffer): Pass 0xffee to dv_w1c_4.
-       * dv-bfin_emac.c (bfin_emac_io_write_buffer): Pass 0xe1 to dv_w1c_4
-       for systat MMR and -1 to dv_w1c_4 for [rt]x_stky/mmc_[rt]irqs MMRs.
-       * dv-bfin_eppi.c (bfin_eppi_io_write_buffer): Pass 0x1ff to dv_w1c_2.
-       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_jtag.c (bfin_jtag_io_write_buffer): Invert bits to dv_w1c_4.
-       * dv-bfin_nfc.c (bfin_nfc_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_otp.c (bfin_otp_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_ppi.c (bfin_ppi_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_rtc.c (bfin_rtc_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_spi.c (bfin_spi_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_twi.c (bfin_twi_io_write_buffer): Invert bits to dv_w1c_2.
-       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Invert bits to dv_w1c_2.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_uart.h (TFI, BI, FE, PE, OE): Define.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_twi.h (LOSTARB): Rename from LOSTARG.
-
-2011-03-23  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32shift_0): Set acc0 to the unextended
-       value for the VIT_MAX insn, and mask off the result when done.
-
-2011-03-23  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Set A1 to a1_lo when up_hi is false,
-       and set A0 to a0_lo when up_lo is false.
-
-2011-03-23  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Call saturate_s40_astat instead of
-       saturate_s40, and use the v parameter to update the AV bit.  Set the
-       AC bit only when the final result is 0.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-bfin_sic.c (ENC, DEC_PIN, DEC_SIC): Define.
-       (bfin_sic_50x_ports, bfin_sic_51x_ports, bfin_sic_52x_ports,
-       bfin_sic_533_ports, bfin_sic_537_ports, bfin_sic_538_ports,
-       bfin_sic_54x_ports, bfin_sic_561_ports, bfin_sic_59x_ports):
-       Encode ids with the ENC macro.
-       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
-       bfin_sic_54x_port_event, bfin_sic_561_port_event): Set idx
-       from my_port with DEC_SIC, and set bit from my_port with DEC_PIN.
-       (bfin_sic_533_port_event): Delete.
-       (bfin_sic_finish): Call set_hw_port_event with
-       bfin_sic_537_port_event for BF533 and BF59x targets.
-
-2011-03-23  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Drop the src0/src1 check for
-       BYTEOP1P, BYTEOP2P, and BYTEOP3P insns.
-
-2011-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev,
-       bf533_dev, bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev):
-       Change bfin_gpio addresses from f/g/h to 5/6/7.
-       (bfin_model_hw_tree_init): Add the bfin_gpio address base to 'a'.
-
-2011-03-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_FUNCS): Check for kill and pread.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * interp.c (bfin_syscall): Check for HAVE_{KILL,PREAD} before using
-       kill or pread.
-
-2011-03-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (dv-bfin_gpio.o): New target.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio.
-       * configure: Regenerate.
-       * dv-bfin_gpio.c, dv-bfin_gpio.h: New files.
-       * machs.c: Include dv-bfin_gpio.h.
-       (bf50x_mem, bf51x_mem, bf52x_mem, bf531_mem, bf532_mem, bf533_mem,
-       bf534_mem, bf536_mem, bf537_mem, bf538_mem, bf561_mem, bf592_mem):
-       Delete GPIO memory stubs.
-       (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev, bf533_dev,
-       bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev): Add GPIO
-       peripheral devices.
-       (bfin_model_hw_tree_init): Hook up GPIO interrupts to SIC.
-
-2011-03-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h, bfroms/bf51x-0.1.h,
-       bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h, bfroms/bf526-0.1.h,
-       bfroms/bf527-0.0.h, bfroms/bf527-0.1.h, bfroms/bf527-0.2.h,
-       bfroms/bf533-0.1.h, bfroms/bf533-0.2.h, bfroms/bf533-0.3.h,
-       bfroms/bf537-0.0.h, bfroms/bf537-0.1.h, bfroms/bf537-0.3.h,
-       bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h, bfroms/bf54x-0.1.h,
-       bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h, bfroms/bf54x_l1-0.1.h,
-       bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h, bfroms/bf59x-0.0.h,
-       bfroms/bf59x_l1-0.1.h, dv-bfin_cec.c, dv-bfin_ctimer.c,
-       dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
-       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
-       dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gptimer.c, dv-bfin_jtag.c,
-       dv-bfin_mmu.c, dv-bfin_nfc.c, dv-bfin_otp.c, dv-bfin_pll.c,
-       dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
-       dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
-       dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c,
-       linux-fixed-code.h, linux-targ-map.h, machs.c, Makefile.in: Fix style.
-
-2011-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32alu_0): Set AZ based on val for 16bit adds
-       and subs.
-
-2011-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_macfunc): Move acc STOREs behind op != 3 check.
-
-2011-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_macfunc): New neg parameter.  Set when the
-       high bit is set after extract_mult.
-       (decode_dsp32mac_0): Declare n_1 and n_0.  Pass to the decode_macfunc
-       functions.  Use these to update the AN bit.
-
-2011-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (decode_dsp32mult_0): Declare v_i0 and v_i1.  Pass to
-       the extract_mult functions.  Include these when updating the V, VS,
-       and V_COPY bits.
-
-2011-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (astat_names): New global bit array.
-       (decode_CC2stat_0): Delete local astat_name and astat_names.
-       (decode_psedodbg_assert_0): Move hardcoded offset into a variable.
-       Print out ASTAT bit values when checking an ASTAT register.
-
-2010-03-15  Robin Getz  <robin.getz@analog.com>
-
-       * bfin-sim.c (extract_mult): Handle M_IU.
-
-2011-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in, TODO, aclocal.m4, bfin-sim.c, bfin-sim.h,
-       bfroms/all.h, bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h,
-       bfroms/bf51x-0.1.h, bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h,
-       bfroms/bf526-0.1.h, bfroms/bf527-0.0.h, bfroms/bf527-0.1.h,
-       bfroms/bf527-0.2.h, bfroms/bf533-0.1.h, bfroms/bf533-0.2.h,
-       bfroms/bf533-0.3.h, bfroms/bf537-0.0.h, bfroms/bf537-0.1.h,
-       bfroms/bf537-0.3.h, bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h,
-       bfroms/bf54x-0.1.h, bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h,
-       bfroms/bf54x_l1-0.1.h, bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h,
-       bfroms/bf59x-0.0.h, bfroms/bf59x_l1-0.1.h, config.in, configure,
-       configure.ac, devices.c, devices.h, dv-bfin_cec.c, dv-bfin_cec.h,
-       dv-bfin_ctimer.c, dv-bfin_ctimer.h, dv-bfin_dma.c, dv-bfin_dma.h,
-       dv-bfin_dmac.c, dv-bfin_dmac.h, dv-bfin_ebiu_amc.c, dv-bfin_ebiu_amc.h,
-       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_ddrc.h, dv-bfin_ebiu_sdc.c,
-       dv-bfin_ebiu_sdc.h, dv-bfin_emac.c, dv-bfin_emac.h, dv-bfin_eppi.c,
-       dv-bfin_eppi.h, dv-bfin_evt.c, dv-bfin_evt.h, dv-bfin_gptimer.c,
-       dv-bfin_gptimer.h, dv-bfin_jtag.c, dv-bfin_jtag.h, dv-bfin_mmu.c,
-       dv-bfin_mmu.h, dv-bfin_nfc.c, dv-bfin_nfc.h, dv-bfin_otp.c,
-       dv-bfin_otp.h, dv-bfin_pll.c, dv-bfin_pll.h, dv-bfin_ppi.c,
-       dv-bfin_ppi.h, dv-bfin_rtc.c, dv-bfin_rtc.h, dv-bfin_sic.c,
-       dv-bfin_sic.h, dv-bfin_spi.c, dv-bfin_spi.h, dv-bfin_trace.c,
-       dv-bfin_trace.h, dv-bfin_twi.c, dv-bfin_twi.h, dv-bfin_uart.c,
-       dv-bfin_uart.h, dv-bfin_uart2.c, dv-bfin_uart2.h, dv-bfin_wdog.c,
-       dv-bfin_wdog.h, dv-bfin_wp.c, dv-bfin_wp.h, dv-eth_phy.c, gui.c,
-       gui.h, insn_list.def, interp.c, linux-fixed-code.h, linux-fixed-code.s,
-       linux-targ-map.h, machs.c, machs.h, proc_list.def, sim-main.h,
-       tconfig.in: New Blackfin port.
diff --git a/sim/bfin/ChangeLog-2021 b/sim/bfin/ChangeLog-2021
new file mode 100644 (file)
index 0000000..d02e56c
--- /dev/null
@@ -0,0 +1,1495 @@
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * interp.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Set STATE_MACHS.
+       * machs.c (sim_machs): Rename to ...
+       (bfin_sim_machs): ... this.
+       * machs.h (bfin_sim_machs): New decl.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (sim_machs): Mark const.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Change to $(SDL_CFLAGS) & $(SDL_LIBS).
+       * configure.ac: Delete PKG_PROG_PKG_CONFIG &
+       PKG_CHECK_MODULES calls.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Set sc.arg5 & sc.arg6.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Change @MAINTAINER_MODE_TRUE@ to $(MAINT).
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_cec.c: Include sim-signal.h.
+       * sim-main.h: Delete sim-signal.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include portability.h.
+       (getuid, getgid, geteuid, getegid setuid, setgid): Delete.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete calls to AC_CHECK_FUNCS_ONCE and
+       AC_CHECK_HEADERS_ONCE.
+       * config.in, configure: Regenerate.
+
+2021-05-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_otp.c (bfin_otp_write_page): Shift data1 & data3 by 32-bits.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_otp.c (bfin_otp_write_page): Fix args to
+       bfin_otp_write_page_val2.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_otp.c (bfin_otp_write_page): Call bfin_otp_write_page_val2.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_cec.c: Include strings.h.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Call sim_state_alloc_extra.
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+       (STATE_BOARD_DATA): Define.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c, devices.c, dv-bfin_cec.c, dv-bfin_ctimer.c,
+       dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
+       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
+       dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gpio.c, dv-bfin_gpio2.c,
+       dv-bfin_gptimer.c, dv-bfin_jtag.c, dv-bfin_mmu.c, dv-bfin_nfc.c,
+       dv-bfin_otp.c, dv-bfin_pfmon.c, dv-bfin_pint.c, dv-bfin_pll.c,
+       dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
+       dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
+       dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c, interp.c,
+       machs.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * interp.c (sim_open): Adjust format string specifier.
+
+2021-05-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c: Include ansidecl.h.
+       (illegal_instruction): Change __attribute__((noreturn)) to
+       ATTRIBUTE_NORETURN.
+       (illegal_instruction_combination, illegal_instruction_or_combination,
+       unhandled_instruction): Likewise.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_mmu.c (bfin_mmu_options): Mark static.
+       (sim_install_bfin_mmu): New function & prototype.
+       * interp.c (e_sim_add_option_table): Delete.
+       * machs.c (bfin_mach_options): Mark static.
+       (sim_install_bfin_mach): New function & prototype.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (INCLUDE): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
+       delete mmap & munmap.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Delete CB_SYS_getpid handling.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c: Include stdlib.h.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_dma.c: Include stdlib.h.
+
+2021-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Change ALIGN to align_up.
+       * sim-main.h (ALIGN): Delete
+
+2020-08-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Include config/pkg.m4.
+
+2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * aclocal.m4, configure: Re-generate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-08-13  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/20438
+       * machs.h (MODEL_TYPE, MACH_ATTR, BFIN_INSN_*): Move ...
+       * arch.h: ... to this new header file.
+       * sim-main.h (SIM_CPU): Delete.
+       Include arch.h before sim-base.h, and move sim-base.h before
+       bfin-sim.h.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Remove first const from argv.
+       (sim_open): Mark argv const.
+       (simple_env): Remove first const.
+       (bfin_user_init): Remove first const from argv and and env
+       (bfin_os_init): Remove first const from argv.
+       (sim_create_inferior): Mark argv and env const.
+       Drop casts from bfin_user_init and bfin_os_init calls.
+
+2016-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (step_once): Call TRACE_DISASM.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32shift_0): Change MIN to min.
+       * dv-bfin_dma.c (bfin_dma_hw_event_callback): Likewise.
+       * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_write_amgctl): Likewise.
+       * dv-bfin_emac.c (bfin_emac_dma_read_buffer): Change MAX to max.
+       * dv-bfin_mmu.c (_mmu_check_addr): Change MIN to min.
+       * dv-bfin_trace.c (bfin_trace_io_read_buffer): Likewise.
+       * interp.c (bfin_fdpic_load): Change MAX to max.
+       (bfin_fdpic_load): Likewise.
+       * sim-main.h (MIN, MAX): Delete.
+       (CLAMP): Change MIN to min and MAX to max.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * TODO: Delete file.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (count_argc): Delete.
+       (bfin_syscall): Change count_argc to countargv.
+       (bfin_user_init): Likewise.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (bfin_mmr_invalid): Delete cpu arg and add missing arg.
+       Add cpu, rw, and reason local vars.  Rewrite error messages.  Add
+       more todo comments.
+       (dv_bfin_mmr_invalid): Update bfin_mmr_invalid call.
+       (dv_bfin_mmr_require): Likewise.  Change return to bool.  Check
+       alignment of the addr variable.
+       (bfin_mmr_check, dv_bfin_mmr_check, device_io_read_buffer,
+       device_io_write_buffer): Delete.
+       (dv_bfin_mmr_require_16_32): Define.
+       * devices.h (dv_bfin_mmr_require): Change return to bool.
+       (dv_bfin_mmr_check): Delete.
+       (dv_bfin_mmr_require_16_32): Define.
+       Add a few comments.
+       * dv-bfin_cec.c (bfin_cec_io_write_buffer): Call
+       dv_bfin_mmr_require_32.
+       (bfin_cec_io_read_buffer): Likewise.
+       * dv-bfin_ctimer.c (bfin_ctimer_io_write_buffer): Likewise.
+       (bfin_ctimer_io_read_buffer): Likewise.
+       * dv-bfin_dma.c (bfin_dma_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.  Return 0 in the default case.
+       (bfin_dma_io_read_buffer): Call dv_bfin_mmr_require_16_32.
+       * dv-bfin_ebiu_amc.c (bf50x_ebiu_amc_io_write_buffer): Return 0
+       when dv_bfin_mmr_require_16 fails and in the default case.
+       (bf53x_ebiu_amc_io_write_buffer): Likewise.
+       (bf54x_ebiu_amc_io_write_buffer): Likewise.
+       (bfin_ebiu_amc_io_write_buffer): Call dv_bfin_mmr_require_16_32.
+       (bf50x_ebiu_amc_io_read_buffer): Return 0 when
+       dv_bfin_mmr_require_16 fails and in the default case.
+       (bf53x_ebiu_amc_io_read_buffer): Likewise.
+       (bf54x_ebiu_amc_io_read_buffer): Likewise.
+       (bfin_ebiu_amc_io_read_buffer): Call dv_bfin_mmr_require_16_32.
+       * dv-bfin_ebiu_ddrc.c (bfin_ebiu_ddrc_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16 or
+       dv_bfin_mmr_require_32 fails.
+       (bfin_ebiu_ddrc_io_read_buffer): Likewise.
+       * dv-bfin_ebiu_sdc.c (bfin_ebiu_sdc_io_write_buffer): Likewise.
+       (bfin_ebiu_sdc_io_read_buffer): Likewise.
+       * dv-bfin_emac.c (bfin_emac_io_write_buffer): Return 0 when
+       dv_bfin_mmr_require_32 fails and in the default case.
+       (bfin_emac_io_read_buffer): Likewise.
+       * dv-bfin_eppi.c (bfin_eppi_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32 and return 0 when dv_bfin_mmr_require_16
+       or dv_bfin_mmr_require_32 fails and in the default case.
+       (bfin_eppi_io_read_buffer): Likewise.
+       * dv-bfin_evt.c (bfin_evt_io_write_buffer): Call
+       dv_bfin_mmr_require_32.
+       (bfin_evt_io_read_buffer): Likewise.
+       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       (bfin_gpio_io_read_buffer): Likewise.
+       * dv-bfin_gpio2.c (bfin_gpio_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 and dv_bfin_mmr_require_32 to earlier in the
+       func.  Return 0 when it fails and in the default case.
+       (bfin_gpio_io_read_buffer): Likewise.
+       * dv-bfin_gptimer.c (bfin_gptimer_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16 or
+       dv_bfin_mmr_require_32 fails and in the default case.
+       (bfin_gptimer_io_read_buffer): Likewise.
+       * dv-bfin_jtag.c (bfin_jtag_io_write_buffer): Call
+       dv_bfin_mmr_require_32.  Return 0 in the default case.
+       (bfin_jtag_io_read_buffer): Likewise.  Delete while(1) loop.
+       * dv-bfin_mmu.c (bfin_mmu_io_write_buffer): Call
+       dv_bfin_mmr_require_32.  Return 0 in the default case.
+       (bfin_mmu_io_read_buffer): Likewise.  Delete while(1) loop.
+       * dv-bfin_nfc.c (bfin_nfc_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       (bfin_nfc_io_read_buffer): Likewise.
+       * dv-bfin_otp.c (bfin_otp_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16
+       or dv_bfin_mmr_require_32 fails and in the default case.
+       (bfin_otp_io_read_buffer): Likewise.
+       * dv-bfin_pfmon.c (bfin_pfmon_io_write_buffer): Call
+       dv_bfin_mmr_require_32.  Return 0 in the default case.
+       (bfin_pfmon_io_read_buffer): Likewise.  Delete while(1) loop.
+       * dv-bfin_pint.c (bfin_pint_io_write_buffer): Move call to
+       dv_bfin_mmr_require_32 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       (bfin_pint_io_read_buffer): Likewise.
+       * dv-bfin_pll.c (bfin_pll_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.  Return 0 when dv_bfin_mmr_require_16
+       fails.
+       (bfin_pll_io_read_buffer): Likewise.
+       * dv-bfin_ppi.c (bfin_ppi_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       9bfin_ppi_io_read_buffer): Likewise.
+       * dv-bfin_rtc.c (bfin_rtc_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.
+       (bfin_rtc_io_read_buffer): Likewise.
+       * dv-bfin_sic.c (bfin_sic_52x_io_write_buffer): Likewise.
+       (bfin_sic_52x_io_read_buffer, bfin_sic_537_io_write_buffer,
+       bfin_sic_537_io_read_buffer, bfin_sic_54x_io_write_buffer,
+       bfin_sic_54x_io_read_buffer, bfin_sic_561_io_write_buffer,
+       bfin_sic_561_io_read_buffer): Likewise.
+       * dv-bfin_spi.c (bfin_spi_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       (bfin_spi_io_read_buffer): Likewise.
+       * dv-bfin_trace.c (bfin_trace_io_write_buffer): Call
+       dv_bfin_mmr_require_32.  Return 0 in the default case.
+       (bfin_trace_io_read_buffer): Likewise.  Delete while(1) loop.
+       * dv-bfin_twi.c (bfin_twi_io_write_buffer): Move call to
+       dv_bfin_mmr_require_16 to earlier in the func.  Return 0 when it
+       fails and in the default case.
+       (bfin_twi_io_read_buffer): Likewise.
+       * dv-bfin_uart.c (bfin_uart_io_write_buffer): Likewise.
+       (bfin_uart_io_read_buffer): Likewise.
+       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Likewise.
+       (bfin_uart_io_read_buffer): Likewise.
+       * dv-bfin_wdog.c (bfin_wdog_io_write_buffer): Call
+       dv_bfin_mmr_require_16_32.
+       (bfin_wdog_io_read_buffer): Likewise.  Return 0 when
+       dv_bfin_mmr_require_16 fails.
+       * dv-bfin_wp.c (bfin_wp_io_write_buffer): Call
+       dv_bfin_mmr_require_32.  Return 0 in the default case.
+       (bfin_wp_io_read_buffer): Likewise.  Delete while(1) loop.
+       * tconfig.h: Delete file.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_LDST_0): Add 4th element to posts array.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Update comment and argv check.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+       * tconfig.h (SIM_HAVE_MODEL): Delete.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (WITH_MODULO_MEMORY): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-10-11  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/18407
+       * bfin-sim.c (decode_dsp32shiftimm_0): Call ashiftrt when count
+       is less than 0.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (trace_register): Delete.
+       * sim-main.h (trace_register, TRACE_REGISTER, TRACE_REG): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (bfin_syscall): Change syscall_read_mem/syscall_write_mem to
+       sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * linux-targ-map.h: Update example comments.
+       (cb_linux_syscall_map): Fill out name field.
+       (cb_linux_errno_map, cb_linux_open_map, cb_linux_signal_map):
+       Likewise.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Expand comment on CB_SYS_xxx defines.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (hwloop_get_next_pc): Change TRACE_BRANCH to
+       BFIN_TRACE_BRANCH.
+       (decode_ProgCtrl_0, decode_BRCC_0, decode_UJUMP_0, decode_CALLa_0):
+       Likewise.
+       * bfin-sim.h (__PUT_MEM, __GET_MEM): Change TRACE_CORE to
+       BFIN_TRACE_CORE.
+       * dv-bfin_cec.c (_cec_raise, cec_latch, cec_return): Change
+       TRACE_BRANCH to BFIN_TRACE_BRANCH.
+       * interp.c (syscall_read_mem, syscall_write_mem): Change MAYBE_TRACE
+       to TRACE_CORE.
+       * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
+       TRACE_SYSCALL, TRACE_EVENTS): Delete.
+       (TRACE_CORE): Rename to ...
+       (BFIN_TRACE_CORE): ... this.  Change MAYBE_TRACE to TRACE_CORE.
+       (TRACE_BRANCH): Rename to ...
+       (BFIN_TRACE_BRANCH): ... this.  Change MAYBE_TRACE to TRACE_BRANCH.
+
+2015-04-24  David Binderman  <dcb314@hotmail.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * bfin-sim.c (decode_dsp32alu_0): Remove spurious check for
+       s == 1.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Add note to clean this up.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac (BFIN_SIM_EXTRA_OBJS): Delete.
+       * Makefile.in (SIM_OBJS): Delete @BFIN_SIM_EXTRA_OBJS@.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_uart.c [!HAVE_DV_SOCKSER] (dv_sockser_status,
+       dv_sockser_write, dv_sockser_read): Delete.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Delete run-sim.h include.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+
+2015-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/13160
+       * Makefile.in ($(srcdir)/linux-fixed-code.h): Put a ; after the
+       print sed command for BSD compatibility.
+
+2015-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/13160
+       * Makefile.in ($(srcdir)/linux-fixed-code.h): Specify the asm input
+       directly rather than use $<.  Move the file name to the end of the
+       sed command to be POSIX compliant.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Add note about broken handling of
+       SEARCH with parallel insns.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32shift_0): Make sure HLs is 0 after last
+       insn that uses it.
+       (decode_dsp32shiftimm_0): Likewise.
+       Require HLs be less than 2 for accumulator shift insns.
+
+2013-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Check more opcode fields before
+       decoding various insns.
+
+2013-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * TODO: Add more notes.
+
+2013-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in ($(srcdir)/linux-fixed-code.h): Add
+       @MAINTAINER_MODE_TRUE@ as the first item in the dependency list.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Use $SIM_DV_SOCKSER_O.
+       * configure: Regenerated.
+
+2012-12-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * aclocal.m4: Revert the previous change changing
+       the license from GPL v2 or later to GPL v3 or later
+       (this file was generated).
+
+2012-12-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-fixed-code.s: Revert the previous change changing
+       the license from GPL v2 or later to GPL v3 or later.
+
+2012-07-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bf54x_roms): Pass 0x1000 to alias field of BFROM, and
+       0x10000 to the alias field of BFROMA.
+       (bf561_roms): Pass 0x1000 to alias field of BFROM.
+       (bf59x_roms): Pass 0x10000 to alias field of BFROMA.
+
+2012-07-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bfin_reg_fetch): Change return 0 to return -1, and
+       return -1 to return 4.
+       (bfin_reg_store): Likewise.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-04-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pint.
+       * configure: Regenerate.
+       * dv-bfin_pint.c, dv-bfin_pint.h: New device model.
+       * machs.c (bf542_dev): Add PINT register blocks.
+       (bf544_dev, bf547_dev): Likewise.
+       (PINT_PIQS): Define.
+       (bf54x_port): Add pint/gpio routing.
+       * machs.h (BFIN_MMR_PINT_SIZE): Define.
+
+2012-04-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio2.
+       * configure: Regenerate.
+       * dv-bfin_gpio2.c, dv-bfin_gpio2.h: New device model.
+       * machs.c (bf54x_mem): Delete GPIO mem stub.
+       (bf542_dev): Add GPIO register blocks.
+       (bf544_dev, bf547_dev): Likewise.
+       * machs.h (BFIN_MMR_GPIO2_SIZE): Define.
+
+2012-04-09  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Extract the sign for ASHIFT
+       and LSHIFT, and set ASTAT based on the before/after values.
+       Rename "val" to "acc" to be consistent with other code branches.
+
+2012-04-09  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (sgn_extend): New helper.
+       (decode_dsp32shiftimm_0): Call lshift when newimmag is more
+       than 16, otherwise call ashiftrt.  Set ASTAT fields as needed.
+       For accumulator shifts, call new sgn_extend helper.
+
+2012-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (illegal_instruction_or_combination): New helper.
+       (decode_ProgCtrl_0): Call illegal_instruction_or_combination instead
+       of illegal_instruction.
+       (decode_PushPopReg_0, decode_CCflag_0, decode_CC2dreg_0,
+       decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0,
+       decode_dspLDST_0, decode_LDST_0, _interp_insn_bfin): Likewise.
+       (decode_PushPopMultiple_0): Call illegal_instruction_combination when
+       PARALLEL_GROUP is not BFIN_PARALLEL_NONE.
+       (decode_CCflag_0, decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0,
+       decode_COMPI2opD_0, decode_COMPI2opP_0): Likewise.
+       (decode_CC2stat_0): Check PARALLEL_GROUP before cbit.
+       (decode_LDSTpmod_0): Call illegal_instruction_combination when
+       PARALLEL_GROUP is BFIN_PARALLEL_GROUP2.
+       (decode_dagMODim_0, decode_dagMODik_0, decode_LDST_0,
+       decode_LDSTiiFP_0, decode_LDSTii_0): Likewise.
+
+2012-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.h (bfin_parallel_group): New enum.
+       (bfin_cpu_state): Add new "group" member.
+       (PARALLEL_GROUP): Define.
+       * bfin-sim.c (decode_ProgCtrl_0): Change INSN_LEN check to
+       PARALLEL_GROUP.
+       (decode_CaCTRL_0, decode_PushPopReg_0, decode_ccMV_0, decode_CCflag_0,
+       decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0,
+       decode_LOGI2op_0, decode_LoopSetup_0, decode_LDIMMhalf_0,
+       decode_CALLa_0, decode_linkage_0): Likewise.
+       (_interp_insn_bfin): Set PARALLEL_GROUP.
+       (interp_insn_bfin): Likewise.
+
+2012-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Delete extra space in TRACE_INSN.
+
+2012-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (_interp_insn_bfin): Call illegal_instruction_combination
+       when INSN_LEN is non-zero before 32bit decode.
+
+2012-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-dis.c (fmtconst): Replace decimal handling with a single
+       sprintf call and the '*' field width.
+
+2012-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bfin_model_map_bfrom): Return when mnum is 535.
+
+2012-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_user_init): Move auxvt_size decl from top to
+       inside of auxvt check.
+
+2012-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_sic.c (bfin_sic_finish): Change iwr1 to iwr2.
+
+2012-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c: Include devices.h.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-03-19  Robin Getz  <robin.getz@analog.com>
+           Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (lshift): Add an overflow flag.  Delete now unused
+       i, j, and tmp vars.  Add a new v_i var.  Split the overflow logic
+       out from the saturate logic.  Do not set V ASTAT bits when working
+       with accumulators.
+       (decode_ALU2op_0): Add new argument to lshift call.
+       (decode_LOGI2op_0, decode_dsp32shift_0, decode_dsp32shiftimm_0):
+       Likewise.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_ebiu_amc.c (struct bfin_ebiu_amc): Add bank_base.
+       (bfin_ebiu_amc_write_amgctl): Replace BFIN_EBIU_AMC_BASE with
+       amc->bank_base.
+       (bfin_ebiu_amc_finish): Assign BFIN_EBIU_AMC_BASE to amc->bank_base.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_ebiu_amc.c (bfin_ebiu_amc_attach_address_callback): Use
+       ARRAY_SIZE rather than hardcoded constant.
+
+2012-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+       * configure.ac: Add linux/types.h to AC_CHECK_HEADERS.
+       * dv-eth_phy.c: Check for HAVE_LINUX_TYPES_H, and delete __u16 and
+       _LINUX_TYPES_H defines.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Increase _tbuf storage.  Declare new local
+       tstr buffer.  Call cb_get_string on tstr when handling CB_SYS_stat64,
+       CB_SYS_lstat64, CB_SYS_open, CB_SYS_write, CB_SYS_unlink,
+       CB_SYS_truncate, CB_SYS_rename, CB_SYS_stat, CB_SYS_lstat.  Include
+       tstr in the tbuf output.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete all dependency rules.
+       * aclocal.m4, configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+       * aclocal.m4, configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32shift_0): Use STORE() for VIT_MAX insns.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2011-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (cb_linux_stat_map_32, cb_linux_stat_map_64): Rename from
+       stat_map_32 and stat_map_64.
+       (cb_libgloss_stat_map_32): New stat map.
+       (stat_map_32, stat_map_64): New stat map pointers.
+       (bfin_user_init): Assign stat_map_32 to cb_linux_stat_map_32 and
+       stat_map_64 to cb_linux_stat_map_64.
+       (bfin_virtual_init): New function.
+       (sim_create_inferior): Call bfin_virtual_init for all other envs.
+
+2011-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (bfin_syscall): Delete old comment.  Set dreg 1 to
+       sc.result2 and dreg 2 to sc.errcode.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Clear ASTAT[AV] if val is 0,
+       else set it.  Set ASTAT[AVS] if val is 0.  Do this for LSHIFT and
+       ASHIFT accumulator insns.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (ashiftrt): If size is 40, do not call SET_ASTATREG.
+       (lshiftrt): Likewise.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Use get_unextended_acc
+       rather than get_extended_acc in LSHIFT insns.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): Handle MM when mmod is M_TFU.
+       Check MM once when mmod is M_FU to match M_TFU better.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shiftimm_0): When shift is greater than
+       32, perform a left shift.  Update the corresponding AV bit.  Set
+       AZ when the low 32bits are also zero.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shiftimm_0): With left shift vector insns,
+       call lshift only when count is positive.  Otherwise, call ashiftrt.
+       With arithmetic right shift insns, call ashiftrt when the value is
+       small enough, otherwise call lshift.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (extract_mult): Call saturate_s16 directly when
+       mmod is M_IH rather than computing the result by hand.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): Add nosat_acc to track acc value
+       before saturation, set sat when more cases saturate, and set the
+       overflow bit based on these results.  For M_TFU, M_IU, M_FU, and
+       M_W32, change the max values compared against.
+       (decode_dsp32mac_0): Delete v_i and add v_0 and v_1.  Pass v_1
+       when processing MAC1 and pass v_0 when processing MAC0.  Combine
+       the results into the V/VS ASTAT bits.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (extract_mult): Call saturate_s32 when MM is set
+       and mmod is M_IU.  Call saturate_s16 when MM is set and mmod
+       is M_TFU.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_multfunc): Call new is_macmod_signed, and
+       allow MM to sign extend all the time.
+       (decode_macfunc): Likewise.  Drop sign extension of unsigned
+       values.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (saturate_s40_astat): Change ">=" to ">".
+       (decode_macfunc): Likewise when mmod is M_IH.
+
+2011-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Change free to freeargv.
+
+2011-06-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bf534_dev, bf537_dev): Add glue-or devices.
+       (bf537_port): Define applicable devices with PORT to the glue-or
+       devices instead of SIC.
+       (bfin_model_hw_tree_init): Drop old sim_hw_parse call for bfin_sic.
+       Only parse reg/type when the device has an address.  Move the call
+       to dv_bfin_hw_port_parse up before slash check.
+
+2011-06-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_sic.c (ENC, DEC_PIN, DEC_SIC): Move above the
+       BFIN_SIC_TO_CEC_PORTS definition.
+       (SIC_PORTS): New define.
+       (bfin_sic_50x_ports, bfin_sic_51x_ports, bfin_sic_52x_ports,
+       bfin_sic_533_ports, bfin_sic_537_ports, bfin_sic_538_ports,
+       bfin_sic_54x_ports, bfin_sic_561_ports, bfin_sic_59x_ports):
+       Delete old layouts.
+       (bfin_sic1_ports, bfin_sic2_ports, bfin_sic3_ports,
+       bfin_sic_561_ports): Define new layouts with SIC_PORTS().
+       (bfin_sic_finish): Change reference to bfin_sic_50x_ports,
+       bfin_sic_51x_ports, bfin_sic_52x_ports, and bfin_sic_538_ports
+       to bfin_sic2_ports.  Change reference to bfin_sic_533_ports,
+       bfin_sic_537_ports, and bfin_sic_59x_ports to bfin_sic1_ports.
+       Change reference to bfin_sic_54x_ports to bfin_sic3_ports.
+       * machs.c (bfin_port_layout): New structure.
+       (bfin_model_data): Add new "port" and "port_count" members.
+       (PORT, SIC): New defines.
+       (bf000_port, bf50x_port, bf51x_port, bf52x_port, bf533_port,
+       bf537_port, bf538_port, bf54x_port, bf561_port, bf592_port):
+       Move and redefine port layout from dv-bfin_sic.c to here.
+       (bf504_port, bf506_port, bf512_port, bf514_port, bf516_port,
+       bf518_port, bf522_port, bf523_port, bf524_port, bf525_port,
+       bf526_port, bf527_port, bf531_port, bf532_port, bf534_port,
+       bf536_port, bf539_port, bf542_port, bf544_port, bf547_port,
+       bf548_port, bf549_port): New defines.
+       (bfin_model_data): Link in new bfin_port_layout.port member.
+       (dv_bfin_hw_port_parse): New function.
+       (dv_bfin_hw_parse): Call new dv_bfin_hw_port_parse function.
+       (bfin_model_hw_tree_init): Replace calls to sim_hw_parse for
+       bfin_sic links with new dv_bfin_hw_port_parse function.
+
+2011-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_dma.c (bfin_dma_io_write_buffer): Fix indentation.
+
+2011-05-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (TRACE_SYSCALL): Change EVENTS to SYSCALL.
+
+2011-05-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_cec.h (BFIN_COREMMR_CEC_{BASE,SIZE}): Move to ...
+       * dv-bfin_ctimer.h (BFIN_COREMMR_CTIMER_{BASE,SIZE}): Move to ...
+       * dv-bfin_dma.h (BFIN_MMR_DMA_SIZE): Move to ...
+       * dv-bfin_dmac.h (BFIN_MMR_DMAC{0,1}_BASE): Move to ...
+       * dv-bfin_ebiu_amc.h (BF{IN,50X,54X}_MMR_EBIU_AMC_SIZE): Move to ...
+       * dv-bfin_ebiu_ddrc.h (BFIN_MMR_EBIU_DDRC_SIZE): Move to ...
+       * dv-bfin_ebiu_sdc.h (BFIN_MMR_EBIU_SDC_SIZE): Move to ...
+       * dv-bfin_emac.h (BFIN_MMR_EMAC_{BASE,SIZE}): Move to ...
+       * dv-bfin_eppi.h (BFIN_MMR_EPPI_SIZE): Move to ...
+       * dv-bfin_evt.h (BFIN_COREMMR_EVT_{BASE,SIZE}): Move to ...
+       * dv-bfin_gpio.h (BFIN_MMR_GPIO_SIZE): Move to ...
+       * dv-bfin_gptimer.h (BFIN_MMR_GPTIMER_SIZE): Move to ...
+       * dv-bfin_jtag.h (BFIN_COREMMR_JTAG_{BASE,SIZE}): Move to ...
+       * dv-bfin_mmu.h (BFIN_COREMMR_MMU_{BASE,SIZE}): Move to ...
+       * dv-bfin_nfc.h (BFIN_MMR_NFC_SIZE): Move to ...
+       * dv-bfin_otp.h (BFIN_MMR_OTP_SIZE): Move to ...
+       * dv-bfin_pfmon.h (BFIN_COREMMR_PFMON_{BASE,SIZE}): Move to ...
+       * dv-bfin_pll.h (BFIN_MMR_PLL_{BASE,SIZE}): Move to ...
+       * dv-bfin_ppi.h (BFIN_MMR_PPI_SIZE): Move to ...
+       * dv-bfin_rtc.h (BFIN_MMR_RTC_SIZE): Move to ...
+       * dv-bfin_sic.h (BFIN_MMR_SIC_{BASE,SIZE}): Move to ...
+       * dv-bfin_spi.h (BFIN_MMR_SPI_SIZE): Move to ...
+       * dv-bfin_trace.h (BFIN_COREMMR_TRACE_{BASE,SIZE}): Move to ...
+       * dv-bfin_twi.h (BFIN_MMR_TWI_SIZE): Move to ...
+       * dv-bfin_uart.h (BFIN_MMR_UART_SIZE): Move to ...
+       * dv-bfin_uart2.h (BFIN_MMR_UART2_SIZE): Move to ...
+       * dv-bfin_wdog.h (BFIN_MMR_WDOG_SIZE): Move to ...
+       * dv-bfin_wp.h (BFIN_COREMMR_WP_{BASE,SIZE}): Move to ...
+       * machs.h: ... here.
+       * machs.c: Delete all dv-bfin_*.h includes except for cec/dmac.
+
+2011-05-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (dv-bfin_pfmon.o): New target.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pfmon.
+       * configure: Regenerated.
+       * dv-bfin_pfmon.c, dv-bfin_pfmon.h: New files.
+       * machs.c: Add include new bfin_pfmon.h.
+       (bfin_core_dev): Add pfmon.
+
+2011-05-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bf526_roms): Add a region with rev of 2.
+       (bf54x_roms): Add regions with rev of 4.
+       * bfroms/all.h: Include new bf526-0.2.h, bf54x-0.4.h, and
+       bf54x_l1-0.4.h headers.
+       * bfroms/bf526-0.2.h, bfroms/bf54x-0.4.h, bfroms/bf54x_l1-0.4.h:
+       New header files.
+
+2011-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_PushPopReg_0): Delete (grp == 1 && reg == 6)
+       check for SP reg.
+
+2011-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_uart.c (bfin_uart_write_byte): Add a mcr arg.  Declare a
+       local uart.  When LOOP_ENA is set in mcr, write to the saved byte
+       and count fields of the uart.
+       (bfin_uart_io_write_buffer): Pass uart->mcr to bfin_uart_write_byte
+       and bfin_uart_get_next_byte.
+       (bfin_uart_get_next_byte): Add a mcr arg.  Move uart->saved_count
+       check first, and skip the remaining code when LOOP_ENA is set in mcr.
+       * dv-bfin_uart.h (bfin_uart_write_byte): Add an mcr argument.
+       (bfin_uart_get_next_byte): Likewise.
+       (XOFF, MRTS, RFIT, RFRT, LOOP_ENA, FCPOL, ARTS, ACTS): Define.
+       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Padd uart->mcr when
+       calling bfin_uart_write_byte and bfin_uart_get_next_byte.
+
+2011-05-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_uart2.c (bfin_uart_io_read_buffer): Clear DR/THRE/TEMT bits
+       from uart->lsr before setting them.
+
+2011-04-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_dmac.c (bfin_dmac): Constify pmap array.
+       (bfin_dmac_50x_pmap, bfin_dmac_51x_pmap, bfin_dmac_52x_pmap,
+       bfin_dmac_533_pmap, bfin_dmac_537_pmap, bfin_dmac0_538_pmap,
+       bfin_dmac1_538_pmap, bfin_dmac0_54x_pmap, bfin_dmac1_54x_pmap,
+       bfin_dmac0_561_pmap, bfin_dmac1_561_pmap, bfin_dmac_59x_pmap):
+       Likewise.
+
+2011-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_forward_ouput): New function.
+       (bfin_gpio_io_write_buffer): Store the current port state into
+       "data", and call bfin_gpio_forward_ouput when the data or dir
+       MMRs are updated.
+       (bfin_gpio_ports): Change p0..p15 to bidirect_port.
+
+2011-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio): Add "int_state" member.
+       (bfin_gpio_forward_int, bfin_gpio_forward_ints): New functions.
+       (bfin_gpio_io_write_buffer): Call bfin_gpio_forward_int when the
+       mask a or mask b MMRs are written.
+       (bfin_gpio_port_event): When handling edge gpios, set the bit in
+       int_state, call bfin_gpio_forward_ints, and then clear the bit.
+       When handling level gpios, clear/set the bit in int_state rather
+       than returning immediately.  Call bfin_gpio_forward_ints instead
+       of checking mask[ab] and calling HW_TRACE/hw_port_event directly.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Call STORE instead of SET_DREG for
+       BYTEOP2P, BYTEOP3P, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK, and
+       BYTEUNPACK.
+       (decode_dsp32shift_0): Call STORE instead of SET_DREG for PACK,
+       BITMUX, EXTRACT, DEPOSIT, ALIGN8, ALIGN16, and ALIGN24.
+
+2011-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Set DIS_ALGN_EXPT when handling
+       BYTEOP2P, BYTEOP3P, SAA, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK,
+       and BYTEUNPACK insns.
+
+2011-04-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_sic.c (bfin_sic_port_event): New helper function.
+       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
+       bfin_sic_54x_port_event, bfin_sic_561_port_event): Include level
+       in the trace output, and call the new bfin_sic_port_event func.
+
+2011-04-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_ports): Add p15.
+
+2011-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_otp.c (bfin_otp_ports): Declare.
+       (bfin_otp_finish): Call set_hw_ports with bfin_otp_ports.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/aclocal.m4 changes.
+
+2011-03-28  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Cast high 16bits of A0.W to bs16
+       and add to casted low 16bits of A0.L and store in val0.  Cast high
+       16bits of A1.W to bs16 and add to casted low 16bits of A1.L and
+       store in val1.  Delete bit checks of val0 and val1.
+
+2011-03-26  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Set result to 0x7FFFFFFF when
+       the result was 0x80000000 for RND12 subtraction.
+
+2011-03-26  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Set VS when V is set.
+
+2011-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_port_event): Call HW_TRACE at every
+       major code flow point.
+       * dv-bfin_sic.c (bfin_sic_forward_interrupts): Call HW_TRACE just
+       before calling hw_port_event on ourselves.
+       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
+       bfin_sic_54x_port_event, bfin_sic_561_port_event): Call HW_TRACE
+       at the start of the function.
+
+2011-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_port_event): Split dir/inen bit checking.
+       Normalize "level" to 0/1 values.  Shift "level" over by "my_port".
+       Invert port->both bit check.
+
+2011-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Subtract 2 from the
+       valuep pointer for clear MMRs, 4 for set MMRs, and 6 for toggle MMRs.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * TODO: Document some known SIC issues.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.h (dv_w1c): Fix typos in documentation of "bits" arg.
+       * dv-bfin_cec.c (bfin_cec_io_write_buffer): Pass 0xffee to dv_w1c_4.
+       * dv-bfin_emac.c (bfin_emac_io_write_buffer): Pass 0xe1 to dv_w1c_4
+       for systat MMR and -1 to dv_w1c_4 for [rt]x_stky/mmc_[rt]irqs MMRs.
+       * dv-bfin_eppi.c (bfin_eppi_io_write_buffer): Pass 0x1ff to dv_w1c_2.
+       * dv-bfin_gpio.c (bfin_gpio_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_jtag.c (bfin_jtag_io_write_buffer): Invert bits to dv_w1c_4.
+       * dv-bfin_nfc.c (bfin_nfc_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_otp.c (bfin_otp_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_ppi.c (bfin_ppi_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_rtc.c (bfin_rtc_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_spi.c (bfin_spi_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_twi.c (bfin_twi_io_write_buffer): Invert bits to dv_w1c_2.
+       * dv-bfin_uart2.c (bfin_uart_io_write_buffer): Invert bits to dv_w1c_2.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_uart.h (TFI, BI, FE, PE, OE): Define.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_twi.h (LOSTARB): Rename from LOSTARG.
+
+2011-03-23  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32shift_0): Set acc0 to the unextended
+       value for the VIT_MAX insn, and mask off the result when done.
+
+2011-03-23  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Set A1 to a1_lo when up_hi is false,
+       and set A0 to a0_lo when up_lo is false.
+
+2011-03-23  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Call saturate_s40_astat instead of
+       saturate_s40, and use the v parameter to update the AV bit.  Set the
+       AC bit only when the final result is 0.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_sic.c (ENC, DEC_PIN, DEC_SIC): Define.
+       (bfin_sic_50x_ports, bfin_sic_51x_ports, bfin_sic_52x_ports,
+       bfin_sic_533_ports, bfin_sic_537_ports, bfin_sic_538_ports,
+       bfin_sic_54x_ports, bfin_sic_561_ports, bfin_sic_59x_ports):
+       Encode ids with the ENC macro.
+       (bfin_sic_52x_port_event, bfin_sic_537_port_event,
+       bfin_sic_54x_port_event, bfin_sic_561_port_event): Set idx
+       from my_port with DEC_SIC, and set bit from my_port with DEC_PIN.
+       (bfin_sic_533_port_event): Delete.
+       (bfin_sic_finish): Call set_hw_port_event with
+       bfin_sic_537_port_event for BF533 and BF59x targets.
+
+2011-03-23  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Drop the src0/src1 check for
+       BYTEOP1P, BYTEOP2P, and BYTEOP3P insns.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev,
+       bf533_dev, bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev):
+       Change bfin_gpio addresses from f/g/h to 5/6/7.
+       (bfin_model_hw_tree_init): Add the bfin_gpio address base to 'a'.
+
+2011-03-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_FUNCS): Check for kill and pread.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * interp.c (bfin_syscall): Check for HAVE_{KILL,PREAD} before using
+       kill or pread.
+
+2011-03-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (dv-bfin_gpio.o): New target.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio.
+       * configure: Regenerate.
+       * dv-bfin_gpio.c, dv-bfin_gpio.h: New files.
+       * machs.c: Include dv-bfin_gpio.h.
+       (bf50x_mem, bf51x_mem, bf52x_mem, bf531_mem, bf532_mem, bf533_mem,
+       bf534_mem, bf536_mem, bf537_mem, bf538_mem, bf561_mem, bf592_mem):
+       Delete GPIO memory stubs.
+       (bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev, bf533_dev,
+       bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev): Add GPIO
+       peripheral devices.
+       (bfin_model_hw_tree_init): Hook up GPIO interrupts to SIC.
+
+2011-03-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h, bfroms/bf51x-0.1.h,
+       bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h, bfroms/bf526-0.1.h,
+       bfroms/bf527-0.0.h, bfroms/bf527-0.1.h, bfroms/bf527-0.2.h,
+       bfroms/bf533-0.1.h, bfroms/bf533-0.2.h, bfroms/bf533-0.3.h,
+       bfroms/bf537-0.0.h, bfroms/bf537-0.1.h, bfroms/bf537-0.3.h,
+       bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h, bfroms/bf54x-0.1.h,
+       bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h, bfroms/bf54x_l1-0.1.h,
+       bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h, bfroms/bf59x-0.0.h,
+       bfroms/bf59x_l1-0.1.h, dv-bfin_cec.c, dv-bfin_ctimer.c,
+       dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
+       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
+       dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gptimer.c, dv-bfin_jtag.c,
+       dv-bfin_mmu.c, dv-bfin_nfc.c, dv-bfin_otp.c, dv-bfin_pll.c,
+       dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
+       dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
+       dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c,
+       linux-fixed-code.h, linux-targ-map.h, machs.c, Makefile.in: Fix style.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32alu_0): Set AZ based on val for 16bit adds
+       and subs.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): Move acc STOREs behind op != 3 check.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_macfunc): New neg parameter.  Set when the
+       high bit is set after extract_mult.
+       (decode_dsp32mac_0): Declare n_1 and n_0.  Pass to the decode_macfunc
+       functions.  Use these to update the AN bit.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (decode_dsp32mult_0): Declare v_i0 and v_i1.  Pass to
+       the extract_mult functions.  Include these when updating the V, VS,
+       and V_COPY bits.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (astat_names): New global bit array.
+       (decode_CC2stat_0): Delete local astat_name and astat_names.
+       (decode_psedodbg_assert_0): Move hardcoded offset into a variable.
+       Print out ASTAT bit values when checking an ASTAT register.
+
+2010-03-15  Robin Getz  <robin.getz@analog.com>
+
+       * bfin-sim.c (extract_mult): Handle M_IU.
+
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in, TODO, aclocal.m4, bfin-sim.c, bfin-sim.h,
+       bfroms/all.h, bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h,
+       bfroms/bf51x-0.1.h, bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h,
+       bfroms/bf526-0.1.h, bfroms/bf527-0.0.h, bfroms/bf527-0.1.h,
+       bfroms/bf527-0.2.h, bfroms/bf533-0.1.h, bfroms/bf533-0.2.h,
+       bfroms/bf533-0.3.h, bfroms/bf537-0.0.h, bfroms/bf537-0.1.h,
+       bfroms/bf537-0.3.h, bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h,
+       bfroms/bf54x-0.1.h, bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h,
+       bfroms/bf54x_l1-0.1.h, bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h,
+       bfroms/bf59x-0.0.h, bfroms/bf59x_l1-0.1.h, config.in, configure,
+       configure.ac, devices.c, devices.h, dv-bfin_cec.c, dv-bfin_cec.h,
+       dv-bfin_ctimer.c, dv-bfin_ctimer.h, dv-bfin_dma.c, dv-bfin_dma.h,
+       dv-bfin_dmac.c, dv-bfin_dmac.h, dv-bfin_ebiu_amc.c, dv-bfin_ebiu_amc.h,
+       dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_ddrc.h, dv-bfin_ebiu_sdc.c,
+       dv-bfin_ebiu_sdc.h, dv-bfin_emac.c, dv-bfin_emac.h, dv-bfin_eppi.c,
+       dv-bfin_eppi.h, dv-bfin_evt.c, dv-bfin_evt.h, dv-bfin_gptimer.c,
+       dv-bfin_gptimer.h, dv-bfin_jtag.c, dv-bfin_jtag.h, dv-bfin_mmu.c,
+       dv-bfin_mmu.h, dv-bfin_nfc.c, dv-bfin_nfc.h, dv-bfin_otp.c,
+       dv-bfin_otp.h, dv-bfin_pll.c, dv-bfin_pll.h, dv-bfin_ppi.c,
+       dv-bfin_ppi.h, dv-bfin_rtc.c, dv-bfin_rtc.h, dv-bfin_sic.c,
+       dv-bfin_sic.h, dv-bfin_spi.c, dv-bfin_spi.h, dv-bfin_trace.c,
+       dv-bfin_trace.h, dv-bfin_twi.c, dv-bfin_twi.h, dv-bfin_uart.c,
+       dv-bfin_uart.h, dv-bfin_uart2.c, dv-bfin_uart2.h, dv-bfin_wdog.c,
+       dv-bfin_wdog.h, dv-bfin_wp.c, dv-bfin_wp.h, dv-eth_phy.c, gui.c,
+       gui.h, insn_list.def, interp.c, linux-fixed-code.h, linux-fixed-code.s,
+       linux-targ-map.h, machs.c, machs.h, proc_list.def, sim-main.h,
+       tconfig.in: New Blackfin port.
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
deleted file mode 100644 (file)
index 5411001..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (bpf_sim_machs): ... this.
-       * sim-if.c (bpf_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): Delete.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf.c (bpfbf_exit): Use PRI 64 formats.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (bpfbf_record_trace_results): Delete function.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode-be.c: Include cgen-mem.h & cgen-ops.h.
-       * decode-le.c: Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf-helpers.c: Include bpf-helpers.h.
-       * bpf-helpers.h (bpf_trace_printk): Change return type to int.
-       (bpfbf_breakpoint): New prototype.
-       * bpf.c: Include decode-be.h & decode-le.h.
-       (bpfbf_ebpfle_init_idesc_table): Delete prototype.
-       (bpfbf_ebpfbe_init_idesc_table): Delete prototype.
-       (bpfbf_model_insn_after): Add 3rd argument.
-       (bpf_def_model_init): Add 1st argument.
-       (bpfbf_prepare_run): Mark static.
-       * sim-main.h: Include bpf-helpers.h.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf-helpers.c (bpf_trace_printk): Add casts to every value printf.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf-helpers.c (bpf_trace_printk): Move value decl to top of scope.
-       * mloop.in: Move off16 & imm32 decls to top of scope.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (BPF_INCLUDE_DEPS): Delete config.h.
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf.c (bpf_engine_run_full): Change current_target_byte_order to
-       CURRENT_TARGET_BYTE_ORDER.
-       (bpf_engine_run_fast): Likewise.
-       * mloop.in: Likewise.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * bpf-helpers.c, bpf.c, sim-if.c, traps.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (arch.o, cpu.o, sim-if.o, traps.o): Remove.
-       (mloop-le.o, mloop-be.o, decode-le.o, decode-be.o, sim-le.o)
-       (sim-be.o): Use COMPILE and POSTCOMPILE.
-       (SIM_EXTRA_DEPS): Add eng-le.h, eng-be.h.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * bpf.c (bpf_def_model_init): Use new-style declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * mloop.in (xextract-scache): Call SEM_ARGBUF.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode-be.c (bpfbf_ebpfbe_decode): Change TRACE_EXTRACT to
-       CGEN_TRACE_EXTRACT.
-       * decode-le.c (bpfbf_ebpfle_decode): Likewise.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-11-01  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Re-generate.
-
-2020-09-08  David Faust  <david.faust@oracle.com>
-
-       * sem-be.c: Regenerate.
-       * sem-le.c: Likewise.
-
-2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * bpf.c: Include bpf-helpers.h.
-       * bpf-helpers.h: Provide a prototype for bpf_trace_printk.
-       * configure.ac: Set simulator bitsize to 64.
-       * configure (includedir): Regenerate.
-       * sim-if.c: Include stdlib.h.
-       * traps.c: Likewise.
-
-2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
-           David Faust <david.faust@oracle.com>
-
-       * arch.c: Likewise.
-       * arch.h: Likewise.
-       * cpu.c: Likewise.
-       * cpu.h: Likewise.
-       * cpuall.h: Likewise.
-       * decode-be.c: Likewise.
-       * decode-be.h: Likewise.
-       * decode-le.c: Likewise.
-       * decode-le.h: Likewise.
-       * defs-be.h: Likewise.
-       * defs-le.h: Likewise.
-       * sem-be.c: Likewise.
-       * sem-le.c: Likewise.
-
-2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
-           David Faust <david.faust@oracle.com>
-
-       * Makefile.in: New file.
-       * bpf-helpers.c: Likewise.
-       * bpf-helpers.def: Likewise.
-       * bpf-helpers.h: Likewise.
-       * bpf-sim.h: Likewise.
-       * bpf.c: Likewise.
-       * config.in: Likewise.
-       * configure.ac: Likewise.
-       * decode.h: Likewise.
-       * eng.h: Likewise.
-       * mloop.in: Likewise.
-       * sim-if.c: Likewise.
-       * sim-main.h: Likewise.
-       * traps.c: Likewise.
-       * configure: Generate.
-       * aclocal.m4: Likewise.
diff --git a/sim/bpf/ChangeLog-2021 b/sim/bpf/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5411001
--- /dev/null
@@ -0,0 +1,324 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (bpf_sim_machs): ... this.
+       * sim-if.c (bpf_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): Delete.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf.c (bpfbf_exit): Use PRI 64 formats.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (bpfbf_record_trace_results): Delete function.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode-be.c: Include cgen-mem.h & cgen-ops.h.
+       * decode-le.c: Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf-helpers.c: Include bpf-helpers.h.
+       * bpf-helpers.h (bpf_trace_printk): Change return type to int.
+       (bpfbf_breakpoint): New prototype.
+       * bpf.c: Include decode-be.h & decode-le.h.
+       (bpfbf_ebpfle_init_idesc_table): Delete prototype.
+       (bpfbf_ebpfbe_init_idesc_table): Delete prototype.
+       (bpfbf_model_insn_after): Add 3rd argument.
+       (bpf_def_model_init): Add 1st argument.
+       (bpfbf_prepare_run): Mark static.
+       * sim-main.h: Include bpf-helpers.h.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf-helpers.c (bpf_trace_printk): Add casts to every value printf.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf-helpers.c (bpf_trace_printk): Move value decl to top of scope.
+       * mloop.in: Move off16 & imm32 decls to top of scope.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (BPF_INCLUDE_DEPS): Delete config.h.
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf.c (bpf_engine_run_full): Change current_target_byte_order to
+       CURRENT_TARGET_BYTE_ORDER.
+       (bpf_engine_run_fast): Likewise.
+       * mloop.in: Likewise.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * bpf-helpers.c, bpf.c, sim-if.c, traps.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (arch.o, cpu.o, sim-if.o, traps.o): Remove.
+       (mloop-le.o, mloop-be.o, decode-le.o, decode-be.o, sim-le.o)
+       (sim-be.o): Use COMPILE and POSTCOMPILE.
+       (SIM_EXTRA_DEPS): Add eng-le.h, eng-be.h.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * bpf.c (bpf_def_model_init): Use new-style declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * mloop.in (xextract-scache): Call SEM_ARGBUF.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode-be.c (bpfbf_ebpfbe_decode): Change TRACE_EXTRACT to
+       CGEN_TRACE_EXTRACT.
+       * decode-le.c (bpfbf_ebpfle_decode): Likewise.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-11-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Re-generate.
+
+2020-09-08  David Faust  <david.faust@oracle.com>
+
+       * sem-be.c: Regenerate.
+       * sem-le.c: Likewise.
+
+2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * bpf.c: Include bpf-helpers.h.
+       * bpf-helpers.h: Provide a prototype for bpf_trace_printk.
+       * configure.ac: Set simulator bitsize to 64.
+       * configure (includedir): Regenerate.
+       * sim-if.c: Include stdlib.h.
+       * traps.c: Likewise.
+
+2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+           David Faust <david.faust@oracle.com>
+
+       * arch.c: Likewise.
+       * arch.h: Likewise.
+       * cpu.c: Likewise.
+       * cpu.h: Likewise.
+       * cpuall.h: Likewise.
+       * decode-be.c: Likewise.
+       * decode-be.h: Likewise.
+       * decode-le.c: Likewise.
+       * decode-le.h: Likewise.
+       * defs-be.h: Likewise.
+       * defs-le.h: Likewise.
+       * sem-be.c: Likewise.
+       * sem-le.c: Likewise.
+
+2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+           David Faust <david.faust@oracle.com>
+
+       * Makefile.in: New file.
+       * bpf-helpers.c: Likewise.
+       * bpf-helpers.def: Likewise.
+       * bpf-helpers.h: Likewise.
+       * bpf-sim.h: Likewise.
+       * bpf.c: Likewise.
+       * config.in: Likewise.
+       * configure.ac: Likewise.
+       * decode.h: Likewise.
+       * eng.h: Likewise.
+       * mloop.in: Likewise.
+       * sim-if.c: Likewise.
+       * sim-main.h: Likewise.
+       * traps.c: Likewise.
+       * configure: Generate.
+       * aclocal.m4: Likewise.
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
deleted file mode 100644 (file)
index ad5980c..0000000
+++ /dev/null
@@ -1,8164 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_RESERVED_BITS): Delete.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (GUILE): New variable.
-       (CGEN): Use $(GUILE).
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_SCACHE): Delete.
-       * cgen-scache.h (WITH_SCACHE): Delete.
-       * sim-profile.c (profile_info): Check CGEN_ARCH.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-scache.c (scache_install): Rename to ...
-       (sim_install_scache): ... this.  New prototype.
-       * cgen-scache.h (scache_install): Delete.
-       * sim-module.c (early_modules): Delete scache_install.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (early_modules): Delete profile_install.
-       * sim-profile.c (profile_install): Rename to ...
-       (sim_install_profile): ... this.  New prototype.
-       * sim-profile.h (profile_install): Delete.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (early_modules): Delete trace_install.
-       * sim-trace.c (trace_install): Rename to ...
-       (sim_install_trace): ... this.  New prototype.
-       * sim-trace.h (trace_install): Delete.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-engine.c (sim_engine_install): Rename to ...
-       (sim_install_engine): ... this.  New prototype.
-       * sim-engine.h (sim_engine_install): Delete.
-       * sim-module.c (early_modules): Delete sim_engine_install.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.h (WITH_MODEL): Delete.
-       (CURRENT_MODEL, MODEL_ISSUE_IGNORE, MODEL_ISSUE_PROCESS,
-       WITH_MODEL_ISSUE, CURRENT_MODEL_ISSUE): Likewise.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_DEFAULT_MODEL): Delete.
-       * sim-base.h (struct sim_state): Add model_name.
-       (STATE_MODEL_NAME): Define.
-       * sim-model.c (model_option_handler): Set STATE_MODEL_NAME.
-       (sim_model_init): Delete WITH_MODEL_P check.  Change
-       WITH_DEFAULT_MODEL to STATE_MODEL_NAME.
-       * sim-model.h (WITH_DEFAULT_MODEL): Delete.
-       (WITH_MODEL_P): Delete.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-defs.h (cgen_cpu_max_extra_bytes): Add SIM_DESC arg.
-       * cgen-utils.c (cgen_cpu_max_extra_bytes): Likewise.  Change sim_machs
-       to STATE_MACHS.
-       * sim-base.h (struct sim_state): Add machs.
-       (STATE_MACHS): New define.
-       * sim-cpu.c (sim_cpu_alloc): Pass sd to cgen_cpu_max_extra_bytes.
-       * sim-model.c (model_option_handler): Pass sd to sim_model_lookup.
-       Change sim_machs to STATE_MACHS.
-       (sim_model_lookup): Add SIM_DESC arg.  Change sim_machs to
-       STATE_MACHS.
-       (sim_mach_lookup): Likewiwse.
-       (sim_mach_lookup_bfd_name): Likewise.
-       (sim_model_init): Pass sd to sim_model_lookup and
-       sim_mach_lookup_bfd_name.
-       (sim_machs): Delete.
-       * sim-model.h (enum mach_attr): Delete.
-       (SIM_MODEL): Change num to int.
-       (sim_machs): Delete.
-       (sim_model_lookup): Add SIM_DESC arg.
-       (sim_mach_lookup): Likewise.
-       (sim_mach_lookup_bfd_name): Likewise.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (Makefile): Replace $(arch) and pass more files to
-       config.status.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c [!HAVE_KILL] (os_kill): Return ENOSYS.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-model.c (model_option_handler): Make machp const.
-       (sim_model_lookup): Likewise.
-       (sim_mach_lookup): Likewise.
-       (sim_mach_lookup_bfd_name): Likewise.
-       (sim_machs): Add const.
-       * sim-model.h (sim_machs): Likewise.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-io.h (sim_io_vprintf): Add ATTRIBUTE_PRINTF.
-       (sim_io_evprintf): Likewise.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-io.c (sim_io_error): Change "" to " ".
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (sim_cb_printf, sim_cb_eprintf): Delete.
-       (os_poll_quit): Delete __GO32__ support.
-       * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Delete.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-types.h (HAVE_LONGLONG): Delete define.
-       [!HAVE_LONGLONG]: Delete all protected code.
-       * cgen-utils.c (make_struct_di): Delete.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c: Include diagnostics.h.
-       (cgen_trace_extract): Call DIAGNOSTIC_PUSH,
-       DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL, and DIAGNOSTIC_POP.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-run.c (engine_run_n): Assert cpu arguments are valid.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.h (cgen_trace_printf): Add ATTRIBUTE_PRINTF_2.
-       (sim_disasm_sprintf): Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c (cgen_trace_extract): Make name & fmt const.
-       (cgen_trace_result): Make name const.
-       (cgen_trace_printf): Make fmt const.
-       * cgen-trace.h (cgen_trace_extract): Make 3rd arg const.
-       (cgen_trace_result): Make 2nd arg const.
-       (cgen_trace_printf): Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-mem.h (DECLARE_GETMEM_EXTERN): New macro.
-       (DECLARE_GETMEM): Use DECLARE_GETMEM_EXTERN.
-       (DECLARE_SETMEM_EXTERN): New macro.
-       (DECLARE_SETMEM): Use DECLARE_SETMEM_EXTERN.
-       (DECLARE_GETIMEM_EXTERN): New macro.
-       (DECLARE_GETIMEM): Use DECLARE_GETIMEM_EXTERN.
-       (DECLARE_GETT_EXTERN): New macro.
-       (DECLARE_GETT): Use DECLARE_GETT_EXTERN.
-       (DECLARE_SETT_EXTERN): New macro.
-       (DECLARE_SETT): Use DECLARE_SETT_EXTERN.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-ops.h: Move prototype blocks before function definitions.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-ops.h (SUBWORDSIQI): Add int 2nd argument.
-       (SUBWORDSIHI, SUBWORDSIUQI, SUBWORDDIUQI): Likewise.
-       (ADDCFSI): Change return type to BI.
-       (ADDOFSI, SUBCFSI, SUBOFSI, ADDCFHI, ADDOFHI, SUBCFHI, SUBOFHI,
-       ADDCFQI, ADDOFQI, SUBCFQI, SUBOFQI): Likewise.
-       (MUL1OFSI): Change SI arguments to USI.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-syscall.c (sim_syscall_multi): Handle CB_SYS_kill.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (os_kill): New function.
-       (default_callback): Add os_kill.
-       * syscall.c (cb_syscall): Handle CB_SYS_kill.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (srcdir): Change to abs_srcdir.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (cb_target_to_host_signal): New function.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c: Include signal.h.
-       (cb_init_signal_map): New prototype.
-       (os_init): Assign signal_map.
-       * gentmap.c (signal_tdefs): New array.
-       (gen_targ_vals_h): Output signal_tdefs.
-       (gen_targ_map_c): Likewise.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (os_getpid): New function.
-       (default_callback): Add os_getpid.
-       * syscall.c (cb_syscall): Change getpid to cb->getpid.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (VPATH): Use $(srcdir).
-       (config.status): New variable.
-       (stamp-hw): Depend on $(config.status).
-       (Makefile): Likewise.  Change rule based on SIM_COMMON_BUILD.
-       (config.status): Disable when SIM_COMMON_BUILD is true.
-       (.gdbinit): Likewise.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Move sim-hw settings to ../arch-subdir.mk.in.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_HW): Delete.
-       (SIM_HW_OBJS): Redefine.
-       (SIM_HW_SOCKSER, SIM_HW_DEVICES): Define.
-       (stamp-hw): Change SIM_HW to SIM_HW_DEVICES.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (CGENDIR): Delete.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_INLINE): Delete.
-
-2021-06-19  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * sim-inline.h: Move UNUSED before TYPE.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (clean): Delete BUILT_SRC_FROM_COMMON usage.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (CSEARCH): Change @INCINTL@ to $(INTL_CFLAGS).
-       (LIBINTL, LIBINTL_DEP): Delete.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Move dependency vars to ../arch-subdir.mk.in.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Move toolchain vars to ../arch-subdir.mk.in.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (lt_cv_dlopen_libs): Delete.
-       (@PLUGINS_TRUE@LIBDL): Likewise.
-       (ZLIB): Use $(zlibdir).
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (CONFIG_LIBS): Add $(COMMON_LIBS).
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (WARN_CFLAGS, WERROR_CFLAGS): Delete.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Include ../arch-subdir.mk.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-run.c: Include sim-signal.h.
-       * cgen-utils.c, nrun.c, sim-core.c, sim-engine.c, sim-reason.c,
-       sim-resume.c, sim-signal.c, sim-stop.c, sim-watch.c: Likewise.
-       * sim-basics.h: Delete sim-signal.h include.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-basics.h: Delete libiberty.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_ENDIAN): Delete.
-       * sim-config.c (sim_config): Delete WITH_DEFAULT_TARGET_BYTE_ORDER.
-       (sim_config_print): Likewise.
-       * sim-config.h (WITH_TARGET_BYTE_ORDER): Delete.
-       (WITH_DEFAULT_TARGET_BYTE_ORDER): Likewise.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c: Include sim/callback.h.
-       * nrun.c, sim-hw.c, sim-io.c, sim-syscall.c, sim-trace.c: Likewise.
-       * sim-basics.h: Delete sim/callback.h include.
-       * sim-endian.h: Include bfd.h.
-       * sim-syscall.h (struct cb_syscall): New forward decl.
-       * sim-utils.h (sim_analyze_program): Likewise.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (CONFIG_CFLAGS): Change @DEFS@ to -DHAVE_CONFIG_H.
-       (generated_files): Delete config.h.
-       (distclean): Likewise.
-       (config.h, stamp-h): Delete rules.
-       * defs.h [SIM_COMMON_BUILD]: Delete config.h include and PACKAGE*
-       defines.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Add stamp-modules rule to avoid rebuilds.
-       (clean): Delete modules.c files.
-       * local.mk: Add version.c-stamp rule to avoid rebuilds.
-       (CLEANFILES): Add version.c files.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * local.mk (%D%/version.c): Use AM_V_GEN & AM_V_at wrappers.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (GNULIB_BUILDDIR): Rename to ...
-       (GNULIB_PARENT_DIR): ... this.  Remove "gnulib" from value.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (COMMON_OBJS_NAMES): Add portability.o.
-       * local.mk (%C%_libcommon_a_SOURCES): Add %D%/portability.c.
-       * portability.c, portability.h: New files.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Move sim-load.o to ...
-       (COMMON_OBJS_NAMES): ... here.  Rename var from COMMON_OBJS.
-       (COMMON_OBJS): Redefine.
-       * defs.h [SIM_COMMON_BUILD]: Do not include ../config.h.
-       * local.mk (%C%_libcommon_a_CPPFLAGS): New variable.
-       (%C%_libcommon_a_SOURCES): Add %D%/sim-load.c.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-sockser.c: Include sys/select.h.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in: Delete SIM_ALIGNMENT.
-       * sim-config.c (sim_config): Change WITH_DEFAULT_ALIGNMENT to
-       NONSTRICT_ALIGNMENT.
-       (sim_config_print): Delete WITH_DEFAULT_ALIGNMENT logic.
-       * sim-config.h (WITH_DEFAULT_ALIGNMENT): Delete.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * defs.h: Include ../config.h.  Undefine PACKAGE* defines.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-basics.h (NULL): Delete.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c (main): Set default_callback.target_endian to
-       current_target_byte_order when it's BFD_ENDIAN_UNKNOWN.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-defs.h (STATE_RUN_FAST_P, CGEN_STATE, cgen_init): Delete.
-       * cgen-run.c (cgen_get_fast_p): New function.
-       (sim_resume): Move fast_p up and call cgen_get_fast_p.
-       * cgen-utils.c (cgen_init): Delete.
-       * sim-base.h: Delete cgen-sim.h include.
-       (struct sim_state): Delete cgen_state and STATE_CGEN_STATE.
-
-2021-06-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (IGEN_RUN): New variable.
-       (IGEN): Remove ASAN_OPTIONS.
-
-2021-06-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (COMMON_OBJS): Define.
-       (LIB_OBJS): Replace version.o with $(COMMON_OBJS).
-       (version.c): Delete target.
-       (generated_files): Delete version.c.
-       * local.mk: New file.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (EXTRA_LIBS): Add $(LIBGNU_EXTRA_LIBS).
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (GNULIB_BUILDDIR): Define.
-       Include $(GNULIB_BUILDDIR)/Makefile.gnulib.inc.
-       (CSEARCH): Add -I../...
-       (ALL_CFLAGS): Add $(INCGNU).
-       (EXTRA_LIBS): Add $(LIBGNU).
-       * defs.h: Include gnulib/config.h.  Undefine PACKAGE* defines.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-       (struct sim_state_base): Merge into ...
-       (struct sim_state): ... this.
-       (STATE_MY_NAME): Delete base.
-       (STATE_OPEN_KIND): Likewise.
-       (STATE_CALLBACK): Likewise.
-       (STATE_ENVIRONMENT): Likewise.
-       (STATE_CONFIG): Likewise.
-       (STATE_MODULES): Likewise.
-       (STATE_OPTIONS): Likewise.
-       (STATE_VERBOSE_P): Likewise.
-       (STATE_TRACE_DATA): Likewise.
-       (STATE_ARCHITECTURE): Likewise.
-       (STATE_TARGET): Likewise.
-       (STATE_PROG_ARGV): Likewise.
-       (STATE_PROG_BFD): Likewise.
-       (STATE_PROG_SYMS): Likewise.
-       (STATE_PROG_SYMS_COUNT): Likewise.
-       (STATE_TEXT_SECTION): Likewise.
-       (STATE_TEXT_START): Likewise.
-       (STATE_TEXT_END): Likewise.
-       (STATE_START_ADDR): Likewise.
-       (STATE_SCACHE_SIZE): Likewise.
-       (STATE_CORE): Likewise.
-       (STATE_MEMOPT): Likewise.
-       (STATE_EVENTS): Likewise.
-       (STATE_ENGINE): Likewise.
-       (STATE_WATCHPOINTS): Likewise.
-       (STATE_HW): Likewise.
-       (STATE_LOAD_AT_LMA_P): Likewise.
-       (SIM_MAGIC_NUMBER): Likewise.
-       (STATE_MAGIC): Likewise.
-       * sim-utils.c (sim_state_alloc_extra): Delete check for
-       SIM_HAVE_COMMON_SIM_STATE.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-defs.h (STATE_RUN_FAST_P): Call STATE_CGEN_STATE.
-       * sim-base.h [CGEN_ARCH]: Include cgen-sim.h and define
-       SIM_HAVE_COMMON_SIM_STATE.
-       (struct sim_state): Add cgen_state.
-       (STATE_CGEN_STATE): Define.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h (struct sim_state): Update comment.
-       (struct sim_state): Define.
-       (STATE_ARCH_DATA): Likewise.
-       (sim_state_alloc): New define.
-       (sim_state_alloc_extra): Renamed & add 3rd arg.
-       * sim-utils.c (sim_state_alloc): Likewise.
-       (sim_state_alloc_extra): Set arch data.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c: Replace config.h include with defs.h.
-       * cgen-accfp.c, cgen-fpu.c, cgen-par.c, cgen-run.c, cgen-scache.c,
-       dv-core.c, dv-glue.c, genmloop.sh, hw-alloc.c, hw-base.c, hw-device.c,
-       hw-events.c, hw-handles.c, hw-instances.c, hw-ports.c,
-       hw-properties.c, hw-tree.c, sim-abort.c, sim-arange.c, sim-bits.c,
-       sim-close.c, sim-command.c, sim-config.c, sim-core.c, sim-cpu.c,
-       sim-endian.c, sim-engine.c, sim-events.c, sim-fpu.c, sim-hload.c,
-       sim-hrw.c, sim-hw.c, sim-info.c, sim-inline.c, sim-model.c,
-       sim-profile.c, sim-reason.c, sim-reg.c, sim-resume.c, sim-run.c,
-       sim-signal.c, sim-stop.c, sim-trace.c, sim-utils.c: Include defs.h.
-       * cgen-trace.c, cgen-utils.c, dv-cfi.c, dv-pal.c, dv-sockser.c,
-       nrun.c, sim-basics.h, sim-load.c, sim-memopt.c, sim-module.c,
-       sim-options.c, sim-syscall.c, sim-watch.c, syscall.c: Replace
-       config.h include with defs.h.
-       * gentmap.c (gen_targ_map_c): Replace config.h with defs.h.
-       * sim-io.c: Include defs.h.
-       (open): Undefine.
-       * defs.h: New file.
-
-2021-05-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c: Include environ.h.
-       (environ): Delete prototype.
-       (main): Delete HAVE_ENVIRON check.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (os_lseek): Change return and 3rd arg to int64_t.
-       (os_ftruncate): Change 3rd arg to int64_t.
-       (os_truncate): Change 3rd arg to int64_t.
-       * sim-io.c (sim_io_lseek): Change return and 3rd arg to int64_t.
-       * sim-io.h (sim_io_lseek): Likewise.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (os_time): Change return to int64_t.  Delete 2nd arg.
-       (os_fstat): Delete 2nd arg to time callback.
-       * sim-io.c (sim_io_time): Change return to int64_t.  Delete 2nd arg
-       to time callback.
-       * sim-io.h (sim_io_time): Change return to int64_t.
-       * syscall.c (cb_syscall): Delete 2nd arg to time callback.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (cb_host_to_target_stat): Change PTR to void*.
-       * sim-syscall.c (sim_syscall_multi): Delete (PTR) casts.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (callback_h, remote_sim_h): Update path.
-       * callback.c: Update include path.
-       * gentmap.c (gen_targ_map_c): Likewise.
-       * sim-basics.h: Likewise.
-       * sim-close.c: Likewise.
-       * sim-core.c: Likewise.
-       * sim-load.c: Likewise.
-       * sim-module.h: Likewise.
-       * syscall.c: Likewise.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (modules.c): Touch $@ at the end.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c (sim_cgen_disassemble_insn): Change %x to PRIxTA.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-types.h (mode_names): Rename to ...
-       (cgen_mode_names): ... this.
-       (MODE_NAME): Use cgen_mode_names.
-       * cgen-utils.c (mode_names): Rename to ...
-       (cgen_mode_names): ... this.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-ops.h (cgen_rtx_error): Declare.
-       * cgen-utils.c (cgen_rtx_error): Add %s printf argument.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-utils.c (virtual_insn_entries): Change {0} to {}.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (html, clean-html, install-html, pdf, clean-pdf,
-       install-pdf): New rules.
-
-2021-05-08  Tom Tromey  <tom@tromey.com>
-
-       * sim-options.c (compare_strings): Remove.
-       (dup_arg_p): Use htab_eq_string.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-hw.c (sim_hw_install): Rename to ...
-       (sim_install_hw): ... this.  New prototype.
-       * sim-hw.h (sim_hw_install): Delete.
-       * sim-module.c: Delete sim-hw.h include.
-       (early_modules): Delete sim_hw_install.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * Make-common.in (generated_files): Add config.h.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c (sim_disasm_perror_memory): Use BFD_VMA_FMT and drop
-       cast.
-       * sim-load.c (xprintf_bfd_vma): Delete.
-       (sim_load_file): Delete xprintf_bfd_vma calls.  Use BFD_VMA_FMT.
-
-2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * hw-events.h (hw_event_queue_schedule_tracef): Use format attribute.
-       (hw_event_queue_schedule_vtracef): Likewise.
-       * hw-tree.h (hw_tree_vparse): Likewise.
-       * sim-profile.c (profile_vprintf): Likewise.
-       * sim-trace.c (dis_printf): Likewise.
-       * sim-trace.h (trace_printf): Likewise.
-       (trace_vprintf): Likewise.
-       * sim-utils.h (sim_do_commandf): Likewise.
-       * hw-events.c (hw_event_queue_schedule): Use
-       hw_event_queue_schedule_tracef.
-
-2021-05-02  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * sim-options.c (standard_option_handler): Add default cases to
-       switches.
-
-2021-05-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (os_error): Change __attribute__((noreturn)) to
-       ATTRIBUTE_NORETURN.
-       * hw-device.h (hw_abort, hw_vabort, hw_halthw_trace): Change
-       attributes to ATTRIBUTE_PRINTF and ATTRIBUTE_NORETURN.
-       * hw-events.h (hw_event_queue_schedule_tracef): Likewise.
-       * hw-tree.h (hw_tree_delete): Likewise.
-       * sim-basics.h (__attribute__): Delete.
-       * sim-engine.h (sim_engine_halt): Change __attribute__((noreturn))
-       to ATTRIBUTE_NORETURN.
-       (sim_engine_abort, sim_engine_vabort): Likewise.
-       * sim-hw.h (sim_hw_install, sim_hw_abort): Change
-       __attribute__((printf)) to ATTRIBUTE_PRINTF.
-       * sim-inline.h (NORETURN): Delete.
-       (UNUSED): Change to ATTRIBUTE_UNUSED.
-       * sim-io.h (sim_io_printf): Change attributes to ATTRIBUTE_PRINTF
-       and ATTRIBUTE_NORETURN.
-       (sim_io_eprintf, sim_io_error): Likewise.
-       * sim-profile.c (profile_printf): Likewise.
-       * sim-trace.h (trace_prefix, trace_generic, trace_printf,
-       sim_debug_printf): Likewise.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (dup_arg_p): Call htab_empty.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-sockser.c (dv_sockser_install): Rename to ...
-       (sim_install_dv_sockser): ... this.
-       * dv-sockser.h (dv_sockser_install): Delete.
-       * sim-module.c: Delete dv-sockser.h include.
-       (early_modules): Delete dv_sockser_install.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (LIB_OBJS): Add modules.o.
-       (generated_files): Add modules.c.
-       (modules.c): New target.
-       * sim-module.c (modules): Rename to ...
-       (early_modules): ... this.  Delete 0 sentinel.
-       (early_modules_len): Define.
-       (sim_modules_detected, sim_modules_detected_len): Declare.
-       (sim_pre_argv_init): Call sim_module_install_list.
-       (sim_module_install): New function.
-       (sim_module_install_list): New function.
-       * sim-module.h (sim_module_install_list): Declare.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c (strsignal): New prototype.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (wrap): Delete.
-       (os_close): Replace wrap call with direct call & setting last_errno.
-       (os_isatty, os_lseek, os_read_stdin, os_write, os_rename, os_system,
-       os_time, os_unlink, os_stat, os_fstat, os_lstat): Likewise.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Delete.  Update comment.
-       (gentvals): Unify common code paths.
-       (gen_targets): Change TARGETS to TARGETS_DIRS.  Call gentvals without
-       target argument.
-       * nltvals.def: Regenerate.
-
-2021-04-25  Tom Tromey  <tom@tromey.com>
-
-       * sim-options.c (compare_strings): New function.
-       (ARG_HASH_SIZE, ARG_HASH): Remove.
-       (dup_arg_p): Use htab_t.
-       (sim_parse_args): Remove assert.
-
-2021-04-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-cfi.c (attach_cfi_regs): Change %u to PRIiTC.
-
-2021-04-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (ARG_HASH_SIZE): Increase to 256.
-       (sim_parse_args): Call SIM_ASSERT.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * sim-utils.c: Update includes.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Make-common.in: Require GNU make.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Make-common.in (stamp-hw): New target.
-       (hw-config.h): Depend on stamp-hw.
-       (mostlyclean): Remove stamp-hw and hw-config.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Make-common.in (mostlyclean): Now an alias for clean, not
-       distclean.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * sim-events.c (sim_events_schedule): Use
-       sim_events_schedule_tracef.
-
-2021-04-22  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * callback.c (os_printf_filtered, os_vprintf_filtered,
-       os_evprintf_filtered, os_error): Use ATTRIBUTE_PRINTF.
-       * sim-engine.h (sim_engine_abort, sim_engine_vabort): Likewise.
-       * sim-events.h (sim_events_schedule_tracef,
-       sim_events_schedule_vtracef): Use ATTRIBUTE_NULL_PRINTF.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Add moxie.
-       * nltvals.def: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGET_DIRS, TARGETS): Add sh.
-       * nltvals.def: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Add rx.
-       * nltvals.def: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Add m32c.
-       * nltvals.def: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Add iq2000.
-       * nltvals.def: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * syscall.c (cb_syscall): Implement CB_SYS_getpid.
-
-2021-04-15  John Baldwin  <jhb@FreeBSD.org>
-
-       * Make-common.in (CONFIG_CFLAGS): Remove SIM_EXTRA_CFLAGS.
-       (ALL_CLAGS, COMMON_DEP_CFLAGS): Add SIM_EXTRA_CFLAGS after
-       CSEARCH.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-cpu.c (sim_cpu_alloc_all): Delete 3rd arg.  Delete 2nd arg to
-       sim_cpu_alloc.
-       (sim_cpu_alloc): Move extra_bytes to local var.  Add result of
-       cgen_cpu_max_extra_bytes.
-       * sim-cpu.h (sim_cpu_alloc_all): Delete 3rd arg.
-       (sim_cpu_alloc): Delete 2nd arg.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * cgen-utils.c (RORQI, ROLQI, RORHI, ROLHI, RORSI, ROLSI): Use
-       new-style declaration.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (install-common): Install as run-$arch and
-       libsim-$arch.a when not the primary arch.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (CFLAGS_FOR_BUILD): Define.
-       (BUILD_CFLAGS): Replace -g -O with $(CFLAGS_FOR_BUILD).
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (LINK_FOR_BUILD): Change BUILD_LDFLAGS to
-       LDFLAGS_FOR_BUILD.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
-       (gentmap.o): New rule.
-       (gentmap): Call LINK_FOR_BUILD.
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (check): Delete body.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_EXTRA_LIBDEPS): Delete.
-       (LIBDEPS): Delete $(SIM_EXTRA_LIBDEPS).
-
-2021-02-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_EXTRA_ALL): Delete.
-       (all): Delete $(SIM_EXTRA_ALL).
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Removed.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Delete all sinclude & m4_include calls.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Delete.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-events.c: Include sim-cpu.h.
-       (sim_event_watchpoints): Define watch_pc.
-       (sim_events_watch_pc): New function.
-       (WATCH_SIM): Handle watch_pc.
-       * sim-events.h (sim_events_watch_pc): New prototype.
-       * sim-watch.c (schedule_watchpoint): Replace sim_events_watch_sim with
-       sim_events_watch_pc.
-       * sim-watch.h (sim_watchpoints): Delete pc.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Replace AC_CONFIG_HEADER with
-       AC_CONFIG_HEADERS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (HDEFINES, TDEFINES): Delete.
-       (CONFIG_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
-       * acinclude.m4 (SIM_AC_COMMON): Delete AC_SUBST(HDEFINES) and
-       bfd/configure.host sourcing.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.py (TARGETS): Add riscv.
-       (TARGET_DIRS): Likewise.
-       * nltvals.def: Regenerate from the latest libgloss sources.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c (cgen_trace_insn): Add "%s" argument.
-
-2021-01-31  Stafford Horne  <shorne@gmail.com>
-
-       * cgen-accfp.c (fixsfsi): Change res from unsigned32 to signed32.
-       (fixdfsi): Change res from unsigned32 to signed32.
-       (fixdfdi): Change res from unsigned64 to signed64.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.sh: Replace shell script with ...
-       * gennltvals.py: ... this Python script.
-       * nltvals.def: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-watch.c (schedule_watchpoint): Change sizeof_pc to sizeof
-       sim_cia.
-       * sim-watch.h (struct _sim_watchpoints): Delete sizeof_pc.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.c (profile_pc_init): Change 1 in shifts to 1ULL.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-hw.c (merge_device_file): Replace fgets with getline.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.sh (gen_arches): Sort calls by first arg.
-       * nltvals.def: Regenerate.
-
-2021-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (version.c): Simplifiy args and call move-if-change.
-       * create-version.sh: Delete host & target alias logic.  Write to the
-       output directly.
-
-2021-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure, configure.ac, Makefile.in: Delete.
-
-2021-01-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-watch.c (default_interrupt_handler): Define.
-       (sim_watchpoint_install): Set default interrupt_handler to new
-       default_interrupt_handler.
-
-2021-01-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-watch.c (do_watchpoint_create): Parse arg+1 and assign to arg1.
-
-2021-01-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-events.c (sim_events_watch_sim): Change byte_order type to
-       enum bfd_endian.
-       (sim_events_watch_core): Likewise.
-       * sim-events.h (sim_events_watch_sim, sim_events_watch_core): Likewise.
-       * sim-watch.c (schedule_watchpoint): Change 0 to HOST_BYTE_ORDER in
-       call to sim_events_watch_sim.
-
-2021-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.h [!WITH_PROFILE]: Rewrite to use #error.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_WARNINGS.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (sim_memory_map): Change %#x to PRIxTW.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Delete checks for stdlib.h, string.h,
-       strings.h, time.h, and errno.h.
-       * callback.c, cgen-scache.c, dv-glue.c, dv-pal.c, dv-sockser.c,
-       hw-alloc.c, hw-base.c, hw-device.c, hw-events.c, hw-handles.c,
-       hw-ports.c, hw-properties.c, hw-tree.c, nrun.c, sim-arange.c,
-       sim-events.c, sim-fpu.c, sim-hw.c, sim-load.c, sim-memopt.c,
-       sim-options.c, sim-profile.c, sim-trace.c, sim-utils.c,
-       sim-watch.c, syscall.c: Delete HAVE_ERRNO_H, HAVE_STDLIB_H,
-       HAVE_STRING_H, HAVE_STRINGS_H, HAVE_LIMITS_H, HAVE_TIME_H,
-       and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-basics.h [__CYGWIN32__] (vasprintf, asprintf): Delete.
-       * sim-core.c, sim-watch.c: Include libiberty.h.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Replace duplicate text with pointer to README-HACKING.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Document 1st argument.
-       Set WERROR_CFLAGS when first arg is not set or is "yes".
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-base.c (full_name_of_hw): Delete full_name.  Replace
-       hw_strdup call with hw_malloc.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-par.c: Include stdlib.h.
-       * cgen-trace.c, hw-events.c, sim-abort.c: Likewise.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (C_DIALECT): Define.
-       (COMPILE.pre): Append $(C_DIALECT).
-       * acinclude.m4 (SIM_AC_COMMON): Probe C11 to define C_DIALECT.
-
-2021-01-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (sim_memory_map): Define.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (ACX_BUGURL): Change http:// to https://.
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (sim_print_version): Print out more details when
-       is_command is non-zero.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (standard_option_handler): Call sim_print_version.
-       (sim_print_version): New function.
-       * sim-options.h (sim_print_version): New prototype.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.c (print_sim_config): Rename to ...
-       (sim_config_print): ... this.
-       * sim-config.h: Likewise.
-
-2021-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-bits.h (_ALIGNa, _FLOORa, ALIGN_8, ALIGN_16, ALIGN_PAGE,
-       FLOOR_PAGE): Delete unused macros.
-       (align_up, align_down): Define.
-
-2020-08-10  Tom de Vries  <tdevries@suse.de>
-
-       * sim-cpu.c: Include stdlib.h for free.
-
-2020-01-19  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * nrun.c: Include stdlib.h.
-       * sim-core.c: Likewise.
-       * sim-engine.c: Likewise.
-       * sim-io.c: Likewise.
-       * sim-module.c: Likewise.
-       * sim-reason.c: Likewise.
-
-2019-12-19  Tom Tromey  <tromey@adacore.com>
-
-       PR build/24572:
-       * Makefile.in (install-strip): New target.
-
-2019-12-01  Pavel I. Kryukov  <kryukov@frtk.ru>
-
-       * sim-utils.c: Prevent buffer overflow.
-
-2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * gennltvals.sh: Add PRU libgloss target.
-       * nltvals.def: Regenerate from the latest libgloss sources.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * cgen-accfp.c (unorderedsf, unordereddf): New functions.
-       (cgen_init_accurate_fpu): Wire up unorderedsf and unordereddf.
-       * cgen-fpu.h (cgen_fp_ops): Define fields unorderedsf and unordereddf.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * cgen-accfp.c (floatdidf, fixdfdi): New functions.
-       (cgen_init_accurate_fpu): Add floatdidf and fixdfdi.
-
-2019-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
-       CURRENT_TARGET_BYTE_ORDER.
-       (SUBWORDTFSI): Likewise.
-       (JOINSIDF): Likewise.
-       (JOINSIXF): Likewise.
-       (JOINSITF): Likewise.
-
-2019-03-28  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * sim-base.h: Add 'sim-assert.h' include.
-       * sim-basics.h: Add 'libiberty.h' include.
-
-2019-03-28  Stafford Horne  <shorne@gmail.com>
-
-       * sim-options.c: Include "config.h".
-       Include <stdio.h>.
-       * sim-watch.c: Include "config.h".
-       Include <stdio.h>.
-       * hw-device.c: Include <string.h>.
-       * hw-events.c: Include <string.h>.
-       * hw-handles.c: Include <stdlib.h>.
-       * sim-fpu.c: Include <stdlib.h>.
-
-2019-03-28  Stafford Horne  <shorne@gmail.com>
-
-       * Make-common.in (sim-arange_h): Remove sim-arange.c
-       * sim-arange.c: Remove SIM_ARANGE_C.
-       Add ifdef for _SIM_ARANGE_C_.
-       Include "sim-arange.h".
-       Remove include for unused "sim-assert.h".
-       Remove DEFINE_INLINE_P.  Remove DEFINE_NON_INLINE_P.
-       (sim_addr_range_add): Declare as INLINE_SIM_ARANGE.
-       (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
-       (sim_addr_range_hit_p): Change from SIM_ARANGE_INLINE to
-       INLINE_SIM_ARANGE.
-       * sim-arange.h (sim_addr_range_add): Declare as
-       INLINE_SIM_ARANGE.
-       (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
-       (sim_addr_range_hit_p) Declare as INLINE_SIM_ARANGE.
-       Remove definition of SIM_ARANGE_INLINE.
-       Remove [HAVE_INLINE].
-       Wrap include "sim-arange.c" in H_REVEALS_MODULE_P.
-       * sim-base.h: Include "sim-arange.h"
-       * sim-basics.h: Remove include of "sim-arange.h"
-       * sim-inline.c: Include "sim-arange.c"
-       * sim-inline.h: Define INLINE_SIM_ARANGE.
-       Define SIM_ARANGE_INLINE.  Define EXTERN_SIM_ARANGE_P.
-       Define STATIC_INLINE_SIM_ARANGE.  Define STATIC_SIM_ARANGE.
-
-2019-01-26  Tom Tromey  <tom@tromey.com>
-
-       * Make-common.in (version.c): Use sim's create-version.sh.
-       * create-version.sh: New file.
-
-2019-01-16  Pavel I. Kryukov  <kryukov@frtk.ru>
-
-       * sim-arange.c (DEFINE_INLINE_P, DEFINE_NON_INLINE_P): Remove.
-
-2019-01-15  Simon Marchi  <simon.marchi@ericsson.com>
-
-       * sim-arange.h (SIM_ARANGE_INLINE): Change EXTERN to extern.
-
-2018-12-18  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * sim-syscall.c (sim_syscall_multi): Don't update sc->errcode at
-       this point, it should have already been set in cb_syscall.
-
-2018-10-05  Stafford Horne  <shorne@gmail.com>
-
-       * cgen-ops.h (ADDCFDI): New function, add carry flag DI variant.
-       (ADDOFDI): New function, add overflow flag DI variant.
-       (SUBCFDI): New function, subtract carry flag DI variant.
-       (SUBOFDI): New function, subtract overflow flag DI variant.
-
-2018-09-28  Компан, Вячеслав Олегович  <kompan.vo@phystech.edu>
-
-       * sim-core.h (sim_cpu_core): Rename cpu_core.xor to
-       cpu_core.byte_xor.
-       * sim-core.c (sim_core_set_xor): Likewise.
-       (sim_core_xor_read_buffer): Likewise.
-       (sim_core_xor_write_buffer): Likewise.
-
-2017-12-12  Peter Gavin  <pgavin@gmail.com>
-           Stafford Horne  <shorne@gmail.com>
-
-       * cgen-ops.h (MUL2OFSI): New function, 2's complement overflow
-       flag.
-       (MUL1OFSI): New function, 1's complement overflow flag.
-
-2017-12-12  Peter Gavin  <pgavin@gmail.com>
-           Stafford Horne <shorne@gmail.com>
-
-       * cgen-accfp.c (remsf, remdf): New function.
-       (cgen_init_accurate_fpu): Add remsf and remdf.
-       * cgen-fpu.h (cgen_fp_ops): Add remsf, remdf, remxf and remtf.
-       * sim-fpu.c (sim_fpu_rem): New function.
-       * sim-fpu.h (sim_fpu_status_invalid_irx): New enum.
-       (sim_fpu_rem): New function.
-       (sim_fpu_print_status): Add case for sim_fpu_status_invalid_irx.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Honor existing CC_FOR_BUILD in
-       environment.
-
-2017-05-24  Yao Qi  <yao.qi@linaro.org>
-
-       * sim-trace.c (trace_disasm): Caller update.
-
-2016-08-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h (sim_state_base): Add prog_syms_count.
-       (STATE_PROG_SYMS_COUNT): Define.
-       * sim-trace.c (trace_uninstall): Free STATE_PROG_SYMS memory.
-       (trace_load_symbols): New function.
-       (trace_sym_value): Likewise.
-       (trace_prefix): Change STATE_CPU(cpu) to sd.  Replace symbol
-       loading logic with a call to trace_load_symbols.
-       * sim-trace.h (trace_load_symbols, trace_sym_value): New
-       prototypes.
-
-2016-08-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-types.h (mode_names): Mark const.
-       * cgen-utils.c (mode_names): Likewise.
-
-2016-08-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-defs.h (struct cgen_state): Delete argv and envp.
-       (STATE_ARGV, STATE_ENVP): Delete.
-
-2016-02-04  Nick Clifton  <nickc@redhat.com>
-
-       * cgen-scache.c (scache_option_handler): Prevent possible
-       undefined behaviour computing the size of the scache by using
-       unsigned integers instead of signed integers.
-
-2016-01-17  Joel Brobecker  <brobecker@adacore.com>
-
-       * sim-fpu.c: Minor comment fixes throughout.
-
-2016-01-17  Joel Brobecker  <brobecker@adacore.com>
-
-       * sim-fpu.c (print_bits): Minor reformatting (no code change).
-       (sim_fpu_map): Likewise.
-
-2016-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.c (print_sim_config): Drop extra whitespace before =
-       in output for byte order, stdio, and msb settings.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call AC_MSG_CHECKING,
-       AC_DEFINE_UNQUOTED, and AC_MSG_RESULT for sim-debug.  Likewise for
-       sim-stdio, sim-trace, and sim-profile.
-       (SIM_AC_OPTION_ENVIRONMENT): Likewise.
-       (SIM_AC_OPTION_ASSERT): Likewise.
-       (SIM_AC_OPTION_SMP): Likewise.
-       (SIM_AC_OPTION_XOR_ENDIAN): Likewise.
-       * configure: Regenerate.
-       * Make-common.in (SIM_DEBUG, SIM_TRACE, SIM_PROFILE, SIM_ASSERT,
-       SIM_ENVIRONMENT, SIM_SMP, SIM_XOR_ENDIAN): Delete.
-       (CONFIG_CFLAGS): Delete $(SIM_DEBUG), $(SIM_TRACE), $(SIM_PROFILE),
-       $(SIM_ASSERT), $(SIM_ENVIRONMENT), $(SIM_SMP), and $(SIM_XOR_ENDIAN).
-       * sim-config.c (sim_config): Change DEFAULT_ENVIRONMENT to
-       WITH_ENVIRONMENT & USER_ENVIRONMENT.
-       * sim-config.h (SIM_HAVE_ENVIRONMENT, WITH_ENVIRONMENT,
-       DEFAULT_ENVIRONMENT, WITH_DEBUG, WITH_TRACE, WITH_PROFILE,
-       WITH_ASSERT, WITH_STDIO): Delete.
-       * sim-options.c (standard_options): Delete SIM_HAVE_ENVIRONMENT
-       check.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_PACKAGES): Delete.
-       * configure: Regenerate.
-       * Make-common.in (SIM_PACKAGES): Delete.
-       (CONFIG_CFLAGS): Delete $(SIM_PACKAGES).
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ENVIRONMENT.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
-       sim_link_links.
-       (SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
-       * gentmap.c: Change targ-vals.def include to nltvals.def.
-       * Make-common.in (gentmap): Change targ-vals.def to
-       $(srccom)/nltvals.def.
-       (distclean): Delete rm -f targ-vals.def.
-       * Makefile.in: Update comment.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_INLINE.
-       (SIM_AC_OPTION_INLINE): Rename default_sim_inline to sim_inline
-       and always set -DDEFAULT_INLINE.  Delete AC_ARG_ENABLE 4th arg.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Delete --enable-sim-regparm and sim_regparm,
-       and --enable-sim-stdcall and sim_stdcall.
-       * configure: Regenerate.
-       * Make-common.in (SIM_REGPARM, SIM_STDCALL): Delete.
-       (CONFIG_CFLAGS): Delete $(SIM_REGPARM) and $(SIM_STDCALL).
-       * sim-config.h (WITH_REGPARM, WITH_STDCALL): Delete.
-       * sim-inline.h (REGPARM_MODULE, REGPARM): Delete.
-       (REGPARM_*): Delete all regparm defines and their use.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Delete --enable-sim-cflags and sim_cflags.
-       * Make-common.in (SIM_CFLAGS): Delete.
-       (CONFIG_CFLAGS): Delete $(SIM_CFLAGS).
-       * Makefile.in: Likewise.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change SIM_AC_COMMON to AC_PROG_CC.  Drop 2nd arg
-       to AC_OUTPUT.  Move AC_CHECK_HEADERS, AC_CHECK_FUNCS,
-       AC_CHECK_MEMBERS, and -AC_CHECK_TYPES ...
-       * acinclude.m4 (SIM_AC_COMMON): ... here.
-       * aclocal.m4, configure: Regenerate.
-       * config.in: Delete file.
-       * callback.c: Change cconfig.h include to config.h.
-       * dv-cfi.c, nrun.c, sim-basics.h, sim-load.c, sim-memopt.c,
-       syscall.c: Likewise.
-       * Make-common.in (sim-basics_h): Delete ../common/cconfig.h.
-       * Makefile.in (distclean): Delete rm -f cconfig.h config.h stamp-h.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.c (print_sim_config): Delete sim_io_printf of version,
-       date, and time information.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (sim_parse_args): Mark argv array const.
-       * sim-options.h (sim_parse_args): Likewise.
-
-2016-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c: Include dis-asm.h.
-       (OPTION_TRACE_DISASM): New enum.
-       (trace_options): Add trace-disasm flag.
-       (trace_option_handler): Handle OPTION_TRACE_DISASM.
-       (trace_idx_to_str): Handle TRACE_DISASM_IDX.
-       (dis_read, dis_printf, trace_disasm): New functions.
-       * sim-trace.h: Include dis-asm.h.
-       (TRACE_INSN_IDX): Clarify comment.
-       (TRACE_DISASM_IDX): New enum.
-       (TRACE_disasm): New define.
-       (WITH_TRACE_DISASM_P): New define.
-       (struct _trace_data): Add dis_bfd, disassembler, and dis_info.
-       (STRACE_DISASM_P): New define.
-       (TRACE_DISASM_P): Likewise.
-       (TRACE_DISASM_P): Likewise.
-       (TRACE_DISASM): Likewise.
-       (trace_disasm): New function.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-utils.c (sim_state_free): Change to STATE_MAGIC.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-scache.c (MAX): Delete.
-       (scache_init): Change MAX to max.
-       * cgen-trace.c (min): Delete.
-       * cgen-utils.c (min): Delete.
-       * sim-basics.h [!min] (min): Define.
-       [!max] (max): Define.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (sim_parse_args): Tweak getopt error message.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (sim-bswap): Delete.
-       * configure: Regenerate.
-       * Make-common.in (SIM_BSWAP): Delete.
-       (CONFIG_CFLAGS): Delete $(SIM_BSWAP).
-       * sim-config.h (htonl, ntohl): Delete.
-       (WITH_BSWAP): Delete.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (sim_parse_args): Declare local save_opterr.  Save
-       opterr state to it before calling getopt_long and restore afterwards.
-       Set opterr to 0.  When optc is '?', call sim_io_eprintf.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-device.h (device): Delete commented typedef.
-       * sim-basics.h (device): Delete typedef.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (sim_parse_args): Replace for loop with a call
-       to countargv.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c (myname): Mark const.
-       (main): Mark name const.  Replace myname parsing loop with a
-       call to lbasename.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       (CONFIG_CFLAGS): Delte $(SIM_HOSTENDIAN).
-       * acinclude.m4 (SIM_AC_COMMON): Call AC_C_BIGENDIAN.
-       (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * config.in, configure: Regenerate.
-       * Make-common.in (SIM_HOSTENDIAN): Delete.
-       * sim-config.c (current_host_byte_order): Delete.
-       (sim_config): Delete current_host_byte_order assignments and
-       CURRENT_HOST_BYTE_ORDER checks.
-       (print_sim_config): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
-       * sim-config.h (WITH_HOST_BYTE_ORDER): Change to ...
-       (HOST_BYTE_ORDER): ... this.  Define based on WORDS_BIGENDIAN.
-       (current_host_byte_order): Delete.
-       (CURRENT_HOST_BYTE_ORDER): Likewise.
-       * sim-endian.c (WITH_HOST_BYTE_ORDER): Rename to ...
-       (HOST_BYTE_ORDER): ... this.
-       (sim_endian_split_16): Change WITH_HOST_BYTE_ORDER to
-       HOST_BYTE_ORDER.
-       (sim_endian_join_16): Likewise.
-       * sim-n-core.h (sim_core_read_misaligned_N): Change
-       CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
-       (sim_core_write_misaligned_N): Likewise.
-       * sim-n-endian.h (endian_t2h_N): Likewise.
-       (endian_h2t_N, endian_h2be_N, endian_be2h_N, endian_h2le_N,
-       endian_le2h_N): Likewise.
-       (offset_N): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to
-       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
-       BFD_ENDIAN_UNKNOWN.
-       (SIM_AC_OPTION_HOSTENDIAN): Likewise.
-       * cgen-ops.h (SUBWORDXFSI): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
-       (SUBWORDTFSI, JOINSIDF, JOINSIXF, JOINSITF): Likewise.
-       * nrun.c (main): Likewise.
-       * sim-config.c (current_host_byte_order): Change type to enum
-       bfd_endian.  Initialize to BFD_ENDIAN_UNKNOWN.
-       (current_target_byte_order): Likewise.
-       (config_byte_order_to_a): Likewise.  Change BIG_ENDIAN to
-       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
-       BFD_ENDIAN_UNKNOWN.
-       (sim_config): Change prefered_target_byte_order type to enum
-       bfd_endian.  Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
-       to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
-       * sim-config.h: Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
-       to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
-       Delete all the various arch/OS endian includes & defines.
-       (current_host_byte_order): Change type to enum bfd_endian.
-       (current_target_byte_order): Likewise.
-       (CURRENT_HOST_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN, not 0.
-       (CURRENT_TARGET_BYTE_ORDER): Likewise.
-       * sim-endian.c: Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
-       * sim-events.c (sim_events_watch_sim): Change BIG_ENDIAN to
-       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
-       BFD_ENDIAN_UNKNOWN.
-       (sim_events_watch_core): Likewise.
-       * sim-events.h: Likewise.
-       * sim-n-core.h (sim_core_read_misaligned_N): Change BIG_ENDIAN to
-       BFD_ENDIAN_BIG.
-       (sim_core_write_misaligned_N): Likewise.
-       * sim-n-endian.h (endian_h2be_N): Likewise.
-       (endian_be2h_N): Likewise.
-       (endian_h2le_N): Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
-       (offset_N): Likewise.
-       * sim-options.c (standard_option_handler): Change LITTLE_ENDIAN to
-       BFD_ENDIAN_LITTLE and BIG_ENDIAN to BFD_ENDIAN_BIG.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-defs.h (current_state): Delete.
-       * sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
-       * sim-utils.c (current_state): Delete.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment
-       to use lbasename.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (AH_BOTTOM): Delete tconfig.h appending.
-       * config.in, configure: Regenerate.
-       * Make-common.in (sim-basics_h): Delete tconfig.h.
-       (distclean): Likewise.
-       * sim-core.c (device_io_read_buffer, device_io_write_buffer): Delete.
-       (new_sim_core_mapping): Delete WITH_HW and device *device.
-       (sim_core_map_attach, sim_core_attach): Likewise.
-       (sim_core_read_buffer): Delete WITH_DEVICES logic.
-       (sim_core_write_buffer): Likewise.
-       * sim-core.h (struct _sim_core_mapping): Delete WITH_HW and device
-       *device.
-       (sim_core_attach): Likewise.
-       (device_io_read_buffer, device_io_write_buffer): Delete.
-       * sim-n-core.h (sim_core_read_aligned_N): Delete WITH_DEVICES logic.
-       (sim_core_write_aligned_N): Likewise.
-       * tconfig.h: Delete file.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (sim_core_read_buffer): Move cia decl to top of func.
-       Call sim_cpu_hw_io_read_buffer if cpu is valid.
-       (sim_core_write_buffer): Move cia decl to top of func.  Call
-       sim_cpu_hw_io_write_buffer if cpu is valid.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-properties.c (hw_find_ihandle_runtime_property): Delete
-       HW_TRACE call.
-       (hw_find_integer_property): Likewise.
-       (hw_find_integer_array_property): Likewise.
-       (hw_add_duplicate_property): Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.h (WITH_ENGINE): Delete.
-       * sim-module.c (modules): Always include sim_engine_install.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.
-       * cgen-types.h (SIM_HAVE_MODEL): Delete.
-       * sim-base.h: Always include sim-model.h.
-       * sim-config.h (WITH_DEFAULT_MODEL): Delete.
-       * sim-cpu.h (sim_cpu_base): Always declare mach/model members.
-       * sim-model.c (sim_model_init): Return when !WITH_MODEL_P.
-       [!WITH_MODEL_P] (sim_machs): Define.
-       * sim-model.h: Add some developer docs.
-       [!WITH_DEFAULT_MODEL] (mach_attr, WITH_DEFAULT_MODEL): Define.
-       (WITH_MODEL_P): Define.
-       * sim-module.c (modules): Always include sim_model_install.
-       * sim-profile.h (WITH_PROFILE_MODEL_P): Delete.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-cpu.h: Rename MACH to SIM_MACH and MODEL to SIM_MODEL.
-       * sim-model.c: Likewise.
-       * sim-model.h: Likewise.  Rename MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (device_error): Delete.
-       (sim_core_map_attach): Delete calls to device_error.
-       (sim_core_attach): Likewise.
-       * sim-core.h (device_error): Delete.
-       * sim-n-core.h (sim_core_read_aligned_N): Change device_error call
-       to sim_engine_abort.
-       (sim_core_write_aligned_N): Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.h (WITH_CALLBACK_MEMORY): Delete.
-       * sim-core.c (sim_core_write_buffer): Likewise.
-       * sim-n-core.h (sim_core_read_aligned_N): Likewise.
-       (sim_core_write_aligned_N): Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-pal.c: Include config.h and sim-main.h.
-       (hw_pal_io_read_buffer): Always call CPU_INDEX.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (standard_options): Always enable load-lma and
-       load-vma options.
-       (standard_install): Always set STATE_LOAD_AT_LMA_P(sd) to 1.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (MODULE_LIST): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (OPTION_H8300H, OPTION_H8300S, OPTION_H8300SX):
-       Move to h8300/compile.c.
-       [SIM_H8300] (standard_options): Likewise.
-       (standard_option_handler): Likewise.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c [WITH_WATCHPOINTS] (modules): Always call
-       sim_watchpoint_install.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
-       * sim-module.c [SIM_HAVE_FLATMEM] (modules): Always call
-       sim_memopt_install.
-       * sim-options.c (OPTION_MEM_SIZE): Delete.
-       [SIM_HAVE_FLATMEM] (standard_options): Delete flatmem code.
-       (standard_option_handler): Likewise.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/18762
-       * Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/19273
-       * sim-utils.c (sim_do_commandf): Declare ret.  Call va_start,
-       vasprintf, and va_end together.  Check ret after va_end call.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-types.h (SIM_PRI_TB): Define.
-       (PRI_TW, PRIiTW, PRIxTW): New PRI target word defines.
-       (PRI_TA, PRIiTA, PRIxTA): New PRI target address defines.
-       (PRI_TC, PRIiTC, PRIxTC): New PRI target cell defines.
-       (PRI_TF, PRIiTF, PRIxTF): New PRI target floating point defines.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_MODULO_MEMORY): Delete.
-       * sim-core.c (new_sim_core_mapping): Always assign mask to modulo-1.
-       (sim_core_attach): Delete WITH_MODULO_MEMORY == 0 logic.
-       (sim_core_translate): Likewise.
-       * sim-core.h: Delete mention of WITH_MODULO_MEMORY.
-
-2015-11-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete.
-       (cgen_cpu_close): Change to XCONCAT2.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o,
-       and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-close.o
-       * sim-close.c: New file.
-
-2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Ali Lown  <ali.lown@imgtec.com>
-
-       * sim-bits.h (EXTEND6): New macro.
-       (EXTEND12): New macro.
-       (EXTEND25): New macro.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (trace_one_insn): Delete.
-       * sim-trace.h (trace_one_insn): Delete.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (debug_printf): Rename to ...
-       (sim_debug_printf): ... this.
-       * sim-trace.h (debug_printf): Delete define.
-       (debug_printf): Rename to ...
-       (sim_debug_printf): ... this.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (OPTION_TRACE_REGISTER): New enum.
-       (trace_options): Add trace-register option.
-       (trace_option_handler): Handle OPTION_TRACE_REGISTER case.
-       (trace_idx_to_str): Handle TRACE_REGISTER_IDX case and re-indent.
-       * sim-trace.h (TRACE_REGISTER_IDX): New enum.
-       (TRACE_register, WITH_TRACE_REGISTER_P, STRACE_REGISTER_P,
-       TRACE_REGISTER_P, TRACE_REGISTER): Define.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.h (STRACE, STRACE_INSN, STRACE_DECODE, STRACE_EXTRACT,
-       STRACE_LINENUM, STRACE_MEMORY, STRACE_MODEL, STRACE_ALU, STRACE_CORE,
-       STRACE_EVENTS, STRACE_FPU, STRACE_VPU, STRACE_BRANCH, STRACE_SYSCALL,
-       STRACE_DEBUG): Define.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (trace_options): Update help text for trace-alu,
-       trace-fpu, trace-vpu, and trace-semantics.
-       * sim-trace.h (TRACE_ALU_IDX): Update comment text.
-       (TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-assert.h (SIM_FILTER_PATH): Delete.
-       [!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h.
-       (SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename.
-       [!ASSERT, WITH_ASSERT]: Include libiberty.h.
-       (ASSERT): Replace SIM_FILTER_PATH with lbasename.
-       * sim-events.c: Include libiberty.h.
-       (ETRACE): Replace SIM_FILTER_PATH with lbasename.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (AC_ARG_ENABLE(sim-bswap)): Call AS_HELP_STRING.
-       (AC_ARG_ENABLE(sim-cflags)): Likewise.
-       (AC_ARG_ENABLE(sim-debug)): Likewise.
-       (AC_ARG_ENABLE(sim-stdio)): Likewise.
-       (AC_ARG_ENABLE(sim-trace)): Likewise.
-       (AC_ARG_ENABLE(sim-profile)): Likewise.
-       (AC_ARG_ENABLE(sim-environment)): Likewise.
-       (AC_ARG_ENABLE(sim-alignment)): Likewise.
-       (AC_ARG_ENABLE(sim-assert)): Likewise.
-       (AC_ARG_ENABLE(sim-bitsize)): Likewise.
-       (AC_ARG_ENABLE(sim-endian)): Likewise.
-       (AC_ARG_ENABLE(sim-hostendian)): Likewise.
-       (AC_ARG_ENABLE(sim-float)): Likewise.
-       (AC_ARG_ENABLE(sim-scache)): Likewise.
-       (AC_ARG_ENABLE(sim-default-model)): Likewise.
-       (AC_ARG_ENABLE(sim-inline)): Likewise.
-       (AC_ARG_ENABLE(sim-packages)): Likewise.
-       (AC_ARG_ENABLE(sim-regparm)): Likewise.
-       (AC_ARG_ENABLE(sim-reserved-bits)): Likewise.
-       (AC_ARG_ENABLE(sim-smp)): Likewise.
-       (AC_ARG_ENABLE(sim-stdcall)): Likewise.
-       (AC_ARG_ENABLE(sim-xor-endian)): Likewise.
-       (AC_ARG_ENABLE(cgen-maint)): Likewise.
-       * configure: Regenerate.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-config.h (WITH_TRACE): Define to ~TRACE_debug.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-trace.c [!__STDC__]: Delete.
-       * sim-trace.h [!__STDC__]: Likewise.
-
-2015-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-model.c (sim_model_init): Assert model is not NULL.
-
-2015-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-types.h: Move SIM_TYPES_H define to top of file.  Include
-       stdint.h.  Replace all signed/unsigned typedefs with int#_t and
-       uint#_t.
-
-2015-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-alu.h (_SIM_ALU_H_): Rename to ...
-       (SIM_ALU_H): ... this.
-       * sim-assert.h (_SIM_ASSERT_H_): Rename to ...
-       (SIM_ASSERT_H): ... this.
-       * sim-basics.h (_SIM_BASICS_H_): Rename to ...
-       (SIM_BASICS_H): ... this.
-       * sim-bits.h (_SIM_BITS_H_): Rename to ...
-       (SIM_BITS_H): ... this.
-       * sim-endian.h (_SIM_ENDIAN_H_): Rename to ...
-       (SIM_ENDIAN_H): ... this.
-
-2015-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a
-       constant string.
-
-2015-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (cb_target_map_entry, cb_host_map_entry): Change map to
-       m for sentinel testing.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-syscall.c: Include errno.h and targ-vals.h.
-       (sim_syscall_multi, sim_syscall): Define.
-       * sim-syscall.h (sim_syscall_multi, sim_syscall): Declare.
-       * syscall.c (cb_syscall): Extend comment.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-syscall.o.
-       * sim-syscall.c: New file.
-       * sim-syscall.h: New file.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c (cb_target_map_entry, cb_host_map_entry): Define.
-       (cb_target_to_host_syscall): Rewrite to use cb_target_map_entry.
-       (cb_host_to_target_errno): Rewrite to use cb_host_map_entry.
-       (cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal,
-       cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal):
-       Define.
-       * gentmap.c (gen_targ_map_c): Output name field.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Change configure.in to configure.ac.
-       * sim-config.h: Likewise.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (sim-trace): Delete -DTRACE flags.
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
-       TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE,
-       TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL,
-       TRACE_DEBUG): Define.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P.
-       * sim-trace.c (trace_option_handler): Likewise.
-       * sim-trace.h (WITH_TRACE_ANY_P): Define.
-       (STRACE_ANY_P): Use WITH_TRACE_ANY_P.
-       (TRACE_ANY_P): Likewise.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to
-       CGEN_TRACE_INSN_FINI.
-       * cgen-trace.c: Rename trace_insn to cgen_trace_insn,
-       trace_result to cgen_trace_result, trace_insn_fini to
-       cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init,
-       and trace_extract to cgen_trace_extract.
-       * cgen-trace.h (trace_insn_init): Rename to ...
-       (cgen_trace_insn_init): ... this.
-       (trace_insn_fini): Rename to ...
-       (cgen_trace_insn_fini): ... this.
-       (trace_insn): Rename to ...
-       (cgen_trace_insn): ... this.
-       (trace_extract): Rename to ...
-       (cgen_trace_extract): ... this.
-       (trace_result): Rename to ...
-       (cgen_trace_result): ... this.
-       (TRACE_RESULT_P): Rename to ...
-       (CGEN_TRACE_RESULT_P): ... this.
-       (TRACE_INSN_INIT): Rename to ...
-       (CGEN_TRACE_INSN_INIT): ... this.  Change trace_insn_init to
-       cgen_trace_insn_init.
-       (TRACE_INSN_FINI): Rename to ...
-       (CGEN_TRACE_INSN_FINI): ... this.  Change trace_insn_fini to
-       cgen_trace_insn_fini.
-       (TRACE_PRINTF): Rename to ...
-       (CGEN_TRACE_PRINTF): ... this.
-       (TRACE_INSN): Rename to ...
-       (CGEN_TRACE_INSN): ... this.  Change trace_insn to cgen_trace_insn.
-       (TRACE_EXTRACT): Rename to ...
-       (CGEN_TRACE_EXTRACT): ... this.  Change trace_extract to
-       cgen_trace_extract.
-       (TRACE_RESULT): Rename to ...
-       (CGEN_TRACE_RESULT): ... this.  Change TRACE_RESULT_P to
-       CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result.
-       * genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to
-       CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and
-       TRACE_INSN to CGEN_TRACE_INSN.
-       (@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-events.c (ETRACE_P): Delete.
-       (ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd).
-       (update_time_from_event, sim_events_schedule_vtracef): Likewise.
-       * sim-events.h (struct _sim_events): Delete trace member.
-       * sim-trace.c (set_trace_option_mask): Delete trace_nr check and
-       always set STATE_TRACE_FLAGS(sd)[trace_nr] element.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P,
-       STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P,
-       STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P,
-       STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.h (WITH_TRACE_P): New define.
-       (WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P,
-       WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P,
-       WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P,
-       WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P,
-       WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P):
-       Redefine to use WITH_TRACE_P.
-
-2015-06-09  Mike Stump  <mrs@mrs.kithrup.com>
-
-       * sim-events.c (sim_events_schedule_after_signal): Fix spelling
-       mistake in call to sim_engine_abort.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
-       increasing parenthesis around casts to signed values.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.sh: Add mcore support.
-       * nltvals.def: Regenerate.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen.sh: Add +x permissions.
-       * genmloop.sh: Likewise.
-       * gentvals.sh: Likewise.
-       * gennltvals.sh (newlibroot): New variable to hold the path to newlib.
-       Change all uses of srcroot for newlib to newlibroot.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h (SIM_CPU): New typedef.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-engine.h (CIA_ADDR): Delete.
-       * sim-base.h: Update sim_cia example.
-       [!CIA_ADDR] (sim_cia): New typedef.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET.
-       * sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise.
-       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET.
-       * sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
-       CIA_SET to CPU_PC_SET.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o.
-       * sim-main.h (STATE_CPU): Remove from comment and define.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM.
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c: Include version.h.
-       (OPTIONS_VERSION): New enum.
-       (standard_options): Add "version".
-       (standard_option_handler): Handle OPTIONS_VERSION.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (version.o): Change to using create-version.sh from gdb.
-       (create-version.sh): Delete.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * run-sim.h, run.c: Delete.
-       * tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * Make-common.in (CSEARCH): Add $(ZLIBINC).
-       (ZLIB, ZLIBINC): Define.
-       (BFD_LIB): Add $(ZLIB).
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE.
-       * cgen-ops.h (SEMOPS_INLINE): Likewise.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p.
-       (sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE.
-       * sim-inline.h (INLINE2): Define to gnu_inline when available.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.c (profile_pc_event): Get pc via sim_pc_get.  Delete
-       usage of STATE_WATCHPOINTS.
-       (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check.  Change
-       STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia).
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h: Note SIM_HAVE_PROFILE is deprecated.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
-       of enable_sim_hardware to AC_ARG_ENABLE.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O.
-       Add dv-sockser.o to sim_hw_objs.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-sockser.c: Include config.h.
-       * dv-sockser.h: Include sim-inline.h.
-       [HAVE_DV_SOCKSER]: Move all prototypes here.
-       [!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write,
-       dv_sockser_write_buffer, dv_sockser_read): New stub functions.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * gentmap.c, run.c: Convert old style prototypes.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM.  Delete logic for
-       symlinking tconfig.h to tconfig.in.
-       * config.in, configure: Regenerate.
-       * nrun.c, run.c, sim-basics.h: Delete tconfig.h include.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-       (sim-inline.c): Delete rule.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (SIM_RUN_OBJS): Change to nrun.o.
-       * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning.
-       [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h.
-       [!ASSERT, WITH_ASSERT]: Likewise.
-       * sim-endian.c: Delete sim-io.h include.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * run-sim.h (sim_kill): Delete unused prototype.
-
-2015-02-13  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * gentmap.c: Include "string.h".
-
-2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * sim-options.c (sim_args_command): Call freeargv() when failure
-       occurs.
-
-2015-01-07  Joel Brobecker  <brobecker@adacore.com>
-
-       * aclocal.m4, configure: Regenerate using automake 1.11.1.
-
-2014-12-03  Joel Brobecker  <brobecker@adacore.com>
-
-       * sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat"
-       and "fstat" callbacks by calls to "to_stat" and "to_fstat" (resp)
-       callbacks following renaming in callback.h.
-       * syscall.c (cb_syscall): Likewise.  Adjust calls to "lstat"
-       callback by call to "to_lstat" callback
-
-2014-08-28  Gary Benson  <gbenson@redhat.com>
-
-       * sim-trace.h (debug_printf): New define.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-command.c (sim_do_command): Add const to cmd.
-       * sim-options.c (sim_args_command): Add const to cmd.
-       * sim-options.h (sim_args_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-hload.c (sim_load): Add const to prog.
-       * sim-load.c (sim_load_file): Likewise.
-       * sim-utils.c (sim_analyze_program): Likewise.
-       * sim-utils.h (sim_analyze_program): Likewise.
-       (sim_load_file): Likewise.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (build_warnings): Copy from gdb/configure.ac.
-       * callback.c (system): Delete unused prototype.
-       (os_init): Likewise.
-       (os_shutdown): Likewise.
-       (os_unlink): Likewise.
-       (os_time): Likewise.
-       (os_system): Likewise.
-       (os_rename): Likewise.
-       (os_write_stdout): Likewise.
-       (os_flush_stdout): Likewise.
-       (os_write_stderr): Likewise.
-       (os_flush_stderr): Likewise.
-       (os_write): Likewise.
-       (os_read_stdin): Likewise.
-       (os_read): Likewise.
-       (os_open): Likewise.
-       (os_lseek): Likewise.
-       (os_isatty): Likewise.
-       (os_get_errno): Likewise.
-       (os_close): Likewise.
-       (os_vprintf_filtered): Likewise.
-       (os_evprintf_filtered): Likewise.
-       (os_error): Likewise.
-       (fdmap): Likewise.
-       (fdbad): Likewise.
-       (wrap): Likewise.
-       (wrap): Change to new style prototype.
-       (fdbad): Likewise.
-       (fdmap): Likewise.
-       (os_close): Likewise.
-       (os_poll_quit): Likewise.
-       (os_get_errno): Likewise.
-       (os_isatty): Likewise.
-       (os_lseek): Likewise.
-       (os_open): Likewise.
-       (os_read): Likewise.
-       (os_read_stdin): Likewise.
-       (os_write): Likewise.
-       (os_write_stdout): Likewise.
-       (os_flush_stdout): Likewise.
-       (os_write_stderr): Likewise.
-       (os_flush_stderr): Likewise.
-       (os_rename): Likewise.
-       (os_system): Likewise.
-       (os_time): Likewise.
-       (os_unlink): Likewise.
-       (os_stat): Likewise.
-       (os_fstat): Likewise.
-       (os_lstat): Likewise.
-       (os_ftruncate): Likewise.
-       (os_truncate): Likewise.
-       (os_pipe): Likewise.
-       (os_pipe_empty): Likewise.
-       (os_pipe_nonempty): Likewise.
-       (os_shutdown): Likewise.
-       (os_init): Likewise.
-       (cb_read_target_syscall_maps): Likewise.
-       (cb_target_to_host_syscall): Likewise.
-       (cb_host_to_target_errno): Likewise.
-       (cb_target_to_host_open): Likewise.
-       (cb_store_target_endian): Likewise.
-       (cb_host_to_target_stat): Likewise.
-       * sim-hload.c (sim_load): Change to new style prototype.
-       * sim-load.c (sim_load_file): Change to new style prototype.
-       (report_transfer_performance): Likewise.
-       (xprintf_bfd_vma): Likewise.
-       * syscall.c (cb_get_string): Change to new style prototype.
-       (get_path): Likewise.
-       (cb_syscall): Likewise.
-
-2013-10-15  Hans-Peter Nilsson  <hp@axis.com>
-
-       * create-version.sh: Align parameters to match those of
-       ../../gdb/common/create-version.sh.
-       * Make-common.in (srcsim): New variable.
-       (version.c): Adjust call to create-version.sh as per above.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-09-03  Mike Stump  <mikestump@comcast.net>
-
-       * sim-options.c (complete_option_list): Mark text and word const.
-
-2013-06-28  Tom Tromey  <tromey@redhat.com>
-
-       * Make-common.in (version.c): Use version.in, not
-       common/version.in.
-       * create-version.sh: Likewise.
-
-2013-06-24  Joel Brobecker  <brobecker@adacore.com>
-
-       * create-version.sh: New script. Adapted from
-       gdb/commong/create-version.sh.
-       * Make-common.in (version.c): Update rule dependencies,
-       and re-implement using create-version.sh.
-
-2013-06-21  Nick Clifton  <nickc@redhat.com>
-
-       * gennltvals.sh: Add msp430 support.
-       * nltvals.def: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Replace maintainer-mode code with AM_MAINTAINER_MODE.
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       PR build/15414:
-       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use
-       -Wformat-nonliteral with -Wno-format.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * acinclude.m4: Add SIM_DV_SOCKSER_O which is empty  on hosts
-       which do not support dv-sockser.o.  Add always as option to
-       first argument to SIM_AC_OPTION_HARDWARE. Fail if hardware
-       is always required to be enabled by simulator.
-
-2012-08-28  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
-
-       * gennltvals.sh: Use libgloss/syscall.h for cr16.
-       * nltvals.def: Regenerate.
-
-2012-06-16  Joel Brobecker  <brobecker@adacore.com>
-
-       * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       * sim-signal.h (sim_signal_to_target): Rename to ...
-       (sim_signal_to_gdb_signal): ... this.
-       * sim-signal.c (sim_signal_to_target): Rename to ...
-       (sim_signal_to_gdb_signal): ... this.
-       * sim-reason.c (sim_stop_reason): Adjust to rename.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace target_signal with gdb_signal throughout.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * callback.c: Include config.h before system header files.
-       * cgen-trace.c: Likewise.
-       * cgen-utils.c: Likewise.
-       * gentmap.c: Likewise.
-
-2012-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-ports.c (hw_port_decode): Change "Unreconized" to "Unrecognized".
-
-2012-03-28  Rathish C  <rathish.c@kpitcummins.com>
-
-       * sim-trace.c: Update the function prototype of save_data_size.
-       Move the enum data_fmt from here...
-       * sim-trace.h: ...to here.
-       Add function prototype of save_data.
-
-2012-03-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.h (sim_core_trans_addr): Add prototype.
-
-2012-03-24  Hans-Peter Nilsson  <hp@axis.com>
-
-       * nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanza
-       missing in last change.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_COMMON): Call AC_USE_SYSTEM_EXTENSIONS.
-       * nrun.c: Include string.h/strings.h.
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-03-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Copy AC_ARG_ENABLE(werror),
-       WERROR_CFLAGS, and build_warnings from gdb/configure.ac.  Comment
-       out -Werror initialization.
-
-2012-03-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (TAGS): Change a-z to [:lower:].
-       * acinclude.m4 (sim-trace): Likewise.
-       * gennltvals.sh: Change A-Z0-9 to [:upper:][:digit:].
-       Change A-Za-z0-9 to [:alnum:].
-
-2012-03-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c (main): Display strsignal of sigrc.
-
-2012-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (abs_srcdir): Declare.
-       (srcroot): Define in terms of abs_srcdir.
-       (headers): Change srcdir to abs_srcdir.
-
-2012-01-02  Joel Brobecker  <brobecker@adacore.com>
-
-       * dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
-       header.
-
-2011-12-19  Joel Brobecker  <brobecker@adacore.com>
-
-       * Make-common.in (hw-config.h): Work around bug in Solaris 2.8
-       system bourne shell.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * syscall.c (cb_get_string): Rename from "get_string".
-       (get_path): Rename get_string call to cb_get_string.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Make-common.in (VPATH): Add $(srccom).
-       (DEP): Delete.
-       (DEPMODE, DEPDIR, depcomp, COMPILE.pre, COMPILE.post, COMPILE,
-       POSTCOMPILE): New variables.
-       (.c.o): Replace recipe with call to $(COMPILE) and $(POSTCOMPILE).
-       Include dependency files, when using GNU Make.  Delete all
-       dependency-only rules.
-       * aclocal.m4: Include ../../config/depstand.m4.  Call
-       ZW_CREATE_DEPDIR and ZW_PROG_COMPILER_DEPENDENCIES.
-       (MAKE, GMAKE): New substs.
-
-2011-11-07  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/13161
-       * configure.ac (AC_CHECK_FUNCS): Add posix_fallocate.
-       * configure, config.in: Regenerate.
-       * dv-cfi.c (attach_cfi_regs): Check for HAVE_POSIX_FALLOCATE.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Call AC_CHECK_LIB when $hardware contains cfi.
-
-2011-10-18  John Wehle  <john@feith.com>  (tiny patch)
-
-       * sim-profile.c (profile_info): Only print the title once.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4: Rename from aclocal.m4.
-       * aclocal.m4: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Change AC_PREREQ comment to 2.64.
-       * common.m4: Delete.
-       * configure.ac: Change AC_PREREQ to 2.64.  Replace AC_CONFIG_HEADER
-       call and common.m4 include with SIM_AC_COMMON(cconfig.h).
-       * configure: Regenerate.
-
-2011-10-14  Alexey Makhalov  <makhaloff@gmail.com>
-
-       * sim-alu.h (ALU32_AND): Clear carry flag.
-       (ALU32_AND): Clear carry flag.
-
-2011-10-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-cfi.c: Include stdbool.h.
-
-2011-10-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
-
-2011-10-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and
-       ACX_BUGURL.  Define PKGVERSION and REPORT_BUGS_TO.
-
-2011-07-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-command.c: Include sim-options.h.
-
-2011-07-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Move sinclude comment after AC_INIT comment.
-
-2011-07-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC.
-       Delete direct call to AC_PROG_CC.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-command.c: New file.
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-command.o.
-       (sim-command.o): New rule.
-
-2011-05-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (standard_option_handler): Remove arg[0] check
-       when freeing simulator_sysroot.  Only strdup arg when arg[0] is
-       not an empty string, otherwise assign "" back to it.
-
-2011-05-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * nltvals.def: Regenerate to include Blackfin syscalls again.
-
-2011-05-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (OPTION_TRACE_SYSCALL): New enum.
-       (trace_options): Handle "trace-syscall" with OPTION_TRACE_SYSCALL.
-       (trace_option_handler): Handle OPTION_TRACE_SYSCALL.
-       (trace_idx_to_str): Likewise.
-       * sim-trace.h (TRACE_SYSCALL_IDX): New enum.
-       (TRACE_syscall): Define.
-       (WITH_TRACE_SYSCALL_P): Likewise.
-       (TRACE_SYSCALL_P): Likewise.
-
-2011-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-glue.c (hw_glue_finish): Move "name" to function scope and
-       remove now-unnecessary sub-scope for glue->type setting.
-       Check to see if the "reg" property exists before we use it, and
-       if it doesn't exist, error out for "glue" devices.
-
-2011-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-glue.c (hw_glue_finish): Set type to glue_or when name is
-       glue-or, and set type to glue_xor when name is glue-xor.
-       (hw_glue_port_event): Return immediately when type is glue_io
-       or unmatched.  Handle glue_or and glue_xor types.  Move HW_TRACE
-       and hw_port_event calls from glue_and to end of function.
-
-2011-05-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c, dv-pal.c, dv-sockser.c, hw-base.c, hw-device.c,
-       hw-instances.c, hw-ports.c, hw-properties.c, hw-tree.c, sim-abort.c,
-       sim-arange.c, sim-config.c, sim-core.c, sim-engine.c, sim-events.c,
-       sim-hw.c, sim-io.c, sim-memopt.c, sim-options.c, sim-profile.c,
-       sim-resume.c, sim-stop.c, syscall.c: Add space before parenthesis
-       around function arguments.
-
-2011-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (complete_option_list, sim_complete_command):
-       New functions.
-
-2011-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-glue.c: Fix up style.
-
-2011-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-alloc.c (hw_alloc_data): Adjust brace.
-       * hw-base.c (hw_base_data): Likewise.
-       (generic_hw_unit_decode): Fix indentation.
-       * hw-device.h (_hw_unit, enum, hw): Adjust braces.
-       * hw-events.c (hw_event, hw_event_data): Likewise.
-       * hw-handles.c (hw_handle_mapping, hw_handle_data): Likewise.
-       * hw-instances.c (hw_instance_data): Likewise.
-       * hw-instances.h (hw_instance): Likewise.
-       * hw-main.h (hw_descriptor, enum): Likewise.
-       * hw-ports.c (hw_port_edge, hw_port_data, empty_hw_ports): Likewise.
-       * hw-ports.h (hw_port_descriptor): Likewise.
-       * hw-properties.c (hw_property_data): Likewise.
-       * hw-properties.h (enum, hw_property, _ihandle_runtime_property_spec,
-       _range_property_spec, _reg_property_spec): Likewise.
-       * hw-tree.c (_name_specifier, printer): Likewise.
-       (split_device_specifier, parse_string_property, hw_tree_traverse,
-       print_size, print_reg_property, print_string, print_properties):
-       Fix indentation.
-
-2011-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add cfi to default list.
-       * Make-common.in (dv-cfi.o): New rule.
-       * dv-cfi.c, dv-cfi.h: New files.
-
-2011-03-21  Kevin Buettner  <kevinb@redhat.com>
-
-       * gennltvals.sh: Search sys/_default_fcntl.h, in addition to
-       fcntl.h and sys/fcntl.h, for constants.
-       * nltvals.def: Regenerate.
-       * sim-io.c (sim_io_stat, sim_io_fstat): New functions.
-       * sim-io.h (sys/types.h, sys/stat.h): Include.
-       (sim_io_stat, sim_io_fstat): Declare.
-
-2011-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * callback.c, cgen-engine.h, dv-core.c, dv-glue.c, dv-pal.c,
-       hw-base.c, hw-device.c, hw-device.h, hw-handles.c, hw-instances.c,
-       hw-ports.c, hw-ports.h, hw-properties.c, hw-tree.c, nrun.c,
-       run-sim.h, run.c, sim-alu.h, sim-assert.h, sim-base.h, sim-basics.h,
-       sim-config.c, sim-core.c, sim-core.h, sim-engine.h, sim-events.c,
-       sim-events.h, sim-fpu.c, sim-hw.c, sim-inline.h, sim-load.c,
-       sim-memopt.c, sim-n-core.h, sim-options.c, sim-profile.c,
-       sim-signal.c, sim-trace.c, sim-trace.h, sim-utils.c, sim-watch.c,
-       syscall.c: Trim trailing whitespace.
-
-2011-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gennltvals.sh: Handle bfin targets.
-       * nltvals.def: Regenerate.
-
-2011-02-25  Kevin Buettner  <kevinb@redhat.com>
-
-       * callback.c (fdbad): Return EBADF rather than EINVAL for bad
-       file descriptors.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-alloc.c (hw_alloc_data): Delete zalloc_p.
-       (hw_zalloc, hw_malloc): Delete zalloc_p reference.
-       (hw_free): Drop zfree logic and always call free.
-       * hw-base.c (hw_delete): Change zfree to free.
-       * hw-handles.c (hw_handle_remove_ihandle): Likewise.
-       (hw_handle_remove_phandle): Likewise.
-       * hw-instances.c (hw_instance_delete): Likewise.
-       * hw-tree.c (parse_reg_property): Likewise.
-       (parse_ranges_property): Likewise.
-       (parse_string_property): Likewise.
-       * sim-core.c (sim_core_uninstall): Likewise.
-       * sim-cpu.c (sim_cpu_free_all): Likewise.
-       * sim-hw.c (sim_hw_uninstall): Likewise.
-       * sim-memopt.c (do_memopt_delete): Likewise.
-       (sim_memory_uninstall): Likewise.
-       * sim-module.c (sim_module_uninstall): Likewise.
-       * sim-options.c (sim_parse_args): Likewise.
-       * sim-profile.c (profile_pc_cleanup): Likewise.
-       (profile_uninstall): Likewise.
-       * sim-watch.c (do_watchpoint_delete): Likewise.
-       * sim-utils.c (zfree): Delete.
-       (sim_state_free): Change zfree to free.
-       * sim-utils.h (zfree): Delete.
-
-2011-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-events.h (_sim_events.time_from_event): Change type to signed64.
-
-2011-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-hw.c (sim_hw_uninstall): Uncomment hw_tree_delete.
-
-2011-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
-       fails.
-       * sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
-       when asprintf fails.
-       * sim-utils.c (sim_do_commandf): Issue an error and return when
-       asprintf fails.
-       * sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when
-       asprintf fails.
-
-2011-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-memopt.c (do_memopt_add): Set nr_bytes to s.st_size before
-       bytes has been calculated and when mmap_next_fd is valid and
-       nr_bytes is 0.
-       (memory_option_handler): Allow missing size when mmap_next_fd is
-       valid.
-
-2011-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set $hardware to $2 when $2 is
-       not empty, and always append $3 to $hardware.
-
-2011-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute.
-       * sim-hw.h (sim_hw_abort): Likewise.
-
-2011-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-load.c (sim_load_file): Change buffer type to unsigned char *.
-
-2011-01-05  Joel Brobecker  <brobecker@adacore.com>
-
-       * run.1: Copyright year update.
-
-2010-12-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-alloc.h (HW_NALLOC): Define.
-
-010-12-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-alloc.h (HW_NZALLOC): Change ME,TYPE,N to me,type,n.
-
-2010-12-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-memopt.c (OPTION_MAP_INFO): Define.
-       (memory_options): Handle --map-info.
-       (memory_option_handler): Handle OPTION_MAP_INFO.
-
-2010-11-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.c (PROFILE_PC_FREQ, PROFILE_PC_NR_BUCKETS,
-       PROFILE_PC_SHIFT, PROFILE_PC_START, PROFILE_PC_END,
-       PROFILE_INSN_COUNT): Add stubs when profile is disabled.
-
-2010-11-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (WITH_HW): Add device casts to device_error,
-       device_io_read_buffer, and device_io_write_buffer.
-
-2010-11-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-sockser.c (dv_sockser_write_buffer): New function.
-       (dv_sockser_write): Rewrite to use dv_sockser_write_buffer.
-       * dv-sockser.h (dv_sockser_write_buffer): New prototype.
-
-2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * callback.c (os_lseek): Call wrap on lseek result.
-
-2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-       * dv-sockser.c (dv_sockser_init): Check error return from socket()
-       call by its equality to -1 not by it being negative.
-       (connected_p): Likewise for accept() call.
-
-2010-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-fpu.c (sim_fpu_zero, sim_fpu_qnan): Add 0 initializers.
-
-2010-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * profile.c (sim_profile_print_bar): Add cpu argument.
-
-2010-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU.
-
-2010-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.c (profile_vprintf, profile_printf): New functions.
-       (profile_print_pc): Convert sim_io_printf to profile_printf.
-       (profile_print_insn): Likewise.
-       (profile_print_memory): Likewise.
-       (profile_print_core): Likewise.
-       (profile_print_model): Likewise.
-       (sim_profile_print_bar): Likewise.
-       (profile_print_speed): Likewise.
-       (profile_print_addr_ranges): Likewise.
-       (profile_info): Likewise.
-       * sim-profile.h (sim_profile_print_bar): Add cpu argument.
-
-2010-04-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-model.c (OPTION_MODEL): Convert to enum.
-       (OPTION_MODEL_INFO): New enum.
-       (model_options): Add model-info/info-model entries.
-       (model_option_handler): Handle OPTION_MODEL_INFO.
-
-2010-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-sockser.h (DV_SOCKSER_DISCONNECTED): Define.
-       * dv-sockser.c (dv_sockser_status): Set DV_SOCKSER_DISCONNECTED
-       initially.
-
-2010-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-hrw.c (sim_write): Add const to buf arg.
-       * sim-utils.h (sim_write_fn): Likewise.
-
-2010-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.h (PROFILE_BRANCH_TAKEN, PROFILE_BRANCH_UNTAKEN): New
-       defines.
-
-2010-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-core.c (dv_core_descriptor): Add NULL initializer.
-       * dv-glue.c (hw_glue_ports, dv_glue_descriptor): Likewise.
-       * dv-pal.c (hw_pal_ports, dv_pal_descriptor): Likewise.
-       * dv-sockser.c (sockser_options): Likewise.
-       * hw-ports.c (empty_hw_ports): Likewise.
-       * sim-hw.c (hw_options): Likewise.
-       * sim-model.c (model_options): Likewise.
-       * sim-options.c (standard_options): Likewise.
-       * sim-profile.c (profile_options): Likewise.
-       * sim-trace.c (trace_options): Likewise.
-       * sim-watch.c (watchpoint_options): Likewise.
-
-2010-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (dup_arg_p): Add "const" to the "arg" argument,
-       the local "arg_table" variable, and the xmalloc cast.
-
-2010-04-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-fpu.c (sim_fpu_print_status): Add const markings to local
-       "prefix" var.
-       (sim_fpu_print_func): Add const markings to format buffer.
-
-2010-04-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.
-
-2010-04-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (save_data): Add const markings to "buf" argument.
-
-2010-04-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-options.c (standard_option_handler): Add const markings to
-       local "type" var.
-
-2010-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-ports.h: Fix spelling typos.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Check for socklen_t.
-       * configure, config.in: Regenerated.
-       * dv-sockser.c (connected_p): Change addrlen type to socklen_t.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-utils.c (sim_io_eprintf_cpu): Use %s with printf string.
-       * sim-hw.c (hw_option_handler): Likewise.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-watch.c (watchpoint_type_to_str): Add const to return.
-       (interrupt_nr_to_str): Likewise.
-       (default_interrupt_names): Add const to pointer type.
-       (sim_watchpoint_install): Add const to prefix.
-       * sim-watch.h (struct _sim_watchpoints): Add const to interrupt_names.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.c (sim_core_read_buffer): Change raddr to address_word.
-       (sim_core_write_buffer): Likewise.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-trace.c (trace_option_handler): Move cpu_nr decl behind
-       the SIM_HAVE_ADDR_RANGE define.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-core.h (device_error): Add const to message, and add printf
-       format attribute.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-profile.c (profile_print_addr_ranges): Wrap with the
-       SIM_HAVE_ADDR_RANGE define.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-glue.c (hw_glue_ports): Swap static and const.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * nrun.c (usage): Use void in definition.
-       * sim-options.c (dup_arg_p): Convert old-style function definition.
-       (sim_parse_args): Likewise.
-       (sim_print_help): Likewise.
-       * sim-trace.c (set_trace_option_mask): Likewise.
-       (set_trace_option): Likewise.
-       * sim-utils.c (sim_analyze_program): Likewise.
-       (sim_elapsed_time_get): Likewise.
-       (sim_elapsed_time_since): Likewise.
-
-2010-03-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/common/sim-options.c (enum): Remove SIM_HAVE_BIENDIAN ifdef.
-       (standard_options): Likewise.
-       (standard_option_handler): Likewise.
-
-2010-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-ports.c (TRACE): Delete.
-       * hw-properties.c (TRACE): Delete.
-       (hw_find_ihandle_runtime_property): Change TRACE to HW_TRACE.
-       (hw_find_integer_property): Likewise.
-       (hw_find_integer_array_property): Likewise.
-       (hw_add_duplicate_property): Likewise.
-
-2010-03-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-properties.h (hw_add_boolean_property): Rename "bool" to
-       "boolean".
-
-2010-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-model.c: Include sim-model.h
-
-2010-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-base.h: Declare sim_state.cpu as a pointer in the comment.  Drop
-       & from the STATE_CPU() examples.
-
-2010-01-24  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-accfp.c (fextsfdf): New arg how.  All callers updated.
-       (ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi,
-       ufixsfsi): Ditto.
-       * cgen-fpu.h (CGEN_FPCONV_KIND): New enum.
-       (struct cgen_fp_ops): Update signatures of floating point conversion
-       operations.
-
-       * Make-common.in (CGEN_SIM_DEPS): Define.
-       (CGEN_INCLUDE_DEPS): Use it.
-       (CGEN_MAIN_CPU_DEPS): Simplify.
-
-2010-01-22  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-ops.h (SUBWORDXFSI): Fix word ordering.
-       (SUBWORDTFSI, JOINSIDI): Ditto.
-
-2010-01-05  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-types.h (SETDI): Delete, unused.
-
-2009-12-02  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-engine.h: Remove duplicated comment.
-
-2009-11-23  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.
-       (EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
-       (EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define.
-       (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype
-       instead of CGEN_INSN_INT.
-
-       * cgen-trace.h (trace_extract): Add cast to fix warning.
-
-2009-11-05  Doug Evans  <dje@sebabeach.org>
-
-       * cgen-mem.h (DECLARE_GETT): Don't inline.
-       (DECLARE_SETT): Ditto.
-
-2009-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * sim-inline.h: Fix spelling error.
-
-2009-10-02  Ralf Corsepius <ralf.corsepius@rtems.org>
-
-       * Make-common.in: Add datarootdir.
-
-2009-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS)
-       (SIM_CHECK_MEMBERS_1): Remove.
-       * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent
-       AC_CHECK_MEMBERS one.
-       * configure: Regenerate.
-
-       * aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn.
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
-       definition of AC_CHECK_MEMBER.
-
-       * aclocal.m4: m4_include toplevel config/override.m4.
-       * configure: Regenerate.
-
-2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in (datarootdir): New variable.
-
-2009-07-07  Doug Evans  <dje@sebabeach.org>
-
-       * Make-common.in (CPU_DIR): Define.
-
-2009-07-06  Doug Evans  <dje@sebabeach.org>
-
-       * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
-       identifiers for file types rather than encoding internal
-       implementation details of cgen.sh.
-       (CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
-       * cgen.sh: Add support for parallel makes.
-       Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
-
-2009-05-18  Jon Beniston <jon@beniston.com>
-
-       * gennltvals.sh: Add lm32 target.
-       * nltvals.def: Add lm32 syscall definitions.
-
-2009-03-19  J"orn Rennecke  <joern.rennecke@arc.com>  (tiny change)
-
-       Speed up simulator startup:
-       * sim-utils.c (zalloc): Use xcalloc.
-
-2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
-       (MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
-       (SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
-       variant; UQI, UHI, USI, UDI, and cast the result to the signed
-       type, QI, HI, SI, DI.
-
-       * callback.c (os_error): Mark as being a noreturn function.
-       * sim-io.h (sim_io_error): Similar for sim_io_error.
-
-2008-11-12  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * aclocal.m4:  Fix underquoting of function names.
-
-2008-10-21  Julian Brown  <julian@codesourcery.com>
-
-       * Make-common.in (run$(EXEEXT)): Add LDFLAGS.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * common.m4: Add test for libz and zlib.h.
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * aclocal.m4: Include ../../config/acx.m4.
-       * common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
-       * configure, config.in: Regenerate.
-       * Make-common.in (LIB_OBJS): Add version.o.
-       (version.c, version.o): New rules.
-       * run.c: Include version.h.
-       (usage): Add help parameter. Print output either to stdout or
-       stderr depending on that parameter.
-       (print_version): New.
-       (main): Check for --help and --version.
-       * run-sim.h (sim_target_display_usage): Add help parameter.
-       * version.h: New.
-
-2008-04-14  Hans Kester  <kester.hans@gmail.com>
-
-       * sim-signal.c: Define missing signals for _WIN32.
-
-2008-02-12  M Ranga Swami Reddy  <MR.Swami.Reddy@nsc.com>
-
-       * gennltvals.sh: Add cr16.
-       * nltvals.def: Rebuild.
-
-2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>
-
-       * callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
-       * syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.
-
-2007-08-10  Nick Clifton  <nickc@redhat.com>
-
-       * sim-memopt.c (memory_options): Mention that the
-       --memory-size switch accepts suffixes.
-       (parse_size): Handle a suffix on the size value.
-       * sim-options.c (standard_options): Mention that the mem-size
-       switch accepts suffixes.
-       (standard_option_handler): Handle a suffix on the size value.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-11-07  Thiemo Seufer  <ths@mips.com>
-
-       * gentmap.c: Fix compile time warning.
-
-2006-11-07  Thiemo Seufer  <ths@mips.com>
-
-       * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
-       for bfd text addresses.
-
-2006-08-29  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
-       SIM_QUIET_NAN_NEGATED.
-
-2006-08-29  Nigel Stephens  <nigel@mips.com>
-
-       * sim-profile.c (profile_pc_init): Initialise default profiling
-       frequency to a prime number.
-       (profile_print_pc): Convert gmon.out sample data into target
-       byte order.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
-       * common.m4: Likewise.
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Make-common.in: Replace INTLLIBS and INTLDEPS with LIBINTL
-       and LIBINTL_DEP everywhere.
-       (CSEARCH): Use INCINTL.
-       * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.  Include new
-       gettext macros.
-       * configure: Regenerated.
-
-2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
-       option-contents test.
-
-2005-11-28  Mark Mitchell  <mark@codesourcery.com>
-
-       * sim-signal.c (sim_signal_to_target): Fix typos.
-
-       * sim-reason.c (sim_stop_reason): Use
-       sim_signal_to_target, not sim_signal_to_host.
-       * sim-signal.c (sim_signal_to_host): Fix typo.
-       (sim_signal_to_target): New function.
-
-2005-07-10  Hans-Peter Nilsson  <hp@bitrange.com>
-
-       * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
-       change.
-
-2005-07-08  Ian Lance Taylor  <ian@airs.com>
-
-       * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
-
-       * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
-       different fraction for a quiet NaN.
-       (unpack_fpu): Likewise.
-
-2005-07-08  Ben Elliston  <bje@au.ibm.com>
-
-       * callback.c: Remove ANSI_PROTOTYPES conditional code.
-       * sim-load.c: Likewise.
-       * syscall.c: Likewise.
-
-2005-05-24  Corinna Vinschen  <vinschen@redhat.com>
-
-       * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
-       check.
-
-2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Make-common.in (install-common, installdirs): Honor $DESTDIR.
-
-2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>
-
-       * sim-types.h: Changed unsigned32 and unsigned64 to signed32
-       and signed64 for __ALPHA__.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * aclocal.m4 Include ../../gettext.m4.
-       (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
-       (AM_LC_MESSAGES): Remove.
-       * configure: Regenerate.
-
-2005-02-28  Jim Blandy  <jimb@redhat.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-       -Wuninitialized in the default list of build warnings if CFLAGS is
-       set, and doesn't include -O.  (Using -Wuninitialized without
-       optimization produces a warning, which interferes with compilation
-       with -Werror.)
-
-2005-02-21  Jim Blandy  <jimb@redhat.com>
-
-       * callback.c (os_fstat): Don't declare 't' unless it's used.
-
-2005-02-09  Jim Blandy  <jimb@redhat.com>
-
-       * Make-common.in (CGEN): Load guile.scm, and include a trailing
-       '-s' argument.
-       (CGEN_FLAGS_TO_PASS): Include single quotes around the reference
-       to $(CGEN), to ensure that the command substitution happens where
-       the variable is referenced in the submake, not when the submake's
-       arguments are expanded.
-       (cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
-       (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
-       application Scheme script directly after ${cgen}; don't precede it
-       with a -s.
-
-2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
-
-       * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
-       * callback.c [HAVE_LIMITS_H]: Include limits.h.
-       Include libiberty.h.
-       (os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
-       being either end of a pipe.
-       (os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
-       (os_shutdown): Clear pipe state.
-       (default_callback): Initialize new members.
-
-       * callback.c (default_callback): Initialize target_endian.
-       (cb_store_target_endian): Renamed from store, new first parameter
-       host_callback *cb, drop last parameter big_p.  Take endianness
-       from cb.
-       (cb_host_to_target_stat): Change to use cb_store_target_endian.
-       Remove variable big_p.
-       * nrun.c (main): Initialize default_callback.target_endian.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
-       Add explicit call to AC_CONFIG_HEADER.
-       * common.m4: Delete call to AC_CONFIG_HEADER, update usage.
-       * configure: Re-generate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * common.m4: New file, based on of aclocal.m4.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
-       * configure: Re-generate.
-
-2004-12-15  Hans-Peter Nilsson  <hp@axis.com>
-
-       * syscall.c (cb_syscall) <case CB_SYS_truncate>
-       <case CB_SYS_ftruncate>: New cases.
-
-2004-12-13  Hans-Peter Nilsson  <hp@axis.com>
-
-       * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
-       (cb_syscall) <case CB_SYS_rename>: New case.
-       * callback.c (os_lstat): New function.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * run.1: Document --sysroot=filepath.
-       * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
-       (standard_options): Support --sysroot=<path>.
-       (standard_option_handler): Handle OPTION_SYSROOT.
-       * syscall.c (simulator_sysroot): Define, initialized empty.
-       (get_path): Prepend simulator_sysroot to absolute file path.
-       [HAVE_STRING_H]: Include string.h.
-       [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
-       * nrun.c [HAVE_UNISTD_H]: Include unistd.h.
-       (main): If simulator_sysroot is not empty, chdir there.
-       * sim-config.h (simulator_sysroot): Declare.
-
-       * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
-       cgen_rtx_error" in a CGEN-generated simulator.
-       * gdbinit.in: Break on sim_core_signal too.  Have autoconf
-       replacement for CGEN-related breakpoints.
-
-2004-12-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Make-common.in (sim-basics_h): Add $(callback_h).
-
-2004-12-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
-       st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
-       st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
-       * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
-       (SIM_CHECK_MEMBERS): New macros.
-       * callback.c (cb_host_to_target_stat): Use temporary macro ST_x
-       for struct stat member test and write.  Add ST_x calls for each
-       struct stat member tested in configure.in.  Wrap each ST_x call in
-       #ifdef of configure macro for that member.
-       * configure, config.in: Regenerate.
-
-2004-12-01  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cgen.sh: New thirteenth parameter opcfile, defaulting to
-       /dev/null.
-       <case desc>: Pass -OPC opcfile.
-       * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
-       parameter to cgen.sh.
-
-2004-11-30  Richard Earnshaw  <rearnsha@arm.com>
-
-       * Make-common.in (sim-basics_h): Correct dependencies on
-       cconfig.h and tconfig.h
-       (sim-load.o): Correct typo in sim-basics_h dependency.
-
-2004-11-18  Richard Earnshaw  <rearnsha@arm.com>
-
-       * Make-common.in (sim-*_h): Add macros for all sim headers listing
-       sub-dependencies for other sim files that they include.
-       (sim_main_headers): Use sim-*_h macros.
-       (sim-load.o): Depend on sim-basics_h, not sim_main_headers.
-
-2004-11-16  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sim-config.c (sim_config): Recognize when a bfd has unspecified
-       endian information.
-
-       * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
-       $(remote_sim_h) too.
-       (sim_main_headers): Add sim-utils.h.
-
-2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
-
-       * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
-
-2004-07-26  Andrew Cagney  <cagney@gnu.org>
-
-       Problem from Olaf Hering <olh@suse.de>.
-       * Makefile.in (install-man, installdirs): Add DESTDIR prefix.
-
-2004-07-10  Ben Elliston  <bje@au.ibm.com>
-
-       * hw-tree.c (parse_integer_property): Typo fix in comments.
-       * sim-options.c (sim_args_command): Likewise.
-
-2004-06-28  Andrew Cagney  <cagney@gnu.org>
-
-       * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
-
-2004-06-27  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * callback.c (os_shutdown): Fix bug in last change: actually
-       mark file descriptors as available on startup.
-
-2004-06-25  J"orn Rennecke <joern.rennecke@superh.com>
-
-       [ include/gdb: * callback.h (host_callback_struct): Replace
-                      members fdopen and alwaysopen with fd_buddy.  ]
-       * callback.c: Changed all users.
-
-2004-06-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * sim-load.c (sim_load_file): Use bfd_get_section_size
-       instead of bfd_get_section_size_before_reloc.
-
-2004-05-18  Daniel Jacobowitz  <dan@debian.org>
-
-       * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
-       passing it to printf.
-
-2004-05-10  Daniel Jacobowitz  <dan@debian.org>
-
-       * callback.c: Update copyright dates.
-       * run.c: Likewise.
-       * sim-basics.h: Likewise.
-       * sim-load.c: Likewise.
-       * syscall.c: Likewise.
-
-2004-05-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
-
-       * callback.c: Include cconfig.h instead of config.h.
-       * run.c: Likewise.
-       * sim-basics.h: Likewise.
-       * sim-load.c: Likewise.
-       * syscall.c: Likewise.
-
-2004-01-16  Ben Elliston  <bje@wasabisystems.com>
-
-       * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.
-
-2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
-
-       * sim-core.c (sim_core_trans_addr): Added for m32r-linux-run.
-
-2003-11-22  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * sim-options.c (standard_options): Fix the names of H8
-       variants.
-
-2003-10-30  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry"
-       with "struct bfd_symbol".
-
-2003-10-21  Andrew Cagney  <cagney@redhat.com>
-
-       * callback.c (os_truncate): Call "truncate", and not "stat".
-
-2003-10-20  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-base.h: Replace "struct sec" with "struct bfd_section".
-
-2003-10-15  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * callback.c (os_ftruncate, os_truncate): New functions.
-       (default_callback): Initialize ftruncate and truncate members.
-
-2003-09-08  Dave Brolley  <brolley@redhat.com>
-
-       On behalf of Doug Evans <dje@sebabeach.org>
-       * cgen.sh: New arg archfile.
-       * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
-       cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
-
-2003-08-28  Andrew Cagney  <cagney@redhat.com>
-
-       * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
-       * sim-options.c (print_help): Cast the format with specifier to
-       "int".
-
-2003-08-20  Michael Snyder  <msnyder@redhat.com>
-           Dave Brolley  <brolley@redhat.com>
-
-       * cgen-par.h (flags, word1): New target-specific
-       fields of CGEN_WRITE_QUEUE_ELEMENT.
-       (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
-       (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
-       * gennltvals.sh: Add frv target.
-       * nltvals.def: Add frv target.
-
-2003-06-23  Michael Snyder  <msnyder@redhat.com>
-
-       * nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
-       * sim-reg.c: Fix cut-and-paste bug in comment.
-
-2003-06-22  Andrew Cagney  <cagney@redhat.com>
-
-       From matthew green <mrg@redhat.com>:
-       * sim-fpu.h: Update copyright.
-       (sim_fpu_fraction, sim_fpu_guard): New prototypes.
-       * sim-fpu.c: Update copyright.
-       (sim_fpu_fraction, sim_fpu_guard): New inline functions.
-
-2003-06-17  Frank Ch. Eigler  <fche@redhat.com>
-
-       From Doug Evans <dje@sebabeach.org>:
-       * cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
-       with disassemble_info:read_memory_func.
-       * cgen-trace.c (sim_disasm_read_memory): Ditto.
-
-2003-06-04  Michael Snyder  <msnyder@redhat.com>
-
-       * common/run.c (main): Remove SIM_H8300 ifdef.
-       (usage): Ditto.
-       * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
-       (standard_options): Add '-x' for h8/300sx.
-       (standard_option_handler): Add case for SIM_H8300SX.
-
-2003-04-13  Michael Snyder  <msnyder@redhat.com>
-
-       * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
-
-2003-03-01  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
-       (sim_engine_vabort): Ditto.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
-       * sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
-       * nrun.c (main): Ditto.
-
-2003-02-26  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-engine.h (sim_engine_abort): Add noreturn attribute.
-       (sim_engine_vabort): Ditto.
-       (sim_engine_halt, sim_engine_restart): Ditto.
-
-2003-02-20  Andrew Cagney  <ac131313@redhat.com>
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
-       (sim-break_h): Delete macro.
-       (sim-break.o): Delete rule.
-       * sim-break.c: Delete file.
-       * sim-break.h: Delete file.
-       * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
-       (STATE_BREAKPOINTS): Delete macro.
-       (sim_state_base): Delete field breakpoints.
-       * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
-       sim_break_install to array.
-
-2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * run.c (usage): Fix typos.
-
-2002-11-27  Richard Sandiford  <rsandifo@redhat.com>
-
-       * sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
-
-2002-11-22  Andrew Cagney  <ac131313@redhat.com>
-
-       * dv-core.c: Update copyright.  sim/common contributed to the FSF.
-       * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
-       * hw-device.h, hw-handles.c, hw-handles.h: Ditto.
-       * hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
-       * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
-       * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
-       * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
-       * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
-       * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
-       * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
-
-2002-11-13  Andrew Cagney  <cagney@redhat.com>
-
-       * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
-
-2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
-
-       * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
-       (distclean): Depend on it.
-
-2002-10-14  Alan Modra  <amodra@bigpond.net.au>
-
-       * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
-
-2002-08-29  Dave Brolley  <brolley@redhat.com>
-
-       * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
-
-2002-07-17  Andrew Cagney  <cagney@redhat.com>
-
-       * run-sim.h: Add #ifdef RUN_SIM_H wrapper.
-       (sim_set_callbacks, sim_size, sim_trace)
-       (sim_set_trace, sim_set_profile_size, sim_kill): Declare.  Moved
-       to here from "gdb/remote-sim.h".
-
-2002-07-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * sim-resume.c (sim_resume): Add local variable sig_to_deliver to
-       avoid possible longjmp problems with automatic variable siggnal.
-
-2002-07-14  Andrew Cagney  <ac131313@redhat.com>
-
-       From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
-       * Make-common.in (installdirs): Make $(libdir) too, needed when
-       installing libsim.a.
-
-2002-07-13  Andrew Cagney  <ac131313@redhat.com>
-
-       * gennltvals.sh (dir): Mark d30v as obsolete.
-       * nltvals.def: Remove d30v.
-
-2002-06-17  Andrew Cagney  <cagney@redhat.com>
-
-       * hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
-
-       * sim-memopt.c: Include <unistd.h>.
-       (do_memopt_add): Fix printf format.
-       * sim-events.c (sim_events_schedule): Initialize ``dummy''.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Update to match GDB's
-       --enable-gdb-build-warnings.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2002-06-09  Aldy Hernandez  <aldyh@redhat.com>
-
-       * sim-fpu.c (unpack_fpu): Initialize exponent for
-       sim_fpu_class_zero.
-       (i2fpu): Same.
-       (sim_fpu_sqrt): Same.
-
-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.
-
-2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
-
-       * run-sim.h: New header.  Provide prototypes for functions used
-       between run() and libsim.a which are not used by GDB.
-       * run.c: Include run-sim.h.
-       (main): If SIM_TARGET_SWITCHES is defined call
-       sim_target_parse_command_line.
-       (usage): If SIM_TARGET_SWITCHES is defined call
-       sim_target_display_usage.
-
-2002-05-17  Andrey Volkov  <avolkov@transas.com>
-
-       * run.c: Made h8300s as new target, not h8300h alias.
-       Added new option -S (h8300s target)
-       * sim-options.c: Ditto.
-
-2002-05-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * callback.c: Use 'deprecated' rather than 'depreciated.'
-
-2002-02-24  Andrew Cagney  <ac131313@redhat.com>
-
-       From wiz at danbala:
-       * sim-fpu.h: Fix grammar and typos.
-       Fix PR gdb/287.
-
-2002-02-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * callback.c: Fix some spelling errors.
-       * hw-device.h: Likewise.
-       * hw-tree.c: Likewise.
-       * sim-abort.c: Likewise.
-       * sim-alu.h: Likewise.
-       * sim-core.h: Likewise.
-       * sim-events.c: Likewise.
-       * sim-events.h: Likewise.
-       * sim-fpu.h: Likewise.
-       * sim-profile.h: Likewise.
-       * sim-utils.c: Likewise.
-
-2002-01-31  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
-       New functions.
-
-2002-01-20  Ben Elliston  <bje@redhat.com>
-
-       * sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
-       the comment for this enumerator.
-
-2002-01-14  Ben Elliston  <bje@redhat.com>
-
-       * sim-fpu.h: Fix comment about sim_fpu_* constants.
-
-2001-12-20  Kazu Hirata  <kazu@hxi.com>
-
-       * run.c (usage): Fix a typo.
-
-2001-07-05  Ben Elliston  <bje@redhat.com>
-
-       * Make-common.in (srccgen): Remove.
-       (CGEN_CPU_DIR): Define.
-       (CGEN_READ_SCM): Redefine without $(srccgen).
-       (CGEN_ARCH_SCM): Ditto.
-       (CGEN_CPU_SCM): Ditto.
-       (CGEN_DECODE_SCM): Ditto.
-       (CGEN_DESC_SCM): Ditto.
-
-2001-04-25  Frank Ch. Eigler  <fche@redhat.com>
-
-       * sim-load.c (sim_load_file): Put it back: external now.
-       * sim-utils.c (sim_analyze_program): Ditto.  Nyuk nyuk nyuk.
-
-2001-04-21  Andrew Cagney  <ac131313@redhat.com>
-
-       * sim-load.c (sim_load_file): Delete call bfd_cache_close.  BFD
-       internal interface.
-       * sim-utils.c (sim_analyze_program): Ditto.
-
-2001-04-19  Frank Ch. Eigler  <fche@redhat.com>
-
-       * sim-utils.c (sim_analyze_program): Call bfd_cache_close after
-       we're finished with its immediate use.
-       * sim-load.c (sim_load_file): Ditto.
-
-2001-03-16  Frank Ch. Eigler  <fche@redhat.com>
-
-       Add support for mmap-based memory regions.
-       * sim-memopt.c (mmap_next_fd): New global.
-       (sim_memory_init): Reinitialize it.
-       (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
-       "--memory-mapfile FILE" option.  Check for some errors.
-       (do_memopt_add): Conditionally do mmap instead of malloc for
-       backing store of simulated memory.  Check for more errors.
-       (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
-       * sim-memopt.h (munmap_length): New member of _sim_memopt.
-       * configure.in: Look for mmap/fstat related functions and headers.
-       * config.in, configure: Regenerated.
-
-2001-03-15  Frank Ch. Eigler  <fche@redhat.com>
-
-       * sim-core.c (sim_core_map_attach): Correct overlap-related
-       error messages.
-
-2001-03-07  Michael Meissner  <meissner@redhat.com>
-
-       * run.c (alloca-conf.h): Delete, no longer provided.
-
-2001-02-22  Ben Elliston  <bje@redhat.com>
-
-       * sim-trace.h (TRACE_VPU_IDX): Add.
-       (TRACE_vpu): Define.
-       (WITH_TRACE_VPU_P): Likewise.
-       (TRACE_VPU_P): Likewise.
-       * sim-trace.c (OPTION_TRACE_VPU): Define.
-       (trace_options): Add --trace-vpu.
-       (trace_option_handler): Handle OPTION_TRACE_VPU.
-       (trace_option_handler): Include VPU tracing in --trace-semantics.
-       (trace_idx_to_str): Handle TRACE_VPU_IDX.
-
-2001-02-21  Ben Elliston  <bje@redhat.com>
-
-       * sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
-       (TRACE_BRANCH_INPUT2): Likewise.
-
-2001-02-09  Ben Elliston  <bje@redhat.com>
-
-       * (profile_print_pc): Write header out in target byte order.
-
-2001-02-09  Ben Elliston  <bje@redhat.com>
-
-       * sim-profile.c (profile_pc_init): Correct bug in loop logic when
-       adjusting the pc shift value.
-
-2001-01-12  Chris Demetriou  <cgd@sibyte.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case
-       where a numeric value is supplied.
-
-2001-01-06  Ben Elliston  <bje@redhat.com>
-
-       * cgen.sh: Allow extrafiles to include the semantics files when
-       generating an ISA-specific decoder.
-
-2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
-
-       * Make-common.in (sim-io.o): Depend on targ-vals.h.
-
-2000-12-23  Ben Elliston  <bje@redhat.com>
-
-       * cgen-trace.c (trace_result): Handle 'f' type operands; output
-       them to the trace stream using sim_fpu_printn_fpu. Include
-       "sim-fpu.h".
-
-2000-12-15  Ben Elliston  <bje@redhat.com>
-
-       * sim-fpu.h (sim_fpu_printn_fpu): Declare.
-       * sim-fpu.c (print_bits): Add digits parameter. Print only as many
-       trailing digits as specified (-1 to print all digits).
-       (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
-       (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
-       to print_bits ().
-
-2000-12-13  Ben Elliston  <bje@redhat.com>
-
-       * cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
-       sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
-       (defs): New action.
-
-2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
-
-       * sim-endian.h: Don't have parameters on macro definitions which
-       are simply renaming functions, to permit use of XCONCAT2 in both
-       the macro name and the arguments in a use of such a definition.
-
-2000-12-11  Ben Elliston  <bje@redhat.com>
-
-       * cgen-ops.h (SUBWORDDFDI): New function.
-
-2000-12-05  Ben Elliston  <bje@redhat.com>
-
-       * Make-common.in (cgen-defs): New target.
-       (cgen-decode): Pass $(EXTRAFILES).
-
-       * genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-       -outfile-suffix options.
-
-2000-12-04  Ben Elliston  <bje@redhat.com>
-
-       * cgen-ops.h (SUBWORDSIQI): Mask off top bits.
-       (SUBWORDSIUQI): Likewise.
-       (SUBWORDDIHI): Likewise.
-       (SUBWORDDIQI): New function.
-
-       * cgen-trace.c (disassemble_insn): Remove unused declaration.
-       * cgen-scache.c (scache_option_handler): Remove unused local var.
-
-2000-12-03  Ben Elliston  <bje@redhat.com>
-
-       * sim-profile.c (profile_option_handler): Remove unused prof_nr.
-
-2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * hw-events.c (delete_hw_event_data): Remove the scheduled events.
-
-2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-core.c (dv_core_attach_address_callback): Don't abort if
-       space is not zero.
-
-2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * hw-base.c (hw_delete): Don't free base_of_hw since it's freed.
-       (set_hw_delete): Moved the macro as a function.
-       * hw-base.h (set_hw_delete): Declare as external function.
-       * hw-alloc.c (delete_hw_alloc_data): Allow to free the memory
-       allocated using hw_malloc.
-
-2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * sim-options.c (sim_parse_args): Free the memory used for
-       long_options, short_options, handlers, opt_cpu, orig_val.
-
-2000-11-20  Ben Elliston  <bje@redhat.com>
-
-       * cgen-ops.h (SUBBI): New macro.
-       (SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
-       (SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
-
-2000-11-16  Ben Elliston  <bje@redhat.com>
-
-       * cgen-types.h (VOID): New type.
-
-2000-11-09  Ben Elliston  <bje@redhat.com>
-
-       * sim-fpu.c (sim_fpu_one): Set exponent to 0.
-       (sim_fpu_two): Set exponent to 1.
-
-2000-10-26  Ben Elliston  <bje@redhat.com>
-
-       * cgen.sh: Handle an isa argument between cpu and mach. Default to
-       `all'. Pass `-i' options to cgen applications.
-       * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
-       cgen-desc): Pass $(isa) to cgen.sh.
-
-2000-10-08  Ben Elliston  <bje@redhat.com>
-
-       * cgen-utils.c (cgen_rtx_error): New function.
-
-2000-10-07  Ben Elliston  <bje@redhat.com>
-
-       * cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
-       conditions for sim_core_read_buffer().
-
-2000-09-26  Dave Brolley  <brolley@redhat.com>
-
-       * cgen-utils.c (RORQI): New function.
-       (ROLQI): New function.
-       (RORHI): New function.
-       (ROLHI): New function.
-
-2000-08-28  Dave Brolley  <brolley@redhat.com>
-
-       * cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
-       in insn_value if it will fit.
-
-2000-08-21  Frank Ch. Eigler  <fche@redhat.com>
-
-       * Make-common.in, cgen.sh: Contribute CGEN-related build targets/rules.
-
-2000-08-15  Dave Brolley  <brolley@redhat.com>
-
-       * sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
-
-2000-08-15  Dave Brolley  <brolley@redhat.com>
-
-       * sim-profile.h (PROFILE_DATA): Add cpu_freq.
-       (PROFILE_CPU_FREQ): New macro.
-       * sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
-       (profile-options): Add profile-cpu-frequency.
-       (parse_frequency): New function.
-       (profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
-       (profile_print_speed): Print cpu frequency and simulated execution time.
-       Re-indent other items to match.
-
-2000-08-09  Andrew Cagney  <cagney@lulu.cygnus.com>
-
-       * dv-sockser.c (dv_sockser_init): Eliminate MIN macro.
-
-2000-07-27  Frank Ch. Eigler  <fche@redhat.com>
-
-       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
-       * Makefile.in (install): Install run.1 man page.
-
-Thu Jul 27 21:56:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From 2000-06-23 Doug Evans <dje@casey.transmeta.com>:
-       * Makefile.in (headers,nltvals.def): Merge.
-
-Thu Jul 27 20:37:47 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
-       * nrun.c (main): Print the simulator statistics only in
-       verbose mode.
-       * hw-properties.h (hw_find_integer_array_property): Fix
-       prototype (use signed_cell).
-
-       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
-       * sim-events.c (sim_events_remain_time): New function returning
-       the time that remains before the event is raised.
-       * hw-events.c (hw_event_remain_time): Likewise.
-       * sim-events.h (sim_events_remain_time): Declare.
-       * hw-events.h (hw_event_remain_time): Declare.
-
-       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
-       * sim-hw.c: Use <errno.h> instead of <sys/errno.h>
-       (OPTION_HW_LIST): New option --hw-list to list the devices.
-       (hw_option_handler): List the device tree with 'sim_hw_print'.
-
-       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
-       * sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
-       (MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
-       (EXTENDED): Define for 16-bit word size.
-       * sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
-       MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
-       * sim-types.h: Added support for 16-bit targets.
-
-2000-06-23  Frank Ch. Eigler  <fche@redhat.com>
-
-       * cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
-
-2000-06-24  Frank Ch. Eigler  <fche@redhat.com>
-
-       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
-       * Makefile.in (distclean): Clean cconfig.h also.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue May 23 21:35:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-profile): Enable the profiler by default.
-
-Tue May 23 20:30:12 2000  Andrew Cagney  <cagney@amy.cygnus.com>
-
-       * run.c (main): Initialize sigrc.
-
-Wed Apr 26 16:18:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (update_time_from_event): Add more detailed event
-       tracing.
-
-2000-03-30  Dave Brolley  <brolley@redhat.com>
-
-       * aclocal.m4 (cgen): Use guile to run cgen.
-
-2000-03-23  Dave Brolley  <brolley@redhat.com>
-
-       * cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
-       ftruncdfsf.
-       * cgen-accfp.c (fextsfdf): New function.
-       (ftruncdfsf): New function.
-       (cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
-
-2000-03-13  Jeff Johnston <jjohnstn@cygnus.com>
-
-       * cgen-ops.h: Added TRUNCSISI.
-
-2000-03-08  Dave Brolley  <brolley@redhat.com>
-
-       * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
-       (CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
-       (sim_queue_fn_si_write): Last argument is has type USI.
-       (sim_queue_fn_sf_write): New function.
-       * cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
-       (sim_queue_fn_sf_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
-
-Tue Feb 22 16:45:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * run.c (main): When SIM_HAVE_ENVIRONMENT enable tracing with
-       sim_set_trace and run simulator using sim_resume.
-       (main): Add option ``-o'' - operating environment.  Only continue
-       after a signal when operating environment.
-       (main): Always set REASON and SIGRC using sim_stop_reason.
-       (sim_trace): Delete extern declaration.
-
-2000-02-08  Nick Clifton  <nickc@cygnus.com>
-
-       * callback.c: Fix compile time warning messages.
-       * run.c: Fix compile time warning messages.
-
-1999-12-17  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-profile.h: (set_profile_option_mask): Add prototype.
-       * sim-profile.c (set_profile_option_mask): No longer static.
-
-Wed Dec  8 21:47:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-arange.c: Include <string.h>
-
-1999-12-07  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-options.c (print_help): '=' required before optional argument.
-       * cgen-par.h (CGEN_FN_MEM_QI_WRITE): New enumerator.
-       (CGEN_FN_MEM_HI_WRITE): New enumerator.
-       (CGEN_FN_MEM_SI_WRITE): New enumerator.
-       (CGEN_FN_MEM_DI_WRITE): New enumerator.
-       (CGEN_FN_MEM_DF_WRITE): New enumerator.
-       (CGEN_FN_MEM_XI_WRITE): New enumerator.
-       (fn_mem_qi_write): New union members.
-       (fn_mem_hi_write): New union members.
-       (fn_mem_si_write): New union members.
-       (fn_mem_di_write): New union members.
-       (fn_mem_df_write): New union members.
-       (fn_mem_xi_write): New union members.
-       (sim_queue_fn_mem_qi_write): New function.
-       (sim_queue_fn_mem_hi_write): New function.
-       (sim_queue_fn_mem_si_write): New function.
-       (sim_queue_fn_mem_di_write): New function.
-       (sim_queue_fn_mem_df_write): New function.
-       (sim_queue_fn_mem_xi_write): New function.
-       * cgen-par.c (sim_queue_fn_mem_qi_write): New function.
-       (sim_queue_fn_mem_hi_write): New function.
-       (sim_queue_fn_mem_si_write): New function.
-       (sim_queue_fn_mem_di_write): New function.
-       (sim_queue_fn_mem_df_write): New function.
-       (sim_queue_fn_mem_xi_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_FN_MEM_QI_WRITE,
-       CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
-       CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
-
-1999-12-01  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-accfp.c (subsf): Check status code.
-       (mulsf): Ditto.
-       (negsf): Ditto.
-       (abssf): Ditto.
-       (sqrtsf): Ditto.
-       (invsf): Ditto.
-       (minsf): Ditto.
-       (maxsf): Ditto.
-       (subdf): Ditto.
-       (muldf): Ditto.
-       (divdf): Ditto.
-       (negdf): Ditto.
-       (absdf): Ditto.
-       (sqrtdf): Ditto.
-       (invdf): Ditto.
-       (mindf): Ditto.
-       (maxdf): Ditto.
-
-1999-11-26  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (fn_df_write): Mode of data is DF.
-       (sim_queue_fn_df_write): Mode of data is DF.
-       * cgen-par.c (sim_queue_fn_df_write): Mode of data is DF.
-
-1999-11-22  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-trace.c (SIZE_TRACE_BUF): Inxrease size of trace buffer.
-       * cgen-par.h (CGEN_WRITE_QUEUE_SIZE): Increase size of queue.
-
-1999-11-04  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_XI_WRITE and
-       CGEN_MEM_XI_WRITE members.
-       (CGEN_WRITE_QUEUE_ELEMENT): Add fn_xi_write and mem_xi_write members.
-       (sim_queue_fn_xi_write): New function.
-       (sim_queue_mem_xi_write): New function.
-
-       * cgen-par.c (sim_queue_fn_xi_write): New function.
-       (sim_queue_mem_xi_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_FN_XI_WRITE and
-       CGEN_MEM_XI_WRITE.
-
-1999-10-22  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (insn_address): New field in CGEN_WRITE_QUEUE_ELEMENT.
-       (CGEN_WRITE_QUEUE_ELEMENT_IADDR): New macro.
-       * cgen-par.c: Set insn_address for each queued write. Get pc from
-       cpu when executing queued writes.
-
-1999-10-19  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (sim_queue_fn_pc_write): New function.
-       (CGEN_FN_PC_WRITE): New enumerator.
-       (fn_pc_write): New union member.
-       * cgen-par.c (sim_queue_fn_pc_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE.
-
-1999-10-18  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator.
-       (CGEN_MEM_DF_WRITE): New enumerator.
-       (mem_di_write): New union member.
-       (mem_df_write): New union member.
-       * cgen-par.c (sim_queue_mem_di_write): New function.
-       (sim_queue_mem_df_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_MEM_DI_WRITE and
-       CGEN_MEM_DF_WRITE.
-       * cgen-accfp.c (divsf): Check for division errors.
-
-1999-10-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-engine.h (EXTRACT_INT,EXTRACT_UINT): Delete.
-
-1999-10-07  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator.
-       (fn_hi_write): New union member.
-       (sim_queue_fn_hi_write): New function.
-       * cgen-par.c (sim_queue_fn_hi_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_FN_HI_WRITE.
-
-1999-09-29  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-defs.h (sim_engine_invalid_insn): New arg `vpc'.
-       Change type of result to SEM_PC.
-
-Wed Sep 29 14:43:57 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-defs.h (sim_engine_invalid_insn): Now returns PC.
-
-1999-09-25  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-ops.h (SUBWORD*): Delete cpu arg.
-       (JOIN*): Delete cpu arg.
-
-Tue Sep 21 17:14:16 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * genmloop.sh (@cpu@_scache_lookup): No longer takes last_insn_p
-       parameter.
-       (SET_LAST_INSN_P): Set last_insn_p flag in the scache element.
-
-Mon Sep 20 21:44:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
-
-       * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting
-       large values.
-
-Tue Feb  8 16:33:48 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * run.c (main): Check the sim_stop_reason and only halt simulation
-       when a valid stop condition is identified.
-
-Wed Sep 15 14:12:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-tree.c, hw-properties.c, hw-instances.c: Include "sim-io.h".
-
-Tue Sep 14 14:15:47 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.h (CGEN_BI_WRITE): New enumerator.
-       (bi_write): New union element.
-       (sim_queue_bi_write): New function.
-       * cgen-par.c (sim_queue_bi_write): New function.
-       (cgen_write_queue_element_execute): Handle CGEN_BI_WRITE.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-       * aclocal.m4 (WERROR_CFLAGS, WARN_CFLAGS): Merge from
-       ../gdb/configure.in.
-       * Make-common.in (WERROR_CFLAGS, WARN_CFLAGS): Define.
-       (SIM_WERROR_CFLAGS, SIM_WARN_CFLAGS): Define.
-       (SIM_WARNINGS): Delete
-       (CONFIG_CFLAGS): Update.
-
-Tue Aug 31 16:01:42 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-par.c: New file.
-       * cgen-par.h: New file.
-       * cgen-sim.h (cgen-par.h): #include it.
-       * cgen-cpu.h (write_queue): New field.
-       (CPU_WRITE_QUEUE): New access macro.
-       * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-par.h.
-       (cgen-par.o): New target.
-
-1999-08-28  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-types.h (mode_type,MODE_VOID): Renamed from MODE_VM.
-       * cgen-utils.c (mode_names): Update.
-
-1999-08-20  Doug Evans  <devans@casey.cygnus.com>
-
-       * genmloop.sh: New args -parallel-generic-write, -parallel-only.
-       * cgen-engine.h (SEMANTIC_FN): Don't use version with PAREXEC
-       buffer arg if WITH_PARALLEL_GENWRITE.
-       (struct insn_sem): Handle WITH_PARALLEL_GENWRITE.
-       (struct idesc): Ditto.
-
-Wed Aug 18 18:17:28 1999  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-model.c (model_option_handler): Add \n to error message.
-
-1999-08-08  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-engine.h (SEM_FN_NAME,SEMF_FN_NAME): Delete.
-       (insn_sem): Rewrite.
-       (sem_fn_desc): New struct.
-       (idesc): Rewrite.
-       * genmloop.sh (scache case,@cpu@_scache_lookup): Profile scache hit,
-       misses if ! FAST_P.
-       (scache case): Split into non-parallel/parallel versions.
-       (@cpu@_engine_run_{full,fast}): Call @cpu@_{sem,semf}_init_idesc_table
-       if not use semantic switch version.
-
-1999-08-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-defs.h (SEM_BRANCH_TYPE): New enum.
-       * cgen-engine.h (SEM_BRANCH_UNTAKEN,SEM_BRANCH_UNCACHEABLE): Delete.
-       (SEM_BRANCH_INIT_EXTRACT): Delete.
-       (SEM_BRANCH_INIT): Replace npc_ptr with br_type.
-       (SEM_BRANCH_FINI): Ditto.
-       (SEM_BRANCH_VIA_ADDR): Ditto.
-       (SEM_BRANCH_VIA_CACHE): Ditto.  Delete cachvarptr arg.
-       (SEM_BRANCH_ADDR_CACHE): Delete.
-       (SEM_SKIP_COMPILE,SEM_SKIP_INSN): New macros.
-       * cgen-scache.h (cpu_scache): Replace member pbb_pr_npc_ptr with
-       pbb_br_type.
-       * genmloop.sh (eng.hin): Update prototype of ${cpu}_pbb_cti_chain.
-       (@cpu@_pbb_begin): Initialize branch_target.
-       (@cpu@_pbb_cti_chain): Replace arg new_vpc_ptr with br_type.
-       (@cpu@_engine_run_full): Replace local pbb_br_npc_ptr with
-       pbb_br_type.
-       (@cpu@_engine_run_fast): Ditto.
-
-Fri Jul 16 14:47:53 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-utils.c (RORSI): New function.
-       (ROLSI): New function.
-
-1999-07-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (TAGS): Tweak TAGS regex.
-       * cgen-mem.h (*): Add TAGS markers.
-
-Sun Jul 11 23:47:20 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only
-       passed in when sim_resume is first entered - don't re-pass it
-       after a restart.
-
-Sun Jul 11 23:34:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and
-       OPTION_LOAD_LMA but only when is defined.
-       (standard_options): When SIM_HANDLES_LMA is defined include
-       options --load-lma and --load-vma.
-       (standard_install): Initialize STATE_LOAD_AT_LMA_P.
-
-       * sim-base.h (STATE_LOAD_AT_LMA_P): Define.
-       (struct sim_state_base): Add load_at_lma_p.
-       * sim-hload.c (sim_load): Replace SIM_HANDLES_LMA with
-       STATE_LOAD_AT_LMA_P.
-
-Sun Jul 11 12:03:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * nrun.c (main): Re-format loop gnu style.
-
-Wed Jul  7 19:56:03 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-sockser.c (connected_p): Initialize addrlen.
-
-1999-07-06  Dave Brolley  <brolley@cygnus.com>
-
-       * cgen-accfp.c (floatsidf): New function.
-       (fixdfsi): New function.
-
-1999-07-06  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim-model.c (sim_model_init): Issue error if machine is unsupported.
-
-1999-07-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-fpu.h.
-       (cgen-fpu.o,cgen-accfp.o): Add rules for.
-       * cgen-fpu.c: New file.
-       * cgen-fpu.h: New file.
-       * cgen-accfp.c: New file.
-       * cgen-cpu.h (CGEN_CPU): New member fpu.
-       * cgen-mem.h: Redo fp support.
-       * cgen-ops.h: Delete k&r support.  Redo fp support.
-       * cgen-sim.h: Include cgen-fpu.h.
-       * cgen-types.h (SF,DF,XF,TF): Moved to cgen-fpu.h.
-
-1999-06-23  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-engine.h (TARGET_SEM_BRANCH_FINI): Remove cruft at end of
-       ifndef.
-       * genmloop.sh (@cpu@_scache_lookup): Delete unused local var.
-       (@cpu@_pbb_cti_chain): Minor clean up.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT.  Delete defn of
-       AM_CYGWIN32 and AM_EXEEXT.
-       * configure: Regenerate.
-
-Fri Apr 16 16:43:22 1999  Doug Evans  <devans@charmed.cygnus.com>
-
-       * sim-core.c (device_error,device_io_read_buffer,
-       device_io_write_buffer): Delete decls.
-       * sim-core.h: Put them here.
-
-       * sim-core.c (sim_core_read_buffer): Pass sd to device_io_read_buffer.
-       (sim_core_write_buffer): Pass sd to device_io_write_buffer.
-       * sim-n-core.h (sim_core_read_aligned_N): Ditto.
-       (sim_core_write_aligned_N): Ditto.
-
-1999-04-14  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * sim-memopt.c (sim_memory_uninstall): Don't look into
-       free()d memory.
-
-1999-04-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-utils.scm (virtual_insn_entries): Update attribute definition.
-
-1999-04-13  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim-core.c (sim_core_read_buffer): Handle NULL cpu when WITH_DEVICES.
-       (sim_core_write_buffer): Ditto.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * sim-io.c (sim_io_poll_quit): Only call the poll_quit callback
-       after the interval counter has expired.
-       (POLL_QUIT_INTERVAL): Define. Used to tweak the frequency of
-       poll_quit callbacks. May be overridden by Makefile.
-       (poll_quit_counter): New global.
-       * sim-events.c: Remove all mentions of ui_loop_hook. The
-       host callback "poll_quit" will serve the purpose.
-       * run.c: Add definition of ui_loop_hook when NEED_UI_LOOP_HOOK
-       is defined.
-       * nrun.c: Remove declaration of ui_loop_hook.
-
-Wed Mar 31 18:55:41 1999  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-run.c (sim_resume): Don't tell main loop to run "forever"
-       if being used by gdb.
-
-1999-03-22  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-types.h (XF,TF): Tweak.
-       * cgen-ops.h: Redo inline support.  Delete DI_FN_SUPPORT,
-       in cgen-types.h.
-       (SUBWORD*,JOIN*): Define.
-       * cgen-trace.c (sim_cgen_disassemble_insn): Update, base_insn_bitsize
-       moved into cpu descriptor.
-       * sim-model.h (MACH): New member `num'.
-
-1999-02-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-cpu.h (CGEN_DISASSEMBLER): New type.
-       (CGEN_CPU): Member opcode renamed to cpu_desc.
-       New members get_idata,disassembler.
-       * cgen-defs.h (CGEN_INSN_VIRTUAL_P): CGEN_INSN_ATTR renamed to
-       CGEN_INSN_ATTR_VALUE.
-       (CGEN_STATE): Delete member opcode_table.
-       (sim_disassemble_insn): Delete decl.
-       * cgen-engine.h (struct insn_sem): Moved to here from <cpu>-decode.c.
-       (struct idesc): Moved to here from <cpu>-decode.h.
-       * cgen-run.c (prime_cpu): Call prepare_run callback.
-       * cgen-trace.h (SFILE): New type.
-       (sim_disasm_sprintf): Declare.
-       (sim_disasm_read_memory,sim_disasm_perror_memory): Declare.
-       (sim_cgen_disassemble_insn): Declare.
-       * cgen-trace.c: Include errno.h,dis-asm.h.  Don't include cpu-opc.h.
-       (insn_fields): Delete.
-       (trace_insn_fini): STATE_OPCODE_TABLE (sd) replaced with
-       CPU_CPU_DESC (cpu).
-       (trace_insn): Call CPU_DISASSEMBLER hook.
-       (sim_disasm_sprintf): New function.
-       (sim_disasm_read_memory): New function.
-       (sim_disasm_perror_memory): New function.
-       (sim_cgen_disassemble_insn): New function.
-       * cgen-utils.c: Don't include cpu-opc.h.
-       (virtual_insn_entries): New static local.
-       (cgen_virtual_insn_table): Renamed from cgen_virtual_opcode_table.
-       (cgen_insn_name): Rewrite.
-       (disasm_sprintf,sim_disassemble_insn): Moved to cgen-trace.c.
-       * cgen.sh (desc): New file generator handler.
-       * genmloop.sh: -parallel changed to -parallel-read/-parallel-write.
-       Define WITH_PARALLEL_READ/WITH_PARALLEL_WRITE appropriately.
-       Don't include cpu-opc.h,cpu-sim.h.
-       * sim-model.c (model_set): Delete SIM_DESC arg.
-       (sim_model_set): Update.
-       * sim-model.h (MACH): New member prepare_run.
-
-1999-01-28  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * sim-memopt.c (memory_option_handler): Avoid memset() calls
-       if redundant with allocator functions.
-
-Wed Jan 27 17:19:09 1999  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.
-
-       * sim-profile.h: Make like sim-trace.h.
-       (PROFILE_USEFUL_MASK): New macro.
-       * sim-profile.c (profile_options): Make like trace_options, allow
-       optional on|off arg where applicable.
-       (set_profile_option_mask): New function.
-       (sim_profile_set_option): New function.
-       (profile_option_handler): Simplify.
-       Have -p only enable selected things, not everything.
-       Add missing break to OPTION_PROFILE_PC_RANGE.
-       * cgen-scache.c (scache_options): Allow optional on|off arg to
-       --profile-scache.
-       (scache_option_handler): Use sim_profile_set_option.
-
-1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * sim-memopt.c (memory_options): Add MEMORY_FILL option.
-       (memory_option_handler): Implement MEMORY_FILL option.  Make
-       MEMORY_CLEAR an alias for MEMORY_FILL=0.
-       (parse_ulong_value): New function.
-       (do_memopt_add): Allocate all buffers.  Optionally fill them.
-
-1999-01-15  Richard Henderson  <rth@cygnus.com>
-
-       * hw-events.c (hw_event_queue_schedule): _vtracef takes a
-       va_list, not an integer.
-       * sim-events.c (sim_events_schedule): Likewise.
-
-       * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to
-       the appropriate type.
-
-1999-01-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
-       (sim_disassemble_insn): Update prototype.
-       (sim_engine_invalid_insn): Ditto.
-       * cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
-       (SEM_BRANCH_INIT): PCADDR->IADDR.
-       (SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
-       * cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
-       * cgen-scache.h (*): Ditto.
-       * cgen-trace.c (*): Ditto.
-       * cgen-trace.h (*): Ditto.
-       * cgen-utils.c (*): Ditto.
-       * cgen-types.h (integer modes): Use signedNN/unsignedNN types.
-       (insn_t): Delete.
-       * genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
-       (simple engine framework): Rewrite.
-       * sim-module.c (modules): Install model module sooner (and in
-       particular before the profile module).
-
-1999-01-12  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
-       * sim-model.c (sim_mach_lookup_bfd_name): New function.
-       (sim_model_init): Call it.
-
-       * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
-
-1999-01-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
-       * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
-       (SEM_BRANCH_INIT_EXTRACT): New macro.
-       (SEM_BRANCH_INIT): Add taken_p.
-       (TARGET_SEM_BRANCH_FINI): Provide default definition.
-       (SEM_BRANCH_FINI): Use it.
-       (SEM_INSN): Update.
-       * cgen-run.c (sim_resume): Handle tracing of last insn.
-       * cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
-       * cgen-trace.c (current_abuf): New static global.
-       (trace_insn_init): Initialize it.
-       (trace_insn_fini): Use it.
-       (trace_insn): Set it.
-       * cgen.sh (arch case): Pass -m ${mach} to cgen.
-       * genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
-       (@cpu@_emit_after): Ditto.
-       (simple @cpu@_engine_run_full): New local `pc'.  Initialize semantic
-       labels if WITH_SEM_SWITCH_FULL.
-       * sim-model.c: Include bfd.h.
-       (sim_model_init): New function.
-       (sim_model_install): Record init fn.
-       * sim-model.h (MACH): New member bfd_name.
-       * sim-module.c (modules): Initialize model before scache.
-
-1998-12-24  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
-
-       * nrun.c (main): Remain in simulation loop for traps and
-       exceptions when in operating environment mode.
-       (ui_loop_hook): New stub hook for standalone use.
-       * sim-events.c (sim_events_process): Call ui_loop_hook
-       periodically on CYGWIN host.
-
-       * sim-reason.c (sim_stop_reason): Return host signal numbers
-       to gdb on sim_stopped and sim_signalled cases.
-       * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
-       hook just before longjmp.
-       * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
-       hook just before sim_engine_run.
-
-       * sim-n-core.h (sim_core_trace_M): Allay const warning.
-       * sim-trace.h (trace_generic): Ditto.
-       * sim-trace.c (trace_generic): Ditto.
-
-1998-12-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * Make-common.in (SIM_MAIN_DEPS): New var.
-       (CGEN_MAIN_CPU_DEPS): New var.
-       * aclocal.m4: Add --enable-cgen-maint option.
-       * cgen-mem.h (GETMEM*): New arg `pc'.  Pass to sim_core routine.
-       (SETMEM*): Ditto.
-       (GETIMEM*): Pass pc value to sim_core routine.
-
-Fri Dec 11 16:58:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-handles.c (hw_handle_add_ihandle, hw_handle_add_phandle):
-       Compare with ZERO not NULL.
-
-Thu Dec 10 14:14:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-properties.c, hw-instances.c, hw-tree.c: Include
-       "sim-assert.h".
-
-1998-12-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim-arange.c: Include libiberty.h, and stdlib.h if present.
-       * sim-trace.c: Include stdlib.h if present.
-       * dv-sockser.c: Include unistd.h if present.
-       (dv_sockser_init): Add missing arg to call to sim_io_eprintf.
-       * cgen-scache.c (scache_flush): Delete unused locals i,sc.
-
-1998-12-08  James E Wilson  <wilson@wilson-pc.cygnus.com>
-
-       * gennltvals.sh: Add i960.
-       * nltvals.def: Rebuild.
-
-1998-12-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-defs.h: New file, old cgen-sim.h.
-       * cgen-sim.h: Simple header that includes others.
-       * sim-arange.c: New file.
-       * sim-arange.h: New file.
-       * sim-basics.h: Include it.
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
-       (sim-arange.o): Add rule for.
-       * sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
-       (sim_io_eprintf_cpu): Add prototype.
-       * sim-inline.h (HAVE_INLINE): Define if GNUC.
-       (INLINE2): New macro.
-       (EXTERN_INLINE): New macro.
-       * sim-module.c (sim_post_argv_init): Initialize cpu backlink
-       before calling module init fns.
-       * sim-profile.c (OPTION_PROFILE_*): Move into enum.
-       (profile_init): New function.
-       (profile_options): New option --profile-range.
-       (profile_option_handler): Handle --profile-range.
-       (profile_print_insn): Qualify address range specific section titles.
-       (profile_print_addr_ranges): New function.
-       (profile_info): Print address ranges if specified.
-       (profile_install): Set profile_init init fn.
-       * sim-profile.h (PROFILE_DATA): New member `range'.
-       * sim-trace.c (trace_init): New function.
-       (trace_options): New option --trace-range.
-       (trace_option_handler): Handle --trace-range.
-       (trace_install): Set trace_init init fn.
-       * sim-trace.h (TRACE_DATA): New member `range'.
-       * sim-utils.c (sim_cpu_msg_prefix): New function.
-       (sim_io_eprintf_cpu): New function.
-       * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
-       (PC_IN_PROFILE_RANGE_P): New macro.
-       * cgen-trace.c (trace_insn_init): Set current_insn to NULL.
-       (trace_insn_fini): New arg abuf.  All callers updated.
-       Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
-       printing cycle counts.
-       * cgen-trace.h (trace_insn_fini): Update prototype.
-       (TRACE_RESULT_P): New macro.
-       (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
-       (TRACE_INSN): Check ARGBUF_TRACE_P.
-       (TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
-       * cgen-types.h (SIM_INLINE): Delete.
-       (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
-       * cgen-utils.c: Don't include cgen-engine.h
-       * genmloop.sh (@cpu@_fill_argbuf): New function.
-       (@cpu@_fill_argbuf_tp): New function.
-       (@cpu@_emit_before,@cpu@_emit_after): New functions.
-       (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
-       (SET_CTI_VPC,SET_INSN_COUNT): Update.
-       (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
-       doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
-       (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
-       doing profiling. Update call to TRACE_INSN_FINI.
-
-       * sim-memopt.c (sim_memory_uninstall): Result type is `void'.
-
-1998-12-03  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * sim-memopt.c (sim_memory_uninstall): Deallocate all memory
-       regions.
-
-1998-12-01  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim-inline.c (SIM_INLINE_P): Fix typo.
-
-1998-11-30  Doug Evans  <devans@casey.cygnus.com>
-
-       * cgen-utils.c (cgen_virtual_opcode_table): Update.
-
-Tue Nov 24 18:40:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gennltvals.sh: Add v850 and d10v. Sort alphabetically.
-       * nltvals.def: Re-generate.
-
-Mon Nov 23 13:28:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (reverse_n, sim_core_uninstall, sim_core_init,
-       sim_core_map_attach, sim_core_map_detach, next_event_queue,
-       new_sim_core_mapping): Only define when EXTERN_SIM_CORE_P, pacify
-       GCC.
-       * sim-events.c (sim_events_uninstall, sim_events_suspend,
-       sim_events_resume, sim_events_zalloc, insert_sim_event): Ditto.
-
-1998-11-22  Doug Evans  <devans@tobor.to.cygnus.com>
-
-       * genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
-       (${cpu}_pbb_cti_chain): Ditto.
-
-1998-11-18  Doug Evans  <devans@casey.cygnus.com>
-
-       * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
-       * cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
-       (EXTRACT_INT,EXTRACT_UINT): New macros.
-       (SEM_SEM_ARG): New macro.
-       (SEM_NEXT_VPC): New arg `pc'.
-       * cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
-       (sim_disassemble_insn): Update prototype.
-       * cgen-trace.c (current_insn,insn_fields): New static locals.
-       (trace_insn): Set them.
-       * cgen-utils.c: #include cgen-engine.h.
-       (sim_disassemble_insn): New arg insn_fields.
-       Handle variable length insns.
-       * genmloop.sh: Only emit pbb decls if -pbb.
-       (${cpu}_scache_lookup): New arg `vpc'.
-       (scache support): Fetch pc before entering loop.
-
-       * gennltvals.sh: Add fr30 support.
-       * nltvals.def: Rebuild.
-
-Wed Nov 18 10:22:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h: Re-do type system so that GCC's attribute and mode
-       are used to specify types.  Handle case of ALPHA.
-
-1998-11-13  Frank Ch. Eigler  <fche@elastic.org>
-
-       * aclocal.m4: Add tests for dlopen family.
-       * config.in: Regenerated.
-
-Wed Nov 11 14:02:25 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
-
-Wed Nov  4 23:51:19 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
-       HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
-       * cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
-       * cgen-sim.h: ... to here.
-
-Wed Oct 28 12:00:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (enable-build-warnings): Replace
-       enable-sim-warnings. Extend =LIST syntax so that prepend and
-       append of options is possible.  Drop -Werror, add
-       -Wstrict-prototypes for GDB compatibility.
-       * Make-common.in (SIM_WARNINGS): Update.
-
-Mon Oct 19 13:56:32 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (CGEN_INCLUDE_DEPS): Define.
-       (sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
-       (sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
-       (cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
-       explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
-       CGEN_INCLUDE_DEPS.
-       * cgen-cpu.h: New file.
-       * cgen-engine.h: New file.
-       * cgen-scache.h: New file.
-       * cgen-sim.h: Delete portions moved to new files.
-       * genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
-       rather than sending result to stdout.
-
-Fri Oct  9 14:20:22 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (sim-reg.o): New rule.
-       (cgen-run.o): New rule.
-       * cgen-ops.h: Delete many BI macros.  Change all UBI -> BI.
-       * cgen-run.c (prime_cpu): New function.
-       * cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
-       (scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
-       mentioned cpu.
-       (scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
-       * cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
-       (CGEN_INSN_VIRTUAL_P): New macro.
-       (SEM_PC): New typedef.
-       (SEMANTIC_FN): Change type of result to SEM_PC.
-       (SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
-       (IDESC_CTI_P,IDESC_SKIP_P): New macros.
-       (SCACHE_MAP): New typedef.
-       (CPU_SCACHE): Add pbb support.
-       (scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
-       (SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
-       (CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
-       max_slice_insns.
-       (INSN_NAME): Delete.
-       (cgen_insn_name): Declare.
-       (sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
-       * cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
-       (first_insn_p): Make static.
-       (trace_insn): Handle virtual insns specially.
-       (cgen_trace_printf): Ensure we haven't overflowed the buffer.
-       * cgen-types.h (UBI): Delete.
-       (MODE_TYPE): New enum.
-       (HOSTINT,HOSTUINT,HOSTPTR): Delete.
-       * cgen-utils.c (mode_names): Delete UBI.  Add INT,UINT,PTR.
-       (cgen_virtual_opcode_table): New global.
-       (cgen_insn_name): New function.
-       (sim_disassemble_insn): Ignore virtual insns.
-       * genmloop.sh: Delete top level loop generation.  Add pbb support.
-       * sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
-       (sim_cpu_base): New members max_insns,insn_name,model_data.
-       (CPU_PC_GET,CPU_PC_SET): New macros.
-       (sim_pc_get,sim_pc_set): Declare.
-       * sim-model.c (model_set): Call model init fn.
-       * sim-model.h (MODEL_FN): New typedef.
-       (INSN_TIMING): New member model_fn.
-       (MODEL): New members num,init.
-       * sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
-       All callers updated.
-       (profile_insn_init): New fn.
-       (profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
-       Exit early if insn profiling not supported.
-       (profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
-       (profile_install): Record profile_insn_init as init fn.
-       (profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
-       * sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
-       (PROFILE_DATA): Delete member exec_time.
-       Change insn_count to pointer to array, rather than the array.
-       (sim_profile_print_bar): Declare.
-
-Wed Oct  7 16:56:42 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-run.c: New file.
-       * sim-reg.c: New file.
-
-Mon Sep 14 10:58:19 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * aclocal.m4: Add checks for -lsocket and -lnsl.
-
-       * dv-sockser.c (dv_sockser_init): Use SO_REUSEADDR to
-       allow local port reuse on listening socket.
-
-Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * sim-config.h: Remove reference to linux kernel header.
-
-Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-sockser.c (sockser_addr): Make variable non-static.
-
-Mon Aug 24 11:47:37 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
-
-Tue Aug 11 18:12:19 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-events.c (sim_events_elapsed_time): Fix calculation.
-
-Tue Aug  4 20:36:46 1998  Jeff Holcomb  <jeffh@cygnus.com>
-
-       * Make-common.in (install-common): Add $(EXEEXT) when installing
-       run.
-
-Mon Aug  3 11:46:01 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-sim.h (cgen_state): New member opcode_table.
-       * cgen-utils.c (sim_disassemble_insn): Use it.
-
-Fri Jul 24 10:14:18 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-mem.h (DECLARE_SETT): Fix return type.
-       * cgen-sim.h (sim_engine_illegal_insn): Declare.
-       * cgen-scache.c: Include stdlib.h.
-       * cgen-trace.c (trace_extract): Use %lx for PCADDR.
-       * sim-model.c (model_option_handler): Remove unused variable `n'.
-
-Tue Jul 21 16:27:43 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-utils.c: Include bfd.h.
-       (sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
-
-Wed Jul  8 18:24:10 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * sim-bits.h (EXTEND24): Fix typo.
-
-Wed Jul  8 17:41:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (ETRACE_P): New macro.
-       (struct _sim_event): Add member trace.
-       (sim_events_free): Reclaim trace message.
-
-       * sim-events.c, sim-events.h (sim_events_schedule_vtracef,
-       sim_events_schedule_tracef): New functions, include printf trace
-       information in argument list.  If tracing, store asprintf'd trace
-       message in sim_event.
-
-       * hw-events.c, hw-events.h (hw_event_queue_schedule_tracef,
-       hw_event_queue_schedule_vtracef): New functions, mimic
-       sim_event_tracef.
-
-Mon Jul  6 15:51:14 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * sim-bits.h (EXTEND24): Define.
-
-Thu Jul  2 17:13:25 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-sim.h (CPU_SCACHE): Make size unsigned.
-       (CPU_SCACHE_HASH_MASK): New macro.
-       (SCACHE_HASH_PC): Rewrite.
-       * genmloop.sh (engine_resume_{full,fast}): Move some of hash
-       computation out of main loop.
-
-Wed Jul  1 16:44:12 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-sim.h (RECORD_IADDR): Delete.
-       * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
-       * genmloop.sh (engine_resume_{full,fast}): Delete icount.
-
-Wed Jun 17 12:25:08 1998  Mark Alexander  <marka@cygnus.com>
-
-       * gennltvals.def (mn10200): Add entry.
-       * nltvals.def: Regenerate with MN10200 additions.
-
-Wed Jun 17 13:18:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-inline.h (EXTERN_*): Replace with EXTERN_*_P. Correct
-       documentation on how it works.
-
-       * sim-core.h, sim-core.c (sim_core_install, sim_core_attach,
-       sim_core_detach, sim_core_read_buffer, sim_core_write_buffer,
-       sim_core_set_xor, sim_core_xor_read_buffer,
-       sim_core_xor_write_buffer): Update.
-
-       * sim-events.h, sim-events.c (sim_events_install,
-       sim_events_watch_clock, sim_events_schedule_after_signal,
-       sim_events_schedule, sim_events_watch_sim, sim_events_watch_core,
-       sim_events_deschedule): Update.
-
-       * sim-fpu.h, sim-fpu.c (sim_fpu_zero, sim_fpu_one, sim_fpu_two,
-       sim_fpu_max32, sim_fpu_max64): Update.
-
-Sat Jun 13 07:45:38 1998  Doug Evans  <devans@fallis.cygnus.com>
-
-       * cgen-trace.c (trace_insn_fini): Redo cycle handling.
-       * sim-profile.h (PROFILE_DATA): Rename cycle handling members.
-       * sim-profile.c (profile_print_model): Update.
-
-Fri Jun 12 18:35:07 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * gennltvals.def (m32r): Use common syscall.h now.
-       (mn10300): Add entry.
-       * nltvals.def: Regenerate.
-
-       * sim-engine.c (sim_engine_get_run_state): New function.
-       * sim-engine.h (sim_engine_get_run_state): Declare it.
-
-Thu Jun 11 00:50:03 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
-       * sim-core.c (sim_core_signal): Make extern, always define.
-
-Wed Jun 10 16:02:29 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
-       * cgen-ops.h (ANDIF): New macro.
-       (ANDIF[BQHSD]I): Delete.
-
-Thu Jun  4 13:53:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-events.c (create_hw_event, delete_hw_event): Delete.
-       (hw_event_queue_schedule, hw_event_queue_deschedule,
-       bounce_hw_event): Fix hw-event memory corruptions found by Joyce
-       Janczyn.
-
-       * hw-alloc.h (HW_NZALLOC): Define.
-
-       * Make-common.in (test-hw-events): Add target for testing the
-       hw-event code.
-
-Mon May 25 21:11:26 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Make-common.in (SIM_COMMON_HW_OBJS): Add hw-handles.o and
-       hw-instances.o.
-       hw-handles.c, hw-instances.c, hw-handles.h, hw-instances.h: New
-       files.
-       * hw-main.h: Include hw-handles.h, hw-instances.h.
-       * hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare
-       * hw-base.c (hw_create, hw_delete): Call same.
-
-Mon May 25 18:55:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-core.c: Include hw-main.h and sim-main.h.
-       * dv-pal.c: Include hw-main.h and sim-io.h.
-       * dv-glue.c: Include hw-main.h.
-
-       * hw-main.h: New file.  Move list of includes to here.
-       * hw-base.h: From here.
-       * Make-common.in (hw_base_headers): Rename to hw_main_headers.
-       (hw-*.o, dv-*.o): Update.
-       * hw-tree.c, hw-base.c, hw-properties.c, hw-ports.c, hw-device.c,
-       hw-events.c, hw-alloc.c, sim-hw.c: Include hw-main.h instead of
-       sim-main.h.
-
-       * hw-base.h (do_hw_attach_regs, do_hw_poll_read_method,
-       do_hw_poll_read): Move declarations from here.
-       * hw-main.h: To here.
-
-       * hw-base.h (struct hw_device_descriptor, hw_finish_callback):
-       Move from here.
-       * hw-main.h (struct hw_descriptor, hw_finish_method): To here,
-       rename.
-       * Make-common.in (hw-config.h): Update
-       * hw-base.c, dv-pal.c, dv-glue.c: Update
-
-       * dv-glue.c, hw-device.h, hw-base.h, hw-ports.c: Rename
-       `*_callback' to `*_method.
-
-Mon May 25 18:41:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-base.h (set_*): Move set method macros from here.
-       * hw-device.h: To here.
-
-Mon May 25 18:21:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-base.h (create_hw_property_data, delete_hw_property_data):
-       Declare.
-
-       * hw-base.c (hw_create, hw_delete): Call
-       * hw-properties.c (create_hw_property_data,
-       delete_hw_property_data): Define.
-
-Mon May 25 17:40:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.c, hw-properties.c: Include hw-base.h
-
-       * hw-alloc.h, hw-alloc.c: New files. Move alloc code to here.
-       * hw-device.c: From here.
-       * hw-base.h: Include "hw-events.h".
-
-       * hw-base.h (create_hw_alloc_data, delete_hw_alloc_data): Declare.
-       * hw-base.c (hw_create, hw_delete): Call.
-       * hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define.
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o.
-       (hw-alloc.o): New target.
-
-Mon May 25 17:14:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-events.h, hw-events.c: New files.  Move event code to here.
-       * sim-hw.c: From here.
-       * hw-base.h: Include "hw-events.h".
-       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o.
-       (hw-events.o): New target.
-
-       * hw-device.h (struct hw): Add struct hw_event_data events_of_hw.
-       * hw-events.h (struct hw_event): Replace typedef hw_event.
-
-       * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare.
-       * hw-base.c (hw_create, hw_delete): Call.
-       * hw-events.c (create_hw_event_data, delete_hw_event_data): Define.
-
-       * dv-pal.c: Update.
-
-Mon May 25 16:55:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here.
-       * hw-ports.c: To here.
-
-       * hw-base.h, hw-ports.c (create_hw_port_data,
-       delete_hw_port_data): New functions.
-       * hw-base.c (hw_delete, hw_create): Call same.
-
-       * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions
-       from here.
-       * hw-ports.h: To here.
-
-Mon May 25 16:42:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
-       PROCESSOR and CIA arguments.
-
-Fri May 22 12:16:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
-       Move common object files from here.
-       * Make-common.in (SIM_COMMON_HW_OBJS): To here.
-
-Thu May 21 17:57:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-hw.c: Include ctype.h.
-       (do_hw_poll_read): Do not assume EAGAIN.
-
-Wed May 20 04:37:57 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-trace.c (first_insn_p): New static local.
-       (trace_insn_init): Set it.
-       (trace_insn_fini): Use TRACE_PREFIX.
-       (trace_insn): Rewrite to use trace_prefix.
-       * sim-trace.c (trace_prefix): Don't print filename arg if NULL.
-       Adjust width accordingly.
-
-       * sim-profile.h (PROFILE_DATA): New member profile_any_p.
-       (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
-       (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
-       (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
-       (PROFILE_COUNT_CORE): Simplify.
-       * sim-profile.c (profile_option_handler): Compute profile_any_p.
-
-Tue May 19 23:55:30 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-ops.h (ADDCFSI): Fix typo.
-
-Sat May 16 12:44:52 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
-       * genmloop.sh: Use them rather than static locals.
-
-       * sim-engine.c (sim_engine_set_run_state): New function.
-       * sim-engine.h (sim_engine_set_run_state): Declare.
-       * genmloop.sh (pending_reason,pending_sigrc): New static locals.
-       (@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
-       (engine_resume): Reorganize.  Allow synchronous exit from main loop.
-
-Fri May 15 16:06:05 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-trace.c (trace_insn_init): New arg first_p.
-       All callers updated.
-       (trace_insn_fini): New arg last_p.  All callers updated.
-       * cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
-       (TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
-       * genmloop.sh (engine_resume): Update.
-
-Fri May 15 15:59:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * Make-common.in (install-common): Run ranlib on installed copy of
-       libsim.a.
-
-Fri May 15 15:03:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * Make-common.in (install-common): Rename and install libsim.a.
-
-Tue May 12 15:23:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-io.c (unistd.h): Include.
-
-Wed May  6 16:04:18 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common (sim_main_headers): Sort.
-       (cgen-*.o): Add cgen-sim.h dependency.
-
-       * cgen-scache.c (scache_init): Only allocate space if scache element
-       size is non-zero.
-       (scache_flush,scache_print_profile): Check if scache in use first.
-
-       * cgen-sim.h (IDESC): Provide forward declaration.
-       (DECODE): Delete.
-       (CGEN_CPU): Always define scache member.  New members idesc,opcode.
-       (cgen_cpu_max_extra_bytes): Declare.
-       * cgen-utils.c (cgen_cpu_max_extra_bytes): New function.
-
-       * sim-cpu.h: New file.  sim_cpu_base moved here.
-       Move sim_cpu_lookup decl here.
-       * sim-base.h: #include "sim-cpu.h".
-       * sim-cpu.c: New file.
-       * Make-common (sim_main_headers): Add sim-cpu.h.
-       (sim-cpu.o): Add rule for.
-
-       * sim-model.c (set_model): Delete.
-       (sim_model_set,model_set): New functions.
-       (sim_model_install): Renamed from model_install.
-       Don't set default model here.
-       (model_option_handler): Rewrite --model processing.
-       (sim_model_lookup,sim_mach_lookup): New functions.
-       * sim-model.h (MAX_MODELS,MAX_INSNS): Delete.
-       (insn_timing): Delete.
-       (INSN_TIMING): New member `num'.
-       (IMP_PROPERTIES): Always define scache_elm_size member.
-       (MACH): New member init_cpu.
-       (sim_machs): Renamed from machs.
-       (sim_model_install): Renamed from model_install.
-       (sim_model_set,sim_model_lookup,sim_mach_lookup): Declare.
-       * sim-module.c (modules): Update.
-
-       * sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro.
-
-       * sim-io.c: #include <errno.h>.
-
-Wed May  6 12:39:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-pal.c (struct hw_pal_device): Add reader.
-       (hw_pal_finish): Initialize reader.
-       (scan_hw_pal): Use reader.
-
-       * hw-base.h, sim-hw.c (do_hw_poll_read): New function.
-       (HW_IO_EOF, HW_IO_NOT_READY): Define.
-       * dv-pal.c: Use.
-
-       * sim-io.h, sim-io.c (sim_io_poll_read): New function.  Copy from
-       ../ppc/main.c sim_io_read_stdin.
-
-Fri May  1 12:11:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-tree.h (hw_tree_print): Paramaterize with print and file
-       arguments.
-       * hw-tree.c: Update.
-
-       * hw-base.h (hw_port_event_callback): Delete CPU/CIA args.
-       * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete
-       CPU/CIA args.
-       * hw-ports.h (hw_port_event): Ditto.
-       * hw-ports.c (hw_port_event): Update.
-       * hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer):
-       Update.
-       * dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer):
-       Update.
-       (hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt.
-       (do_counter_event): Update.
-       * dv-glue.c (hw_glue_io_read_buffer): Update.
-       (hw_glue_port_event): Update.
-
-       * hw-device.h (SIM_DESC): Replace with struct sim_state.
-       * hw-base.h (hw_create): Ditto.
-       * hw-base.c (hw_create): Ditto.
-
-       * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule,
-       hw_event_queue_deschedule, hw_event_queue_time): Delete, moved
-       from here to.
-       * sim-hw.c: Here.
-       * hw-device.h (hw_system_cpu): Declare.
-       * sim-hw.c (hw_system_cpu): New function.
-
-       * sim-core.c (sim_core_map_attach, sim_core_attach): Call
-       sim_hw_abort not hw_abort.
-       (sim-hw.h): Include.
-       (sim_core_read_buffer, sim_core_write_buffer): Call
-       sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU
-       argument.
-       (sim_core_set_xor): Do not pass CPU when aborting.
-
-       * sim-n-core.h (sim_core_read_aligned_N,
-       sim_core_write_aligned_N): Call sim_hw_abort not hw_abort.
-       (sim_core_read_aligned_N, sim_core_write_aligned_N): Call
-       sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not
-       return length.
-
-       * sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare
-       sim_hw_print.
-       * sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer,
-       sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New
-       functions.
-       (sim_hw_print): New function.
-
-       * sim-engine.h (sim_engine_vabort): Declare.
-       * sim-engine.c (sim_engine_vabort): New function.
-
-Wed Apr 29 23:58:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.c (print_data): For floating-point numbers trace raw
-       hex value.
-       (trace_result_fp2): New function.
-       * sim-trace.h (trace_result_fp2): New declaration.
-       (TRACE_FP_RESULT2): New macro.
-
-Tue Apr 28 18:28:58 1998  Geoffrey Noer  <noer@cygnus.com>
-
-       * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
-       AM_CYGWIN32 and AM_EXEEXT.
-       * common/Make-common.in: set EXEEXT, add missing EXEEXTs
-       to run and install-common rules.
-       * common/configure: regenerate
-
-Sat Apr 25 17:45:01 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h (cell_word): New type.
-       (natural_cell): Delete type.
-
-Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Sun Apr 26 15:25:07 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h (NEED_DECLARATION_PRINTF): Removed.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:38:08 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * Make-common.in (top_builddir): New macro.
-       (INTL_LIB): Removed.
-       (INTLLIBS): New macro.
-       (INTLDEPS): Likewise.
-       (LIBDEPS): Use INTLDEPS.
-       (EXTRA_LIBS): Use INTLLIBS.
-       * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
-       (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
-       AM_LC_MESSAGES): New macros from GNU gettext.
-
-Fri Apr 24 19:57:59 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.h: Discard leading _ from macros.
-       * sim-types.h: Ditto.
-
-Wed Apr 22 14:14:19 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * Make-common.in (CSEARCH): Add -I to intl directories.
-       (INTL_LIB): Point to libintl.a.
-       (LIBDEPS): Add $(INTL_LIB).
-       (EXTRA_LIBS): Ditto.
-
-Tue Apr 21 12:44:27 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-types.h (GETHIDI,MAKEDI): Tweak.
-
-       * cgen-ops.h (ADDCFSI): Fix.
-       (SUBCFSI): Tweak.
-
-Tue Apr 21 13:18:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h (signed_address, unsigned_address): Define.
-
-Mon Apr 20 21:47:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a
-       QNaN.
-
-Thu Apr 16 10:30:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction):
-       New functions, pack / unpack sim_fpu struct using raw values.
-       (sim_fpu_is): Differentiate between negative and positive
-       infinity.
-
-Tue Apr 14 18:49:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-bits.h (EXTEND4): Define.
-       (EXTEND4, EXTEND15, EXTEND11): Ditto.
-
-Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>
-
-       * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol
-       declared so we need this cast to prevent long long addresses
-       from being misconfigures. Results in access to unmapped memory.
-
-Tue Apr 14 13:19:14 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Make-common.in (RUNTESTFLAGS): Define.
-       (check): Pass RUNTESTFLAGS to recursive make.
-
-Tue Apr 14 15:09:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-info.c (sim_info): Be verbose when either VERBOSE or
-       STATE_VERBOSE_P.
-
-Sat Apr  4 23:24:17 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-inline): By default, disable sim-inline when
-       cross compiling.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults.
-       (sim-inline): Update to match sim-inline.[hc]
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-       * Make-common.in (sim_main_headers): Add sim-inline.h
-
-       * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P.
-       selected.
-       * sim-endian.h (sim-endian.c): Ditto.
-
-       * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H.
-       (sim_events_set_trace): Delete unused prototype.
-
-       * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H.
-       * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C.
-
-       * sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P.
-       (sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to):
-       Comment out, not yet implemented in sim-fpu.c.
-       (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan,
-       sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU.
-
-       * sim-inline.h: Rewrite description.
-       (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define.
-       (SIM_MAIN_INLINE): Add inline option.
-
-       * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not
-       include generated files. Handled by generator directly.
-
-Sat Apr  4 01:07:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P
-       up-to-date.
-
-       * sim-trace.h (TRACE_ANY_P): Define.
-       (struct _trace_data): Add trace_any_p.
-
-Mon Mar 30 17:11:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * run.c (main): Handle all alternatives of enum sim_stop.
-       (main): Delete unused `asection *s'.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-tree.h, hw-tree.c (hw_tree_vparse): New function
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-       * sim-hw.c: New file.
-       * sim-hw.h (sim_hw_parse): Declare function.
-       (hw-tree.h): Do not include.
-
-       * sim-base.h (STATE_HW): Define.
-       (struct sim_state_base): Add member struct *hw.
-
-       * sim-module.c (sim-hw.h): Include.
-       (modules): Add sim_hw_install.
-
-       * aclocal.m4 (sim_hw_obj): Add sim-hw.o
-
-Fri Mar 27 14:55:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-base.h (CPU_INDEX): Define.
-
-       * sim-utils.c (sim_state_alloc): Initialize.
-       * sim-module.c (sim_post_argv_init): Ditto.
-
-Thu Mar 26 10:07:57 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * aclocal.m4 (sim_hw_obj):  Fix sed expression to generate
-       properly formatted lists.
-
-Thu Mar 26 10:37:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was
-       0x2f needs to be 0x3f.
-
-Thu Mar 26 09:10:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-tree.c (hw_tree_find_property): Return NULL when device is
-       not found.
-       (hw_tree_find_*_property): Clean up error message when property is
-       not found.
-
-       * dv-pal.c (hw_pal_io_read_buffer): Check the smp property is
-       present before looking for it.
-
-Wed Mar 25 16:17:38 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h.
-       (AC_CHECK_FUNCS): Add check for __setfpucw.
-       * configure: Regenerated.
-
-Wed Mar 25 09:18:34 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
-       hw_pal_timer, hw_pal_timer_value): Define.
-       (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
-       (do_counter_event, do_counter_read, do_counter_value,
-       do_counter_write): new functions.
-
-Tue Mar 24 12:24:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-tree.c (hw_printf): Send tree dump to stderr, same as other
-       trace output.
-
-       * hw-base.c (hw_create): Stop searching for a device when one is
-       found.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 23 10:25:08 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add second argument,
-       appends extra devices.
-       (SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of
-       the device names.
-
-       * Make-common.in (hw-config.h): New target, create hw-config.h
-       file.
-       (SIM_HW): Definition from @sim_hw@.
-       (hw-base.o): Depend on hw-config.h
-
-Tue Mar 24 17:41:35 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * Make-common.in:  Get SHELL from configure.
-       * (stamp-tvals sim-inline.c):  Use $(SHELL) when invoking
-       move-if-change.  Fixes NT native build problem.
-       * Makefile.in (nltvals.def):   Use $(SHELL) when invoking
-       move-if-change.  Fixes NT native build problem.
-       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
-       NT native builds.
-
-Sun Mar 22 16:54:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.h, hw-device.c (hw_strdup): New function.
-
-       * hw-base.c (hw_create): Use hw_strdup when saving a copy of the
-       strings name, family and args.
-       (full_name_of_hw): Use hw_strdup when returning the full path.
-
-       * hw-properties.c: Clean up property not found / wrong type error
-       messages.
-
-       * hw-tree.c (hw_tree_parse): Finish a devices initialization
-       before attaching any ports.
-
-       * hw-base.c (hw-config.): Include.  Replace hardwired table.
-
-       * dv-glue.c: Copy over ../ppc/hw_glue.c.  Update to new framework.
-
-       * Make-common.in: Add rule for dv-glue.o.
-
-Sun Mar 22 16:45:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-base.c (hw_finish): Move setting of trace level to here.
-       (hw_create): From here.
-
-       * hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
-       ../ppc/device_table.c.
-
-       * dv-pal.c (hw_pal_finish): Attach PAL device to parent bus.
-
-       * hw-tree.c (print_properties): Supress path when printing
-       properties of root node.
-
-Sun Mar 22 16:21:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.h (HW_TRACE): Define.
-       (hw_trace): Declare.
-       * hw-device.c (hw_trace): Implement function.
-
-       * hw-base.c (hw_create): Set hw trace level from "trace?"
-       property.
-
-       * dv-core.c (dv_core_attach_address_callback): Add trace.
-
-       * dv-pal.c: Replace DTRACE with HW_TRACE.
-
-Sun Mar 22 15:23:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.h (HW_ZALLOC, HW_MALLOC): New macros.
-       (hw_alloc_data): Delcare.
-       (struct hw): Add member alloc_of_hw.
-
-       * hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New
-       functions. Assocate memory with a device.
-       (stdlib.h): Include.
-
-       * hw-base.h (set_hw_delete): Define.
-       (hw_delete_callback): Declare.
-       (hw_delete): Declare.
-
-       * hw-base.c (hw_delete): Implement function.
-       (struct hw_base_data): Add member to_delete.
-       (ignore_hw_delete): New function, does nothing.
-       (hw_create): Set the hw_delete method.
-       (hw_create): Allocate the base type using HW_ZALLOC before setting
-       any methods.
-
-       * hw-tree.h, hw-tree.c (hw_tree_delete): New function.
-
-       * hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free.
-
-       * hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free.
-       (attach_hw_port_edge): Add struct hw argument
-
-       * dv-pal.c (hw_pal_finish): Replace zalloc/zfree with
-       hw_zalloc/hw_free.
-
-Sun Mar 22 15:09:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * hw-device.h (hw_attach_address_callback,
-       hw_detach_address_callback): Attach to a single space not a space
-       mask. Clarify interpretation of SPACE:ADDR parameters.
-
-       * hw-base.c (passthrough_hw_attach_address,
-       passthrough_hw_detach_address): Update.
-       * dv-core.c (dv_core_attach_address_callback): Ditto.
-       * dv-pal.c (hw_pal_attach_address): Ditto.
-
-Thu Mar 19 00:41:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.h: Document additional CPU arg to OPTION_HANDLER.
-
-Wed Mar 18 14:13:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Make-common.in (SIM_HW_OBJS, SIM_HW_SRC, SIM_DV_OBJS): Define.
-       (hw-base_h, hw-device_h, hw-handles_h, hw-instances_h, hw_ports_h,
-       hw-properties_h, hw-tree_h): Define, point at corresponding
-       header.
-       (hw_base_headers): Define list of headers included by hw-base.h
-       (hw-base.o, hw-device.o, hw-instances.o, hw-handles.o, hw-ports.o,
-       hw-properties.o, hw-tree.o): Specify dependencies.
-       (dv-core.o, dv-pal.o): Ditto.
-
-       * sim-hw.h: New file.
-
-       * hw-device.h, hw-device.c, hw-properties.h, hw-properties.c,
-       hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch].
-
-       * hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc].
-
-       * hw-base.h, hw-base.c: new files.  Copied from
-       ../ppc/device_table.[hc].
-
-       * dv-core.c, dv-pal.c: New files. Copied from
-       ../ppc/hw_{core,pal}.c
-
-       * sim-basics.h (struct hw): Declare.
-       (enum port_direction, enum object_disposition): Declare.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
-       sim_dv_src in Makefile. Take list of devices as parameter to m4
-       macro..
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 16 12:37:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.h, sim-trace.c (trace_prefix): Pass in sim_cia so that
-       trace_prefix can abort cleanly.
-
-Sat Mar 14 18:36:12 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * dv-sockser.c, dv-sockser.h: New files.
-       * Make-common.in (dv-sockser.o): Add rule for.
-       * aclocal.m4: Check for fcntl.h.
-       * config.h: Add HAVE_FCNTL_H.
-
-       * sim-break.c (remove_breakpoint): Fix thinko.
-
-       * sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
-       Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
-
-1998-03-13  Fred Fish  <fnf@cygnus.com>
-
-       * sim-base.h (struct sim_state_base): Add prog_syms and
-       define macro STATE_PROG_SYMS.
-       * sim-trace.c (trace_prefix): Add variables abfd, symsize,
-       symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
-       and bfd_canonicalize_symtab, to get symbol table on first use
-       and preserve it via STATE_PROG_SYMS for future calls to
-       bfd_find_nearest_line.
-
-Wed Mar 11 14:02:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.h, sim-core.c (sim_core_map_to_str): Delete.
-
-       * sim-core.c (sim_core_attach): Handle a generic number of maps -
-       up to nr_maps, not just access_* maps.
-
-       * sim-profile.h (struct PROFILE_DATA): Track nr_maps different
-       maps.
-
-       * sim-profile.c (profile_print_core): Make map unsigned.  Iterate
-       over nr_maps not sim_core_nr_maps.
-
-       * sim-events.h, sim-events.c (sim_events_watch_core): Change
-       core_map argument to unsigned.
-       (struct _sim_core): Ditto for struct member core_map.
-
-       * sim-core.h (nr_sim_core_maps, sim_core_*_map): Delete
-
-       * sim-basics.h (access_io, access_*_io): Define.
-       (map_read, map_write, map_exec, map_io): Define.
-
-       * sim-core.c, sim-core.h (sim_core_attach): Replace argument
-       attach with more generic mapmask.
-       (sim_core_{read,write}_*): Change map argument to unsigned.
-
-       * sim-core.c (sim_core_uninstall, sim_core_attach,
-       sim_core_detach): Iterate over nr_maps instead of
-       sim_core_nr_maps.
-
-       * sim-break.c (insert_breakpoint): Write breakpoints to exec_map
-       instead of the write_map.
-       (remove_breakpoint): Ditto.
-
-       * genmloop.sh (engine_resume_full): Replace sim_core_*_map
-       with read_map, write_map, exec_map resp.
-
-       * cgen-mem.h (DECLARE_GETMEM, DECLARE_SETMEM, DECLARE_GETIMEM):
-       Ditto.
-
-       * cgen-utils.c (sim_disassemble_insn): Ditto.
-
-       * sim-hrw.c (sim_write, sim_write): Ditto.
-
-       * sim-utils.h, sim-utils.c (access_to_str, map_to_str,
-       transfer_to_str): New functions.
-
-Mon Mar  9 12:50:59 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-base.h (sim_state_base): New member environment.
-       (STATE_ENVIRONMENT): New macro.
-       * sim-config.c (current_environment): Delete.
-       (sim_config_default): New function.
-       (sim_config): Set STATE_ENVIRONMENT, not current_environment.
-       * sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
-       (sim_config_default): Add prototype.
-       * sim-module.c (sim_pre_argv_init): Call sim_config_default.
-       * sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
-       Set STATE_ENVIRONMENT, not current_environment.
-
-Mon Mar  9 11:59:03 1998  Jim Wilson  <wilson@cygnus.com>
-
-       * sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
-
-Tue Mar  3 10:53:05 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
-
-       * sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
-
-Mon Mar  2 10:20:06 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (TAGS): Make smarter.
-       * Makefile.in (TAGS): Ditto.
-
-Fri Feb 27 19:09:57 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-module.c (*): Fix typos in assertion tests.
-
-Sat Feb 28 13:54:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-module.c (sim_pre_argv_init): String passed to asprintf
-       can't be constant.
-
-       * sim-options.c (sim_parse_args): Ditto.
-       (sim_args_command): Return OK, instead of nothing, for an empty
-       command.
-
-Fri Feb 27 13:29:13 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-profile.c (profile_info): Rename from profile_print. Drop
-       misc and misc_cpu callback arguments.  Use
-       PROFILE_INFO_CPU_CALLBACK and STATE_PROFILE_INFO_CALLBACK instead.
-       (profile_install): Install profile_info function.
-
-       * sim-profile.h (PROFILE_INFO_CPU_CALLBACK,
-       STATE_PROFILE_INFO_CALLBACK): Define.
-       (struct PROFILE_DATA): Add field info_cpu_callback.
-       (profile_print): Delete function.
-
-       * sim-base.h (STATE_MODULES): Define.  Replace individual
-       STATE_*_LIST with single struct module_list.
-
-       * sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare.
-       (struct module_list): Declare.
-
-       * sim-module.h, sim-module.c (sim_module_add_info_fn,
-       sim_module_info): New functions.
-       (sim_module_install): Clean up module data structures.
-
-       * sim-info.c (sim_info): New file. New function. Call
-       sim_module_info.
-
-       * Make-common.in (sim-info.o): Define rule.
-       (SIM_NEW_COMMON_OBJS): Add sim-info.o.
-
-
-Fri Feb 27 18:26:16 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-base.h (sim_cpu_base): New members name, options.
-       (sim_cpu_lookup): Add prototype.
-       * sim-module.c (sim_pre_argv_init): Provide default names for cpus.
-       * sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
-       (sim_add_option_table): Update prototype.
-       * sim-options.c (sim_add_option_table): New argument `cpu'.
-       (standard_option_handler,standard_install): Update.
-       (sim_parse_args): Handle cpu specific options.
-       (print_help): New static function.
-       (sim_print_help): Call it.  Print cpu specific options.
-       (find_match): New static function.
-       (sim_args_command): Call it.  Handle cpu specific options.
-       * sim-utils.c (sim_cpu_lookup): New function.
-       * sim-memopt.c (memory_option_handler): Update.
-       (sim_memopt_install): Update.
-       * sim-model.c (model_option_handler): Update.
-       (model_install): Update.
-       * sim-profile.c (profile_option_handler): Update.
-       (profile_install): Update.
-       * sim-trace.c (trace_option_handler): Update.
-       (trace_install): Update.
-       * sim-watch.c (watchpoint_option_handler): Update.
-       (sim_watchpoint_install): Update.
-       * cgen-scache.c (scache_option_handler): Update.
-       (scache_install): Update.
-
-Wed Feb 25 11:00:26 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Make-common.in (check): Run `make check' in testsuite dir.
-
-Wed Feb 25 14:40:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.c (trace_result0): New function.
-
-       * sim-trace.h (TRACE_FP_*, TRACE_FPU_*): Rename TRACE_FPU_*
-       macro's to TRACE_FP_*. TRACE_FPU_* should be defined and used when
-       tracing sim_fpu variables.
-       (TRACE_ALU_RESULT0): Define.
-       (TRACE_FP_RESULT_WORD): Define.
-       (TRACE_FP_INPUT_WORD1): Define.
-
-       * sim-fpu.c, sim-fpu.h (sim_fpu_max32, sim_fpu_max64, sim_fpu_one,
-       sim_fpu_two): New constants.
-       (sim_fpu_op1, sim_fpu_op2): New types.
-       (struct _sim_fpu): Delete member result.  Re-order other members.
-       (sim_fpu_sign, sim_fpu_exp): New functions.
-       (sim_fpu_max, sim_fpu_min): new functions.
-       (EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64,
-       NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define.
-
-Tue Feb 24 22:45:39 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-profile.c (profile_print): Delete duplicate test of
-       PROFILE_INSN_IDX.
-       (profile_print_pc): Exit early if data collection not set up.
-       (profile_print_core): Simplify by calling sim_core_map_to_str.
-       * sim-core.h (sim_core_map_to_str): Declare.
-       * sim-core.c (sim_core_map_to_str): Make non-static.
-
-       * genmloop.sh (engine_resume): Update insn_count before exiting.
-       (engine_resume_full): Keep accurate core profile data.
-
-       * cgen-utils.c (sim_disassemble_insn): Don't use
-       sim_core_read_aligned_N, it messes up profiling results.
-
-Mon Feb 23 20:45:57 1998  Mark Alexander  <marka@cygnus.com>
-
-       * nltvals.def: Regenerate with MN10300 additions.
-
-Tue Feb 24 13:18:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.h (TRACE_ALU_RESULT2): Define.
-
-       * sim-trace.h, sim-trace.c (trace_result_word2,
-       trace_input_word4, trace_result_word4): New function.
-
-Mon Feb 23 13:08:35 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-sim.h (SEM_NEXT_PC): New arg `len'.
-
-       * sim-xcat.h: Delete.
-       * cgen-mem.h: Delete inclusion of sim-xcat.h.
-       * cgen-sim.h: Ditto.
-       * sim-alu.h: Replace sim-xcat.h with symcat.h.
-       * sim-n-bits.h: Ditto.
-       * sim-n-core.h: Ditto.
-       * sim-n-endian.h: Ditto.
-
-Mon Feb 23 13:19:58 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * syscall.c (cb_syscall): Handle short reads, and EOF.
-
-Tue Feb 24 00:29:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.c (print_data): case trace_fmt_fp missing break.  Use
-       sim_fpu to safely print fp_word values.
-       (print_data): Add trace_fmt_bool and trace_fmt_addr.
-       (trace_result_bool1, trace_result_addr1): New functions.
-       (trace_input_bool1, trace_input_addr1): New functions.
-
-       * sim-trace.h (TRACE_FPU_*): Define.
-
-Mon Feb 23 13:24:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
-       (sim_fpu_fpto, sim_fpu_tofp): Define.
-
-Fri Feb 20 18:08:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (sim_fpu_cmp): New function.
-
-Wed Feb 18 16:29:21 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-utils.h (sim_disassemble_insn): Use CGEN_INSN_BITSIZE
-       instead of abuf->length.
-       * sim-trace.c (trace_options): Have -t only trace a few useful things.
-       (set_trace_option_mask): Renamed from set_trace_options.
-       (set_trace_option): New function.
-       (trace_option_handler): Update calls to set_trace_option{,_mask}.
-       * sim-trace.h (TRACE_USEFUL_MASK): New macro.
-
-Wed Feb 18 12:42:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-basics.h: Declare struct _sim_fpu.
-
-Tue Feb 17 16:27:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.h (TRACE_ALU_INPUT*, TRACE_ALU_RESULT): Define.
-       (trace_prefix, trace_input*, trace_result*): Declare.
-       (trace_one_insn): Change declaration, assume trace_prefix called.
-       (trace_generic): Like trace_one_insn.
-       (TRACE_ALU_IDX, TRACE_*_IDX): Change #define's to enum.
-       (TRACE_alu, TRACE_[a-z]*): Update.
-
-       * sim-trace.c (trace_prefix, trace_input*, trace_result*,
-       trace_insn, save_data, trace_idx_to_str, print_data): New
-       functions.
-       (trace_one_insn): Rewrite.
-       (trace_generic): New function.
-
-Tue Feb 17 17:27:30 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * aclocal.m4 (USE_MAINTAINER_MODE): New variable.
-
-       * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
-       (SEMANTIC_FN): Rewrite declaration.
-       (DECODE): Update type of semantic_fast member.
-       ({EX,SEM}_FN_NAME): Have only one version.
-       * sim-base.h (sim_state_base): Delete conditionals surrounding
-       member scache_size.
-
-Tue Feb 10 18:31:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-load.c (sim_load_file): Print LMA/VMA according to value
-       used.
-
-Tue Feb 10 14:56:23 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * sim-core.c: Add missing prototypes for WITH_DEVICES.
-       Add missing parameters to device_io calls.
-       * sim-core.h: Add missing parameters to device_io calls.
-
-Mon Feb  9 14:48:37 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cgen-sim.h (DECODE): Always use switch for `read' for now.
-       (PAREXEC): Renamed from PARALLEL_EXEC.  All uses updated.
-       (SEMANTIC{,_CACHE}_FN): Fix return type.
-       * genmloop.sh (@cpu@_engine_run): Delete `current_state'.
-       (engine_resume): Likewise.  Make `engine' volatile.  Save copy
-       of cpu pointer in volatile object.  Initialize read switch if
-       -parallel.
-
-Thu Feb  5 13:27:04 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
-       (SEM_INSN): New macro.
-
-Tue Feb  3 16:31:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-run.c (sim_engine_run): Assume IMEM is 32 bit.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sun Feb  1 16:16:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h (fp_word): New type, define according to
-       WITH_TARGET_FLOATING_POINT_BITSIZE.
-
-       * aclocal.m4 (default_sim_floating_point_bitsize): Add
-       configuration of size of floating point registers.
-
-Sun Feb  1 14:02:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-profile.c (profile_print): Only print CPU <N> if other
-       output is going to appear.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:03:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-types.h (address_word): Typedef according to
-       WITH_TARGET_ADDRESS_BITSIZE.
-       (signed_cell, unsigned_cell, natural_cell): Ditto using
-       WITH_TARGET_CELL_BITSIZE.
-
-       * sim-config.h (WITH_TARGET_ADDRESS_BITSIZE): Define.
-       (WITH_TARGET_CELL_BITSIZE): Define.
-       (WITH_HOST_WORD_BITSIZE): Delete.
-
-       * sim-config.c (print_sim_config): Update.
-
-       * aclocal.m4 (SIM_AC_OPTION_BITSIZE): Add support for
-       configuration of address and OpenFirmware cell sizes.
-
-Fri Jan 30 09:36:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-engine.h (sim_engine_run): Add argument nr_cpus.
-       * sim-run.c (sim_engine_run): Update.
-
-       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use SET_CPU_CIA instead of
-       CPU_CIA.
-       * sim-run.c (sim_engine_run): Ditto.
-
-       * sim-resume.c (sim_resume): Obtain nr_cpus from sim_engine.
-       (sim_resume): Pass nr_cpus to sim_engine_run.
-
-       * sim-engine.h (struct _sim_engine): Add member nr_cpus.
-
-       * sim-engine.c (sim_engine_init): Hardwire nr_cpus to
-       MAX_NR_PROCESSORS.
-       (sim_engine_nr_cpus) sim-engine.c, sim-engine.h: New function
-
-Fri Jan 23 14:20:54 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (stamp-tvals): New rule.
-       (targ-vals.h,targ-map.c): Depend on it.
-       (clean): Remove stamp-tvals.
-
-Tue Jan 20 21:35:13 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-utils.c (sim_state_alloc): #if 0 variable that is only used
-       in code also #if 0'ed.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * aclocal.m4: Recognize --enable-maintainer-mode.
-
-Mon Jan 19 12:45:45 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cgen-scache.h: Deleted.
-       * Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.
-       * cgen-scache.c: Only compile contents if WITH_SCACHE.
-       (scache_init): Use runtime computed size of SCACHE.
-       (scache_flush): Likewise.
-       * cgen-mem.h (GETIMEMU[QHSD]I): Declare.
-       ([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare.
-       * cgen-sim.h: Scache support moved here.
-       (PC): Redo definition.
-       (ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls.
-       (DECODE): Add parallel execution support.
-       Only include semantic label members if using switch.
-       (SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support.
-       (CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf.
-       (IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF,
-       SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here
-       from cgen-types.h.
-       (engine_{stop,run,resume,halt,signal}): Delete decls.
-       * cgen-types.h (CGEN_{XCAT3,CAT3}): Delete.
-       (argbuf,scache): Delete forward decls.
-       (STATE): Delete decl.
-       * cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h.
-       Include cgen-mem.h, cgen-ops.h.
-       (engine_halt,engine_signal): Delete.
-       ({ex,exc,sem,semc}_illegal): Delete.
-       (sim_disassemble_insn): Result of extract fn is in bits.
-       * genmloop.sh: Rewrite.
-
-       * cgen-trace.c (trace_insn): Set printed_result_p=0 if not tracing
-       line numbers.
-
-       * sim-base.h (sim_state_base): Delete member `model'.
-       (sim_cpu_base): Add member `model'.
-       * sim-model.h (IMP_PROPERTIES): New type.
-       (MACH): New members imp_props, models.
-       (models): Delete decl.
-       * sim-model.c (set_model): Update.
-       * sim-profile.c (profile_print_model): Update.
-
-       * sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.
-
-Fri Jan 16 12:33:09 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * cgen-trace.c (trace_insn): Call CGEN_INSN_MNEMONIC() rather than
-       CGEN_INSN_SYNTAX().
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Dec 15 23:16:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (AR): Check for sigaction.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Make-common.in (sim-core.o): Depend on $(sim_main_headers).
-
-       * sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
-       * sim-config.c (sim_config): Replace WITH_DEVICES with
-       WITH_TREE_PROPERTIES.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Dec  3 17:56:02 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Make-common.in (SIM_ENVIRONMENT): New variable.
-       (CONFIG_CFLAGS): Add it.
-       * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
-       --enable-sim-environment option.
-       * configure: Regenerated.
-       * sim-config.h (environment support): Rewrite.
-       * sim-config.c (current_environment): Define as enum, unconditionally.
-       (current_alignment): Define unconditionally.
-       (config_environment_to_a): Update.
-       (config_alignment_to_a): Fix type of argument.  Define unconditionally.
-       (sim_config): Handle environment and alignment determination
-       unconditionally.  Delete sanity checks of current_environment,
-       unnecessary.
-       (print_sim_config): Update.
-       * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
-       (standard_options): Add --environment.
-       (standard_option_handler): Likewise.
-
-Fri Nov 28 12:21:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-alu.h: Add notes on carry vs borrow for subtraction.
-       (ALU{,8,16,32,64}ADD): Redefine ADD macro as add overflowing.
-       (ALU{,8,16,32,64}ADDC): Define - add carrying.
-       (ALU{,8,16,32,64}SUB): Redefine SUB macro as subtract overflowing.
-       (ALU{,8,16,32,64}SUBB): Define - subtract borrowing.
-       (ALU{,8,16,32,64}SUBC): Define - tract carrying.
-       (ALU{,8,16,32,64}ADD_CA, ALU{,8,16,32,64}ADDC_C): Replace single
-       argument ADD_CA macro with two argument ADDC_C - add carrying with
-       carry in.
-       (ALU{,8,16,32,64}SUB_CA, ALU{,8,16,32,64}SUBC_X): Replace single
-       argument SUB_CA macro with two argument SUBC_X - subtract
-       carrying, extended.
-       (ALU{,8,16,32,64}SUBB_B): Define - subtract borrowing with
-       borrow-in.
-       (ALU{,8,16,32,64}NEGC, ALU{,8,16,32,64}NEGB): Define.
-
-Sun Nov 30 17:40:57 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-io.c (sim_io_{syscalls,getstring}): Delete.  No longer used.
-       * sim-io.h (sim_io_syscalls): Delete.
-
-Fri Nov 28 20:10:09 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * syscall.c (cb_syscall): Add missing else, so write to stdout
-       isn't doubled.
-
-       * sim-alu.h (ALU{,8,16,32,64}_SET_CARRY): Provide macros to import
-       the carry bit from the CPU's psw.
-
-Fri Nov 28 11:15:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * gennltvals.sh: Redo syscall support.
-       * nltvals.def: Regenerated.
-
-Wed Nov 26 16:49:38 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * syscall.c (cb_syscall): If writing to stdout or stderr, flush
-       the stream immediately.
-
-Wed Nov 26 12:32:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-io.c (sim_io_getstring): Delete unused len2.
-       (sim_io_syscalls): Ditto for sys_errno.
-
-Wed Nov 26 11:18:40 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
-
-       * Make-common.in (run.o): Depend on remote-sim.h.
-       (nrun.o,sim-hload.o,sim-hrw.o): Likewise.
-       (sim-io.o,sim-reason.o,sim-resume.o): Likewise.
-
-Tue Nov 25 20:12:46 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-io.c (sim_io_syscalls): Disable lseek.
-
-Tue Nov 25 00:12:38 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * gennltvals.sh: Generate syscall values for d30v.
-
-       * gennltvals.sh: Use libgloss/syscall.h for sparc.
-       * nltvals.def: Regenerate.
-
-       * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
-       (os_fstat): Likewise.  Validate fd argument.
-       (cb_host_to_target_stat): Delete big_p arg.  If HS arg is NULL,
-       just compute target stat struct length.
-       * syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
-       (ENOSYS,ENAMETOOLONG): Provide definitions if missing.
-       (get_string): Return host errno values so they can be properly
-       translated later.
-       (cb_syscall): Likewise.
-       (cb_syscall, cases open,unlink): Use get_path instead of get_string.
-       (cb_syscall, case read): Use read_stdin for file descriptor 0.
-       (cb_syscall, case write): Use write_stderr for file descriptor 2.
-       (cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
-       (get_path): New function.
-
-Mon Nov 24 18:56:07 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-io.c (sim_io_syscalls): New function to provide system call
-       emulation.  Provide exit, open, close, read, write, lseek, and
-       unlink.
-       (sim_io_getstring): New function to return a string from a
-       simulated memory location.
-
-       * sim-io.h (sim_io_syscalls): Add declaration.
-
-Mon Nov 24 12:09:59 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-core.c (sim_core_signal): Fix spelling error in message.
-
-       * sim-hrw.c (sim_read): Use read map, not write map.
-
-       * Make-common.in (all): Add .gdbinit.
-       * gdbinit.in: Add dump command.
-
-       * sim-model.c (model_options): Use '\0' for `shortopt'.
-
-       * sim-trace.c (trace_option_handler): Set state trace file
-       for --trace-file in addition to cpu's values.
-       (trace_vprintf): If cpu == NULL, try state's trace file.
-       (trace_options): Reorganize table, reword some descriptions.
-
-Sun Nov 23 10:57:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (sim_fpu_abs, sim_fpu_neg, sim_fpu_inv), sim-fpu.h:
-       New functions.
-
-Sat Nov 22 19:16:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-reason.c (sim_stop_reason): For sim_signalled, return the
-       signal untranslated, document problem with this.
-
-       * nrun.c (main): Check for a prog name of `*step'.  If present,
-       step the simulator instead of allowing it to run free.
-
-       * sim-signal.c (SIGQUIT): Define on _MSC_VER hosts.
-
-       * Make-common.in (sim_main_headers): Add sim-signal.h.
-
-Fri Nov 21 09:32:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
-
-Thu Nov 20 20:35:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-signal.h: Start simulator signals at 64 so that host signal
-       numbers can be detected and reported.
-
-       * sim-signal.h (SIM_SIGFPE), sim-signal.h: Add signal.
-
-Wed Nov 19 12:02:41 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * callback.c (cb_host_to_target_stat): Fix return values.
-
-       * cgen-sim.h (enum_signal_type): Delete.
-       (engine_signal): Update prototype.
-       * cgen-utils.c: Don't include <signal.h>.
-       (sim_signal_to_host): Delete, lives in sim-signal.c now.
-       (engine_signal): Update.
-
-       * sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
-       (sim_state_free): Call SIM_STATE_FREE if defined.
-
-       * sim-module.c (sim_module_install): Don't leave any modules
-       installed if one fails to install.
-
-Wed Nov 19 13:25:48 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-options.c: Don't include ../libiberty/alloca-conf.h any
-       more, since alloca is not used in this file.
-
-       * sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to
-       correctly set the carry and overflow bits for those types.
-       (ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along
-       with carry, so carry is correct after doing both adds.
-       (ALU*): Space out '\' to make it easier to read.
-
-Tue Nov 18 15:53:45 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-core.c (sim_core_signal): Use sim_stopped instead of
-       sim_signalled.
-
-       * sim-signal.c, sim-signal.h: New files.
-       * Make-common.in (sim-signal.o): Add rule for.
-       (SIM_NEW_COMMON_OBJS): Add sim-signal.o.
-       * sim-abort.c: Don't include <signal.h>.
-       * sim-basics.h: #include "sim-signal.h".
-       * sim-break.c: Don't include <signal.h>.
-       (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
-       * sim-core.c: Don't include <signal.h>.
-       (SIGBUS): Delete definition.
-       (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
-       * sim-engine.c: Don't include <signal.h>.
-       (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
-       * sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
-       * sim-resume.c: Don't include <signal.h>.
-       (SIGTRAP): Delete definition.
-       (has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
-       * sim-stop.c: Don't include <signal.h>.
-       (control_c_simulation): Replace SIGINT with SIM_SIGINT.
-       * sim-watch.c: Don't include <signal.h>.
-       (handle_watchpoint): Replace SIGINT with SIM_SIGINT.
-
-       * Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
-
-       * sim-base.h (CIA_ADDR): Provide default definition.
-       * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
-       * sim-break.c (sim_handle_breakpoint): Likewise.
-
-Mon Nov 17 14:15:31 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * Make-common.in (srccom): New variable.
-
-       * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
-       (LIB_OBJS): Add syscall.o.
-       (gentmap): Pass $(NL_TARGET) to $(CC).
-       (syscall.o): Add rule for.
-       (sim_main_headers): Add $(SIM_EXTRA_DEPS).
-       (sim-bits.o): Depend on $(sim-n-bits_h).
-       (sim-load.o): Depend on callback.h.
-
-       * Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
-       cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
-       * cgen-mem.h, cgen-ops.h: New files.
-
-       * aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
-
-       * Makefile.in (nltvals.def): Depend on gennltvals.sh.
-       Rewrite build rule.
-       * callback.c: #include string.h or strings.h.
-       #include sys/types.h and sys/stat.h.
-       (cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
-       (os_get_errno,os_open): Update.
-       (os_stat,os_fstat): New functions.
-       (os_init): Initialize syscall_map, errno_map, open_map.
-       (default_callback): Add entries for os_stat, os_fstat, syscall_map,
-       errno_map, open_map, signal_map, stat_map.
-       (cb_read_target_syscall_maps): New function.
-       (cb_target_to_host_syscall): New function.
-       (cb_host_to_target_errno): Renamed from host_to_target_errno.
-       (cb_target_to_host_open): Renamed from target_to_host_open.
-       (store): New function.
-       (cb_host_to_target_stat): New function.
-       * syscall.c: New file.
-       * gentmap.c (sys_tdefs): New global.
-       (gen_targ_vals_h): Output target syscall numbers.
-       (gen_targ_map_c): Update.  Output target syscall translation map.
-       * gentvals.sh: New first argument `target'.  Preface table with
-       #ifdef NL_TARGET_$target if non-null target passed.
-       * gennltvals.sh: New file.
-       * nltvals.def: Regenerated.
-
-Fri Nov 14 11:33:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-n-core.h (sim_core_read_unaligned_N): Return static
-       sim_core_dummy_M.
-       (sim_core_dummy_M): Declare.
-
-Wed Nov 12 18:16:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_signal): Print the address of the
-       instruction.
-
-Thu Nov 13 11:49:41 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-base.h (sim_state_base): Move `magic' to end of struct.
-
-       * sim-base.h (sim_state_base): Add member trace_data.
-       (STATE_TRACE_DATA): New macro.
-       * sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros.
-       ({WITH_,}TRACE_DEBUG_P): New macros.
-       (STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros.
-       (_sim_cpu): Delete forward reference.
-       (debug_printf): Update.
-       * sim-trace.c (OPTION_TRACE_DEBUG): Define.
-       (trace_options): Add --trace-debug.
-       (set_trace_options): Handle it.
-       (trace_option_handler): Likewise.
-       (trace_install): Init state trace_data struct.
-       (trace_uninstall): Close state trace file.
-       * sim-events.c (ETRACE): Only print source file and line number if
-       --trace-debug.
-       * sim-n-core.h (sim_core_trace_M): Likewise.
-
-       * sim-core.c (sim_core_signal): Add missing "\n" in message.
-
-1997-11-13  Felix Lee  <flee@cygnus.com>
-
-       * sim-n-core.h (sim_core_read_unaligned_N): illegal empty
-       initializer.
-       * sim-types.h (unsigned128,signed128): fix typo for MSVC.
-
-Wed Nov 12 12:18:08 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo.
-
-       * Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer
-       built this way.
-       (sim-config.o): Remove non-existent $(sim-nconfig_h) dependency.
-       (clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in
-       source tree.
-
-Tue Nov 11 13:28:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (sim_events_process): Re-compute the time -
-       update_time_from_event - as each event is processed. Reverses
-       previous change.
-
-Fri Nov  7 00:37:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
-
-Fri Nov  7 00:37:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (sim_events_process): Delete redundant call to
-       update_time_from_event.
-       (sim_events_slip): Always decrement time_from_event.
-       (sim_events_tick, sim_events_deschedule, update_time_from_event):
-       Delete assertion that time_from_event >=0 when work in queue, no
-       longer applicable.
-
-Thu Nov  6 12:06:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum.
-       (standard_option_handler): Update.
-
-       * sim-options.h: Clarify documentation.
-       (OPTION_LONG_ONLY_P): Delete definition.
-       (OPTION_VALID_P): Define.
-
-       * sim-options.c (sim_print_help): Allow short only options.
-       (sim_parse_args): Ditto.
-       (sim_args_command): Skip short only options.
-       (sim_parse_args): Allocate space for NUM_OPTS not just 256. Make
-       separate entries for short and long options in the HANDLERS and
-       ORIG_VAL tables.
-       (sim_parse_args): Disable argument permutation.
-
-Wed Nov  5 13:40:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N):
-       Add argument M, size of data type.
-       (sim_core_read_misaligned_3, sim_core_write_misaligned_3):
-       Declare, ditto for 5, 6 & 7 byte transfers.
-       (sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define
-       as aligned variant.
-
-       * sim-n-core.h (sim_core_trace_M): Rename from
-       sim_core_trace_N. Add nr_bytes argument. Replace transfer argument
-       with transfer type. Print transfer direction.  Handle 1 and 2 byte
-       transfers.
-       (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Trace
-       unaligned accesses.
-       (unsigned_M, T2H_M, H2T_M): Rename from unsigned_N, T2H_N, H2T_N.
-       Update all functions.
-
-       * sim-core.c: Generate functions starting with 16 not 1.
-       (sim_core_read_unaligned_3): Generate. Ditto for 3 byte write and
-       all 5, 6 & 7 byte transfers.
-
-       * sim-n-core.h (sim_core_read_misaligned_N,
-       sim_core_write_misaligned_N): Implement.
-
-Mon Nov  3 15:03:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-endian.h (U16_8): Implement
-
-       * sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions
-
-       * sim-endian.h (VL8_16, VH8_16): Implement.
-
-       * sim-memopt.c (memory_option_handler): Typecast 64bit value to
-       long in printf.
-       (memory_option_handler): Only zalloc modulo bytes when non-zero.
-       (memory_option_handler): Skip comma in alias address list
-
-Fri Oct 31 13:03:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-memopt.c (do_memopt_add, do_memopt_delete): Add level and
-       space params.
-       (parse_size, parse_addr): New functions
-       (memory_option_handler, memory_options): Parse address & size
-       using new functions. Pass level, space, modulo to do_memopt_add &
-       do_memopt_del.
-
-       * sim-memopt.h (struct _sim_memopt): Add level & space fields.
-
-       * sim-core.h (sim_core_arrach, sim_core_detach): Replace
-       `attach_type attach' argument with `unsigned level' argument.
-       Document.
-
-       * sim-core.c (new_sim_core_mapping, sim_core_map_attach,
-       sim_core_attach): Replace argument attach with level.  Update
-       verification of arguments.
-       (sim_core_map_detach, sim_core_detach): Replace argument attach
-       with level.
-
-       * sim-basics.h (enum _attach_type): Delete.
-
-Thu Oct 30 13:45:00 1997  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-core.h (sim_core_write_8): Define.
-
-Tue Oct 28 12:29:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-bits.h: Document ROTn macro.
-
-       * sim-endian.h (H2T): Handle 16 byte variables.
-
-       * sim-n-core.h (sim_core_read_unaligned_N): Return a dummy when an
-       error.
-
-       * sim-core.c: Do not generate sim_core_*_word.
-
-       * sim-n-core.h (sim_core_trace_N): Add line_nr argument.
-       (sim_core_write_aligned_N, sim_core_read_aligned_N): Update.
-
-       * sim-core.h (sim_core_read_unaligned_word,
-       sim_core_read_aligned_word, sim_core_read_word,
-       sim_core_write_unaligned_word, sim_core_write_aligned_word,
-       sim_core_write_word): Change to macros that map onto sim_core_*_N.
-
-Mon Oct 27 11:25:10 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-n-endian.h: Add TAGS entrys for 16 byte versions.
-
-       * sim-endian.h: Disable 16 byte support.
-
-Mon Oct 27 12:00:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-endian.c (_SWAP_16): Define.  Generate 126 bit swap code.
-
-       * sim-n-core.h (sim_core_trace_N): New function.
-       (sim_core_read_aligned_N, sim_core_write_aligned_N): Use,
-       (sim_core_read_unaligned_N): Do not retyrn bogus value wden error.
-
-       * sim-endian.h:  Add 128 bit variant.
-
-       * sim-core.h, sim-core.c: Add 128 bit variant.
-
-       * sim-types.h: Add signed128 and unsigned128 types using a struct.
-
-Fri Oct 24 11:33:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (sim_events_process): Clear events->work_pending.
-       (sim_events_tickn, sim_events_tick): Accumulate, instead of
-       setting, nr_ticks_to_process.
-       (sim_events_preprocess): Allow nr_ticks_to_process to be non-zero
-       when the event queue isn't next.
-
-       * sim-events.h, sim-events.c (sim_events_slip): New function.
-
-Wed Oct 22 14:18:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-hload.c (sim_load): Pass lma_p==0 and do_load=sim_load.
-
-       * sim-utils.h, sim-load.c (sim_load_file): Add lma_p and do_load
-       arguments.
-
-Tue Oct 21 18:37:57 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * nrun.c (main): Remove useless test of name != NULL.
-       Exit if bfd_openr fails.  Call bfd_check_format after bfd_openr.
-
-Tue Oct 21 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (EXPMAX): Type is unsigned.
-       (MIN_INT, MAX_INT): Type is signed64.
-       (i2fpu): Type of val is signed64.
-
-Tue Oct 21 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-profile.h (PROFILE_PC_BUCKET_SIZE): Treat a shift of zero as
-       a bucket size of zero.
-
-       * sim-profile.c (OPTION_PROFILE_PC_GRANULARITY,
-       OPTION_PROFILE_PC): Define.
-       (profile_option_handler): Add support for --profile-pc and
-       --profile-pc-granularity options.
-       (profile_pc_init): When possible, compute nr buckets from bucket
-       size.
-
-       * sim-profile.c (profile_pc_init): Align the profile-pc end
-       address with the profile-pc bucket size.
-
-       * sim-profile.h (PROFILE_PC_NR_BUCKETS): Rename PROFILE_PC_SIZE to
-       something less ambiguous.
-       (PROFILE_PC_BUCKET_SIZE): Ditto for PROFILE_PC_SAMPLE_SIZE.
-
-       * sim-profile.c (profile_pc_cleanup): New function. Move
-       profile_pc_uninstall code to here.
-       (profile_pc_uninstall): Call.
-       (profile_pc_init): Call.
-
-Mon Oct 20 17:23:58 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-profile.c (profile_print_pc): Dump pc profile to dmon.out
-       file using BSD gprof format.
-
-       * sim-bits.h (LSBIT, MSBIT, BIT): Force result to type
-       unsigned_word.
-       (LSBIT8, LSBIT16, LSBIT32, LSBIT64, MSBIT8, MSBIT16, MSBIT32,
-       MSBIT64): Force result to unsignedN.
-
-Thu Oct 16 11:38:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-alu.h (ALU16_BEGIN, ALU32_BEGIN, ALU64_BEGIN): Drop opening
-       brace from macro.
-       (ALU8_BEGIN, ALU8_SET, ALU8_ADD, ALU8_SUB, ALU8_NEGATE): Define.
-       (ALU16_ADD, ALU16_SUB, ALU16_NEGATE): Simplify arrithmetic.
-       (ALU32_ADD, ALU32_SUB, ALU32_NEGATE): Simplify arrithmetic.
-       (ALU64_ADD, ALU64_SUB, ALU64_NEGATE): Simplify arrithmetic.
-
-Wed Oct 15 09:24:19 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.h (struct _sim_core_mapping): Change free_buffer to
-       type void*.
-
-       * sim-core.c (sim_core_uninstall, new_sim_core_mapping,
-       sim_core_map_attach, sim_core_map_detach): Change free_buffer to
-       type void*.
-       (sim_core_attach): Rename buffer_freed to free_buffer, type
-       void*. Ensure that allocated buffer is alligned according to
-       region's address.
-
-Mon Oct 13 11:34:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-alu.h (ALU64_HAD_OVERFLOW): Define.
-       (ALU64_SUB): Define.
-
-       * Make-common.in (all): Build SIM_EXTRA_ALL first.
-       (.gdbinit): Remove dependencies, generate once per build.
-
-Tue Oct 14 19:20:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-n-core.h (sim_core_read_aligned_N,
-       sim_core_write_aligned_N): Make xaddr param type address_word not
-       unsigned_word.
-
-Fri Oct  3 09:49:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.h, sim-fpu.c: Rewrite.  Change sim_fpu object to an
-       unpacked floating point struct.  Pass sim_fpu object by reference.
-       Add preliminary support for rounding modes.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Oct  2 19:43:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not
-       WITH_TARGET_BITSIZE.
-
-Thu Sep 25 23:20:20 1997  Felix Lee  <flee@yin.cygnus.com>
-
-       * sim-profile.c (profile_print_core): label needs empty statement.
-
-Thu Sep 25 11:20:47 1997  Stu Grossman  <grossman@babylon-5.cygnus.com>
-
-       * sim-break.c (sim_set_breakpoint sim_clear_breakpoint):  Use ZALLOC
-       and zfree instead of xmalloc and free.  Prevents warnings.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:23:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Make-common.in (SIM_BITSIZE): Assign from configured value.
-       (CONFIG_CFLAGS): Add SIM_BITSIZE.
-
-       * aclocal.m4 (--enable-sim-bitsize): Developer option for
-       controling the bitsize/msb of the target.
-
-Wed Sep 24 17:41:40 1997  Stu Grossman  <grossman@babylon-5.cygnus.com>
-
-       * Make-common.in:  New files sim-break.c, sim-break.h.
-       * sim-base.h:  Add point to breakpoint list to sim_state_base.
-       * sim-break.c sim-break.h:  New modules that implement intrinsic
-       breakpoint support.
-       * sim-module.c:  Add breakpoint module.
-
-Tue Sep 23 00:26:39 1997  Felix Lee  <flee@yin.cygnus.com>
-
-       * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
-       an hour.
-       * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on
-       if (0) { 1 % 0; }
-       * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1.
-       (SIGBUS) define for Windows.
-       * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC.
-       * sim-resume.c: define SIGTRAP for windows.
-       * sim-xcat.h: use token pasting if ALMOST_STDC.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign
-       configured values.
-       (CONFIG_CFLAGS): Add same.
-
-Mon Sep 22 17:20:27 1997  Felix Lee  <flee@cygnus.com>
-
-       * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
-       (SIGNED32): use ##i32.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 10:07:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-endian): Simplify logic determining [default]
-       endian of target.
-
-       * Make-common.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
-       SIM_HOSTENDIAN, SIM_RESERVED_BITS, SIM_ASSERT, SIM_FLOAT,
-       SIM_HARDWARE, SIM_INLINE, SIM_PACKAGES, SIM_REGPARM, SIM_SMP,
-       SIM_STDCALL, SIM_XOR_ENDIAN): Assign configured values.
-       (CONFIG_CFLAGS): Add same.
-
-       * aclocal.m4: Perform AC_SUBST on optional options.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment.
-
-       * sim-options.c (standard_option_handler): Typo in warning message.
-
-       * sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL.
-
-       * sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any
-       insn count.  Make count conditional on there being a valid
-       INSN_NAME.
-       (profile_pc_init): Make default PC profile frequency an arbitrary
-       256.
-
-       * sim-base.h: Ditto.
-
-       * sim-profile.h (WITH_PROFILE_MODEL_P): Only enable modeling when
-       SIM_HAVE_MODEL.
-
-       * sim-model.h (struct MACH): Depreciate, to be replaced by bfd
-       archure struct.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim_alignment): Simplify logic for selecting the
-       configured alignment.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:26:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.c (sim_config): Check for default alignment.
-
-       * sim-options.c (standard_option_handler): Add alignment option.
-
-       * aclocal.m4 (sim_alignment): Allow configuration of hardwired and
-       default alignment requirements on memory accesses.
-
-Fri Sep 19 11:51:35 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * sim-load.c (sim_load_file): Return failure if the executable
-       had no loadable sections.
-
-Wed Sep 17 13:33:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
-       trace output.
-
-       * sim-core.c (sim_core_signal): When bad access halt simulator
-       SIGSEGV / SIGBUS instead of aborting.
-       (signal.h): Include.
-
-       * sim-watch.c (sim_watchpoint_install): Handler for watchpoint
-       options was missing.
-
-       * sim-bits.h (MOVED): Define
-
-Wed Sep 17 10:33:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-alu.h (ALU32_HAD_OVERFLOW): Pacify GCC, Use MSBIT instead of
-       BIT.
-
-       * sim-bits.h (LSBIT, MSBIT): Check for overflow of shift value.
-
-       * sim-bits.c: Add 8 bit versions of bit macros.
-
-       * sim-bits.h: Ditto.
-
-Tue Sep 16 16:15:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-bits.c (LSSEXT, MSSEXT): Replace SEXT.
-       (LSINSERTED, MSINSERTED): Ditto for INSERTED.
-
-       * sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn.
-       (LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn.
-
-       * sim-bits.h (SEXT*): Define as MSEXT/LSEXT.
-       (INSERTED*): Ditto for LSINSERTED/MSINSERTED.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
-       configure.in: Output to cconfig.h instead of config.h.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 15:39:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
-       BFD if known.
-
-Tue Sep  9 21:46:46 1997  Felix Lee  <flee@cygnus.com>
-
-       * callback.c (os_write): divert stdout and stderr to their
-       respective hooks.
-
-Thu Sep 11 10:08:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-profile.c (profile_print_speed): Call
-       sim_events_elapsed_time instead of PROFILE_EXEC_TIME for moment.
-
-       * sim-events.c (sim_events_elapsed_time): New function return nr
-       host MS consumed by the simulator.
-       (sim_watch_valid): Use.
-
-       * sim-module.c (modules): Install sim_events very very early.
-
-       * sim-profile.c (profile_print): Call profile_print_pc.
-       (print_bar):
-       (profile_pc_init): New function, set up processor for PC
-       profiling.
-       (profile_print_pc): New function, print a PC profile.
-       (profile_pc_event): New function, sample PC.
-
-       * sim-profile.h (PROFILE_PC_COUNT, PROFILE_PC_START,
-       PROFILE_PC_END, PROFILE_PC_SHIFT, PROFILE_PC_SAMPLE_SIZE): Add to
-       profile struct.
-
-       * sim-options.c (sim_print_help): Pacify GCC.
-
-       * sim-n-core.h (sim_core_read_aligned_N,
-       sim_core_write_aligned_N): Add un-conditional profile call.
-       (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Add
-       profile call when aligned read/write isn't used.
-
-       * sim-base.h: Include sim-profile, sim-model after sim-core &
-       sim-events allow sim-core to define useful values.
-
-       * sim-profile.c (OPTION_PROFILE_CORE): Define.
-       (profile_option_handler, profile_options): Add support for
-       --profile-core option.
-       (print_bar): Include when core profiling.
-       (profile_print_core): New function, print core profile.
-
-       * sim-config.c (print_sim_config): Print profile status.
-
-       * sim-profile.h (PROFILE_NEXT_IDX, PROFILE_core,
-       WITH_PROFILE_PC_P): Define.
-       (PROFILE_CORE_COUNT): Count each core-map/size separatly.
-       (PROFILE_COUNT_CORE): Define.
-
-Thu Sep 11 08:44:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-watch.c (handle_watchpoint): Pass a char** index into the
-       interrupt_names array as the data.
-       (sim-watch.h): Document.
-
-Wed Sep 10 16:15:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.c (sim_print_help): When the doc string is to long
-       word wrap it.
-
-       * sim-watch.c (sim_watchpoint_install): Use option.doc_name so
-       that only the first few the watch options are listed.  Generate
-       meanginful usage messages.
-
-       * sim-options.h (struct OPTION): Clarify use of doc_name field
-
-Wed Sep 10 13:23:24 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.c (OPTION_ARCHITECTURE_INFO): New option.
-       (standard_option_handler): Handle --architecture-info.
-
-Tue Sep  9 21:46:46 1997  Felix Lee  <flee@cygnus.com>
-
-       * sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
-       illegal zero-sized array.
-       * sim-core.c (sim_core_xor_read_buffer): same.
-
-Tue Sep  9 11:20:35 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * nltvals.def: Regenerate.
-
-Tue Sep  9 02:10:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (DP_FRACHIGH2): Define LL using SIGNED64.
-
-Mon Sep  8 12:22:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-bits.c (MASKED): Delete.
-       (EXTRACTED): Delete.
-       (LSEXTRACTED, MSEXTRACTED): New functions.
-
-       * sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED.
-       (MSMASKEDn, LSMASKEDn): Add last argument.
-       (MSMASK*): Ditto.
-
-       * sim-bits.h (EXTEND8, EXTEND16): Define.
-       (EXTRACTED64): Define as 64 bit extract, not 32 bit.
-
-       * sim-run.c (sim_engine_run): Use CPU_CIA macro.
-
-       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use CPU_CIA to get at
-       current instruction address.
-
-       * sim-inline.h (*_ENGINE): Define.
-
-Fri Sep  5 08:39:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_attach): Fix checks of modulo/mask.
-
-       * sim-watch.c (delete_watchpoint): Delete by ident and type.
-       (watch_option_handler): Call delete_watchpoint with ident or type.
-       (sim_watchpoint_install): Create interrupt specific watchpoint
-       commands on the fly.
-       (do_watchpoint_create): New function, create a watch point using
-       type/int-nr info encoded in the option nr.
-       (do_watchpoint_info): New function.  List active watchpoints.
-
-       * sim-watch.h: Change data structure to a list.
-
-       * sim-memopt.c (memory_option_handler): Require explicit "all"
-       before deleting all memory regions.
-
-       * sim-utils.c (sim_do_commandf): New function, printf version of
-       sim_do_command.
-
-       * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32.
-
-       * sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume
-       bit endianness.
-       (SIGNED64, UNSIGNED64): Delete.
-       (ALU64_ADD): Don't rely on bit endianness.
-       (ALU64_BEGIN): Define.
-
-       * sim-n-bits.h (MSEXTRACTEDn, LSEXTRACTED): New functions.
-       (EXTRACTEDn): Delete, define as either LSEXTRACTED or MSEXTRACTED.
-
-       * sim-types.h (SIGNED64, UNSIGNED64): New macros, attach relevant
-       suffix - u64, LL - to 64 bit constants.
-
-Thu Sep  4 09:27:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.c (sim_config): Add assert for SIM_MAGIC_NUMBER.
-
-       * sim-utils.h (NZALLOC): Define - zalloc * N.
-
-       * sim-hrw.c (sim_read, sim_write): New file.  Provide generic
-       implementation of read/write functions.
-
-       * Make-common.in (sim-hrw.o): New target.
-
-       * sim-base.h (STATE_MEMOPT_P): Delete, simulators _always_ add
-       memory.
-
-       * sim-memopt.c (memory_option_handler): Implement memory-size
-       command. Implement memory-alias command.  Let memory-delete delete
-       all memory regions.
-       (add_memopt): New function.  Add a memory region.
-       (do_memopt_delete): New function. Delete a memory region.
-
-       * sim-utils.c (sim_elapsed_time_get): Never return zero.
-
-       * sim-core.c (sim_core_detach): New function.
-       (sim_core_map_detach): New function. Perform the actual detach.
-       (sim_core_init): Move initialization code from here.
-       (sim_core_install): To here.
-       (sim_core_uninstall): And here.
-
-       * sim-module.c: Add memopt module.
-
-       * sim-base.h (STATE_MEMOPT, STATE_MEMOPT_P): Add memopt to
-       simulator base type.
-
-       * Make-common.in (sim_main_headers): Add sim-memopt.h
-       (sim-memopt.o): New target.
-
-       * sim-core.c (sim_core_install): Add core_options to the option
-       table.
-
-       * sim-watch.c (watch_options): Make --delete-watch a synonym for
-       --watch-delete.
-
-       * sim-config.h (WITH_MODULO_MEMORY): Define as 0.  Update
-       comments.
-
-       * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type
-       address_word, add mask member.
-
-       * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type
-       address_word, allow for 64bit targets in 32bit host. Add modulo
-       argument.
-       (sim_core_map_attach): Ditto.
-       (new_sim_core_mapping): Ditto.
-       (sim_core_translate): Mask address when modulo memory.
-
-Wed Sep  3 17:32:54 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * sim-hload.c (sim_load): Add assert for SIM_MAGIC_NUMBER.
-
-       * gdbinit.in: New file.
-       * aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit.
-       * Make-common.in (distclean): Delete .gdbinit.
-       (.gdbinit): Add rule for.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-       * Make-common.in (cgen-run.o): Add rule for.
-
-Wed Sep  3 10:08:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-resume.c (sim_resume): Suspend/resume the simulator.
-
-       * sim-events.c (sim_watch_valid): Compute total elapsed time from
-       both resumed and previous elapsed time.
-       (sim_events_init): Set initial_wallclock and current_wallclock to
-       zero.
-       (sim_events_install): Install sim_events_suspend and
-       sim_events_resume.
-       (sim_events_watch_clock): Allow for suspended simulator when
-       computing the time of the clock event.
-
-       * sim-events.h (struct _sim_event): Add resume_wallclock, rename
-       initial_wallclock to elapsed_wallclock, set both to zero.
-       (sim_events_init, sim_events_uninstall): Delete prototypes.
-
-       * sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types.
-
-       * sim-module.c(sim_module_resume, sim_module_suspend): New
-       functions.
-
-Wed Sep  3 10:08:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_map_attach): Clarify memory overlap error
-       message.
-
-Tue Sep  2 14:57:06 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker.
-       * Make-common.in (TAGS): Likewise.
-       * sim-n-bits.h: Add TAGS comments for all functions.
-       * sim-n-core.h: Likewise.
-       * sim-n-endian.h: Likewise.
-
-Mon Sep  1 10:50:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and
-       kind.
-
-       * sim-base.h (sim_state_alloc): Add callback and kind arguments.
-
-       * sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default
-       definition.
-
-Sat Aug 30 09:47:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (DP_GARDMSB, ...): Make unsigned.
-       (DP_FRACHIGH, DP_FRACHIGH2, ..): Use MSMASK to avoid LL.
-
-Fri Aug 29 13:37:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_map_attach): Cast attach enum to int.
-       (sim_core_xor_read_buffer, sim_core_xor_write_buffer): Make
-       nr_transfered and nr_this_transfer unsigned.
-
-       * sim-events.c (sim_events_tickn): N is signed, as limited to
-       MAXINT.
-
-       * sim-n-endian.h (offset_N): Change size to unsigned.
-
-       * callback.c (os_poll_quit): Add prototypes for kbhit and getkey.
-
-Fri Aug 29 10:10:53 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-utils.c (sim_copy_argv): Delete, replaced by dupargv.
-
-       * sim-options.c (sim_parse_args): Use dupargv.
-
-Thu Aug 28 10:36:34 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-options.c (standard_option_handler): Use xstrdup, not strdup.
-
-Thu Aug 28 12:09:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator
-       base type.
-
-       * sim-options.c (standard_options): Add --architecture=MACHINE and
-       --target=TARGET options.
-       (OPTION_ARCHITECTURE, OPTION_TARGET): Define.
-       (standard_option_handler): Handle architecture and target options.
-       (bfd.h): Include.
-
-       * sim-utils.c (sim_analyze_program): Pass STATE_TARGET to
-       bfd_openr.
-       (sim_analyze_program): Set prog_bfd architecture from
-       STATE_ARCHITECTURE if known.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Aug 27 18:11:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (enable-sim-warnings): Remove comment stating
-       that option does not apply to certain files.
-
-Wed Aug 27 15:13:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-bits.h (LSBIT8, LSBIT16, LSBIT32, LSBIT64, LSBIT, MSBIT8,
-       MSBIT16, MSBIT32, MSBIT64, MSBIT): New macros - single bit as
-       offset from MSB/LSB.
-
-       * sim-endian.h (A1_8, A2_8, A4_8, A1_4, A2_4, A1_2): New macro,
-       access address of sub word quantity of a hosts 16, 32, 64 bit word
-       type.
-       (V1_2, V1_4, V2_4, V1_8, V2_8, V4_8): Ditto for values.
-       (U8_1, U8_2, U8_4, U4_1, U4_2, U2_1): Ditto for set of values.
-       (V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument,
-       return N*2 byte value with argument in Hi/Lo word.  Renamed from
-       V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8.
-
-       * sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit.
-       (ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT
-       so that bit offset is explicit.
-
-Wed Aug 27 11:55:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-utils.c (sim_analyze_program): Add prog_name argument.
-       Update STATE_PROG_BFD when needed with a dup'd copy of the
-       program.
-
-       * sim-config.c (sim_config): Delete ABFD argument, use
-       STATE_PROG_BFD directly.
-
-Tue Aug 26 12:55:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * run.c (main): Pass the open ABFD to sim_create_inferior.
-
-       * nrun.c (main): Determine prog_bfd.  Pass to sim_create_inferior
-       and sim_load.
-       (bfd.h): Include.
-
-       * sim-hload.c (sim_load): New file. Implement generic sim_load for
-       hardware only simulator targets.
-
-       * Make-common.in (sim-hload.o): Add rule.
-
-Wed Aug 27 09:51:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-utils.c (sim_copy_argv): Rewrite to match malloc strategy
-       used by copyargv and freeargv.
-
-       * sim-options.c (sim_parse_args): Save a copy of PROG-ARGS in
-       STATE_PROG_ARGV, not just a pointer.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 12:11:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * aclocal.m4 (sim-endian): Add second argument to
-       SIM_AC_OPTION_ENDIAN.  First is hardwired endian, second is
-       default endian when not hardwired.
-
-       * sim-config.h (WITH_DEFAULT_TARGET_BYTE_ORDER): New macro, if all
-       else failes value for target byte order.
-
-       * sim-config.c (sim_config): Add abfd arguments. Set
-       STATE_PROG_BFD accordingly.  Determine prefered_target_byte_order
-       from same.
-       (sim_config): Return SIM_RC, don't abort.
-       (bfd.h): Include.
-
-       * run.c (main): Update call to sim_open - add ABFD argument.
-       * nrun.c (main): Add NULL ABFD argument.
-
-Thu Aug 14 12:48:57 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * callback.c (os_poll_quit): Make static.
-       Call sim_cb_eprintf, not p->eprintf.
-       (sim_cb_printf, sim_cb_eprintf): New functions.
-       * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Declare.
-
-       * sim-basics.h (zalloc,zfree,sim_add_commas,SIM_ELAPSED_TIME,
-       sim_elapsed_time_get,sim_elapsed_time_since): Move decls to
-       sim-utils.h. #include sim-utils.h.
-       * sim-utils.h: Above decls moved here.
-       (sim_analyze_program,sim_load_file): Use `struct _bfd', not `bfd'.
-
-       * sim-watch.c (action_watchpoint): Fix thinkos.
-
-Thu Jul 24 08:48:05 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * sim-types.h:  Fix defs of 64 bit data types for MSVC.
-
-Tue Jul 22 10:35:37 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-n-core.h (sim_core_write_unaligned_N): Add missing break
-       to FORCED_ALIGNMENT case.
-
-Thu Jun  5 13:48:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * callback.c (target_to_host_open): Handle hosts with O_BINARY.
-
-Thu Jun  5 08:47:10 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * Make-common.in (libsim.a): Fix typo.
-
-Thu Jun  5 13:48:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * nrun.c (main): Verify the structure returned before using it.
-
-Wed Jun  4 11:44:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.h (WITH_ENGINE): Enable the sim-engine module by
-       default.
-
-       * sim-engine.c (sim_engine_install): New function.  Install the
-       engine init functions.
-       (sim_engine_init): [Re]initialize the simulator engine.
-
-       * sim-module.c: Add sim_engine to list of modules that always
-       install.
-
-Tue Jun  3 04:52:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-watch.c (schedule_watchpoint): Use sim_unschedule_watchpoint
-       to remove the old watchpoint, not delete_watchpoint.
-       (watch_option_handler): Action the correct watchpoint, not just
-       cycles.
-
-Wed May 28 14:47:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output
-       both low and high word.
-       (sim_core_write_aligned_N): Ditto.
-
-       * sim-trace.c (set_trace_options): Delete code explicitly setting
-       core->trace.
-
-       * sim-options.c (sim_print_help): Call the list commands if not a
-       standalone simulator.
-       (sim_print_help): Advise that some options may not be applicable.
-
-       * sim-trace.c (set_trace_options): Assume core present.
-
-       * sim-events.c (sim_events_schedule_after_signal): Overflow signal
-       buffer when full not almost full.
-
-Tue May 27 14:32:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (sim_events_process): Don't blat the event queue
-       when processing watchpoints.
-
-       * sim-watch.h: Make arg unsigned long - stop sign extension.
-
-       * sim-events.c (sim_watch_valid): rewrite so debugable.
-
-       * sim-config.h (WITH_XOR_ENDIAN): Default to zero.
-
-       * sim-watch.c (schedule_watchpoint): Add is_within option so that
-       inequality test is possible.
-       (handle_watchpoint): Re-pass is_within arg.
-       (watch_option_handler): When `!' prefix to pc-watchpoint arg pass
-       0 to schedule_watchpoint's is_within arg.
-       (sim_watchpoint_init): Re-pass is_within arg.
-
-       * sim-options.c (sim_print_help): Add is_command argument.  Don't
-       include -- prefix when called from the command line interpreter.
-
-       * sim-watch.c (schedule_watchpoint): Pass true is_within argument.
-
-       * sim-events.c (sim_events_watch_sim): Add is_within argument,
-       zero indicates that the test should be reversed.
-       (sim_events_watch_core): Ditto.
-       (WATCH_CORE): Compare range against is_within.
-       (WATCH_SIM): Ditto.
-
-Tue May 27 12:48:03 1997  Andrew Cagney  <cagney@b2.cygnus.com>
-
-       * sim-events.c (WATCH_CORE): Pass NULL cpu argument to
-       sim_core_read_buffer.  Check nr-bytes transfered.
-
-       * sim-core.h (sim_core_common): Define a new struct that contains
-       the common data.  to sd and cpu structures.
-       * sim-core.c (sim_core_attach): Update.
-       (sim_core_init): Update. Remember to copy initialized data to each
-       cpu.
-       (sim_core_find_mapping): Ditto.
-
-       * sim-core.c (sim_core_read_buffer): Add cpu argument.
-       (sim_core_write_buffer): Ditto.
-
-       * sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned
-       transfer use xor version of read buffer.
-       (sim_core_write_unaligned_N): Ditto for write.
-
-       * sim-core.c (sim_core_xor_read_buffer): New function implement
-       xor-endian data read breaking transfer up into xor-endian sized
-       blocks.
-       (sim_core_xor_write_buffer): Ditto for write.
-       (reverse_n): Reverse order of arbitrary number of bytes in buffer
-       - needed for xor-endian transfers.
-
-Fri May 23 14:24:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-inline.h: Review description.
-
-       * sim-core.h, sim-core.c: Reduce number of functions being inlined
-       to just those involved in data transfers and configuration.
-
-       * sim-xcat.h (XSTRING): New macro, map macro definition onto
-       string.
-       * sim-n-core.h (sim_core_read_aligned_N): Use.
-       (sim_core_read_unaligned_N): Ditto.
-       (sim_core_read_unaligned_N): Ditto..
-       (sim_core_write_unaligned_N): Ditto.
-
-       * sim-core.h: Add xor endian bitmap to main structure.  *
-
-       sim-n-core.h (sim_core_write_aligned_N): Add suport for xor
-       endian.
-       (sim_core_read_aligned_N): Ditto.
-
-       * sim-core.c (sim_core_set_xor_endian): New function.
-       (sim_core_attach): Don't overwrite the per-cpu xor map when
-       cloning the global core.
-
-Fri May 23 10:53:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-engine.h: Update below so that it is using an enumerated
-       type.
-
-Thu May 22 09:12:16 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * sim-engine.c (sim_engine_restart):
-       * sim-resume.c (sim_resume): Change longjmp param/setjmp
-       return value used for simulator restart from 0 to 2.
-
-Wed May 21 08:47:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * cgen-scache.c (scache_option_handler): Add is_command arg.
-
-       * sim-model.c (model_option_handler): Add is_command argument.
-
-       * sim-profile.c (profile_option_handler): Add is_command arg.
-
-       * sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value
-       involved.
-
-       * sim-module.c (sim_module_add_init_fn): Call init fn in the same
-       order that they are registered.
-
-       * sim-options.h (OPTION_HANDLER): Add argument to differentiate
-       between option and command line processing.
-
-       * sim-options.c: Include stdlib.h, ctype.h.
-
-       * Make-common.in (sim-watch.o): Add rule.
-       (sim_main_headers): Assume sim-assert.h included.
-       (sim-*.o): Simplify make rule.
-
-       * sim-module.c: Add sim_watch_install to module list.
-
-Tue May 20 14:15:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-base.h (STATE_LOADED_P): New predicate. Set once everything
-       has been loaded.
-
-       * sim-trace.c (trace_install): Check magic. Include sim-assert.h.
-       * sim-events.c (sim_events_install): Ditto.
-       * sim-core.c (sim_core_install): Ditto.
-       * sim-model.c (model_install): Ditto.
-       * sim-options.c (standard_install): Ditto.
-       * sim-profile.c (profile_install): Ditto.
-       * sim-reason.c (sim_stop_reason): Ditto.
-       * sim-run.c (sim_engine_run): Ditto.
-       * sim-utils.c (sim_analyze_program): Ditto.
-
-       * sim-module.c (modules): Make profile_install and trace_install
-       optional.
-
-       * sim-base.h (STATE_MEM_BASE): Define for flat memory systems.
-
-       * sim-options.c (standard_option_handler): Set the byte order.
-
-       * sim-events.c (sim_events_process): Allow multi tick processing.
-       (sim_events_tickn): New function - multi cycle tick.
-
-       * sim-events.h (sim_events_tickn, sim_events_timewarp): Add
-       prototypes.  Under development.
-       (sim_events): Replace processing with nr_ticks_to_process.
-
-Tue May 20 09:39:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * nrun.c (main): Pass callbacks to sim_open instead of using
-       sim_set_callbacks.
-
-       * run.c (main): Ditto.
-
-Mon May 19 12:07:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (sim_events_zalloc): Signal save memory allocator -
-       stop tk interrupting malloc calls.
-       (sim_events_zalloc): Converse.
-
-       * Make-common.in (sim_main_headers): Add sim-events.h.
-
-       * sim-events.c (sim_events_schedule_after_signal): Change return
-       type to void - signal events are strictly internal.
-       (sim_events_init): Allocate a finite buffer for signal events.
-       (sim_events_schedule_after_signal): Enter signal events into the
-       signal buffer.
-
-       * sim-engine.c (sim_engine_halt): Check SIM_DESC magic.
-       (sim_engine_restart): Ditto.
-       (sim_engine_abort): Ditto.
-       * sim-stop.c (sim_stop): Ditto.
-       (control_c_simulation): Ditto.
-       * sim-resume.c (sim_resume): Ditto.
-       (has_stepped): Ditto.
-       * sim-abort.c (sim_engine_abort): Ditto.
-
-       * sim-basics.h (transfer_type): New type.
-
-       * sim-core.c (sim_core_signal): New function. Print core signal
-       information.
-       (sim_core_find_mapping): Add transfer argument.
-
-       * sim-n-core.h (sim_core_{write,write}_unaligned_N): Call
-       SIM_CORE_SIGNAL if a recoverable abort.
-       * sim-core.c (sim_core_find_mapping): Ditto.
-
-Fri May 16 15:13:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_find_mapping): Replace calls to
-       sim_io_error to more resiliant sim_engine_abort.
-
-       * sim-n-core.h (sim_core_read_unaligned_N): Ditto.
-       (sim_core_write_unaligned_N): Ditto.
-
-Tue May 13 13:50:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-module.c: Add sim_events_install to list.
-
-       * sim-events.c (sim_events_install, sim_events_uninstall): Clonse
-       from sim_core_*.
-       (sim_events_init): Now returns SIG_RC.
-
-       * sim-run.c: New file. Generic sim_engine_run.
-       * sim-reason.c: New file. Generic sim_stop_reason.
-       * sim-stop.c: New file. Generic sim_stop.
-       * sim-resume.c: New file. Generic sim_resume.
-
-       * Make-common.in (sim-engine.o): Add rule.
-       (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto.
-
-       * sim-engine.h, sim-engine.c: New file. Provide generic
-       implementation of sim_engine_halt, sim_engine_error. et.al.
-
-       * sim-base.h (sim_state_base): Add member halt.
-       (sim-engine.h): Include.
-
-       * sim-events.h (sim_event_handler): Always pass SIM_DESC to event
-       handlers.
-       * sim-events.c (sim_events_poll): Update event handler.
-
-Tue May 13 09:57:49 1997  Andrew Cagney  <cagney@b2.cygnus.com>
-
-       * sim-events.h, sim-events.c (sim_events_watch_clock): New
-       function.
-       (sim_events_watch_sim): New function.
-       (sim_events_watch_core): New function.
-       (sim_watch_valid): New function.
-       (sim_events_preprocess): New function.
-       (sim_events_process): Process the watchpoints as well as the timer
-       queue.
-       (sim_events_tick): Check WORK_PENDING instead of the hold queue.
-       (sim_events_deschedule): Check all the queues when removing an
-       event.
-       (sim_events_init): Ditto for cleaning.
-
-Mon May 19 12:07:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (is_ufpu_number): Comment out - currently unused.
-
-Mon May 19 11:23:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * callback.c (os_open): Type of arg flags is int.
-
-Fri May 16 22:26:43 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities
-       just like normal numbers as per IEEE rules.
-
-Wed May 14 21:20:38 1997  Bob Manson  <manson@charmed.cygnus.com>
-
-       * callback.c (os_close): Mark the descriptor as being
-       available if the close succeeded.
-       (os_open): Pass 0644 as the mode of the file being created.
-
-Thu May 15 10:58:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a
-       float.
-
-       * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_.
-       * sim-lnline.h: Update.
-
-       * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp
-       conversion functions.
-       (sim_fpu_to{32,64}[iu]): New fp2int functions.
-
-       * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp
-       compare functions.  Replacing.
-       (sim_fpu_cmp): This. Delete.
-
-Mon May 12 14:49:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_find_mapping): Call engine_error not
-       sim_io_error when possible.
-
-Mon May 12 08:55:07 1997  Andrew Cagney  <cagney@b2.cygnus.com>
-
-       * sim-endian.h (V1_H2): Add macro's to insert a word into a
-       high/low double word.
-
-       * sim-trace.h: Remove definition of attribute - defined in
-       sim_basics.h.
-
-Mon May 12 08:55:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.h (struct OPTION): Add doc_opt as the documenting
-       name of the option - or family of options.
-
-       * sim-options.c (sim_args_command): Match command `a-b c' with
-       option `--a-b-c' from option table.
-
-Thu May  8 12:40:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-options.c (sim_print_help): For optional arguments, wrap
-       them in [].
-
-       * sim-trace.c (set_trace_options): New function, handle optional
-       argument and multiple assignment.
-       (trace_option_handler): Update.
-
-       * sim-trace.c (trace_option_handler): Trace branch and not fpu
-       when branch tracing selected.
-
-Wed May  7 15:19:58 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.c (trace_one_insn): Make a va-args function.
-
-       * sim-trace.c (trace_vprintf): New function, va-arg version of
-       trace_printf.
-
-Tue May  6 16:38:16 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-trace.c (trace_uninstall): Don't close a file twice.
-       * sim-profile.c (profile_uninstall): Likewise.
-
-Tue May  6 06:14:01 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * sim-trace.c (toplevel): Include bfd.h.
-       (trace_options): Note that --trace-linenum also turns on
-       --trace-insn.  Add --trace-{branch,semantics}.
-       (trace_option_handler): If --trace-linenum, also turn on
-       --trace-insn.  Add --trace-branch support.  If --trace-semantics,
-       turn on ALU, FPU, branch, and memory tracing.
-       (trace_one_insn): New function to trace an instruction.  Support
-       --trace-linenum.
-       (OPTION_TRACE_*): Use an enum, rather than lots of defines.
-
-       * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros.
-       (MAX_TRACE_VALUES): Use 32, not 12 by default.
-       (TRACE_branch): Add new mask.
-       (TRACE_*_P): Define all possible trace_p macros.
-       (trace_one_insn): Declare function.
-
-Mon May  5 14:08:34 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * sim-trace.h (__attribute__): Define as nothing if not GNU C or
-       GNU C doesn't support __attributes__.
-       ({trace,debug}_printf): Add attribute's so -Wformat can check the
-       format strings.
-
-Mon May  5 11:16:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-config.h (FORCED_ALIGNMENT): New alignment option -
-       addresses are masked forcing them to be correctly aligned.
-       (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default.
-       * sim-config.c (config_alignment_to_a): Update.
-
-       * sim-core.h (sim_cpu_core): New data type contains cpu specific
-       core data.
-       * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base
-       type.
-       * sim-core.c (sim_core_attach): Add CPU argument.  Ready for
-       processor specific core maps.
-       (sim_core_map_attach): Copy the core map data to each of the
-       processor specific core data structures.
-       * sim-core.c (sim_core_find_mapping): Update.
-
-       * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename.
-       (sim_core_write_aligned_N, sim_core_write_aligned_N): New names.
-       (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New
-       alternatives that handle unaligned addresses.
-       (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace
-       with just CPU arg.
-       * cgen-utils.c (sim_disassemble_insn): Update.
-
-Mon May  5 13:19:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific
-       tracing.
-
-       * sim-fpu.h, sim-fpu.c: New files - prototype for generic target
-       fpu support.
-
-       * sim-inline.h, sim-inline.c: Add support for SIM_FPU.
-
-Fri May  2 17:59:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-core.c (sim_core_map_to_str): New function ascii equivalent
-       to map type.
-
-       * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace
-       statement.
-
-Fri May  2 17:28:02 1997  Andrew Cagney  <cagney@b2.cygnus.com>
-
-       * cgen-trace.c: Prepend additional trace_printf argument.
-
-       * cgen-utils.c (sim_disassemble_insn): Add additional core
-       arguments.
-
-Fri May  2 11:40:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * nrun.c (main): Catch/report errorenous simulator states.
-
-       * sim-module.c: #include "libiberty.h" so that xmalloc is defined.
-       * sim-trace.c: #include string.h/strings.h so that memset is
-       defined.
-       * sim-utils.c: Ditto.
-       * sim-profile.c: Ditto. And stdlib.h.
-       (print_bar): Only define when used by instruction or memory profiler.
-
-       * sim-options.c (standard_option_handler): Make ul more local.
-
-       * sim-load.c (sim_load_file): Make the name constant.
-       (sim_load_file): Passify gcc.
-
-       * sim-utils.h: New file, pre-declare utilites in corresponding .c
-       file.
-       * sim-utils.c, sim-load.c: Include sim-utils.h.
-
-       * sim-base.h (sim_cpu): Pre define here so available to all.
-
-       * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N):
-       Restore the sim_cpu and instruction_address arguments so that full
-       information is available to the abort function.
-       * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto.
-       * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
-
-       * sim-trace.h, sim-trace.c (trace_option_handler): Add interim
-       tracing support for sim-events and sim-core.
-       (trace_option_handler): Convert #if to if where possible so always
-       compiled/checked by C compiler.
-       * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
-
-       * sim-base.h: Adjust comment documenting how to define the cpu
-       structure.
-       (sim_state_base): Add sim_core and sim_events to simulator base
-       object.
-
-       * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument.
-       * sim-core.c (sim_core_init, sim_core_attach,
-       sim_core_find_mapping): Update.
-       * sim-events.c (ETRACE, sim_events_init, sim_events_time,
-       update_time_from_event, insert_sim_event,
-       sim_events_schedule_after_signal, sim_events_deschedule,
-       sim_events_tick): Ditto.
-
-       * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h,
-       sim-model.h): Move #includes from here.
-       * sim-base.h: To here.
-       (sim-core.h, sim-events.h, sim-io.h): Include also
-
-Wed Apr 30 15:37:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * callback.c (default_callback): Missing initialisers.
-
-Thu May  1 10:40:47 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-utils.c (sim_add_commas): New function.
-       * sim-basics.h (sim_add_commas): Add prototype.
-       * cgen-scache.c (scache_print_profile): Print commas in numbers.
-       * sim-profile.c (COMMAS): New macro.
-       (print_*): Use it to print commas in numbers.
-
-       * configure: Regenerated.
-
-       * cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
-       (cgen_state): New member run_fast_p.
-       (cgen_init): Add prototype.
-       (sim_disassemble_insn): New arg `cpu'.
-       * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
-       * cgen-utils.c (cgen_init): New function.
-       (sim_disassemble_insn): New arg `cpu'.  Rewrite fetching of insn.
-       * genmloop.sh: Call engine_halt if loop exits.
-
-       * Makefile.in (sim-options_h): Define.
-       (sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
-       (sim-model.o): Add new rule.
-       (cgen-{scache,trace,utils}.o): Add new rules.
-       * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
-       * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
-       Indent output by 2 spaces.
-       * cgen-scache.h (scache_print_profile): Update.
-       * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
-       Use trace_printf, not fprintf.
-       (trace_extract): Use trace_printf, not cgen_trace_printf.
-       * genmloop.sh (!FAST case): Increment `insn_count'.
-       * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
-       (sim_cpu_base): Rename member `sd' to `state' to be consistent with
-       access macro's name.
-       * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
-       Change return type to SIM_RC.
-       (sim_core_{install,uninstall}): New functions.
-       * sim-core.h (sim_core_{install,uninstall}): Declare.
-       (sim_core_init): Use EXTERN_SIM_CORE to define it.
-       Change return type to SIM_RC.
-       * sim-model.h (models,machs,model_install): Declare.
-       * sim-module.c (modules): Add scache_install, model_install.
-       (sim_post_argv_init): Set cpu->state backlinks.
-       * sim-options.c (standard_options): Delete --simcache-size,--max-insns.
-       (standard_option_handler): Likewise.
-       * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
-       sim-profile.h.
-       (*): Assume ANSI C.
-       (profile_options): Delete --profile-simcache.
-       (profile_option_handler): Likewise.
-       (profile_print_insn): Change `sd' arg to `cpu'.  Indent output 2
-       spaces.
-       (profile_print_{memory,model}): Likewise.
-       (profile_print_simcache): Delete.
-       (profile_print_speed): New function.
-       (profile_print): Rewrite.
-       * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
-       (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
-       (PROFILE_DATA): Delete members simcache_{hits,misses}.
-       (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
-       (PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
-       (profile_print): Update prototype.
-
-Wed Apr 30 11:34:14 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * cgen-scache.[ch], cgen-sim.h: New files.
-       * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
-       * sim-model.c: New file.
-
-       * Make-common.in (clean targets): Undo patch of Apr. 22.
-
-Fri Apr 25 15:28:32 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * sim-n-bits.h (signed): If we have a standard compiler, undef
-       signed, so that signedN is defined correctly.
-
-Thu Apr 24 00:00:07 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-module.h, sim-model.h, sim-profile.h: New files.
-       * sim-module.c, sim-profile.c: New files.
-       * Make-common.in (SIM_PROFILE): Define
-       (CONFIG_CFLAGS): Add $(SIM_PROFILE).
-       (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
-       (sim_module.o,sim-profile.o): Add rules for.
-       * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
-       (--enable-sim-profile): Add.
-       * configure: Regenerated.
-       * sim-base.h (sim_state_base): New members init_list, uninstall_list,
-       model.  Move trace and profile support to sim-{trace,profile}.h.
-       New members trace_data, profile_data.
-       * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
-       * sim-config.h: Provide default definition of WITH_PROFILE.
-       (WITH_TRACE): Change default to -1.
-       (MAX_NR_PROCESSORS): Always define.
-       * sim-options.c: Move trace and profile support to
-       sim-{trace,profile}.h.
-       (sim_pre_argv_init): Moved to sim-model.c.
-       (standard_install): New function.
-       * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
-       (standard_install): Declare.
-       * sim-trace.c: Tracing option handling moved here from sim-options.c.
-       (trace_install, trace_uninstall): New functions.
-       (trace_printf): Update reference to TRACE_FILE.
-       * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
-       (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
-       (WITH_TRACE_FOO_P): Define.
-       (trace_install): Declare.
-       (TRACE_DATA): New struct.
-
-Wed Apr 23 17:23:15 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * run.c: Undo last exec_bfd patch.
-       (main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
-
-Wed Apr 23 17:54:27 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * run.c (exec_bfd): Add back in.
-       (main): Set exec_bfd.
-
-Tue Apr 22 14:43:46 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-load.c (sim_load_file): #include <stdio.h> for NULL.
-
-Wed Apr 23 02:55:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-events.c (insert_sim_event): Call sim_io_error instead of
-       less well defined engine_error.
-       * sim-core.c: Ditto.
-
-Tue Apr 22 08:48:16 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * Make-common.in:  Change clean targets to use :: so that other
-       Makefiles can have their own clean targets.
-       * sim-load.c (xprintf eprintf):  Use ANSI_PROTOTYPES instead of
-       __STDC__ to control use of stdarg vs. varargs syntax.  Some
-       systems can't use __STDC__, but require stdarg.
-
-Fri Apr 18 11:14:43 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-options.c (standard_options): Add --endian.
-       (standard_option_handler): Likewise.
-
-       * nrun.c: #include <signal.h>.
-       (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
-       handler that calls sim_stop ().
-
-Fri Apr 18 13:11:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
-       handler that calls sim_stop ().  Simulators may still be
-       establishing their own handler.
-
-       * sim-events.c (sim_events_poll): Rename from
-       sim_events_at_large_int.  Poll IO.
-
-       * sim-io.c (sim_io_poll_quit): New function - pass on a polling
-       request.
-
-       * callback.c (os_poll_quit): New function poll for quit signal
-       where needed.
-       (default_callback): Include magic number.
-
-Thu Apr 17 02:25:11 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
-       Check for functions getrusage, time.
-       * sim-basics.h (SIM_ELAPSED_TIME): New typedef.
-       (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
-       * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
-       (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
-
-       * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
-
-       * sim-options.c, sim-options.h: New files.
-       * sim-config.h (WITH_DEBUG): Provide default value of zero.
-       * Make-common.in (nrun.o): Add rules for.
-       * nrun.c: New file.
-
-       * run.c (main): Check return value of sim_open.
-
-       * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
-       (sim_main_headers): Add sim-trace.h.
-       * run.c (exec_bfd, target_byte_order): Delete.
-       (main): Pass -E <endian> to sim_open.  Delete code to load sections,
-       call sim_load instead.  Check return code of sim_create_inferior.
-       * sim-base.h (CURRENT_STATE): Define.
-       (sim_state_base): Make typedef.  New members options, prog_argv,
-       prog_bfd, text_{section,start,end}, start_addr, simcache_size,
-       mem_size, memory [+ corresponding access macros].
-       (sim_cpu_base): New typedef.
-       * sim-trace.h: New file.
-       * sim-trace.c: New file.
-       * sim-basics.h: #include it.
-       * sim-load.c: New file.
-
-Tue Apr 15 15:10:13 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Make-common.in (INSTALL): Set to @INSTALL@.
-       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
-       (install-common): Depend upon installdirs.  Use
-       $(program_transform_name) directly, rather than using
-       $(INSTALL_XFORM).
-       (installdirs): New target.
-       * Makefile.in (INSTALL): Set to @INSTALL@.
-       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
-       (install-man): Depend upon installdirs.  Use
-       $(program_transform_name) directly, rather than using
-       $(INSTALL_XFORM).
-       (installdirs): New target.
-
-Tue Apr 15 15:08:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
-       be overriden.
-
-Wed Apr  9 16:06:44 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-basics.h: Only bring in config.h and tconfig.h if
-       HAVE_CONFIG_H.
-
-Mon Apr  7 11:39:45 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
-       numbering convention of the target.
-       * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
-       and WITH_TARGET_WORD_MSB.
-       (sim_config): When possible, check for consistency with bitsize
-       and msb.
-
-       * sim-bits.h: Allow MSB to be other than zero.
-       * sim-bits.c: Ditto.
-       * sim-n-bits.h: Ditto.
-
-       * sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
-       * sim-n-bits.h (MSMASKEDn): Ditto.
-
-Mon Apr 14 16:29:21 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (INSTALL): Change install.sh to install-sh.
-
-Mon Apr  7 10:46:38 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-base.h (sim_state_base): Move `magic' to end of struct.
-
-Mon Apr  7 15:53:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * run.c (main): Check that a program to run was specified.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * aclocal.m4 (AC_TYPE_SIGNAL): Add check.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
-       * sim-config.h: To here.
-
-       * Make-common.in (SIM_EXTRA_DEPS): New config var.
-       (sim_main_headers): Define.
-       (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
-       (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
-       (clean): Use it.
-       (sim-utils.o): Add rule for.
-       * sim-utils.o: New file.
-       * sim-basics.h: #include sim-base.h.
-       (zalloc): Make argument unsigned long.
-       * sim-base.h: New file.
-       * sim-inline.h (SIM_IO support): Delete.
-       * sim-io.h: Delete inline support.
-       * sim-io.c: Likewise.  sim-state.h renamed to sim-main.h.
-       * sim-config.c: sim-state.h renamed to sim-main.h.
-       * sim-core.c: Likewise.
-       * sim-events.c: Likewise.
-
-       * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
-
-       * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
-       (sim-debug): Allow arguments.  Define WITH_DEBUG in addition to
-       -DDEBUG.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 11:08:11 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
-       WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
-       are defined by the configure.
-
-       * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
-
-       * aclocal.m4 (floating-point, xor-endian, alignment, smp,
-       reserved-bits): Always define.
-
-       * sim-config.h, sim-config.c (sim_config): New function - and new
-       file - co-ordinate the setting/checking of the common simulator
-       configuration options.
-
-       * Make-common.in (sim-config.o): Add rule.
-
-Fri Mar 28 15:32:00 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * callback.c (os_{,e}vprintf_filtered): Change stdarg type to
-       va_list from void *, since va_list might not be a pointer type.
-
-Mon Mar 24 15:27:12 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-n-endian.h (offset_N): Correct assertion - word and sub word
-       in wrong order.
-       (offset_N): Correct computation of LE offset.
-
-       * sim-io.c (sim_io_error): Include a new line when reporting
-       errors.
-
-       * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
-       `/'.
-
-Thu Mar 20 22:31:06 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * run.c: Include alloca-conf.h.
-
-       * callback.c (os_evprintf_filtered): Fix typo.
-
-Fri Mar 21 13:36:20 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * run.c (string.h, strings.h, stdlib.h): Include.
-
-       * sim-events.c (sim_events_tick): Recent cleanup failed to return
-       0 when nothing pending.
-
-       * run.c (sim_size, sim_trace): Plicate GCC - these two functions
-       will soon be going away.
-       (getopt): Plicate GCC.
-
-       * sim-endian.c (sim-io.h): Plicate GCC.
-       * sim-bits.c (sim-io.h): Ditto.
-       * sim-n-bits.h (ROTn): Ditto.
-
-       * sim-io.c (sim_io_error): Correct check for NULL.
-
-       * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
-       the __FILE__.
-       * sim-events.c: Use SIM_FILTER_PATH to filter out the filename
-       path.
-
-Wed Mar 19 01:12:06 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
-       SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
-
-Tue Mar 18 20:48:12 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-alu.h: Include sim-xcat.h.
-
-Tue Mar 18 13:58:18 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
-       sim-events.c, sim-inline.c, sim-io.c): Define rules for building
-       these.
-
-       * sim-events.c (sim_events_at_large_int): New function.  Just
-       schedules an event every large-int ticks.
-       (sim_events_init): Call.
-       (sim_events_tick, sim_events_process): Move async handing to
-       sim_events_process.  Move timer decrement so that it occures after
-       events have been processed.
-
-       * sim-basics.h (struct _engine): Remove declaration.
-
-       * sim-events.h, sim-events.c: Rename type to sim_events.  Prefix
-       everything with same.  Rename global struct to SIM_DESC.
-       * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
-       * sim-io.h, sim-io.c: Ditto.
-
-       * sim-assert.h: New file. Optional assertion checking macros.
-       * sim-io.c (sim_io_error): Make just this function tolerant to
-       null pointers.
-
-       * sim-xcat.h: New file. Define concatenate macros.
-       * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
-       * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
-       concat macros.
-
-
-Tue Mar 18 12:44:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-bits.h (LSMASK): New macro. Create mask of LS bits.
-
-Mon Mar 17 18:10:05 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-inline.h: Add definitions for sim-types.
-       (ALL_BY_MODULE): New macro, encapsulate full inlining by the
-       module.
-
-Mon Mar 17 15:38:27 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-events.h: Remove defunct reference to callback struct.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Mon Mar 17 15:04:47 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Make-common.in (CSEARCH): Do not include the gdb directory in
-       the search path.
-
-Mon Mar 17 13:16:26 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
-       SIM_WARNING): Drop, requiring the simulator specific Makefile.in
-       to explicitly incorporate these.
-
-       * aclocal.m4 (--enable-sim-alignment); New option. Strongly
-       specify the alignment restrictions of the target architecture -
-       without this option all alignment restrictions are accomodated.
-       (--enable-sim-assert): New option.  Conditionally compile in
-       assertion statements.
-       (--enable-sim-float): New option. Strongly specify the target's
-       floating point support.
-       (--enable-sim-hardware): New option.  Specify the hardware devices
-       included in the simulation.
-       (--enable-sim-packages): New option.  Specify the hardware
-       packages included in the simulation.
-       (--enable-sim-regparm): New option.  Specify that parameters be
-       passed in registers instead of on the stack.
-       (--enable-sim-reserved-bits): New option. Specify that reserved
-       bits within an instruction are are correctly set.
-       (--enable-sim-smp): New option. Specify the level of SMP support
-       to be included in the simulator.
-       (--enable-sim-stdcall): New option.  Specify an alternative
-       function call convention.
-       (--enable-sim-xor-endian): New option.  Configure xor-endian
-       support used by some targets to implement bi-endian support.
-
-Fri Mar 14 19:51:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * aclocal.m4 (--enable-sim-hostendian): New option.  Allow the
-       host endianness to be overridden.
-       (--enable-sim-endian): Allow the target platform's byte order
-       to be overridden.
-       (--enable-sim-inline): Control the inlining of common components.
-       (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
-       (--enable-sim-warnings): Enable additional GCC compiler checks.
-       * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
-       SIM_WARNINGS): Add.
-
-       * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
-       sim-*-n.h so that the names are uniq on dos machines
-       * sim-core.c, sim-bits.c, sim-endian.c: Update.
-
-Thu Mar 13 12:32:42 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * run.c: #include "libiberty.h".
-       (main): New locals sd,no_args,sim_argv.
-       Run buildargv on -a option.  Pass argv to sim_open, argv[0]
-       is program name.  Update call to sim_set_callbacks.
-       Record result of sim_open, pass to other sim_foo routines.
-
-Thu Mar 13 10:24:05 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * callback.c (os_printf_filtered): Do not call exit(1) or print a
-       final newline.
-
-Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
-       Route stdout through buffered IO.
-
-       * callback.c: Add os_flush_stderr, os_write_stderr,
-       os_evprintf_filtered functions to route error output through
-       stderr.
-
-       * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
-       Correct return type - should be void.
-
-Fri Mar  7 20:14:37 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-basics.h: Clean up.  Many macro's moved to sim-inline.h.
-
-       * sim-config.h: Ditto.  For some options - eg WITH_DEVICES - do
-       not provide a default value as undefined indicates disable code.
-
-Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
-       directory.
-       * sim-events.h, sim-events.c: Ditto.
-       * sim-io.h, sim-io.c: Ditto.
-
-Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
-
-       * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
-       extract the tail or least signifiant bits from an integer of the
-       specified size.
-
-       * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
-       WITH_TARGET_BITSIZE so that the compilation will fail when an
-       unsupported bitsize value is defined.
-
-       (INSERTED*): Convert to functions.
-       (EXTRACTED*): Ditto.
-
-       (SIGN_EXTEND, SEXT): Change to more terse name.
-
-Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-inline.h: Allow explicit control over which .c files will be
-       included by their header.
-
-       * sim-inline.h: Allow explicit control over which .c files use the
-       alternative - REGPARM - parameter passing mechanism.
-
-       * sim-inline.h, sim-inline.c: Don't attempt to include any of
-       icache.c, idecode.c, semantics.c or support.c.  Those names are
-       not generally applicable.
-
-Thu Feb 27 10:17:23 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
-       in a fashion similar to sim-endian-n.
-
-       * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
-       both value and address macro's.
-
-Tue Feb 25 18:51:57 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
-
-       * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
-       generic L_word, H_word macro's.
-
-Thu Feb 20 18:36:55 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * sim-basics.h: Borrow code from ppc directory.
-       * sim-bits.c: Ditto.
-       * sim-bits.h: Ditto.
-       * sim-config.h: Ditto.
-       * sim-endian-n.h: Ditto.
-       * sim-endian.c: Ditto.
-       * sim-endian.h: Ditto.
-       * sim-inline.c: Ditto.
-       * sim-inline.h: Ditto.
-       * sim-types.h: Ditto.
-
-Wed Feb 19 12:40:50 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
-       all the ALU size alternatives and then auto-configure a default.
-
-       * sim-alu.h: Copy ppc/idecode_expression.h.
-
-Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
-       sign extend a bit within a value.
-
-       * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
-       a pointer into the middle of a host word.
-       * sim-endian.h (MS2W_4, LS2W_4): Use this function.
-
-Tue Feb 11 13:46:49 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * callback.c: If HAVE_CONFIG_H is defined, include config.h from
-       autoconf.  If HAVE_UNISTD_H is defined, include unistd.h to get
-       appropriate definitions of read, write, etc.  Add prototype for
-       system.
-
-Tue Feb  4 13:24:44 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (libcommon.a): Delete.
-       (callback.o,targ-map.o): Delete, moved to Make-common.in.
-       (gentmap,targ-vals.h,targ-map.c): Likewise.
-       (run-autoconf): Delete.
-       * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
-       (common makefile fragment): Moved back into ...
-       * Make-common.in: Resurrect.
-       * configure.in (AC_LINK_FILES): Delete, unnecessary now.
-       * configure: Regenerated.
-
-Fri Jan 31 07:16:49 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
-       (SIM_AC_OUTPUT): To here.
-
-Fri Jan 24 10:37:17 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * aclocal.m4 (COMMON_MAKEFILE_FRAG):  Quote a couple of $'s in
-       comments and single quotes.  Fixes a problem found on hpux.
-
-Thu Jan 23 13:35:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * aclocal.m4:  Remove Make-common.in from dependencies.
-       * (distclean):  Remove targ-vals.def.
-
-       * aclocal.m4 (SIM_AC_COMMON):  Move contents of Make-common.in
-       into here.  Makes insertion into makefiles easier.  Also, change
-       the way that callback.o, gentmap, targ-vals.h, targ-map.c,
-       targ-map.o, and run are built.  They are now built in the
-       individual simulator directories, taking sources from ../common as
-       necessary.  This replaces the merging of libcommon.a into
-       linsim.a, which was problematic for the WinGDB build process.
-       * run.c:  Include config.h from . instead of ../common.
-       * Make-common.in:  Remove.  It's no longer necessary.
-
-Mon Dec 16 15:02:33 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
-       (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
-
-Wed Dec 11 11:30:58 1996  Jim Wilson  <wilson@cygnus.com>
-
-       * run.c (main): Set target_byte_order before call to sim_open.
-
-Sun Dec  8 18:22:06 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * callback.c: #include <stdlib.h>
-       (os_error): New function.
-       (default_callback): Add os_error.
-
-Mon Nov 25 19:44:35 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Make-common.in (Makefile): Set CONFIG_HEADERS="".
-       * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
-       specific.
-       (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
-
-Wed Nov 20 01:11:04 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * run.c: #include ../common/config.h, tconfig.h.
-       (myname): New static global.
-       (main): Recognize new options -a, -c.  Also recognize -h if h8/300.
-       Only process -c ifdef SIM_HAVE_SIMCACHE.
-       Only process -p/-s ifdef SIM_HAVE_PROFILE.
-       Parse program name from argv[0] and use in error messages.
-       Pass sim_args to sim_open.  Pass prog_args to sim_create_inferior.
-       Add support for incomplete h8/300 termination indicators.
-       (usage): Make more verbose.
-       * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
-       * Makefile.in,Make-common.in,callback.c: New files.
-       * nltvals.def,gentmap.c,gentvals.sh: New files.
-
-Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
-
-       * run.c: Include stdarg.h if __STDC__.
-
-Tue Oct 15 11:16:31 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * run.c (main): Don't print out anything if the signal
-       number is zero (ie no signal).
-
-Tue Oct 15 11:20:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * run.c (main): Print out if the program raised a signal.
-
-Wed Sep 18 09:52:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
-       (main): Ditto.
-
-Tue Sep 17 11:04:50 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * run.c (main): Explicitly cast malloc() parameter.
-
-Thu Sep 12 11:27:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * run.c (sim_bfd): New global to hold the bfd pointer for the
-       executable.
-       (main): Initialize sim_bfd.
-
-Fri Dec 15 16:27:49 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * run.c (main): Use new bfd_big_endian macro.
-
-Wed Nov  8 15:49:49 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
-
-       * run.c (main): Removed SH specific comments, so source is
-       generic. Also updated to only load relevant sections. Moved
-       sim_open() to after callback attach (to match GDB).
-
-       * run.1: Removed SH specific comments.
-
-Sat Oct 21 12:31:01 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * run.c (main): Always return sigrc at end.
-
-Tue Oct 10 12:03:13 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * run.c (main): Print error diagnostic and exit if bfd_openr() or
-       bfd_check_format() fails.
-
-Thu Sep 28 15:40:36 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * run.c, run.1: From sh directory.
diff --git a/sim/common/ChangeLog-2021 b/sim/common/ChangeLog-2021
new file mode 100644 (file)
index 0000000..ad5980c
--- /dev/null
@@ -0,0 +1,8164 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_RESERVED_BITS): Delete.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (GUILE): New variable.
+       (CGEN): Use $(GUILE).
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_SCACHE): Delete.
+       * cgen-scache.h (WITH_SCACHE): Delete.
+       * sim-profile.c (profile_info): Check CGEN_ARCH.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-scache.c (scache_install): Rename to ...
+       (sim_install_scache): ... this.  New prototype.
+       * cgen-scache.h (scache_install): Delete.
+       * sim-module.c (early_modules): Delete scache_install.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (early_modules): Delete profile_install.
+       * sim-profile.c (profile_install): Rename to ...
+       (sim_install_profile): ... this.  New prototype.
+       * sim-profile.h (profile_install): Delete.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (early_modules): Delete trace_install.
+       * sim-trace.c (trace_install): Rename to ...
+       (sim_install_trace): ... this.  New prototype.
+       * sim-trace.h (trace_install): Delete.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-engine.c (sim_engine_install): Rename to ...
+       (sim_install_engine): ... this.  New prototype.
+       * sim-engine.h (sim_engine_install): Delete.
+       * sim-module.c (early_modules): Delete sim_engine_install.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.h (WITH_MODEL): Delete.
+       (CURRENT_MODEL, MODEL_ISSUE_IGNORE, MODEL_ISSUE_PROCESS,
+       WITH_MODEL_ISSUE, CURRENT_MODEL_ISSUE): Likewise.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_DEFAULT_MODEL): Delete.
+       * sim-base.h (struct sim_state): Add model_name.
+       (STATE_MODEL_NAME): Define.
+       * sim-model.c (model_option_handler): Set STATE_MODEL_NAME.
+       (sim_model_init): Delete WITH_MODEL_P check.  Change
+       WITH_DEFAULT_MODEL to STATE_MODEL_NAME.
+       * sim-model.h (WITH_DEFAULT_MODEL): Delete.
+       (WITH_MODEL_P): Delete.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-defs.h (cgen_cpu_max_extra_bytes): Add SIM_DESC arg.
+       * cgen-utils.c (cgen_cpu_max_extra_bytes): Likewise.  Change sim_machs
+       to STATE_MACHS.
+       * sim-base.h (struct sim_state): Add machs.
+       (STATE_MACHS): New define.
+       * sim-cpu.c (sim_cpu_alloc): Pass sd to cgen_cpu_max_extra_bytes.
+       * sim-model.c (model_option_handler): Pass sd to sim_model_lookup.
+       Change sim_machs to STATE_MACHS.
+       (sim_model_lookup): Add SIM_DESC arg.  Change sim_machs to
+       STATE_MACHS.
+       (sim_mach_lookup): Likewiwse.
+       (sim_mach_lookup_bfd_name): Likewise.
+       (sim_model_init): Pass sd to sim_model_lookup and
+       sim_mach_lookup_bfd_name.
+       (sim_machs): Delete.
+       * sim-model.h (enum mach_attr): Delete.
+       (SIM_MODEL): Change num to int.
+       (sim_machs): Delete.
+       (sim_model_lookup): Add SIM_DESC arg.
+       (sim_mach_lookup): Likewise.
+       (sim_mach_lookup_bfd_name): Likewise.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (Makefile): Replace $(arch) and pass more files to
+       config.status.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c [!HAVE_KILL] (os_kill): Return ENOSYS.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-model.c (model_option_handler): Make machp const.
+       (sim_model_lookup): Likewise.
+       (sim_mach_lookup): Likewise.
+       (sim_mach_lookup_bfd_name): Likewise.
+       (sim_machs): Add const.
+       * sim-model.h (sim_machs): Likewise.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-io.h (sim_io_vprintf): Add ATTRIBUTE_PRINTF.
+       (sim_io_evprintf): Likewise.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-io.c (sim_io_error): Change "" to " ".
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (sim_cb_printf, sim_cb_eprintf): Delete.
+       (os_poll_quit): Delete __GO32__ support.
+       * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Delete.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-types.h (HAVE_LONGLONG): Delete define.
+       [!HAVE_LONGLONG]: Delete all protected code.
+       * cgen-utils.c (make_struct_di): Delete.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c: Include diagnostics.h.
+       (cgen_trace_extract): Call DIAGNOSTIC_PUSH,
+       DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL, and DIAGNOSTIC_POP.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-run.c (engine_run_n): Assert cpu arguments are valid.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.h (cgen_trace_printf): Add ATTRIBUTE_PRINTF_2.
+       (sim_disasm_sprintf): Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c (cgen_trace_extract): Make name & fmt const.
+       (cgen_trace_result): Make name const.
+       (cgen_trace_printf): Make fmt const.
+       * cgen-trace.h (cgen_trace_extract): Make 3rd arg const.
+       (cgen_trace_result): Make 2nd arg const.
+       (cgen_trace_printf): Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-mem.h (DECLARE_GETMEM_EXTERN): New macro.
+       (DECLARE_GETMEM): Use DECLARE_GETMEM_EXTERN.
+       (DECLARE_SETMEM_EXTERN): New macro.
+       (DECLARE_SETMEM): Use DECLARE_SETMEM_EXTERN.
+       (DECLARE_GETIMEM_EXTERN): New macro.
+       (DECLARE_GETIMEM): Use DECLARE_GETIMEM_EXTERN.
+       (DECLARE_GETT_EXTERN): New macro.
+       (DECLARE_GETT): Use DECLARE_GETT_EXTERN.
+       (DECLARE_SETT_EXTERN): New macro.
+       (DECLARE_SETT): Use DECLARE_SETT_EXTERN.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-ops.h: Move prototype blocks before function definitions.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-ops.h (SUBWORDSIQI): Add int 2nd argument.
+       (SUBWORDSIHI, SUBWORDSIUQI, SUBWORDDIUQI): Likewise.
+       (ADDCFSI): Change return type to BI.
+       (ADDOFSI, SUBCFSI, SUBOFSI, ADDCFHI, ADDOFHI, SUBCFHI, SUBOFHI,
+       ADDCFQI, ADDOFQI, SUBCFQI, SUBOFQI): Likewise.
+       (MUL1OFSI): Change SI arguments to USI.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-syscall.c (sim_syscall_multi): Handle CB_SYS_kill.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (os_kill): New function.
+       (default_callback): Add os_kill.
+       * syscall.c (cb_syscall): Handle CB_SYS_kill.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (srcdir): Change to abs_srcdir.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (cb_target_to_host_signal): New function.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c: Include signal.h.
+       (cb_init_signal_map): New prototype.
+       (os_init): Assign signal_map.
+       * gentmap.c (signal_tdefs): New array.
+       (gen_targ_vals_h): Output signal_tdefs.
+       (gen_targ_map_c): Likewise.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (os_getpid): New function.
+       (default_callback): Add os_getpid.
+       * syscall.c (cb_syscall): Change getpid to cb->getpid.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (VPATH): Use $(srcdir).
+       (config.status): New variable.
+       (stamp-hw): Depend on $(config.status).
+       (Makefile): Likewise.  Change rule based on SIM_COMMON_BUILD.
+       (config.status): Disable when SIM_COMMON_BUILD is true.
+       (.gdbinit): Likewise.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Move sim-hw settings to ../arch-subdir.mk.in.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_HW): Delete.
+       (SIM_HW_OBJS): Redefine.
+       (SIM_HW_SOCKSER, SIM_HW_DEVICES): Define.
+       (stamp-hw): Change SIM_HW to SIM_HW_DEVICES.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CGENDIR): Delete.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_INLINE): Delete.
+
+2021-06-19  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * sim-inline.h: Move UNUSED before TYPE.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (clean): Delete BUILT_SRC_FROM_COMMON usage.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CSEARCH): Change @INCINTL@ to $(INTL_CFLAGS).
+       (LIBINTL, LIBINTL_DEP): Delete.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Move dependency vars to ../arch-subdir.mk.in.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Move toolchain vars to ../arch-subdir.mk.in.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (lt_cv_dlopen_libs): Delete.
+       (@PLUGINS_TRUE@LIBDL): Likewise.
+       (ZLIB): Use $(zlibdir).
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CONFIG_LIBS): Add $(COMMON_LIBS).
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (WARN_CFLAGS, WERROR_CFLAGS): Delete.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Include ../arch-subdir.mk.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-run.c: Include sim-signal.h.
+       * cgen-utils.c, nrun.c, sim-core.c, sim-engine.c, sim-reason.c,
+       sim-resume.c, sim-signal.c, sim-stop.c, sim-watch.c: Likewise.
+       * sim-basics.h: Delete sim-signal.h include.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-basics.h: Delete libiberty.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_ENDIAN): Delete.
+       * sim-config.c (sim_config): Delete WITH_DEFAULT_TARGET_BYTE_ORDER.
+       (sim_config_print): Likewise.
+       * sim-config.h (WITH_TARGET_BYTE_ORDER): Delete.
+       (WITH_DEFAULT_TARGET_BYTE_ORDER): Likewise.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c: Include sim/callback.h.
+       * nrun.c, sim-hw.c, sim-io.c, sim-syscall.c, sim-trace.c: Likewise.
+       * sim-basics.h: Delete sim/callback.h include.
+       * sim-endian.h: Include bfd.h.
+       * sim-syscall.h (struct cb_syscall): New forward decl.
+       * sim-utils.h (sim_analyze_program): Likewise.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CONFIG_CFLAGS): Change @DEFS@ to -DHAVE_CONFIG_H.
+       (generated_files): Delete config.h.
+       (distclean): Likewise.
+       (config.h, stamp-h): Delete rules.
+       * defs.h [SIM_COMMON_BUILD]: Delete config.h include and PACKAGE*
+       defines.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Add stamp-modules rule to avoid rebuilds.
+       (clean): Delete modules.c files.
+       * local.mk: Add version.c-stamp rule to avoid rebuilds.
+       (CLEANFILES): Add version.c files.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * local.mk (%D%/version.c): Use AM_V_GEN & AM_V_at wrappers.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (GNULIB_BUILDDIR): Rename to ...
+       (GNULIB_PARENT_DIR): ... this.  Remove "gnulib" from value.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (COMMON_OBJS_NAMES): Add portability.o.
+       * local.mk (%C%_libcommon_a_SOURCES): Add %D%/portability.c.
+       * portability.c, portability.h: New files.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Move sim-load.o to ...
+       (COMMON_OBJS_NAMES): ... here.  Rename var from COMMON_OBJS.
+       (COMMON_OBJS): Redefine.
+       * defs.h [SIM_COMMON_BUILD]: Do not include ../config.h.
+       * local.mk (%C%_libcommon_a_CPPFLAGS): New variable.
+       (%C%_libcommon_a_SOURCES): Add %D%/sim-load.c.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-sockser.c: Include sys/select.h.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in: Delete SIM_ALIGNMENT.
+       * sim-config.c (sim_config): Change WITH_DEFAULT_ALIGNMENT to
+       NONSTRICT_ALIGNMENT.
+       (sim_config_print): Delete WITH_DEFAULT_ALIGNMENT logic.
+       * sim-config.h (WITH_DEFAULT_ALIGNMENT): Delete.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * defs.h: Include ../config.h.  Undefine PACKAGE* defines.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-basics.h (NULL): Delete.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c (main): Set default_callback.target_endian to
+       current_target_byte_order when it's BFD_ENDIAN_UNKNOWN.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-defs.h (STATE_RUN_FAST_P, CGEN_STATE, cgen_init): Delete.
+       * cgen-run.c (cgen_get_fast_p): New function.
+       (sim_resume): Move fast_p up and call cgen_get_fast_p.
+       * cgen-utils.c (cgen_init): Delete.
+       * sim-base.h: Delete cgen-sim.h include.
+       (struct sim_state): Delete cgen_state and STATE_CGEN_STATE.
+
+2021-06-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (IGEN_RUN): New variable.
+       (IGEN): Remove ASAN_OPTIONS.
+
+2021-06-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (COMMON_OBJS): Define.
+       (LIB_OBJS): Replace version.o with $(COMMON_OBJS).
+       (version.c): Delete target.
+       (generated_files): Delete version.c.
+       * local.mk: New file.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (EXTRA_LIBS): Add $(LIBGNU_EXTRA_LIBS).
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (GNULIB_BUILDDIR): Define.
+       Include $(GNULIB_BUILDDIR)/Makefile.gnulib.inc.
+       (CSEARCH): Add -I../...
+       (ALL_CFLAGS): Add $(INCGNU).
+       (EXTRA_LIBS): Add $(LIBGNU).
+       * defs.h: Include gnulib/config.h.  Undefine PACKAGE* defines.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+       (struct sim_state_base): Merge into ...
+       (struct sim_state): ... this.
+       (STATE_MY_NAME): Delete base.
+       (STATE_OPEN_KIND): Likewise.
+       (STATE_CALLBACK): Likewise.
+       (STATE_ENVIRONMENT): Likewise.
+       (STATE_CONFIG): Likewise.
+       (STATE_MODULES): Likewise.
+       (STATE_OPTIONS): Likewise.
+       (STATE_VERBOSE_P): Likewise.
+       (STATE_TRACE_DATA): Likewise.
+       (STATE_ARCHITECTURE): Likewise.
+       (STATE_TARGET): Likewise.
+       (STATE_PROG_ARGV): Likewise.
+       (STATE_PROG_BFD): Likewise.
+       (STATE_PROG_SYMS): Likewise.
+       (STATE_PROG_SYMS_COUNT): Likewise.
+       (STATE_TEXT_SECTION): Likewise.
+       (STATE_TEXT_START): Likewise.
+       (STATE_TEXT_END): Likewise.
+       (STATE_START_ADDR): Likewise.
+       (STATE_SCACHE_SIZE): Likewise.
+       (STATE_CORE): Likewise.
+       (STATE_MEMOPT): Likewise.
+       (STATE_EVENTS): Likewise.
+       (STATE_ENGINE): Likewise.
+       (STATE_WATCHPOINTS): Likewise.
+       (STATE_HW): Likewise.
+       (STATE_LOAD_AT_LMA_P): Likewise.
+       (SIM_MAGIC_NUMBER): Likewise.
+       (STATE_MAGIC): Likewise.
+       * sim-utils.c (sim_state_alloc_extra): Delete check for
+       SIM_HAVE_COMMON_SIM_STATE.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-defs.h (STATE_RUN_FAST_P): Call STATE_CGEN_STATE.
+       * sim-base.h [CGEN_ARCH]: Include cgen-sim.h and define
+       SIM_HAVE_COMMON_SIM_STATE.
+       (struct sim_state): Add cgen_state.
+       (STATE_CGEN_STATE): Define.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h (struct sim_state): Update comment.
+       (struct sim_state): Define.
+       (STATE_ARCH_DATA): Likewise.
+       (sim_state_alloc): New define.
+       (sim_state_alloc_extra): Renamed & add 3rd arg.
+       * sim-utils.c (sim_state_alloc): Likewise.
+       (sim_state_alloc_extra): Set arch data.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c: Replace config.h include with defs.h.
+       * cgen-accfp.c, cgen-fpu.c, cgen-par.c, cgen-run.c, cgen-scache.c,
+       dv-core.c, dv-glue.c, genmloop.sh, hw-alloc.c, hw-base.c, hw-device.c,
+       hw-events.c, hw-handles.c, hw-instances.c, hw-ports.c,
+       hw-properties.c, hw-tree.c, sim-abort.c, sim-arange.c, sim-bits.c,
+       sim-close.c, sim-command.c, sim-config.c, sim-core.c, sim-cpu.c,
+       sim-endian.c, sim-engine.c, sim-events.c, sim-fpu.c, sim-hload.c,
+       sim-hrw.c, sim-hw.c, sim-info.c, sim-inline.c, sim-model.c,
+       sim-profile.c, sim-reason.c, sim-reg.c, sim-resume.c, sim-run.c,
+       sim-signal.c, sim-stop.c, sim-trace.c, sim-utils.c: Include defs.h.
+       * cgen-trace.c, cgen-utils.c, dv-cfi.c, dv-pal.c, dv-sockser.c,
+       nrun.c, sim-basics.h, sim-load.c, sim-memopt.c, sim-module.c,
+       sim-options.c, sim-syscall.c, sim-watch.c, syscall.c: Replace
+       config.h include with defs.h.
+       * gentmap.c (gen_targ_map_c): Replace config.h with defs.h.
+       * sim-io.c: Include defs.h.
+       (open): Undefine.
+       * defs.h: New file.
+
+2021-05-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c: Include environ.h.
+       (environ): Delete prototype.
+       (main): Delete HAVE_ENVIRON check.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (os_lseek): Change return and 3rd arg to int64_t.
+       (os_ftruncate): Change 3rd arg to int64_t.
+       (os_truncate): Change 3rd arg to int64_t.
+       * sim-io.c (sim_io_lseek): Change return and 3rd arg to int64_t.
+       * sim-io.h (sim_io_lseek): Likewise.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (os_time): Change return to int64_t.  Delete 2nd arg.
+       (os_fstat): Delete 2nd arg to time callback.
+       * sim-io.c (sim_io_time): Change return to int64_t.  Delete 2nd arg
+       to time callback.
+       * sim-io.h (sim_io_time): Change return to int64_t.
+       * syscall.c (cb_syscall): Delete 2nd arg to time callback.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (cb_host_to_target_stat): Change PTR to void*.
+       * sim-syscall.c (sim_syscall_multi): Delete (PTR) casts.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (callback_h, remote_sim_h): Update path.
+       * callback.c: Update include path.
+       * gentmap.c (gen_targ_map_c): Likewise.
+       * sim-basics.h: Likewise.
+       * sim-close.c: Likewise.
+       * sim-core.c: Likewise.
+       * sim-load.c: Likewise.
+       * sim-module.h: Likewise.
+       * syscall.c: Likewise.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (modules.c): Touch $@ at the end.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c (sim_cgen_disassemble_insn): Change %x to PRIxTA.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-types.h (mode_names): Rename to ...
+       (cgen_mode_names): ... this.
+       (MODE_NAME): Use cgen_mode_names.
+       * cgen-utils.c (mode_names): Rename to ...
+       (cgen_mode_names): ... this.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-ops.h (cgen_rtx_error): Declare.
+       * cgen-utils.c (cgen_rtx_error): Add %s printf argument.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-utils.c (virtual_insn_entries): Change {0} to {}.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (html, clean-html, install-html, pdf, clean-pdf,
+       install-pdf): New rules.
+
+2021-05-08  Tom Tromey  <tom@tromey.com>
+
+       * sim-options.c (compare_strings): Remove.
+       (dup_arg_p): Use htab_eq_string.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-hw.c (sim_hw_install): Rename to ...
+       (sim_install_hw): ... this.  New prototype.
+       * sim-hw.h (sim_hw_install): Delete.
+       * sim-module.c: Delete sim-hw.h include.
+       (early_modules): Delete sim_hw_install.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * Make-common.in (generated_files): Add config.h.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c (sim_disasm_perror_memory): Use BFD_VMA_FMT and drop
+       cast.
+       * sim-load.c (xprintf_bfd_vma): Delete.
+       (sim_load_file): Delete xprintf_bfd_vma calls.  Use BFD_VMA_FMT.
+
+2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * hw-events.h (hw_event_queue_schedule_tracef): Use format attribute.
+       (hw_event_queue_schedule_vtracef): Likewise.
+       * hw-tree.h (hw_tree_vparse): Likewise.
+       * sim-profile.c (profile_vprintf): Likewise.
+       * sim-trace.c (dis_printf): Likewise.
+       * sim-trace.h (trace_printf): Likewise.
+       (trace_vprintf): Likewise.
+       * sim-utils.h (sim_do_commandf): Likewise.
+       * hw-events.c (hw_event_queue_schedule): Use
+       hw_event_queue_schedule_tracef.
+
+2021-05-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * sim-options.c (standard_option_handler): Add default cases to
+       switches.
+
+2021-05-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (os_error): Change __attribute__((noreturn)) to
+       ATTRIBUTE_NORETURN.
+       * hw-device.h (hw_abort, hw_vabort, hw_halthw_trace): Change
+       attributes to ATTRIBUTE_PRINTF and ATTRIBUTE_NORETURN.
+       * hw-events.h (hw_event_queue_schedule_tracef): Likewise.
+       * hw-tree.h (hw_tree_delete): Likewise.
+       * sim-basics.h (__attribute__): Delete.
+       * sim-engine.h (sim_engine_halt): Change __attribute__((noreturn))
+       to ATTRIBUTE_NORETURN.
+       (sim_engine_abort, sim_engine_vabort): Likewise.
+       * sim-hw.h (sim_hw_install, sim_hw_abort): Change
+       __attribute__((printf)) to ATTRIBUTE_PRINTF.
+       * sim-inline.h (NORETURN): Delete.
+       (UNUSED): Change to ATTRIBUTE_UNUSED.
+       * sim-io.h (sim_io_printf): Change attributes to ATTRIBUTE_PRINTF
+       and ATTRIBUTE_NORETURN.
+       (sim_io_eprintf, sim_io_error): Likewise.
+       * sim-profile.c (profile_printf): Likewise.
+       * sim-trace.h (trace_prefix, trace_generic, trace_printf,
+       sim_debug_printf): Likewise.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (dup_arg_p): Call htab_empty.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-sockser.c (dv_sockser_install): Rename to ...
+       (sim_install_dv_sockser): ... this.
+       * dv-sockser.h (dv_sockser_install): Delete.
+       * sim-module.c: Delete dv-sockser.h include.
+       (early_modules): Delete dv_sockser_install.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (LIB_OBJS): Add modules.o.
+       (generated_files): Add modules.c.
+       (modules.c): New target.
+       * sim-module.c (modules): Rename to ...
+       (early_modules): ... this.  Delete 0 sentinel.
+       (early_modules_len): Define.
+       (sim_modules_detected, sim_modules_detected_len): Declare.
+       (sim_pre_argv_init): Call sim_module_install_list.
+       (sim_module_install): New function.
+       (sim_module_install_list): New function.
+       * sim-module.h (sim_module_install_list): Declare.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c (strsignal): New prototype.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (wrap): Delete.
+       (os_close): Replace wrap call with direct call & setting last_errno.
+       (os_isatty, os_lseek, os_read_stdin, os_write, os_rename, os_system,
+       os_time, os_unlink, os_stat, os_fstat, os_lstat): Likewise.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Delete.  Update comment.
+       (gentvals): Unify common code paths.
+       (gen_targets): Change TARGETS to TARGETS_DIRS.  Call gentvals without
+       target argument.
+       * nltvals.def: Regenerate.
+
+2021-04-25  Tom Tromey  <tom@tromey.com>
+
+       * sim-options.c (compare_strings): New function.
+       (ARG_HASH_SIZE, ARG_HASH): Remove.
+       (dup_arg_p): Use htab_t.
+       (sim_parse_args): Remove assert.
+
+2021-04-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-cfi.c (attach_cfi_regs): Change %u to PRIiTC.
+
+2021-04-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (ARG_HASH_SIZE): Increase to 256.
+       (sim_parse_args): Call SIM_ASSERT.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * sim-utils.c: Update includes.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Make-common.in: Require GNU make.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Make-common.in (stamp-hw): New target.
+       (hw-config.h): Depend on stamp-hw.
+       (mostlyclean): Remove stamp-hw and hw-config.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Make-common.in (mostlyclean): Now an alias for clean, not
+       distclean.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * sim-events.c (sim_events_schedule): Use
+       sim_events_schedule_tracef.
+
+2021-04-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * callback.c (os_printf_filtered, os_vprintf_filtered,
+       os_evprintf_filtered, os_error): Use ATTRIBUTE_PRINTF.
+       * sim-engine.h (sim_engine_abort, sim_engine_vabort): Likewise.
+       * sim-events.h (sim_events_schedule_tracef,
+       sim_events_schedule_vtracef): Use ATTRIBUTE_NULL_PRINTF.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Add moxie.
+       * nltvals.def: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGET_DIRS, TARGETS): Add sh.
+       * nltvals.def: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Add rx.
+       * nltvals.def: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Add m32c.
+       * nltvals.def: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Add iq2000.
+       * nltvals.def: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * syscall.c (cb_syscall): Implement CB_SYS_getpid.
+
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * Make-common.in (CONFIG_CFLAGS): Remove SIM_EXTRA_CFLAGS.
+       (ALL_CLAGS, COMMON_DEP_CFLAGS): Add SIM_EXTRA_CFLAGS after
+       CSEARCH.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-cpu.c (sim_cpu_alloc_all): Delete 3rd arg.  Delete 2nd arg to
+       sim_cpu_alloc.
+       (sim_cpu_alloc): Move extra_bytes to local var.  Add result of
+       cgen_cpu_max_extra_bytes.
+       * sim-cpu.h (sim_cpu_alloc_all): Delete 3rd arg.
+       (sim_cpu_alloc): Delete 2nd arg.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * cgen-utils.c (RORQI, ROLQI, RORHI, ROLHI, RORSI, ROLSI): Use
+       new-style declaration.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (install-common): Install as run-$arch and
+       libsim-$arch.a when not the primary arch.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CFLAGS_FOR_BUILD): Define.
+       (BUILD_CFLAGS): Replace -g -O with $(CFLAGS_FOR_BUILD).
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (LINK_FOR_BUILD): Change BUILD_LDFLAGS to
+       LDFLAGS_FOR_BUILD.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
+       (gentmap.o): New rule.
+       (gentmap): Call LINK_FOR_BUILD.
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (check): Delete body.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_EXTRA_LIBDEPS): Delete.
+       (LIBDEPS): Delete $(SIM_EXTRA_LIBDEPS).
+
+2021-02-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_EXTRA_ALL): Delete.
+       (all): Delete $(SIM_EXTRA_ALL).
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Removed.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete all sinclude & m4_include calls.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Delete.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-events.c: Include sim-cpu.h.
+       (sim_event_watchpoints): Define watch_pc.
+       (sim_events_watch_pc): New function.
+       (WATCH_SIM): Handle watch_pc.
+       * sim-events.h (sim_events_watch_pc): New prototype.
+       * sim-watch.c (schedule_watchpoint): Replace sim_events_watch_sim with
+       sim_events_watch_pc.
+       * sim-watch.h (sim_watchpoints): Delete pc.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Replace AC_CONFIG_HEADER with
+       AC_CONFIG_HEADERS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (HDEFINES, TDEFINES): Delete.
+       (CONFIG_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
+       * acinclude.m4 (SIM_AC_COMMON): Delete AC_SUBST(HDEFINES) and
+       bfd/configure.host sourcing.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.py (TARGETS): Add riscv.
+       (TARGET_DIRS): Likewise.
+       * nltvals.def: Regenerate from the latest libgloss sources.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c (cgen_trace_insn): Add "%s" argument.
+
+2021-01-31  Stafford Horne  <shorne@gmail.com>
+
+       * cgen-accfp.c (fixsfsi): Change res from unsigned32 to signed32.
+       (fixdfsi): Change res from unsigned32 to signed32.
+       (fixdfdi): Change res from unsigned64 to signed64.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.sh: Replace shell script with ...
+       * gennltvals.py: ... this Python script.
+       * nltvals.def: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-watch.c (schedule_watchpoint): Change sizeof_pc to sizeof
+       sim_cia.
+       * sim-watch.h (struct _sim_watchpoints): Delete sizeof_pc.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.c (profile_pc_init): Change 1 in shifts to 1ULL.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-hw.c (merge_device_file): Replace fgets with getline.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.sh (gen_arches): Sort calls by first arg.
+       * nltvals.def: Regenerate.
+
+2021-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (version.c): Simplifiy args and call move-if-change.
+       * create-version.sh: Delete host & target alias logic.  Write to the
+       output directly.
+
+2021-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure, configure.ac, Makefile.in: Delete.
+
+2021-01-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-watch.c (default_interrupt_handler): Define.
+       (sim_watchpoint_install): Set default interrupt_handler to new
+       default_interrupt_handler.
+
+2021-01-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-watch.c (do_watchpoint_create): Parse arg+1 and assign to arg1.
+
+2021-01-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-events.c (sim_events_watch_sim): Change byte_order type to
+       enum bfd_endian.
+       (sim_events_watch_core): Likewise.
+       * sim-events.h (sim_events_watch_sim, sim_events_watch_core): Likewise.
+       * sim-watch.c (schedule_watchpoint): Change 0 to HOST_BYTE_ORDER in
+       call to sim_events_watch_sim.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.h [!WITH_PROFILE]: Rewrite to use #error.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_WARNINGS.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (sim_memory_map): Change %#x to PRIxTW.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Delete checks for stdlib.h, string.h,
+       strings.h, time.h, and errno.h.
+       * callback.c, cgen-scache.c, dv-glue.c, dv-pal.c, dv-sockser.c,
+       hw-alloc.c, hw-base.c, hw-device.c, hw-events.c, hw-handles.c,
+       hw-ports.c, hw-properties.c, hw-tree.c, nrun.c, sim-arange.c,
+       sim-events.c, sim-fpu.c, sim-hw.c, sim-load.c, sim-memopt.c,
+       sim-options.c, sim-profile.c, sim-trace.c, sim-utils.c,
+       sim-watch.c, syscall.c: Delete HAVE_ERRNO_H, HAVE_STDLIB_H,
+       HAVE_STRING_H, HAVE_STRINGS_H, HAVE_LIMITS_H, HAVE_TIME_H,
+       and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-basics.h [__CYGWIN32__] (vasprintf, asprintf): Delete.
+       * sim-core.c, sim-watch.c: Include libiberty.h.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Replace duplicate text with pointer to README-HACKING.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Document 1st argument.
+       Set WERROR_CFLAGS when first arg is not set or is "yes".
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-base.c (full_name_of_hw): Delete full_name.  Replace
+       hw_strdup call with hw_malloc.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-par.c: Include stdlib.h.
+       * cgen-trace.c, hw-events.c, sim-abort.c: Likewise.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (C_DIALECT): Define.
+       (COMPILE.pre): Append $(C_DIALECT).
+       * acinclude.m4 (SIM_AC_COMMON): Probe C11 to define C_DIALECT.
+
+2021-01-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (sim_memory_map): Define.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (ACX_BUGURL): Change http:// to https://.
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (sim_print_version): Print out more details when
+       is_command is non-zero.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (standard_option_handler): Call sim_print_version.
+       (sim_print_version): New function.
+       * sim-options.h (sim_print_version): New prototype.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.c (print_sim_config): Rename to ...
+       (sim_config_print): ... this.
+       * sim-config.h: Likewise.
+
+2021-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-bits.h (_ALIGNa, _FLOORa, ALIGN_8, ALIGN_16, ALIGN_PAGE,
+       FLOOR_PAGE): Delete unused macros.
+       (align_up, align_down): Define.
+
+2020-08-10  Tom de Vries  <tdevries@suse.de>
+
+       * sim-cpu.c: Include stdlib.h for free.
+
+2020-01-19  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * nrun.c: Include stdlib.h.
+       * sim-core.c: Likewise.
+       * sim-engine.c: Likewise.
+       * sim-io.c: Likewise.
+       * sim-module.c: Likewise.
+       * sim-reason.c: Likewise.
+
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24572:
+       * Makefile.in (install-strip): New target.
+
+2019-12-01  Pavel I. Kryukov  <kryukov@frtk.ru>
+
+       * sim-utils.c: Prevent buffer overflow.
+
+2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * gennltvals.sh: Add PRU libgloss target.
+       * nltvals.def: Regenerate from the latest libgloss sources.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * cgen-accfp.c (unorderedsf, unordereddf): New functions.
+       (cgen_init_accurate_fpu): Wire up unorderedsf and unordereddf.
+       * cgen-fpu.h (cgen_fp_ops): Define fields unorderedsf and unordereddf.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * cgen-accfp.c (floatdidf, fixdfdi): New functions.
+       (cgen_init_accurate_fpu): Add floatdidf and fixdfdi.
+
+2019-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
+       CURRENT_TARGET_BYTE_ORDER.
+       (SUBWORDTFSI): Likewise.
+       (JOINSIDF): Likewise.
+       (JOINSIXF): Likewise.
+       (JOINSITF): Likewise.
+
+2019-03-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * sim-base.h: Add 'sim-assert.h' include.
+       * sim-basics.h: Add 'libiberty.h' include.
+
+2019-03-28  Stafford Horne  <shorne@gmail.com>
+
+       * sim-options.c: Include "config.h".
+       Include <stdio.h>.
+       * sim-watch.c: Include "config.h".
+       Include <stdio.h>.
+       * hw-device.c: Include <string.h>.
+       * hw-events.c: Include <string.h>.
+       * hw-handles.c: Include <stdlib.h>.
+       * sim-fpu.c: Include <stdlib.h>.
+
+2019-03-28  Stafford Horne  <shorne@gmail.com>
+
+       * Make-common.in (sim-arange_h): Remove sim-arange.c
+       * sim-arange.c: Remove SIM_ARANGE_C.
+       Add ifdef for _SIM_ARANGE_C_.
+       Include "sim-arange.h".
+       Remove include for unused "sim-assert.h".
+       Remove DEFINE_INLINE_P.  Remove DEFINE_NON_INLINE_P.
+       (sim_addr_range_add): Declare as INLINE_SIM_ARANGE.
+       (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
+       (sim_addr_range_hit_p): Change from SIM_ARANGE_INLINE to
+       INLINE_SIM_ARANGE.
+       * sim-arange.h (sim_addr_range_add): Declare as
+       INLINE_SIM_ARANGE.
+       (sim_addr_range_delete): Declare as INLINE_SIM_ARANGE.
+       (sim_addr_range_hit_p) Declare as INLINE_SIM_ARANGE.
+       Remove definition of SIM_ARANGE_INLINE.
+       Remove [HAVE_INLINE].
+       Wrap include "sim-arange.c" in H_REVEALS_MODULE_P.
+       * sim-base.h: Include "sim-arange.h"
+       * sim-basics.h: Remove include of "sim-arange.h"
+       * sim-inline.c: Include "sim-arange.c"
+       * sim-inline.h: Define INLINE_SIM_ARANGE.
+       Define SIM_ARANGE_INLINE.  Define EXTERN_SIM_ARANGE_P.
+       Define STATIC_INLINE_SIM_ARANGE.  Define STATIC_SIM_ARANGE.
+
+2019-01-26  Tom Tromey  <tom@tromey.com>
+
+       * Make-common.in (version.c): Use sim's create-version.sh.
+       * create-version.sh: New file.
+
+2019-01-16  Pavel I. Kryukov  <kryukov@frtk.ru>
+
+       * sim-arange.c (DEFINE_INLINE_P, DEFINE_NON_INLINE_P): Remove.
+
+2019-01-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * sim-arange.h (SIM_ARANGE_INLINE): Change EXTERN to extern.
+
+2018-12-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * sim-syscall.c (sim_syscall_multi): Don't update sc->errcode at
+       this point, it should have already been set in cb_syscall.
+
+2018-10-05  Stafford Horne  <shorne@gmail.com>
+
+       * cgen-ops.h (ADDCFDI): New function, add carry flag DI variant.
+       (ADDOFDI): New function, add overflow flag DI variant.
+       (SUBCFDI): New function, subtract carry flag DI variant.
+       (SUBOFDI): New function, subtract overflow flag DI variant.
+
+2018-09-28  Компан, Вячеслав Олегович  <kompan.vo@phystech.edu>
+
+       * sim-core.h (sim_cpu_core): Rename cpu_core.xor to
+       cpu_core.byte_xor.
+       * sim-core.c (sim_core_set_xor): Likewise.
+       (sim_core_xor_read_buffer): Likewise.
+       (sim_core_xor_write_buffer): Likewise.
+
+2017-12-12  Peter Gavin  <pgavin@gmail.com>
+           Stafford Horne  <shorne@gmail.com>
+
+       * cgen-ops.h (MUL2OFSI): New function, 2's complement overflow
+       flag.
+       (MUL1OFSI): New function, 1's complement overflow flag.
+
+2017-12-12  Peter Gavin  <pgavin@gmail.com>
+           Stafford Horne <shorne@gmail.com>
+
+       * cgen-accfp.c (remsf, remdf): New function.
+       (cgen_init_accurate_fpu): Add remsf and remdf.
+       * cgen-fpu.h (cgen_fp_ops): Add remsf, remdf, remxf and remtf.
+       * sim-fpu.c (sim_fpu_rem): New function.
+       * sim-fpu.h (sim_fpu_status_invalid_irx): New enum.
+       (sim_fpu_rem): New function.
+       (sim_fpu_print_status): Add case for sim_fpu_status_invalid_irx.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Honor existing CC_FOR_BUILD in
+       environment.
+
+2017-05-24  Yao Qi  <yao.qi@linaro.org>
+
+       * sim-trace.c (trace_disasm): Caller update.
+
+2016-08-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h (sim_state_base): Add prog_syms_count.
+       (STATE_PROG_SYMS_COUNT): Define.
+       * sim-trace.c (trace_uninstall): Free STATE_PROG_SYMS memory.
+       (trace_load_symbols): New function.
+       (trace_sym_value): Likewise.
+       (trace_prefix): Change STATE_CPU(cpu) to sd.  Replace symbol
+       loading logic with a call to trace_load_symbols.
+       * sim-trace.h (trace_load_symbols, trace_sym_value): New
+       prototypes.
+
+2016-08-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-types.h (mode_names): Mark const.
+       * cgen-utils.c (mode_names): Likewise.
+
+2016-08-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-defs.h (struct cgen_state): Delete argv and envp.
+       (STATE_ARGV, STATE_ENVP): Delete.
+
+2016-02-04  Nick Clifton  <nickc@redhat.com>
+
+       * cgen-scache.c (scache_option_handler): Prevent possible
+       undefined behaviour computing the size of the scache by using
+       unsigned integers instead of signed integers.
+
+2016-01-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * sim-fpu.c: Minor comment fixes throughout.
+
+2016-01-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * sim-fpu.c (print_bits): Minor reformatting (no code change).
+       (sim_fpu_map): Likewise.
+
+2016-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.c (print_sim_config): Drop extra whitespace before =
+       in output for byte order, stdio, and msb settings.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call AC_MSG_CHECKING,
+       AC_DEFINE_UNQUOTED, and AC_MSG_RESULT for sim-debug.  Likewise for
+       sim-stdio, sim-trace, and sim-profile.
+       (SIM_AC_OPTION_ENVIRONMENT): Likewise.
+       (SIM_AC_OPTION_ASSERT): Likewise.
+       (SIM_AC_OPTION_SMP): Likewise.
+       (SIM_AC_OPTION_XOR_ENDIAN): Likewise.
+       * configure: Regenerate.
+       * Make-common.in (SIM_DEBUG, SIM_TRACE, SIM_PROFILE, SIM_ASSERT,
+       SIM_ENVIRONMENT, SIM_SMP, SIM_XOR_ENDIAN): Delete.
+       (CONFIG_CFLAGS): Delete $(SIM_DEBUG), $(SIM_TRACE), $(SIM_PROFILE),
+       $(SIM_ASSERT), $(SIM_ENVIRONMENT), $(SIM_SMP), and $(SIM_XOR_ENDIAN).
+       * sim-config.c (sim_config): Change DEFAULT_ENVIRONMENT to
+       WITH_ENVIRONMENT & USER_ENVIRONMENT.
+       * sim-config.h (SIM_HAVE_ENVIRONMENT, WITH_ENVIRONMENT,
+       DEFAULT_ENVIRONMENT, WITH_DEBUG, WITH_TRACE, WITH_PROFILE,
+       WITH_ASSERT, WITH_STDIO): Delete.
+       * sim-options.c (standard_options): Delete SIM_HAVE_ENVIRONMENT
+       check.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_PACKAGES): Delete.
+       * configure: Regenerate.
+       * Make-common.in (SIM_PACKAGES): Delete.
+       (CONFIG_CFLAGS): Delete $(SIM_PACKAGES).
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ENVIRONMENT.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
+       sim_link_links.
+       (SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
+       * gentmap.c: Change targ-vals.def include to nltvals.def.
+       * Make-common.in (gentmap): Change targ-vals.def to
+       $(srccom)/nltvals.def.
+       (distclean): Delete rm -f targ-vals.def.
+       * Makefile.in: Update comment.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_INLINE.
+       (SIM_AC_OPTION_INLINE): Rename default_sim_inline to sim_inline
+       and always set -DDEFAULT_INLINE.  Delete AC_ARG_ENABLE 4th arg.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete --enable-sim-regparm and sim_regparm,
+       and --enable-sim-stdcall and sim_stdcall.
+       * configure: Regenerate.
+       * Make-common.in (SIM_REGPARM, SIM_STDCALL): Delete.
+       (CONFIG_CFLAGS): Delete $(SIM_REGPARM) and $(SIM_STDCALL).
+       * sim-config.h (WITH_REGPARM, WITH_STDCALL): Delete.
+       * sim-inline.h (REGPARM_MODULE, REGPARM): Delete.
+       (REGPARM_*): Delete all regparm defines and their use.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete --enable-sim-cflags and sim_cflags.
+       * Make-common.in (SIM_CFLAGS): Delete.
+       (CONFIG_CFLAGS): Delete $(SIM_CFLAGS).
+       * Makefile.in: Likewise.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change SIM_AC_COMMON to AC_PROG_CC.  Drop 2nd arg
+       to AC_OUTPUT.  Move AC_CHECK_HEADERS, AC_CHECK_FUNCS,
+       AC_CHECK_MEMBERS, and -AC_CHECK_TYPES ...
+       * acinclude.m4 (SIM_AC_COMMON): ... here.
+       * aclocal.m4, configure: Regenerate.
+       * config.in: Delete file.
+       * callback.c: Change cconfig.h include to config.h.
+       * dv-cfi.c, nrun.c, sim-basics.h, sim-load.c, sim-memopt.c,
+       syscall.c: Likewise.
+       * Make-common.in (sim-basics_h): Delete ../common/cconfig.h.
+       * Makefile.in (distclean): Delete rm -f cconfig.h config.h stamp-h.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.c (print_sim_config): Delete sim_io_printf of version,
+       date, and time information.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (sim_parse_args): Mark argv array const.
+       * sim-options.h (sim_parse_args): Likewise.
+
+2016-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c: Include dis-asm.h.
+       (OPTION_TRACE_DISASM): New enum.
+       (trace_options): Add trace-disasm flag.
+       (trace_option_handler): Handle OPTION_TRACE_DISASM.
+       (trace_idx_to_str): Handle TRACE_DISASM_IDX.
+       (dis_read, dis_printf, trace_disasm): New functions.
+       * sim-trace.h: Include dis-asm.h.
+       (TRACE_INSN_IDX): Clarify comment.
+       (TRACE_DISASM_IDX): New enum.
+       (TRACE_disasm): New define.
+       (WITH_TRACE_DISASM_P): New define.
+       (struct _trace_data): Add dis_bfd, disassembler, and dis_info.
+       (STRACE_DISASM_P): New define.
+       (TRACE_DISASM_P): Likewise.
+       (TRACE_DISASM_P): Likewise.
+       (TRACE_DISASM): Likewise.
+       (trace_disasm): New function.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-utils.c (sim_state_free): Change to STATE_MAGIC.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-scache.c (MAX): Delete.
+       (scache_init): Change MAX to max.
+       * cgen-trace.c (min): Delete.
+       * cgen-utils.c (min): Delete.
+       * sim-basics.h [!min] (min): Define.
+       [!max] (max): Define.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (sim_parse_args): Tweak getopt error message.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (sim-bswap): Delete.
+       * configure: Regenerate.
+       * Make-common.in (SIM_BSWAP): Delete.
+       (CONFIG_CFLAGS): Delete $(SIM_BSWAP).
+       * sim-config.h (htonl, ntohl): Delete.
+       (WITH_BSWAP): Delete.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (sim_parse_args): Declare local save_opterr.  Save
+       opterr state to it before calling getopt_long and restore afterwards.
+       Set opterr to 0.  When optc is '?', call sim_io_eprintf.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-device.h (device): Delete commented typedef.
+       * sim-basics.h (device): Delete typedef.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (sim_parse_args): Replace for loop with a call
+       to countargv.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c (myname): Mark const.
+       (main): Mark name const.  Replace myname parsing loop with a
+       call to lbasename.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       (CONFIG_CFLAGS): Delte $(SIM_HOSTENDIAN).
+       * acinclude.m4 (SIM_AC_COMMON): Call AC_C_BIGENDIAN.
+       (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * config.in, configure: Regenerate.
+       * Make-common.in (SIM_HOSTENDIAN): Delete.
+       * sim-config.c (current_host_byte_order): Delete.
+       (sim_config): Delete current_host_byte_order assignments and
+       CURRENT_HOST_BYTE_ORDER checks.
+       (print_sim_config): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+       * sim-config.h (WITH_HOST_BYTE_ORDER): Change to ...
+       (HOST_BYTE_ORDER): ... this.  Define based on WORDS_BIGENDIAN.
+       (current_host_byte_order): Delete.
+       (CURRENT_HOST_BYTE_ORDER): Likewise.
+       * sim-endian.c (WITH_HOST_BYTE_ORDER): Rename to ...
+       (HOST_BYTE_ORDER): ... this.
+       (sim_endian_split_16): Change WITH_HOST_BYTE_ORDER to
+       HOST_BYTE_ORDER.
+       (sim_endian_join_16): Likewise.
+       * sim-n-core.h (sim_core_read_misaligned_N): Change
+       CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+       (sim_core_write_misaligned_N): Likewise.
+       * sim-n-endian.h (endian_t2h_N): Likewise.
+       (endian_h2t_N, endian_h2be_N, endian_be2h_N, endian_h2le_N,
+       endian_le2h_N): Likewise.
+       (offset_N): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to
+       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+       BFD_ENDIAN_UNKNOWN.
+       (SIM_AC_OPTION_HOSTENDIAN): Likewise.
+       * cgen-ops.h (SUBWORDXFSI): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
+       (SUBWORDTFSI, JOINSIDF, JOINSIXF, JOINSITF): Likewise.
+       * nrun.c (main): Likewise.
+       * sim-config.c (current_host_byte_order): Change type to enum
+       bfd_endian.  Initialize to BFD_ENDIAN_UNKNOWN.
+       (current_target_byte_order): Likewise.
+       (config_byte_order_to_a): Likewise.  Change BIG_ENDIAN to
+       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+       BFD_ENDIAN_UNKNOWN.
+       (sim_config): Change prefered_target_byte_order type to enum
+       bfd_endian.  Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
+       to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
+       * sim-config.h: Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
+       to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
+       Delete all the various arch/OS endian includes & defines.
+       (current_host_byte_order): Change type to enum bfd_endian.
+       (current_target_byte_order): Likewise.
+       (CURRENT_HOST_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN, not 0.
+       (CURRENT_TARGET_BYTE_ORDER): Likewise.
+       * sim-endian.c: Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
+       * sim-events.c (sim_events_watch_sim): Change BIG_ENDIAN to
+       BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+       BFD_ENDIAN_UNKNOWN.
+       (sim_events_watch_core): Likewise.
+       * sim-events.h: Likewise.
+       * sim-n-core.h (sim_core_read_misaligned_N): Change BIG_ENDIAN to
+       BFD_ENDIAN_BIG.
+       (sim_core_write_misaligned_N): Likewise.
+       * sim-n-endian.h (endian_h2be_N): Likewise.
+       (endian_be2h_N): Likewise.
+       (endian_h2le_N): Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
+       (offset_N): Likewise.
+       * sim-options.c (standard_option_handler): Change LITTLE_ENDIAN to
+       BFD_ENDIAN_LITTLE and BIG_ENDIAN to BFD_ENDIAN_BIG.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-defs.h (current_state): Delete.
+       * sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
+       * sim-utils.c (current_state): Delete.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment
+       to use lbasename.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (AH_BOTTOM): Delete tconfig.h appending.
+       * config.in, configure: Regenerate.
+       * Make-common.in (sim-basics_h): Delete tconfig.h.
+       (distclean): Likewise.
+       * sim-core.c (device_io_read_buffer, device_io_write_buffer): Delete.
+       (new_sim_core_mapping): Delete WITH_HW and device *device.
+       (sim_core_map_attach, sim_core_attach): Likewise.
+       (sim_core_read_buffer): Delete WITH_DEVICES logic.
+       (sim_core_write_buffer): Likewise.
+       * sim-core.h (struct _sim_core_mapping): Delete WITH_HW and device
+       *device.
+       (sim_core_attach): Likewise.
+       (device_io_read_buffer, device_io_write_buffer): Delete.
+       * sim-n-core.h (sim_core_read_aligned_N): Delete WITH_DEVICES logic.
+       (sim_core_write_aligned_N): Likewise.
+       * tconfig.h: Delete file.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (sim_core_read_buffer): Move cia decl to top of func.
+       Call sim_cpu_hw_io_read_buffer if cpu is valid.
+       (sim_core_write_buffer): Move cia decl to top of func.  Call
+       sim_cpu_hw_io_write_buffer if cpu is valid.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-properties.c (hw_find_ihandle_runtime_property): Delete
+       HW_TRACE call.
+       (hw_find_integer_property): Likewise.
+       (hw_find_integer_array_property): Likewise.
+       (hw_add_duplicate_property): Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.h (WITH_ENGINE): Delete.
+       * sim-module.c (modules): Always include sim_engine_install.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.
+       * cgen-types.h (SIM_HAVE_MODEL): Delete.
+       * sim-base.h: Always include sim-model.h.
+       * sim-config.h (WITH_DEFAULT_MODEL): Delete.
+       * sim-cpu.h (sim_cpu_base): Always declare mach/model members.
+       * sim-model.c (sim_model_init): Return when !WITH_MODEL_P.
+       [!WITH_MODEL_P] (sim_machs): Define.
+       * sim-model.h: Add some developer docs.
+       [!WITH_DEFAULT_MODEL] (mach_attr, WITH_DEFAULT_MODEL): Define.
+       (WITH_MODEL_P): Define.
+       * sim-module.c (modules): Always include sim_model_install.
+       * sim-profile.h (WITH_PROFILE_MODEL_P): Delete.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-cpu.h: Rename MACH to SIM_MACH and MODEL to SIM_MODEL.
+       * sim-model.c: Likewise.
+       * sim-model.h: Likewise.  Rename MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (device_error): Delete.
+       (sim_core_map_attach): Delete calls to device_error.
+       (sim_core_attach): Likewise.
+       * sim-core.h (device_error): Delete.
+       * sim-n-core.h (sim_core_read_aligned_N): Change device_error call
+       to sim_engine_abort.
+       (sim_core_write_aligned_N): Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.h (WITH_CALLBACK_MEMORY): Delete.
+       * sim-core.c (sim_core_write_buffer): Likewise.
+       * sim-n-core.h (sim_core_read_aligned_N): Likewise.
+       (sim_core_write_aligned_N): Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-pal.c: Include config.h and sim-main.h.
+       (hw_pal_io_read_buffer): Always call CPU_INDEX.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (standard_options): Always enable load-lma and
+       load-vma options.
+       (standard_install): Always set STATE_LOAD_AT_LMA_P(sd) to 1.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (MODULE_LIST): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (OPTION_H8300H, OPTION_H8300S, OPTION_H8300SX):
+       Move to h8300/compile.c.
+       [SIM_H8300] (standard_options): Likewise.
+       (standard_option_handler): Likewise.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c [WITH_WATCHPOINTS] (modules): Always call
+       sim_watchpoint_install.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
+       * sim-module.c [SIM_HAVE_FLATMEM] (modules): Always call
+       sim_memopt_install.
+       * sim-options.c (OPTION_MEM_SIZE): Delete.
+       [SIM_HAVE_FLATMEM] (standard_options): Delete flatmem code.
+       (standard_option_handler): Likewise.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/18762
+       * Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/19273
+       * sim-utils.c (sim_do_commandf): Declare ret.  Call va_start,
+       vasprintf, and va_end together.  Check ret after va_end call.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-types.h (SIM_PRI_TB): Define.
+       (PRI_TW, PRIiTW, PRIxTW): New PRI target word defines.
+       (PRI_TA, PRIiTA, PRIxTA): New PRI target address defines.
+       (PRI_TC, PRIiTC, PRIxTC): New PRI target cell defines.
+       (PRI_TF, PRIiTF, PRIxTF): New PRI target floating point defines.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_MODULO_MEMORY): Delete.
+       * sim-core.c (new_sim_core_mapping): Always assign mask to modulo-1.
+       (sim_core_attach): Delete WITH_MODULO_MEMORY == 0 logic.
+       (sim_core_translate): Likewise.
+       * sim-core.h: Delete mention of WITH_MODULO_MEMORY.
+
+2015-11-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete.
+       (cgen_cpu_close): Change to XCONCAT2.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o,
+       and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-close.o
+       * sim-close.c: New file.
+
+2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Ali Lown  <ali.lown@imgtec.com>
+
+       * sim-bits.h (EXTEND6): New macro.
+       (EXTEND12): New macro.
+       (EXTEND25): New macro.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (trace_one_insn): Delete.
+       * sim-trace.h (trace_one_insn): Delete.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (debug_printf): Rename to ...
+       (sim_debug_printf): ... this.
+       * sim-trace.h (debug_printf): Delete define.
+       (debug_printf): Rename to ...
+       (sim_debug_printf): ... this.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (OPTION_TRACE_REGISTER): New enum.
+       (trace_options): Add trace-register option.
+       (trace_option_handler): Handle OPTION_TRACE_REGISTER case.
+       (trace_idx_to_str): Handle TRACE_REGISTER_IDX case and re-indent.
+       * sim-trace.h (TRACE_REGISTER_IDX): New enum.
+       (TRACE_register, WITH_TRACE_REGISTER_P, STRACE_REGISTER_P,
+       TRACE_REGISTER_P, TRACE_REGISTER): Define.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.h (STRACE, STRACE_INSN, STRACE_DECODE, STRACE_EXTRACT,
+       STRACE_LINENUM, STRACE_MEMORY, STRACE_MODEL, STRACE_ALU, STRACE_CORE,
+       STRACE_EVENTS, STRACE_FPU, STRACE_VPU, STRACE_BRANCH, STRACE_SYSCALL,
+       STRACE_DEBUG): Define.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (trace_options): Update help text for trace-alu,
+       trace-fpu, trace-vpu, and trace-semantics.
+       * sim-trace.h (TRACE_ALU_IDX): Update comment text.
+       (TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-assert.h (SIM_FILTER_PATH): Delete.
+       [!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h.
+       (SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename.
+       [!ASSERT, WITH_ASSERT]: Include libiberty.h.
+       (ASSERT): Replace SIM_FILTER_PATH with lbasename.
+       * sim-events.c: Include libiberty.h.
+       (ETRACE): Replace SIM_FILTER_PATH with lbasename.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (AC_ARG_ENABLE(sim-bswap)): Call AS_HELP_STRING.
+       (AC_ARG_ENABLE(sim-cflags)): Likewise.
+       (AC_ARG_ENABLE(sim-debug)): Likewise.
+       (AC_ARG_ENABLE(sim-stdio)): Likewise.
+       (AC_ARG_ENABLE(sim-trace)): Likewise.
+       (AC_ARG_ENABLE(sim-profile)): Likewise.
+       (AC_ARG_ENABLE(sim-environment)): Likewise.
+       (AC_ARG_ENABLE(sim-alignment)): Likewise.
+       (AC_ARG_ENABLE(sim-assert)): Likewise.
+       (AC_ARG_ENABLE(sim-bitsize)): Likewise.
+       (AC_ARG_ENABLE(sim-endian)): Likewise.
+       (AC_ARG_ENABLE(sim-hostendian)): Likewise.
+       (AC_ARG_ENABLE(sim-float)): Likewise.
+       (AC_ARG_ENABLE(sim-scache)): Likewise.
+       (AC_ARG_ENABLE(sim-default-model)): Likewise.
+       (AC_ARG_ENABLE(sim-inline)): Likewise.
+       (AC_ARG_ENABLE(sim-packages)): Likewise.
+       (AC_ARG_ENABLE(sim-regparm)): Likewise.
+       (AC_ARG_ENABLE(sim-reserved-bits)): Likewise.
+       (AC_ARG_ENABLE(sim-smp)): Likewise.
+       (AC_ARG_ENABLE(sim-stdcall)): Likewise.
+       (AC_ARG_ENABLE(sim-xor-endian)): Likewise.
+       (AC_ARG_ENABLE(cgen-maint)): Likewise.
+       * configure: Regenerate.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-config.h (WITH_TRACE): Define to ~TRACE_debug.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-trace.c [!__STDC__]: Delete.
+       * sim-trace.h [!__STDC__]: Likewise.
+
+2015-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-model.c (sim_model_init): Assert model is not NULL.
+
+2015-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-types.h: Move SIM_TYPES_H define to top of file.  Include
+       stdint.h.  Replace all signed/unsigned typedefs with int#_t and
+       uint#_t.
+
+2015-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-alu.h (_SIM_ALU_H_): Rename to ...
+       (SIM_ALU_H): ... this.
+       * sim-assert.h (_SIM_ASSERT_H_): Rename to ...
+       (SIM_ASSERT_H): ... this.
+       * sim-basics.h (_SIM_BASICS_H_): Rename to ...
+       (SIM_BASICS_H): ... this.
+       * sim-bits.h (_SIM_BITS_H_): Rename to ...
+       (SIM_BITS_H): ... this.
+       * sim-endian.h (_SIM_ENDIAN_H_): Rename to ...
+       (SIM_ENDIAN_H): ... this.
+
+2015-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a
+       constant string.
+
+2015-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (cb_target_map_entry, cb_host_map_entry): Change map to
+       m for sentinel testing.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-syscall.c: Include errno.h and targ-vals.h.
+       (sim_syscall_multi, sim_syscall): Define.
+       * sim-syscall.h (sim_syscall_multi, sim_syscall): Declare.
+       * syscall.c (cb_syscall): Extend comment.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-syscall.o.
+       * sim-syscall.c: New file.
+       * sim-syscall.h: New file.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c (cb_target_map_entry, cb_host_map_entry): Define.
+       (cb_target_to_host_syscall): Rewrite to use cb_target_map_entry.
+       (cb_host_to_target_errno): Rewrite to use cb_host_map_entry.
+       (cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal,
+       cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal):
+       Define.
+       * gentmap.c (gen_targ_map_c): Output name field.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Change configure.in to configure.ac.
+       * sim-config.h: Likewise.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (sim-trace): Delete -DTRACE flags.
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
+       TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE,
+       TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL,
+       TRACE_DEBUG): Define.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P.
+       * sim-trace.c (trace_option_handler): Likewise.
+       * sim-trace.h (WITH_TRACE_ANY_P): Define.
+       (STRACE_ANY_P): Use WITH_TRACE_ANY_P.
+       (TRACE_ANY_P): Likewise.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to
+       CGEN_TRACE_INSN_FINI.
+       * cgen-trace.c: Rename trace_insn to cgen_trace_insn,
+       trace_result to cgen_trace_result, trace_insn_fini to
+       cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init,
+       and trace_extract to cgen_trace_extract.
+       * cgen-trace.h (trace_insn_init): Rename to ...
+       (cgen_trace_insn_init): ... this.
+       (trace_insn_fini): Rename to ...
+       (cgen_trace_insn_fini): ... this.
+       (trace_insn): Rename to ...
+       (cgen_trace_insn): ... this.
+       (trace_extract): Rename to ...
+       (cgen_trace_extract): ... this.
+       (trace_result): Rename to ...
+       (cgen_trace_result): ... this.
+       (TRACE_RESULT_P): Rename to ...
+       (CGEN_TRACE_RESULT_P): ... this.
+       (TRACE_INSN_INIT): Rename to ...
+       (CGEN_TRACE_INSN_INIT): ... this.  Change trace_insn_init to
+       cgen_trace_insn_init.
+       (TRACE_INSN_FINI): Rename to ...
+       (CGEN_TRACE_INSN_FINI): ... this.  Change trace_insn_fini to
+       cgen_trace_insn_fini.
+       (TRACE_PRINTF): Rename to ...
+       (CGEN_TRACE_PRINTF): ... this.
+       (TRACE_INSN): Rename to ...
+       (CGEN_TRACE_INSN): ... this.  Change trace_insn to cgen_trace_insn.
+       (TRACE_EXTRACT): Rename to ...
+       (CGEN_TRACE_EXTRACT): ... this.  Change trace_extract to
+       cgen_trace_extract.
+       (TRACE_RESULT): Rename to ...
+       (CGEN_TRACE_RESULT): ... this.  Change TRACE_RESULT_P to
+       CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result.
+       * genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to
+       CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and
+       TRACE_INSN to CGEN_TRACE_INSN.
+       (@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-events.c (ETRACE_P): Delete.
+       (ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd).
+       (update_time_from_event, sim_events_schedule_vtracef): Likewise.
+       * sim-events.h (struct _sim_events): Delete trace member.
+       * sim-trace.c (set_trace_option_mask): Delete trace_nr check and
+       always set STATE_TRACE_FLAGS(sd)[trace_nr] element.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P,
+       STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P,
+       STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P,
+       STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.h (WITH_TRACE_P): New define.
+       (WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P,
+       WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P,
+       WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P,
+       WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P,
+       WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P):
+       Redefine to use WITH_TRACE_P.
+
+2015-06-09  Mike Stump  <mrs@mrs.kithrup.com>
+
+       * sim-events.c (sim_events_schedule_after_signal): Fix spelling
+       mistake in call to sim_engine_abort.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
+       increasing parenthesis around casts to signed values.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.sh: Add mcore support.
+       * nltvals.def: Regenerate.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen.sh: Add +x permissions.
+       * genmloop.sh: Likewise.
+       * gentvals.sh: Likewise.
+       * gennltvals.sh (newlibroot): New variable to hold the path to newlib.
+       Change all uses of srcroot for newlib to newlibroot.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h (SIM_CPU): New typedef.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-engine.h (CIA_ADDR): Delete.
+       * sim-base.h: Update sim_cia example.
+       [!CIA_ADDR] (sim_cia): New typedef.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET.
+       * sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise.
+       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET.
+       * sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
+       CIA_SET to CPU_PC_SET.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o.
+       * sim-main.h (STATE_CPU): Remove from comment and define.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM.
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c: Include version.h.
+       (OPTIONS_VERSION): New enum.
+       (standard_options): Add "version".
+       (standard_option_handler): Handle OPTIONS_VERSION.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (version.o): Change to using create-version.sh from gdb.
+       (create-version.sh): Delete.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * run-sim.h, run.c: Delete.
+       * tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * Make-common.in (CSEARCH): Add $(ZLIBINC).
+       (ZLIB, ZLIBINC): Define.
+       (BFD_LIB): Add $(ZLIB).
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE.
+       * cgen-ops.h (SEMOPS_INLINE): Likewise.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p.
+       (sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE.
+       * sim-inline.h (INLINE2): Define to gnu_inline when available.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.c (profile_pc_event): Get pc via sim_pc_get.  Delete
+       usage of STATE_WATCHPOINTS.
+       (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check.  Change
+       STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia).
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h: Note SIM_HAVE_PROFILE is deprecated.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
+       of enable_sim_hardware to AC_ARG_ENABLE.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O.
+       Add dv-sockser.o to sim_hw_objs.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-sockser.c: Include config.h.
+       * dv-sockser.h: Include sim-inline.h.
+       [HAVE_DV_SOCKSER]: Move all prototypes here.
+       [!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write,
+       dv_sockser_write_buffer, dv_sockser_read): New stub functions.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * gentmap.c, run.c: Convert old style prototypes.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM.  Delete logic for
+       symlinking tconfig.h to tconfig.in.
+       * config.in, configure: Regenerate.
+       * nrun.c, run.c, sim-basics.h: Delete tconfig.h include.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+       (sim-inline.c): Delete rule.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (SIM_RUN_OBJS): Change to nrun.o.
+       * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning.
+       [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h.
+       [!ASSERT, WITH_ASSERT]: Likewise.
+       * sim-endian.c: Delete sim-io.h include.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * run-sim.h (sim_kill): Delete unused prototype.
+
+2015-02-13  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * gentmap.c: Include "string.h".
+
+2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * sim-options.c (sim_args_command): Call freeargv() when failure
+       occurs.
+
+2015-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * aclocal.m4, configure: Regenerate using automake 1.11.1.
+
+2014-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat"
+       and "fstat" callbacks by calls to "to_stat" and "to_fstat" (resp)
+       callbacks following renaming in callback.h.
+       * syscall.c (cb_syscall): Likewise.  Adjust calls to "lstat"
+       callback by call to "to_lstat" callback
+
+2014-08-28  Gary Benson  <gbenson@redhat.com>
+
+       * sim-trace.h (debug_printf): New define.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-command.c (sim_do_command): Add const to cmd.
+       * sim-options.c (sim_args_command): Add const to cmd.
+       * sim-options.h (sim_args_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-hload.c (sim_load): Add const to prog.
+       * sim-load.c (sim_load_file): Likewise.
+       * sim-utils.c (sim_analyze_program): Likewise.
+       * sim-utils.h (sim_analyze_program): Likewise.
+       (sim_load_file): Likewise.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (build_warnings): Copy from gdb/configure.ac.
+       * callback.c (system): Delete unused prototype.
+       (os_init): Likewise.
+       (os_shutdown): Likewise.
+       (os_unlink): Likewise.
+       (os_time): Likewise.
+       (os_system): Likewise.
+       (os_rename): Likewise.
+       (os_write_stdout): Likewise.
+       (os_flush_stdout): Likewise.
+       (os_write_stderr): Likewise.
+       (os_flush_stderr): Likewise.
+       (os_write): Likewise.
+       (os_read_stdin): Likewise.
+       (os_read): Likewise.
+       (os_open): Likewise.
+       (os_lseek): Likewise.
+       (os_isatty): Likewise.
+       (os_get_errno): Likewise.
+       (os_close): Likewise.
+       (os_vprintf_filtered): Likewise.
+       (os_evprintf_filtered): Likewise.
+       (os_error): Likewise.
+       (fdmap): Likewise.
+       (fdbad): Likewise.
+       (wrap): Likewise.
+       (wrap): Change to new style prototype.
+       (fdbad): Likewise.
+       (fdmap): Likewise.
+       (os_close): Likewise.
+       (os_poll_quit): Likewise.
+       (os_get_errno): Likewise.
+       (os_isatty): Likewise.
+       (os_lseek): Likewise.
+       (os_open): Likewise.
+       (os_read): Likewise.
+       (os_read_stdin): Likewise.
+       (os_write): Likewise.
+       (os_write_stdout): Likewise.
+       (os_flush_stdout): Likewise.
+       (os_write_stderr): Likewise.
+       (os_flush_stderr): Likewise.
+       (os_rename): Likewise.
+       (os_system): Likewise.
+       (os_time): Likewise.
+       (os_unlink): Likewise.
+       (os_stat): Likewise.
+       (os_fstat): Likewise.
+       (os_lstat): Likewise.
+       (os_ftruncate): Likewise.
+       (os_truncate): Likewise.
+       (os_pipe): Likewise.
+       (os_pipe_empty): Likewise.
+       (os_pipe_nonempty): Likewise.
+       (os_shutdown): Likewise.
+       (os_init): Likewise.
+       (cb_read_target_syscall_maps): Likewise.
+       (cb_target_to_host_syscall): Likewise.
+       (cb_host_to_target_errno): Likewise.
+       (cb_target_to_host_open): Likewise.
+       (cb_store_target_endian): Likewise.
+       (cb_host_to_target_stat): Likewise.
+       * sim-hload.c (sim_load): Change to new style prototype.
+       * sim-load.c (sim_load_file): Change to new style prototype.
+       (report_transfer_performance): Likewise.
+       (xprintf_bfd_vma): Likewise.
+       * syscall.c (cb_get_string): Change to new style prototype.
+       (get_path): Likewise.
+       (cb_syscall): Likewise.
+
+2013-10-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       * create-version.sh: Align parameters to match those of
+       ../../gdb/common/create-version.sh.
+       * Make-common.in (srcsim): New variable.
+       (version.c): Adjust call to create-version.sh as per above.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-09-03  Mike Stump  <mikestump@comcast.net>
+
+       * sim-options.c (complete_option_list): Mark text and word const.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Make-common.in (version.c): Use version.in, not
+       common/version.in.
+       * create-version.sh: Likewise.
+
+2013-06-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * create-version.sh: New script. Adapted from
+       gdb/commong/create-version.sh.
+       * Make-common.in (version.c): Update rule dependencies,
+       and re-implement using create-version.sh.
+
+2013-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * gennltvals.sh: Add msp430 support.
+       * nltvals.def: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Replace maintainer-mode code with AM_MAINTAINER_MODE.
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       PR build/15414:
+       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use
+       -Wformat-nonliteral with -Wno-format.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * acinclude.m4: Add SIM_DV_SOCKSER_O which is empty  on hosts
+       which do not support dv-sockser.o.  Add always as option to
+       first argument to SIM_AC_OPTION_HARDWARE. Fail if hardware
+       is always required to be enabled by simulator.
+
+2012-08-28  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * gennltvals.sh: Use libgloss/syscall.h for cr16.
+       * nltvals.def: Regenerate.
+
+2012-06-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       * sim-signal.h (sim_signal_to_target): Rename to ...
+       (sim_signal_to_gdb_signal): ... this.
+       * sim-signal.c (sim_signal_to_target): Rename to ...
+       (sim_signal_to_gdb_signal): ... this.
+       * sim-reason.c (sim_stop_reason): Adjust to rename.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace target_signal with gdb_signal throughout.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * callback.c: Include config.h before system header files.
+       * cgen-trace.c: Likewise.
+       * cgen-utils.c: Likewise.
+       * gentmap.c: Likewise.
+
+2012-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-ports.c (hw_port_decode): Change "Unreconized" to "Unrecognized".
+
+2012-03-28  Rathish C  <rathish.c@kpitcummins.com>
+
+       * sim-trace.c: Update the function prototype of save_data_size.
+       Move the enum data_fmt from here...
+       * sim-trace.h: ...to here.
+       Add function prototype of save_data.
+
+2012-03-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.h (sim_core_trans_addr): Add prototype.
+
+2012-03-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanza
+       missing in last change.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_COMMON): Call AC_USE_SYSTEM_EXTENSIONS.
+       * nrun.c: Include string.h/strings.h.
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-03-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Copy AC_ARG_ENABLE(werror),
+       WERROR_CFLAGS, and build_warnings from gdb/configure.ac.  Comment
+       out -Werror initialization.
+
+2012-03-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (TAGS): Change a-z to [:lower:].
+       * acinclude.m4 (sim-trace): Likewise.
+       * gennltvals.sh: Change A-Z0-9 to [:upper:][:digit:].
+       Change A-Za-z0-9 to [:alnum:].
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c (main): Display strsignal of sigrc.
+
+2012-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (abs_srcdir): Declare.
+       (srcroot): Define in terms of abs_srcdir.
+       (headers): Change srcdir to abs_srcdir.
+
+2012-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
+       header.
+
+2011-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * Make-common.in (hw-config.h): Work around bug in Solaris 2.8
+       system bourne shell.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * syscall.c (cb_get_string): Rename from "get_string".
+       (get_path): Rename get_string call to cb_get_string.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (VPATH): Add $(srccom).
+       (DEP): Delete.
+       (DEPMODE, DEPDIR, depcomp, COMPILE.pre, COMPILE.post, COMPILE,
+       POSTCOMPILE): New variables.
+       (.c.o): Replace recipe with call to $(COMPILE) and $(POSTCOMPILE).
+       Include dependency files, when using GNU Make.  Delete all
+       dependency-only rules.
+       * aclocal.m4: Include ../../config/depstand.m4.  Call
+       ZW_CREATE_DEPDIR and ZW_PROG_COMPILER_DEPENDENCIES.
+       (MAKE, GMAKE): New substs.
+
+2011-11-07  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/13161
+       * configure.ac (AC_CHECK_FUNCS): Add posix_fallocate.
+       * configure, config.in: Regenerate.
+       * dv-cfi.c (attach_cfi_regs): Check for HAVE_POSIX_FALLOCATE.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Call AC_CHECK_LIB when $hardware contains cfi.
+
+2011-10-18  John Wehle  <john@feith.com>  (tiny patch)
+
+       * sim-profile.c (profile_info): Only print the title once.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Rename from aclocal.m4.
+       * aclocal.m4: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Change AC_PREREQ comment to 2.64.
+       * common.m4: Delete.
+       * configure.ac: Change AC_PREREQ to 2.64.  Replace AC_CONFIG_HEADER
+       call and common.m4 include with SIM_AC_COMMON(cconfig.h).
+       * configure: Regenerate.
+
+2011-10-14  Alexey Makhalov  <makhaloff@gmail.com>
+
+       * sim-alu.h (ALU32_AND): Clear carry flag.
+       (ALU32_AND): Clear carry flag.
+
+2011-10-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-cfi.c: Include stdbool.h.
+
+2011-10-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
+
+2011-10-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and
+       ACX_BUGURL.  Define PKGVERSION and REPORT_BUGS_TO.
+
+2011-07-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-command.c: Include sim-options.h.
+
+2011-07-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Move sinclude comment after AC_INIT comment.
+
+2011-07-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC.
+       Delete direct call to AC_PROG_CC.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-command.c: New file.
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-command.o.
+       (sim-command.o): New rule.
+
+2011-05-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (standard_option_handler): Remove arg[0] check
+       when freeing simulator_sysroot.  Only strdup arg when arg[0] is
+       not an empty string, otherwise assign "" back to it.
+
+2011-05-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * nltvals.def: Regenerate to include Blackfin syscalls again.
+
+2011-05-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (OPTION_TRACE_SYSCALL): New enum.
+       (trace_options): Handle "trace-syscall" with OPTION_TRACE_SYSCALL.
+       (trace_option_handler): Handle OPTION_TRACE_SYSCALL.
+       (trace_idx_to_str): Likewise.
+       * sim-trace.h (TRACE_SYSCALL_IDX): New enum.
+       (TRACE_syscall): Define.
+       (WITH_TRACE_SYSCALL_P): Likewise.
+       (TRACE_SYSCALL_P): Likewise.
+
+2011-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-glue.c (hw_glue_finish): Move "name" to function scope and
+       remove now-unnecessary sub-scope for glue->type setting.
+       Check to see if the "reg" property exists before we use it, and
+       if it doesn't exist, error out for "glue" devices.
+
+2011-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-glue.c (hw_glue_finish): Set type to glue_or when name is
+       glue-or, and set type to glue_xor when name is glue-xor.
+       (hw_glue_port_event): Return immediately when type is glue_io
+       or unmatched.  Handle glue_or and glue_xor types.  Move HW_TRACE
+       and hw_port_event calls from glue_and to end of function.
+
+2011-05-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c, dv-pal.c, dv-sockser.c, hw-base.c, hw-device.c,
+       hw-instances.c, hw-ports.c, hw-properties.c, hw-tree.c, sim-abort.c,
+       sim-arange.c, sim-config.c, sim-core.c, sim-engine.c, sim-events.c,
+       sim-hw.c, sim-io.c, sim-memopt.c, sim-options.c, sim-profile.c,
+       sim-resume.c, sim-stop.c, syscall.c: Add space before parenthesis
+       around function arguments.
+
+2011-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (complete_option_list, sim_complete_command):
+       New functions.
+
+2011-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-glue.c: Fix up style.
+
+2011-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-alloc.c (hw_alloc_data): Adjust brace.
+       * hw-base.c (hw_base_data): Likewise.
+       (generic_hw_unit_decode): Fix indentation.
+       * hw-device.h (_hw_unit, enum, hw): Adjust braces.
+       * hw-events.c (hw_event, hw_event_data): Likewise.
+       * hw-handles.c (hw_handle_mapping, hw_handle_data): Likewise.
+       * hw-instances.c (hw_instance_data): Likewise.
+       * hw-instances.h (hw_instance): Likewise.
+       * hw-main.h (hw_descriptor, enum): Likewise.
+       * hw-ports.c (hw_port_edge, hw_port_data, empty_hw_ports): Likewise.
+       * hw-ports.h (hw_port_descriptor): Likewise.
+       * hw-properties.c (hw_property_data): Likewise.
+       * hw-properties.h (enum, hw_property, _ihandle_runtime_property_spec,
+       _range_property_spec, _reg_property_spec): Likewise.
+       * hw-tree.c (_name_specifier, printer): Likewise.
+       (split_device_specifier, parse_string_property, hw_tree_traverse,
+       print_size, print_reg_property, print_string, print_properties):
+       Fix indentation.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add cfi to default list.
+       * Make-common.in (dv-cfi.o): New rule.
+       * dv-cfi.c, dv-cfi.h: New files.
+
+2011-03-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * gennltvals.sh: Search sys/_default_fcntl.h, in addition to
+       fcntl.h and sys/fcntl.h, for constants.
+       * nltvals.def: Regenerate.
+       * sim-io.c (sim_io_stat, sim_io_fstat): New functions.
+       * sim-io.h (sys/types.h, sys/stat.h): Include.
+       (sim_io_stat, sim_io_fstat): Declare.
+
+2011-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.c, cgen-engine.h, dv-core.c, dv-glue.c, dv-pal.c,
+       hw-base.c, hw-device.c, hw-device.h, hw-handles.c, hw-instances.c,
+       hw-ports.c, hw-ports.h, hw-properties.c, hw-tree.c, nrun.c,
+       run-sim.h, run.c, sim-alu.h, sim-assert.h, sim-base.h, sim-basics.h,
+       sim-config.c, sim-core.c, sim-core.h, sim-engine.h, sim-events.c,
+       sim-events.h, sim-fpu.c, sim-hw.c, sim-inline.h, sim-load.c,
+       sim-memopt.c, sim-n-core.h, sim-options.c, sim-profile.c,
+       sim-signal.c, sim-trace.c, sim-trace.h, sim-utils.c, sim-watch.c,
+       syscall.c: Trim trailing whitespace.
+
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gennltvals.sh: Handle bfin targets.
+       * nltvals.def: Regenerate.
+
+2011-02-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * callback.c (fdbad): Return EBADF rather than EINVAL for bad
+       file descriptors.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-alloc.c (hw_alloc_data): Delete zalloc_p.
+       (hw_zalloc, hw_malloc): Delete zalloc_p reference.
+       (hw_free): Drop zfree logic and always call free.
+       * hw-base.c (hw_delete): Change zfree to free.
+       * hw-handles.c (hw_handle_remove_ihandle): Likewise.
+       (hw_handle_remove_phandle): Likewise.
+       * hw-instances.c (hw_instance_delete): Likewise.
+       * hw-tree.c (parse_reg_property): Likewise.
+       (parse_ranges_property): Likewise.
+       (parse_string_property): Likewise.
+       * sim-core.c (sim_core_uninstall): Likewise.
+       * sim-cpu.c (sim_cpu_free_all): Likewise.
+       * sim-hw.c (sim_hw_uninstall): Likewise.
+       * sim-memopt.c (do_memopt_delete): Likewise.
+       (sim_memory_uninstall): Likewise.
+       * sim-module.c (sim_module_uninstall): Likewise.
+       * sim-options.c (sim_parse_args): Likewise.
+       * sim-profile.c (profile_pc_cleanup): Likewise.
+       (profile_uninstall): Likewise.
+       * sim-watch.c (do_watchpoint_delete): Likewise.
+       * sim-utils.c (zfree): Delete.
+       (sim_state_free): Change zfree to free.
+       * sim-utils.h (zfree): Delete.
+
+2011-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-events.h (_sim_events.time_from_event): Change type to signed64.
+
+2011-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-hw.c (sim_hw_uninstall): Uncomment hw_tree_delete.
+
+2011-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
+       fails.
+       * sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
+       when asprintf fails.
+       * sim-utils.c (sim_do_commandf): Issue an error and return when
+       asprintf fails.
+       * sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when
+       asprintf fails.
+
+2011-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-memopt.c (do_memopt_add): Set nr_bytes to s.st_size before
+       bytes has been calculated and when mmap_next_fd is valid and
+       nr_bytes is 0.
+       (memory_option_handler): Allow missing size when mmap_next_fd is
+       valid.
+
+2011-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set $hardware to $2 when $2 is
+       not empty, and always append $3 to $hardware.
+
+2011-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute.
+       * sim-hw.h (sim_hw_abort): Likewise.
+
+2011-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-load.c (sim_load_file): Change buffer type to unsigned char *.
+
+2011-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * run.1: Copyright year update.
+
+2010-12-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-alloc.h (HW_NALLOC): Define.
+
+010-12-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-alloc.h (HW_NZALLOC): Change ME,TYPE,N to me,type,n.
+
+2010-12-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-memopt.c (OPTION_MAP_INFO): Define.
+       (memory_options): Handle --map-info.
+       (memory_option_handler): Handle OPTION_MAP_INFO.
+
+2010-11-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.c (PROFILE_PC_FREQ, PROFILE_PC_NR_BUCKETS,
+       PROFILE_PC_SHIFT, PROFILE_PC_START, PROFILE_PC_END,
+       PROFILE_INSN_COUNT): Add stubs when profile is disabled.
+
+2010-11-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (WITH_HW): Add device casts to device_error,
+       device_io_read_buffer, and device_io_write_buffer.
+
+2010-11-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-sockser.c (dv_sockser_write_buffer): New function.
+       (dv_sockser_write): Rewrite to use dv_sockser_write_buffer.
+       * dv-sockser.h (dv_sockser_write_buffer): New prototype.
+
+2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * callback.c (os_lseek): Call wrap on lseek result.
+
+2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * dv-sockser.c (dv_sockser_init): Check error return from socket()
+       call by its equality to -1 not by it being negative.
+       (connected_p): Likewise for accept() call.
+
+2010-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-fpu.c (sim_fpu_zero, sim_fpu_qnan): Add 0 initializers.
+
+2010-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * profile.c (sim_profile_print_bar): Add cpu argument.
+
+2010-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU.
+
+2010-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.c (profile_vprintf, profile_printf): New functions.
+       (profile_print_pc): Convert sim_io_printf to profile_printf.
+       (profile_print_insn): Likewise.
+       (profile_print_memory): Likewise.
+       (profile_print_core): Likewise.
+       (profile_print_model): Likewise.
+       (sim_profile_print_bar): Likewise.
+       (profile_print_speed): Likewise.
+       (profile_print_addr_ranges): Likewise.
+       (profile_info): Likewise.
+       * sim-profile.h (sim_profile_print_bar): Add cpu argument.
+
+2010-04-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-model.c (OPTION_MODEL): Convert to enum.
+       (OPTION_MODEL_INFO): New enum.
+       (model_options): Add model-info/info-model entries.
+       (model_option_handler): Handle OPTION_MODEL_INFO.
+
+2010-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-sockser.h (DV_SOCKSER_DISCONNECTED): Define.
+       * dv-sockser.c (dv_sockser_status): Set DV_SOCKSER_DISCONNECTED
+       initially.
+
+2010-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-hrw.c (sim_write): Add const to buf arg.
+       * sim-utils.h (sim_write_fn): Likewise.
+
+2010-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.h (PROFILE_BRANCH_TAKEN, PROFILE_BRANCH_UNTAKEN): New
+       defines.
+
+2010-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-core.c (dv_core_descriptor): Add NULL initializer.
+       * dv-glue.c (hw_glue_ports, dv_glue_descriptor): Likewise.
+       * dv-pal.c (hw_pal_ports, dv_pal_descriptor): Likewise.
+       * dv-sockser.c (sockser_options): Likewise.
+       * hw-ports.c (empty_hw_ports): Likewise.
+       * sim-hw.c (hw_options): Likewise.
+       * sim-model.c (model_options): Likewise.
+       * sim-options.c (standard_options): Likewise.
+       * sim-profile.c (profile_options): Likewise.
+       * sim-trace.c (trace_options): Likewise.
+       * sim-watch.c (watchpoint_options): Likewise.
+
+2010-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (dup_arg_p): Add "const" to the "arg" argument,
+       the local "arg_table" variable, and the xmalloc cast.
+
+2010-04-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-fpu.c (sim_fpu_print_status): Add const markings to local
+       "prefix" var.
+       (sim_fpu_print_func): Add const markings to format buffer.
+
+2010-04-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.
+
+2010-04-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (save_data): Add const markings to "buf" argument.
+
+2010-04-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-options.c (standard_option_handler): Add const markings to
+       local "type" var.
+
+2010-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-ports.h: Fix spelling typos.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Check for socklen_t.
+       * configure, config.in: Regenerated.
+       * dv-sockser.c (connected_p): Change addrlen type to socklen_t.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-utils.c (sim_io_eprintf_cpu): Use %s with printf string.
+       * sim-hw.c (hw_option_handler): Likewise.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-watch.c (watchpoint_type_to_str): Add const to return.
+       (interrupt_nr_to_str): Likewise.
+       (default_interrupt_names): Add const to pointer type.
+       (sim_watchpoint_install): Add const to prefix.
+       * sim-watch.h (struct _sim_watchpoints): Add const to interrupt_names.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.c (sim_core_read_buffer): Change raddr to address_word.
+       (sim_core_write_buffer): Likewise.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-trace.c (trace_option_handler): Move cpu_nr decl behind
+       the SIM_HAVE_ADDR_RANGE define.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-core.h (device_error): Add const to message, and add printf
+       format attribute.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-profile.c (profile_print_addr_ranges): Wrap with the
+       SIM_HAVE_ADDR_RANGE define.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-glue.c (hw_glue_ports): Swap static and const.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * nrun.c (usage): Use void in definition.
+       * sim-options.c (dup_arg_p): Convert old-style function definition.
+       (sim_parse_args): Likewise.
+       (sim_print_help): Likewise.
+       * sim-trace.c (set_trace_option_mask): Likewise.
+       (set_trace_option): Likewise.
+       * sim-utils.c (sim_analyze_program): Likewise.
+       (sim_elapsed_time_get): Likewise.
+       (sim_elapsed_time_since): Likewise.
+
+2010-03-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/common/sim-options.c (enum): Remove SIM_HAVE_BIENDIAN ifdef.
+       (standard_options): Likewise.
+       (standard_option_handler): Likewise.
+
+2010-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-ports.c (TRACE): Delete.
+       * hw-properties.c (TRACE): Delete.
+       (hw_find_ihandle_runtime_property): Change TRACE to HW_TRACE.
+       (hw_find_integer_property): Likewise.
+       (hw_find_integer_array_property): Likewise.
+       (hw_add_duplicate_property): Likewise.
+
+2010-03-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-properties.h (hw_add_boolean_property): Rename "bool" to
+       "boolean".
+
+2010-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-model.c: Include sim-model.h
+
+2010-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-base.h: Declare sim_state.cpu as a pointer in the comment.  Drop
+       & from the STATE_CPU() examples.
+
+2010-01-24  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-accfp.c (fextsfdf): New arg how.  All callers updated.
+       (ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi,
+       ufixsfsi): Ditto.
+       * cgen-fpu.h (CGEN_FPCONV_KIND): New enum.
+       (struct cgen_fp_ops): Update signatures of floating point conversion
+       operations.
+
+       * Make-common.in (CGEN_SIM_DEPS): Define.
+       (CGEN_INCLUDE_DEPS): Use it.
+       (CGEN_MAIN_CPU_DEPS): Simplify.
+
+2010-01-22  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-ops.h (SUBWORDXFSI): Fix word ordering.
+       (SUBWORDTFSI, JOINSIDI): Ditto.
+
+2010-01-05  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-types.h (SETDI): Delete, unused.
+
+2009-12-02  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-engine.h: Remove duplicated comment.
+
+2009-11-23  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.
+       (EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
+       (EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define.
+       (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype
+       instead of CGEN_INSN_INT.
+
+       * cgen-trace.h (trace_extract): Add cast to fix warning.
+
+2009-11-05  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-mem.h (DECLARE_GETT): Don't inline.
+       (DECLARE_SETT): Ditto.
+
+2009-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * sim-inline.h: Fix spelling error.
+
+2009-10-02  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * Make-common.in: Add datarootdir.
+
+2009-08-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS)
+       (SIM_CHECK_MEMBERS_1): Remove.
+       * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent
+       AC_CHECK_MEMBERS one.
+       * configure: Regenerate.
+
+       * aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn.
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
+       definition of AC_CHECK_MEMBER.
+
+       * aclocal.m4: m4_include toplevel config/override.m4.
+       * configure: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (datarootdir): New variable.
+
+2009-07-07  Doug Evans  <dje@sebabeach.org>
+
+       * Make-common.in (CPU_DIR): Define.
+
+2009-07-06  Doug Evans  <dje@sebabeach.org>
+
+       * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
+       identifiers for file types rather than encoding internal
+       implementation details of cgen.sh.
+       (CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
+       * cgen.sh: Add support for parallel makes.
+       Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
+
+2009-05-18  Jon Beniston <jon@beniston.com>
+
+       * gennltvals.sh: Add lm32 target.
+       * nltvals.def: Add lm32 syscall definitions.
+
+2009-03-19  J"orn Rennecke  <joern.rennecke@arc.com>  (tiny change)
+
+       Speed up simulator startup:
+       * sim-utils.c (zalloc): Use xcalloc.
+
+2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
+       (MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
+       (SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
+       variant; UQI, UHI, USI, UDI, and cast the result to the signed
+       type, QI, HI, SI, DI.
+
+       * callback.c (os_error): Mark as being a noreturn function.
+       * sim-io.h (sim_io_error): Similar for sim_io_error.
+
+2008-11-12  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * aclocal.m4:  Fix underquoting of function names.
+
+2008-10-21  Julian Brown  <julian@codesourcery.com>
+
+       * Make-common.in (run$(EXEEXT)): Add LDFLAGS.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * common.m4: Add test for libz and zlib.h.
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * aclocal.m4: Include ../../config/acx.m4.
+       * common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
+       * configure, config.in: Regenerate.
+       * Make-common.in (LIB_OBJS): Add version.o.
+       (version.c, version.o): New rules.
+       * run.c: Include version.h.
+       (usage): Add help parameter. Print output either to stdout or
+       stderr depending on that parameter.
+       (print_version): New.
+       (main): Check for --help and --version.
+       * run-sim.h (sim_target_display_usage): Add help parameter.
+       * version.h: New.
+
+2008-04-14  Hans Kester  <kester.hans@gmail.com>
+
+       * sim-signal.c: Define missing signals for _WIN32.
+
+2008-02-12  M Ranga Swami Reddy  <MR.Swami.Reddy@nsc.com>
+
+       * gennltvals.sh: Add cr16.
+       * nltvals.def: Rebuild.
+
+2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>
+
+       * callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
+       * syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.
+
+2007-08-10  Nick Clifton  <nickc@redhat.com>
+
+       * sim-memopt.c (memory_options): Mention that the
+       --memory-size switch accepts suffixes.
+       (parse_size): Handle a suffix on the size value.
+       * sim-options.c (standard_options): Mention that the mem-size
+       switch accepts suffixes.
+       (standard_option_handler): Handle a suffix on the size value.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-11-07  Thiemo Seufer  <ths@mips.com>
+
+       * gentmap.c: Fix compile time warning.
+
+2006-11-07  Thiemo Seufer  <ths@mips.com>
+
+       * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
+       for bfd text addresses.
+
+2006-08-29  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
+       SIM_QUIET_NAN_NEGATED.
+
+2006-08-29  Nigel Stephens  <nigel@mips.com>
+
+       * sim-profile.c (profile_pc_init): Initialise default profiling
+       frequency to a prime number.
+       (profile_print_pc): Convert gmon.out sample data into target
+       byte order.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
+       * common.m4: Likewise.
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Make-common.in: Replace INTLLIBS and INTLDEPS with LIBINTL
+       and LIBINTL_DEP everywhere.
+       (CSEARCH): Use INCINTL.
+       * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.  Include new
+       gettext macros.
+       * configure: Regenerated.
+
+2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
+       option-contents test.
+
+2005-11-28  Mark Mitchell  <mark@codesourcery.com>
+
+       * sim-signal.c (sim_signal_to_target): Fix typos.
+
+       * sim-reason.c (sim_stop_reason): Use
+       sim_signal_to_target, not sim_signal_to_host.
+       * sim-signal.c (sim_signal_to_host): Fix typo.
+       (sim_signal_to_target): New function.
+
+2005-07-10  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
+       change.
+
+2005-07-08  Ian Lance Taylor  <ian@airs.com>
+
+       * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
+
+       * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
+       different fraction for a quiet NaN.
+       (unpack_fpu): Likewise.
+
+2005-07-08  Ben Elliston  <bje@au.ibm.com>
+
+       * callback.c: Remove ANSI_PROTOTYPES conditional code.
+       * sim-load.c: Likewise.
+       * syscall.c: Likewise.
+
+2005-05-24  Corinna Vinschen  <vinschen@redhat.com>
+
+       * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
+       check.
+
+2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Make-common.in (install-common, installdirs): Honor $DESTDIR.
+
+2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * sim-types.h: Changed unsigned32 and unsigned64 to signed32
+       and signed64 for __ALPHA__.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * aclocal.m4 Include ../../gettext.m4.
+       (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
+       (AM_LC_MESSAGES): Remove.
+       * configure: Regenerate.
+
+2005-02-28  Jim Blandy  <jimb@redhat.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
+       -Wuninitialized in the default list of build warnings if CFLAGS is
+       set, and doesn't include -O.  (Using -Wuninitialized without
+       optimization produces a warning, which interferes with compilation
+       with -Werror.)
+
+2005-02-21  Jim Blandy  <jimb@redhat.com>
+
+       * callback.c (os_fstat): Don't declare 't' unless it's used.
+
+2005-02-09  Jim Blandy  <jimb@redhat.com>
+
+       * Make-common.in (CGEN): Load guile.scm, and include a trailing
+       '-s' argument.
+       (CGEN_FLAGS_TO_PASS): Include single quotes around the reference
+       to $(CGEN), to ensure that the command substitution happens where
+       the variable is referenced in the submake, not when the submake's
+       arguments are expanded.
+       (cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
+       (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
+       application Scheme script directly after ${cgen}; don't precede it
+       with a -s.
+
+2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
+       * callback.c [HAVE_LIMITS_H]: Include limits.h.
+       Include libiberty.h.
+       (os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
+       being either end of a pipe.
+       (os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
+       (os_shutdown): Clear pipe state.
+       (default_callback): Initialize new members.
+
+       * callback.c (default_callback): Initialize target_endian.
+       (cb_store_target_endian): Renamed from store, new first parameter
+       host_callback *cb, drop last parameter big_p.  Take endianness
+       from cb.
+       (cb_host_to_target_stat): Change to use cb_store_target_endian.
+       Remove variable big_p.
+       * nrun.c (main): Initialize default_callback.target_endian.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
+       Add explicit call to AC_CONFIG_HEADER.
+       * common.m4: Delete call to AC_CONFIG_HEADER, update usage.
+       * configure: Re-generate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * common.m4: New file, based on of aclocal.m4.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
+       * configure: Re-generate.
+
+2004-12-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       * syscall.c (cb_syscall) <case CB_SYS_truncate>
+       <case CB_SYS_ftruncate>: New cases.
+
+2004-12-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
+       (cb_syscall) <case CB_SYS_rename>: New case.
+       * callback.c (os_lstat): New function.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * run.1: Document --sysroot=filepath.
+       * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
+       (standard_options): Support --sysroot=<path>.
+       (standard_option_handler): Handle OPTION_SYSROOT.
+       * syscall.c (simulator_sysroot): Define, initialized empty.
+       (get_path): Prepend simulator_sysroot to absolute file path.
+       [HAVE_STRING_H]: Include string.h.
+       [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
+       * nrun.c [HAVE_UNISTD_H]: Include unistd.h.
+       (main): If simulator_sysroot is not empty, chdir there.
+       * sim-config.h (simulator_sysroot): Declare.
+
+       * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
+       cgen_rtx_error" in a CGEN-generated simulator.
+       * gdbinit.in: Break on sim_core_signal too.  Have autoconf
+       replacement for CGEN-related breakpoints.
+
+2004-12-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Make-common.in (sim-basics_h): Add $(callback_h).
+
+2004-12-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
+       st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
+       st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
+       * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
+       (SIM_CHECK_MEMBERS): New macros.
+       * callback.c (cb_host_to_target_stat): Use temporary macro ST_x
+       for struct stat member test and write.  Add ST_x calls for each
+       struct stat member tested in configure.in.  Wrap each ST_x call in
+       #ifdef of configure macro for that member.
+       * configure, config.in: Regenerate.
+
+2004-12-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cgen.sh: New thirteenth parameter opcfile, defaulting to
+       /dev/null.
+       <case desc>: Pass -OPC opcfile.
+       * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
+       parameter to cgen.sh.
+
+2004-11-30  Richard Earnshaw  <rearnsha@arm.com>
+
+       * Make-common.in (sim-basics_h): Correct dependencies on
+       cconfig.h and tconfig.h
+       (sim-load.o): Correct typo in sim-basics_h dependency.
+
+2004-11-18  Richard Earnshaw  <rearnsha@arm.com>
+
+       * Make-common.in (sim-*_h): Add macros for all sim headers listing
+       sub-dependencies for other sim files that they include.
+       (sim_main_headers): Use sim-*_h macros.
+       (sim-load.o): Depend on sim-basics_h, not sim_main_headers.
+
+2004-11-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sim-config.c (sim_config): Recognize when a bfd has unspecified
+       endian information.
+
+       * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
+       $(remote_sim_h) too.
+       (sim_main_headers): Add sim-utils.h.
+
+2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
+
+2004-07-26  Andrew Cagney  <cagney@gnu.org>
+
+       Problem from Olaf Hering <olh@suse.de>.
+       * Makefile.in (install-man, installdirs): Add DESTDIR prefix.
+
+2004-07-10  Ben Elliston  <bje@au.ibm.com>
+
+       * hw-tree.c (parse_integer_property): Typo fix in comments.
+       * sim-options.c (sim_args_command): Likewise.
+
+2004-06-28  Andrew Cagney  <cagney@gnu.org>
+
+       * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
+
+2004-06-27  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * callback.c (os_shutdown): Fix bug in last change: actually
+       mark file descriptors as available on startup.
+
+2004-06-25  J"orn Rennecke <joern.rennecke@superh.com>
+
+       [ include/gdb: * callback.h (host_callback_struct): Replace
+                      members fdopen and alwaysopen with fd_buddy.  ]
+       * callback.c: Changed all users.
+
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * sim-load.c (sim_load_file): Use bfd_get_section_size
+       instead of bfd_get_section_size_before_reloc.
+
+2004-05-18  Daniel Jacobowitz  <dan@debian.org>
+
+       * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
+       passing it to printf.
+
+2004-05-10  Daniel Jacobowitz  <dan@debian.org>
+
+       * callback.c: Update copyright dates.
+       * run.c: Likewise.
+       * sim-basics.h: Likewise.
+       * sim-load.c: Likewise.
+       * syscall.c: Likewise.
+
+2004-05-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * callback.c: Include cconfig.h instead of config.h.
+       * run.c: Likewise.
+       * sim-basics.h: Likewise.
+       * sim-load.c: Likewise.
+       * syscall.c: Likewise.
+
+2004-01-16  Ben Elliston  <bje@wasabisystems.com>
+
+       * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.
+
+2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * sim-core.c (sim_core_trans_addr): Added for m32r-linux-run.
+
+2003-11-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * sim-options.c (standard_options): Fix the names of H8
+       variants.
+
+2003-10-30  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry"
+       with "struct bfd_symbol".
+
+2003-10-21  Andrew Cagney  <cagney@redhat.com>
+
+       * callback.c (os_truncate): Call "truncate", and not "stat".
+
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-base.h: Replace "struct sec" with "struct bfd_section".
+
+2003-10-15  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * callback.c (os_ftruncate, os_truncate): New functions.
+       (default_callback): Initialize ftruncate and truncate members.
+
+2003-09-08  Dave Brolley  <brolley@redhat.com>
+
+       On behalf of Doug Evans <dje@sebabeach.org>
+       * cgen.sh: New arg archfile.
+       * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
+       cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
+
+2003-08-28  Andrew Cagney  <cagney@redhat.com>
+
+       * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
+       * sim-options.c (print_help): Cast the format with specifier to
+       "int".
+
+2003-08-20  Michael Snyder  <msnyder@redhat.com>
+           Dave Brolley  <brolley@redhat.com>
+
+       * cgen-par.h (flags, word1): New target-specific
+       fields of CGEN_WRITE_QUEUE_ELEMENT.
+       (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
+       (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
+       * gennltvals.sh: Add frv target.
+       * nltvals.def: Add frv target.
+
+2003-06-23  Michael Snyder  <msnyder@redhat.com>
+
+       * nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
+       * sim-reg.c: Fix cut-and-paste bug in comment.
+
+2003-06-22  Andrew Cagney  <cagney@redhat.com>
+
+       From matthew green <mrg@redhat.com>:
+       * sim-fpu.h: Update copyright.
+       (sim_fpu_fraction, sim_fpu_guard): New prototypes.
+       * sim-fpu.c: Update copyright.
+       (sim_fpu_fraction, sim_fpu_guard): New inline functions.
+
+2003-06-17  Frank Ch. Eigler  <fche@redhat.com>
+
+       From Doug Evans <dje@sebabeach.org>:
+       * cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
+       with disassemble_info:read_memory_func.
+       * cgen-trace.c (sim_disasm_read_memory): Ditto.
+
+2003-06-04  Michael Snyder  <msnyder@redhat.com>
+
+       * common/run.c (main): Remove SIM_H8300 ifdef.
+       (usage): Ditto.
+       * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
+       (standard_options): Add '-x' for h8/300sx.
+       (standard_option_handler): Add case for SIM_H8300SX.
+
+2003-04-13  Michael Snyder  <msnyder@redhat.com>
+
+       * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
+
+2003-03-01  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
+       (sim_engine_vabort): Ditto.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
+       * sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
+       * nrun.c (main): Ditto.
+
+2003-02-26  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-engine.h (sim_engine_abort): Add noreturn attribute.
+       (sim_engine_vabort): Ditto.
+       (sim_engine_halt, sim_engine_restart): Ditto.
+
+2003-02-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
+       (sim-break_h): Delete macro.
+       (sim-break.o): Delete rule.
+       * sim-break.c: Delete file.
+       * sim-break.h: Delete file.
+       * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
+       (STATE_BREAKPOINTS): Delete macro.
+       (sim_state_base): Delete field breakpoints.
+       * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
+       sim_break_install to array.
+
+2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * run.c (usage): Fix typos.
+
+2002-11-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
+
+2002-11-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * dv-core.c: Update copyright.  sim/common contributed to the FSF.
+       * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
+       * hw-device.h, hw-handles.c, hw-handles.h: Ditto.
+       * hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
+       * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
+       * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
+       * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
+       * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
+       * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
+       * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
+
+2002-11-13  Andrew Cagney  <cagney@redhat.com>
+
+       * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
+
+2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
+       (distclean): Depend on it.
+
+2002-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
+
+2002-08-29  Dave Brolley  <brolley@redhat.com>
+
+       * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
+
+2002-07-17  Andrew Cagney  <cagney@redhat.com>
+
+       * run-sim.h: Add #ifdef RUN_SIM_H wrapper.
+       (sim_set_callbacks, sim_size, sim_trace)
+       (sim_set_trace, sim_set_profile_size, sim_kill): Declare.  Moved
+       to here from "gdb/remote-sim.h".
+
+2002-07-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * sim-resume.c (sim_resume): Add local variable sig_to_deliver to
+       avoid possible longjmp problems with automatic variable siggnal.
+
+2002-07-14  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
+       * Make-common.in (installdirs): Make $(libdir) too, needed when
+       installing libsim.a.
+
+2002-07-13  Andrew Cagney  <ac131313@redhat.com>
+
+       * gennltvals.sh (dir): Mark d30v as obsolete.
+       * nltvals.def: Remove d30v.
+
+2002-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
+
+       * sim-memopt.c: Include <unistd.h>.
+       (do_memopt_add): Fix printf format.
+       * sim-events.c (sim_events_schedule): Initialize ``dummy''.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Update to match GDB's
+       --enable-gdb-build-warnings.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-09  Aldy Hernandez  <aldyh@redhat.com>
+
+       * sim-fpu.c (unpack_fpu): Initialize exponent for
+       sim_fpu_class_zero.
+       (i2fpu): Same.
+       (sim_fpu_sqrt): Same.
+
+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.
+
+2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * run-sim.h: New header.  Provide prototypes for functions used
+       between run() and libsim.a which are not used by GDB.
+       * run.c: Include run-sim.h.
+       (main): If SIM_TARGET_SWITCHES is defined call
+       sim_target_parse_command_line.
+       (usage): If SIM_TARGET_SWITCHES is defined call
+       sim_target_display_usage.
+
+2002-05-17  Andrey Volkov  <avolkov@transas.com>
+
+       * run.c: Made h8300s as new target, not h8300h alias.
+       Added new option -S (h8300s target)
+       * sim-options.c: Ditto.
+
+2002-05-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * callback.c: Use 'deprecated' rather than 'depreciated.'
+
+2002-02-24  Andrew Cagney  <ac131313@redhat.com>
+
+       From wiz at danbala:
+       * sim-fpu.h: Fix grammar and typos.
+       Fix PR gdb/287.
+
+2002-02-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * callback.c: Fix some spelling errors.
+       * hw-device.h: Likewise.
+       * hw-tree.c: Likewise.
+       * sim-abort.c: Likewise.
+       * sim-alu.h: Likewise.
+       * sim-core.h: Likewise.
+       * sim-events.c: Likewise.
+       * sim-events.h: Likewise.
+       * sim-fpu.h: Likewise.
+       * sim-profile.h: Likewise.
+       * sim-utils.c: Likewise.
+
+2002-01-31  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
+       New functions.
+
+2002-01-20  Ben Elliston  <bje@redhat.com>
+
+       * sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
+       the comment for this enumerator.
+
+2002-01-14  Ben Elliston  <bje@redhat.com>
+
+       * sim-fpu.h: Fix comment about sim_fpu_* constants.
+
+2001-12-20  Kazu Hirata  <kazu@hxi.com>
+
+       * run.c (usage): Fix a typo.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Make-common.in (srccgen): Remove.
+       (CGEN_CPU_DIR): Define.
+       (CGEN_READ_SCM): Redefine without $(srccgen).
+       (CGEN_ARCH_SCM): Ditto.
+       (CGEN_CPU_SCM): Ditto.
+       (CGEN_DECODE_SCM): Ditto.
+       (CGEN_DESC_SCM): Ditto.
+
+2001-04-25  Frank Ch. Eigler  <fche@redhat.com>
+
+       * sim-load.c (sim_load_file): Put it back: external now.
+       * sim-utils.c (sim_analyze_program): Ditto.  Nyuk nyuk nyuk.
+
+2001-04-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * sim-load.c (sim_load_file): Delete call bfd_cache_close.  BFD
+       internal interface.
+       * sim-utils.c (sim_analyze_program): Ditto.
+
+2001-04-19  Frank Ch. Eigler  <fche@redhat.com>
+
+       * sim-utils.c (sim_analyze_program): Call bfd_cache_close after
+       we're finished with its immediate use.
+       * sim-load.c (sim_load_file): Ditto.
+
+2001-03-16  Frank Ch. Eigler  <fche@redhat.com>
+
+       Add support for mmap-based memory regions.
+       * sim-memopt.c (mmap_next_fd): New global.
+       (sim_memory_init): Reinitialize it.
+       (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
+       "--memory-mapfile FILE" option.  Check for some errors.
+       (do_memopt_add): Conditionally do mmap instead of malloc for
+       backing store of simulated memory.  Check for more errors.
+       (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
+       * sim-memopt.h (munmap_length): New member of _sim_memopt.
+       * configure.in: Look for mmap/fstat related functions and headers.
+       * config.in, configure: Regenerated.
+
+2001-03-15  Frank Ch. Eigler  <fche@redhat.com>
+
+       * sim-core.c (sim_core_map_attach): Correct overlap-related
+       error messages.
+
+2001-03-07  Michael Meissner  <meissner@redhat.com>
+
+       * run.c (alloca-conf.h): Delete, no longer provided.
+
+2001-02-22  Ben Elliston  <bje@redhat.com>
+
+       * sim-trace.h (TRACE_VPU_IDX): Add.
+       (TRACE_vpu): Define.
+       (WITH_TRACE_VPU_P): Likewise.
+       (TRACE_VPU_P): Likewise.
+       * sim-trace.c (OPTION_TRACE_VPU): Define.
+       (trace_options): Add --trace-vpu.
+       (trace_option_handler): Handle OPTION_TRACE_VPU.
+       (trace_option_handler): Include VPU tracing in --trace-semantics.
+       (trace_idx_to_str): Handle TRACE_VPU_IDX.
+
+2001-02-21  Ben Elliston  <bje@redhat.com>
+
+       * sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
+       (TRACE_BRANCH_INPUT2): Likewise.
+
+2001-02-09  Ben Elliston  <bje@redhat.com>
+
+       * (profile_print_pc): Write header out in target byte order.
+
+2001-02-09  Ben Elliston  <bje@redhat.com>
+
+       * sim-profile.c (profile_pc_init): Correct bug in loop logic when
+       adjusting the pc shift value.
+
+2001-01-12  Chris Demetriou  <cgd@sibyte.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case
+       where a numeric value is supplied.
+
+2001-01-06  Ben Elliston  <bje@redhat.com>
+
+       * cgen.sh: Allow extrafiles to include the semantics files when
+       generating an ISA-specific decoder.
+
+2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Make-common.in (sim-io.o): Depend on targ-vals.h.
+
+2000-12-23  Ben Elliston  <bje@redhat.com>
+
+       * cgen-trace.c (trace_result): Handle 'f' type operands; output
+       them to the trace stream using sim_fpu_printn_fpu. Include
+       "sim-fpu.h".
+
+2000-12-15  Ben Elliston  <bje@redhat.com>
+
+       * sim-fpu.h (sim_fpu_printn_fpu): Declare.
+       * sim-fpu.c (print_bits): Add digits parameter. Print only as many
+       trailing digits as specified (-1 to print all digits).
+       (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
+       (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
+       to print_bits ().
+
+2000-12-13  Ben Elliston  <bje@redhat.com>
+
+       * cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
+       sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
+       (defs): New action.
+
+2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
+
+       * sim-endian.h: Don't have parameters on macro definitions which
+       are simply renaming functions, to permit use of XCONCAT2 in both
+       the macro name and the arguments in a use of such a definition.
+
+2000-12-11  Ben Elliston  <bje@redhat.com>
+
+       * cgen-ops.h (SUBWORDDFDI): New function.
+
+2000-12-05  Ben Elliston  <bje@redhat.com>
+
+       * Make-common.in (cgen-defs): New target.
+       (cgen-decode): Pass $(EXTRAFILES).
+
+       * genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
+       -outfile-suffix options.
+
+2000-12-04  Ben Elliston  <bje@redhat.com>
+
+       * cgen-ops.h (SUBWORDSIQI): Mask off top bits.
+       (SUBWORDSIUQI): Likewise.
+       (SUBWORDDIHI): Likewise.
+       (SUBWORDDIQI): New function.
+
+       * cgen-trace.c (disassemble_insn): Remove unused declaration.
+       * cgen-scache.c (scache_option_handler): Remove unused local var.
+
+2000-12-03  Ben Elliston  <bje@redhat.com>
+
+       * sim-profile.c (profile_option_handler): Remove unused prof_nr.
+
+2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * hw-events.c (delete_hw_event_data): Remove the scheduled events.
+
+2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-core.c (dv_core_attach_address_callback): Don't abort if
+       space is not zero.
+
+2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * hw-base.c (hw_delete): Don't free base_of_hw since it's freed.
+       (set_hw_delete): Moved the macro as a function.
+       * hw-base.h (set_hw_delete): Declare as external function.
+       * hw-alloc.c (delete_hw_alloc_data): Allow to free the memory
+       allocated using hw_malloc.
+
+2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * sim-options.c (sim_parse_args): Free the memory used for
+       long_options, short_options, handlers, opt_cpu, orig_val.
+
+2000-11-20  Ben Elliston  <bje@redhat.com>
+
+       * cgen-ops.h (SUBBI): New macro.
+       (SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
+       (SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
+
+2000-11-16  Ben Elliston  <bje@redhat.com>
+
+       * cgen-types.h (VOID): New type.
+
+2000-11-09  Ben Elliston  <bje@redhat.com>
+
+       * sim-fpu.c (sim_fpu_one): Set exponent to 0.
+       (sim_fpu_two): Set exponent to 1.
+
+2000-10-26  Ben Elliston  <bje@redhat.com>
+
+       * cgen.sh: Handle an isa argument between cpu and mach. Default to
+       `all'. Pass `-i' options to cgen applications.
+       * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
+       cgen-desc): Pass $(isa) to cgen.sh.
+
+2000-10-08  Ben Elliston  <bje@redhat.com>
+
+       * cgen-utils.c (cgen_rtx_error): New function.
+
+2000-10-07  Ben Elliston  <bje@redhat.com>
+
+       * cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
+       conditions for sim_core_read_buffer().
+
+2000-09-26  Dave Brolley  <brolley@redhat.com>
+
+       * cgen-utils.c (RORQI): New function.
+       (ROLQI): New function.
+       (RORHI): New function.
+       (ROLHI): New function.
+
+2000-08-28  Dave Brolley  <brolley@redhat.com>
+
+       * cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
+       in insn_value if it will fit.
+
+2000-08-21  Frank Ch. Eigler  <fche@redhat.com>
+
+       * Make-common.in, cgen.sh: Contribute CGEN-related build targets/rules.
+
+2000-08-15  Dave Brolley  <brolley@redhat.com>
+
+       * sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
+
+2000-08-15  Dave Brolley  <brolley@redhat.com>
+
+       * sim-profile.h (PROFILE_DATA): Add cpu_freq.
+       (PROFILE_CPU_FREQ): New macro.
+       * sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
+       (profile-options): Add profile-cpu-frequency.
+       (parse_frequency): New function.
+       (profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
+       (profile_print_speed): Print cpu frequency and simulated execution time.
+       Re-indent other items to match.
+
+2000-08-09  Andrew Cagney  <cagney@lulu.cygnus.com>
+
+       * dv-sockser.c (dv_sockser_init): Eliminate MIN macro.
+
+2000-07-27  Frank Ch. Eigler  <fche@redhat.com>
+
+       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+       * Makefile.in (install): Install run.1 man page.
+
+Thu Jul 27 21:56:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-06-23 Doug Evans <dje@casey.transmeta.com>:
+       * Makefile.in (headers,nltvals.def): Merge.
+
+Thu Jul 27 20:37:47 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+       * nrun.c (main): Print the simulator statistics only in
+       verbose mode.
+       * hw-properties.h (hw_find_integer_array_property): Fix
+       prototype (use signed_cell).
+
+       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+       * sim-events.c (sim_events_remain_time): New function returning
+       the time that remains before the event is raised.
+       * hw-events.c (hw_event_remain_time): Likewise.
+       * sim-events.h (sim_events_remain_time): Declare.
+       * hw-events.h (hw_event_remain_time): Declare.
+
+       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+       * sim-hw.c: Use <errno.h> instead of <sys/errno.h>
+       (OPTION_HW_LIST): New option --hw-list to list the devices.
+       (hw_option_handler): List the device tree with 'sim_hw_print'.
+
+       From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
+       * sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
+       (MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
+       (EXTENDED): Define for 16-bit word size.
+       * sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
+       MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
+       * sim-types.h: Added support for 16-bit targets.
+
+2000-06-23  Frank Ch. Eigler  <fche@redhat.com>
+
+       * cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
+
+2000-06-24  Frank Ch. Eigler  <fche@redhat.com>
+
+       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
+       * Makefile.in (distclean): Clean cconfig.h also.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue May 23 21:35:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-profile): Enable the profiler by default.
+
+Tue May 23 20:30:12 2000  Andrew Cagney  <cagney@amy.cygnus.com>
+
+       * run.c (main): Initialize sigrc.
+
+Wed Apr 26 16:18:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (update_time_from_event): Add more detailed event
+       tracing.
+
+2000-03-30  Dave Brolley  <brolley@redhat.com>
+
+       * aclocal.m4 (cgen): Use guile to run cgen.
+
+2000-03-23  Dave Brolley  <brolley@redhat.com>
+
+       * cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
+       ftruncdfsf.
+       * cgen-accfp.c (fextsfdf): New function.
+       (ftruncdfsf): New function.
+       (cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
+
+2000-03-13  Jeff Johnston <jjohnstn@cygnus.com>
+
+       * cgen-ops.h: Added TRUNCSISI.
+
+2000-03-08  Dave Brolley  <brolley@redhat.com>
+
+       * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
+       (CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
+       (sim_queue_fn_si_write): Last argument is has type USI.
+       (sim_queue_fn_sf_write): New function.
+       * cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
+       (sim_queue_fn_sf_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
+
+Tue Feb 22 16:45:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main): When SIM_HAVE_ENVIRONMENT enable tracing with
+       sim_set_trace and run simulator using sim_resume.
+       (main): Add option ``-o'' - operating environment.  Only continue
+       after a signal when operating environment.
+       (main): Always set REASON and SIGRC using sim_stop_reason.
+       (sim_trace): Delete extern declaration.
+
+2000-02-08  Nick Clifton  <nickc@cygnus.com>
+
+       * callback.c: Fix compile time warning messages.
+       * run.c: Fix compile time warning messages.
+
+1999-12-17  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-profile.h: (set_profile_option_mask): Add prototype.
+       * sim-profile.c (set_profile_option_mask): No longer static.
+
+Wed Dec  8 21:47:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-arange.c: Include <string.h>
+
+1999-12-07  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-options.c (print_help): '=' required before optional argument.
+       * cgen-par.h (CGEN_FN_MEM_QI_WRITE): New enumerator.
+       (CGEN_FN_MEM_HI_WRITE): New enumerator.
+       (CGEN_FN_MEM_SI_WRITE): New enumerator.
+       (CGEN_FN_MEM_DI_WRITE): New enumerator.
+       (CGEN_FN_MEM_DF_WRITE): New enumerator.
+       (CGEN_FN_MEM_XI_WRITE): New enumerator.
+       (fn_mem_qi_write): New union members.
+       (fn_mem_hi_write): New union members.
+       (fn_mem_si_write): New union members.
+       (fn_mem_di_write): New union members.
+       (fn_mem_df_write): New union members.
+       (fn_mem_xi_write): New union members.
+       (sim_queue_fn_mem_qi_write): New function.
+       (sim_queue_fn_mem_hi_write): New function.
+       (sim_queue_fn_mem_si_write): New function.
+       (sim_queue_fn_mem_di_write): New function.
+       (sim_queue_fn_mem_df_write): New function.
+       (sim_queue_fn_mem_xi_write): New function.
+       * cgen-par.c (sim_queue_fn_mem_qi_write): New function.
+       (sim_queue_fn_mem_hi_write): New function.
+       (sim_queue_fn_mem_si_write): New function.
+       (sim_queue_fn_mem_di_write): New function.
+       (sim_queue_fn_mem_df_write): New function.
+       (sim_queue_fn_mem_xi_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_FN_MEM_QI_WRITE,
+       CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
+       CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
+
+1999-12-01  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-accfp.c (subsf): Check status code.
+       (mulsf): Ditto.
+       (negsf): Ditto.
+       (abssf): Ditto.
+       (sqrtsf): Ditto.
+       (invsf): Ditto.
+       (minsf): Ditto.
+       (maxsf): Ditto.
+       (subdf): Ditto.
+       (muldf): Ditto.
+       (divdf): Ditto.
+       (negdf): Ditto.
+       (absdf): Ditto.
+       (sqrtdf): Ditto.
+       (invdf): Ditto.
+       (mindf): Ditto.
+       (maxdf): Ditto.
+
+1999-11-26  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (fn_df_write): Mode of data is DF.
+       (sim_queue_fn_df_write): Mode of data is DF.
+       * cgen-par.c (sim_queue_fn_df_write): Mode of data is DF.
+
+1999-11-22  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-trace.c (SIZE_TRACE_BUF): Inxrease size of trace buffer.
+       * cgen-par.h (CGEN_WRITE_QUEUE_SIZE): Increase size of queue.
+
+1999-11-04  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_XI_WRITE and
+       CGEN_MEM_XI_WRITE members.
+       (CGEN_WRITE_QUEUE_ELEMENT): Add fn_xi_write and mem_xi_write members.
+       (sim_queue_fn_xi_write): New function.
+       (sim_queue_mem_xi_write): New function.
+
+       * cgen-par.c (sim_queue_fn_xi_write): New function.
+       (sim_queue_mem_xi_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_FN_XI_WRITE and
+       CGEN_MEM_XI_WRITE.
+
+1999-10-22  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (insn_address): New field in CGEN_WRITE_QUEUE_ELEMENT.
+       (CGEN_WRITE_QUEUE_ELEMENT_IADDR): New macro.
+       * cgen-par.c: Set insn_address for each queued write. Get pc from
+       cpu when executing queued writes.
+
+1999-10-19  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (sim_queue_fn_pc_write): New function.
+       (CGEN_FN_PC_WRITE): New enumerator.
+       (fn_pc_write): New union member.
+       * cgen-par.c (sim_queue_fn_pc_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE.
+
+1999-10-18  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator.
+       (CGEN_MEM_DF_WRITE): New enumerator.
+       (mem_di_write): New union member.
+       (mem_df_write): New union member.
+       * cgen-par.c (sim_queue_mem_di_write): New function.
+       (sim_queue_mem_df_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_MEM_DI_WRITE and
+       CGEN_MEM_DF_WRITE.
+       * cgen-accfp.c (divsf): Check for division errors.
+
+1999-10-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-engine.h (EXTRACT_INT,EXTRACT_UINT): Delete.
+
+1999-10-07  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator.
+       (fn_hi_write): New union member.
+       (sim_queue_fn_hi_write): New function.
+       * cgen-par.c (sim_queue_fn_hi_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_FN_HI_WRITE.
+
+1999-09-29  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-defs.h (sim_engine_invalid_insn): New arg `vpc'.
+       Change type of result to SEM_PC.
+
+Wed Sep 29 14:43:57 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-defs.h (sim_engine_invalid_insn): Now returns PC.
+
+1999-09-25  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-ops.h (SUBWORD*): Delete cpu arg.
+       (JOIN*): Delete cpu arg.
+
+Tue Sep 21 17:14:16 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * genmloop.sh (@cpu@_scache_lookup): No longer takes last_insn_p
+       parameter.
+       (SET_LAST_INSN_P): Set last_insn_p flag in the scache element.
+
+Mon Sep 20 21:44:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting
+       large values.
+
+Tue Feb  8 16:33:48 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main): Check the sim_stop_reason and only halt simulation
+       when a valid stop condition is identified.
+
+Wed Sep 15 14:12:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.c, hw-properties.c, hw-instances.c: Include "sim-io.h".
+
+Tue Sep 14 14:15:47 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.h (CGEN_BI_WRITE): New enumerator.
+       (bi_write): New union element.
+       (sim_queue_bi_write): New function.
+       * cgen-par.c (sim_queue_bi_write): New function.
+       (cgen_write_queue_element_execute): Handle CGEN_BI_WRITE.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * aclocal.m4 (WERROR_CFLAGS, WARN_CFLAGS): Merge from
+       ../gdb/configure.in.
+       * Make-common.in (WERROR_CFLAGS, WARN_CFLAGS): Define.
+       (SIM_WERROR_CFLAGS, SIM_WARN_CFLAGS): Define.
+       (SIM_WARNINGS): Delete
+       (CONFIG_CFLAGS): Update.
+
+Tue Aug 31 16:01:42 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-par.c: New file.
+       * cgen-par.h: New file.
+       * cgen-sim.h (cgen-par.h): #include it.
+       * cgen-cpu.h (write_queue): New field.
+       (CPU_WRITE_QUEUE): New access macro.
+       * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-par.h.
+       (cgen-par.o): New target.
+
+1999-08-28  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-types.h (mode_type,MODE_VOID): Renamed from MODE_VM.
+       * cgen-utils.c (mode_names): Update.
+
+1999-08-20  Doug Evans  <devans@casey.cygnus.com>
+
+       * genmloop.sh: New args -parallel-generic-write, -parallel-only.
+       * cgen-engine.h (SEMANTIC_FN): Don't use version with PAREXEC
+       buffer arg if WITH_PARALLEL_GENWRITE.
+       (struct insn_sem): Handle WITH_PARALLEL_GENWRITE.
+       (struct idesc): Ditto.
+
+Wed Aug 18 18:17:28 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-model.c (model_option_handler): Add \n to error message.
+
+1999-08-08  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-engine.h (SEM_FN_NAME,SEMF_FN_NAME): Delete.
+       (insn_sem): Rewrite.
+       (sem_fn_desc): New struct.
+       (idesc): Rewrite.
+       * genmloop.sh (scache case,@cpu@_scache_lookup): Profile scache hit,
+       misses if ! FAST_P.
+       (scache case): Split into non-parallel/parallel versions.
+       (@cpu@_engine_run_{full,fast}): Call @cpu@_{sem,semf}_init_idesc_table
+       if not use semantic switch version.
+
+1999-08-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-defs.h (SEM_BRANCH_TYPE): New enum.
+       * cgen-engine.h (SEM_BRANCH_UNTAKEN,SEM_BRANCH_UNCACHEABLE): Delete.
+       (SEM_BRANCH_INIT_EXTRACT): Delete.
+       (SEM_BRANCH_INIT): Replace npc_ptr with br_type.
+       (SEM_BRANCH_FINI): Ditto.
+       (SEM_BRANCH_VIA_ADDR): Ditto.
+       (SEM_BRANCH_VIA_CACHE): Ditto.  Delete cachvarptr arg.
+       (SEM_BRANCH_ADDR_CACHE): Delete.
+       (SEM_SKIP_COMPILE,SEM_SKIP_INSN): New macros.
+       * cgen-scache.h (cpu_scache): Replace member pbb_pr_npc_ptr with
+       pbb_br_type.
+       * genmloop.sh (eng.hin): Update prototype of ${cpu}_pbb_cti_chain.
+       (@cpu@_pbb_begin): Initialize branch_target.
+       (@cpu@_pbb_cti_chain): Replace arg new_vpc_ptr with br_type.
+       (@cpu@_engine_run_full): Replace local pbb_br_npc_ptr with
+       pbb_br_type.
+       (@cpu@_engine_run_fast): Ditto.
+
+Fri Jul 16 14:47:53 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-utils.c (RORSI): New function.
+       (ROLSI): New function.
+
+1999-07-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (TAGS): Tweak TAGS regex.
+       * cgen-mem.h (*): Add TAGS markers.
+
+Sun Jul 11 23:47:20 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only
+       passed in when sim_resume is first entered - don't re-pass it
+       after a restart.
+
+Sun Jul 11 23:34:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and
+       OPTION_LOAD_LMA but only when is defined.
+       (standard_options): When SIM_HANDLES_LMA is defined include
+       options --load-lma and --load-vma.
+       (standard_install): Initialize STATE_LOAD_AT_LMA_P.
+
+       * sim-base.h (STATE_LOAD_AT_LMA_P): Define.
+       (struct sim_state_base): Add load_at_lma_p.
+       * sim-hload.c (sim_load): Replace SIM_HANDLES_LMA with
+       STATE_LOAD_AT_LMA_P.
+
+Sun Jul 11 12:03:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * nrun.c (main): Re-format loop gnu style.
+
+Wed Jul  7 19:56:03 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-sockser.c (connected_p): Initialize addrlen.
+
+1999-07-06  Dave Brolley  <brolley@cygnus.com>
+
+       * cgen-accfp.c (floatsidf): New function.
+       (fixdfsi): New function.
+
+1999-07-06  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-model.c (sim_model_init): Issue error if machine is unsupported.
+
+1999-07-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-fpu.h.
+       (cgen-fpu.o,cgen-accfp.o): Add rules for.
+       * cgen-fpu.c: New file.
+       * cgen-fpu.h: New file.
+       * cgen-accfp.c: New file.
+       * cgen-cpu.h (CGEN_CPU): New member fpu.
+       * cgen-mem.h: Redo fp support.
+       * cgen-ops.h: Delete k&r support.  Redo fp support.
+       * cgen-sim.h: Include cgen-fpu.h.
+       * cgen-types.h (SF,DF,XF,TF): Moved to cgen-fpu.h.
+
+1999-06-23  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-engine.h (TARGET_SEM_BRANCH_FINI): Remove cruft at end of
+       ifndef.
+       * genmloop.sh (@cpu@_scache_lookup): Delete unused local var.
+       (@cpu@_pbb_cti_chain): Minor clean up.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT.  Delete defn of
+       AM_CYGWIN32 and AM_EXEEXT.
+       * configure: Regenerate.
+
+Fri Apr 16 16:43:22 1999  Doug Evans  <devans@charmed.cygnus.com>
+
+       * sim-core.c (device_error,device_io_read_buffer,
+       device_io_write_buffer): Delete decls.
+       * sim-core.h: Put them here.
+
+       * sim-core.c (sim_core_read_buffer): Pass sd to device_io_read_buffer.
+       (sim_core_write_buffer): Pass sd to device_io_write_buffer.
+       * sim-n-core.h (sim_core_read_aligned_N): Ditto.
+       (sim_core_write_aligned_N): Ditto.
+
+1999-04-14  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * sim-memopt.c (sim_memory_uninstall): Don't look into
+       free()d memory.
+
+1999-04-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-utils.scm (virtual_insn_entries): Update attribute definition.
+
+1999-04-13  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-core.c (sim_core_read_buffer): Handle NULL cpu when WITH_DEVICES.
+       (sim_core_write_buffer): Ditto.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * sim-io.c (sim_io_poll_quit): Only call the poll_quit callback
+       after the interval counter has expired.
+       (POLL_QUIT_INTERVAL): Define. Used to tweak the frequency of
+       poll_quit callbacks. May be overridden by Makefile.
+       (poll_quit_counter): New global.
+       * sim-events.c: Remove all mentions of ui_loop_hook. The
+       host callback "poll_quit" will serve the purpose.
+       * run.c: Add definition of ui_loop_hook when NEED_UI_LOOP_HOOK
+       is defined.
+       * nrun.c: Remove declaration of ui_loop_hook.
+
+Wed Mar 31 18:55:41 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-run.c (sim_resume): Don't tell main loop to run "forever"
+       if being used by gdb.
+
+1999-03-22  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-types.h (XF,TF): Tweak.
+       * cgen-ops.h: Redo inline support.  Delete DI_FN_SUPPORT,
+       in cgen-types.h.
+       (SUBWORD*,JOIN*): Define.
+       * cgen-trace.c (sim_cgen_disassemble_insn): Update, base_insn_bitsize
+       moved into cpu descriptor.
+       * sim-model.h (MACH): New member `num'.
+
+1999-02-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-cpu.h (CGEN_DISASSEMBLER): New type.
+       (CGEN_CPU): Member opcode renamed to cpu_desc.
+       New members get_idata,disassembler.
+       * cgen-defs.h (CGEN_INSN_VIRTUAL_P): CGEN_INSN_ATTR renamed to
+       CGEN_INSN_ATTR_VALUE.
+       (CGEN_STATE): Delete member opcode_table.
+       (sim_disassemble_insn): Delete decl.
+       * cgen-engine.h (struct insn_sem): Moved to here from <cpu>-decode.c.
+       (struct idesc): Moved to here from <cpu>-decode.h.
+       * cgen-run.c (prime_cpu): Call prepare_run callback.
+       * cgen-trace.h (SFILE): New type.
+       (sim_disasm_sprintf): Declare.
+       (sim_disasm_read_memory,sim_disasm_perror_memory): Declare.
+       (sim_cgen_disassemble_insn): Declare.
+       * cgen-trace.c: Include errno.h,dis-asm.h.  Don't include cpu-opc.h.
+       (insn_fields): Delete.
+       (trace_insn_fini): STATE_OPCODE_TABLE (sd) replaced with
+       CPU_CPU_DESC (cpu).
+       (trace_insn): Call CPU_DISASSEMBLER hook.
+       (sim_disasm_sprintf): New function.
+       (sim_disasm_read_memory): New function.
+       (sim_disasm_perror_memory): New function.
+       (sim_cgen_disassemble_insn): New function.
+       * cgen-utils.c: Don't include cpu-opc.h.
+       (virtual_insn_entries): New static local.
+       (cgen_virtual_insn_table): Renamed from cgen_virtual_opcode_table.
+       (cgen_insn_name): Rewrite.
+       (disasm_sprintf,sim_disassemble_insn): Moved to cgen-trace.c.
+       * cgen.sh (desc): New file generator handler.
+       * genmloop.sh: -parallel changed to -parallel-read/-parallel-write.
+       Define WITH_PARALLEL_READ/WITH_PARALLEL_WRITE appropriately.
+       Don't include cpu-opc.h,cpu-sim.h.
+       * sim-model.c (model_set): Delete SIM_DESC arg.
+       (sim_model_set): Update.
+       * sim-model.h (MACH): New member prepare_run.
+
+1999-01-28  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-memopt.c (memory_option_handler): Avoid memset() calls
+       if redundant with allocator functions.
+
+Wed Jan 27 17:19:09 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.
+
+       * sim-profile.h: Make like sim-trace.h.
+       (PROFILE_USEFUL_MASK): New macro.
+       * sim-profile.c (profile_options): Make like trace_options, allow
+       optional on|off arg where applicable.
+       (set_profile_option_mask): New function.
+       (sim_profile_set_option): New function.
+       (profile_option_handler): Simplify.
+       Have -p only enable selected things, not everything.
+       Add missing break to OPTION_PROFILE_PC_RANGE.
+       * cgen-scache.c (scache_options): Allow optional on|off arg to
+       --profile-scache.
+       (scache_option_handler): Use sim_profile_set_option.
+
+1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-memopt.c (memory_options): Add MEMORY_FILL option.
+       (memory_option_handler): Implement MEMORY_FILL option.  Make
+       MEMORY_CLEAR an alias for MEMORY_FILL=0.
+       (parse_ulong_value): New function.
+       (do_memopt_add): Allocate all buffers.  Optionally fill them.
+
+1999-01-15  Richard Henderson  <rth@cygnus.com>
+
+       * hw-events.c (hw_event_queue_schedule): _vtracef takes a
+       va_list, not an integer.
+       * sim-events.c (sim_events_schedule): Likewise.
+
+       * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to
+       the appropriate type.
+
+1999-01-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
+       (sim_disassemble_insn): Update prototype.
+       (sim_engine_invalid_insn): Ditto.
+       * cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
+       (SEM_BRANCH_INIT): PCADDR->IADDR.
+       (SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
+       * cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
+       * cgen-scache.h (*): Ditto.
+       * cgen-trace.c (*): Ditto.
+       * cgen-trace.h (*): Ditto.
+       * cgen-utils.c (*): Ditto.
+       * cgen-types.h (integer modes): Use signedNN/unsignedNN types.
+       (insn_t): Delete.
+       * genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
+       (simple engine framework): Rewrite.
+       * sim-module.c (modules): Install model module sooner (and in
+       particular before the profile module).
+
+1999-01-12  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
+       * sim-model.c (sim_mach_lookup_bfd_name): New function.
+       (sim_model_init): Call it.
+
+       * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
+
+1999-01-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
+       * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
+       (SEM_BRANCH_INIT_EXTRACT): New macro.
+       (SEM_BRANCH_INIT): Add taken_p.
+       (TARGET_SEM_BRANCH_FINI): Provide default definition.
+       (SEM_BRANCH_FINI): Use it.
+       (SEM_INSN): Update.
+       * cgen-run.c (sim_resume): Handle tracing of last insn.
+       * cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
+       * cgen-trace.c (current_abuf): New static global.
+       (trace_insn_init): Initialize it.
+       (trace_insn_fini): Use it.
+       (trace_insn): Set it.
+       * cgen.sh (arch case): Pass -m ${mach} to cgen.
+       * genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
+       (@cpu@_emit_after): Ditto.
+       (simple @cpu@_engine_run_full): New local `pc'.  Initialize semantic
+       labels if WITH_SEM_SWITCH_FULL.
+       * sim-model.c: Include bfd.h.
+       (sim_model_init): New function.
+       (sim_model_install): Record init fn.
+       * sim-model.h (MACH): New member bfd_name.
+       * sim-module.c (modules): Initialize model before scache.
+
+1998-12-24  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
+
+       * nrun.c (main): Remain in simulation loop for traps and
+       exceptions when in operating environment mode.
+       (ui_loop_hook): New stub hook for standalone use.
+       * sim-events.c (sim_events_process): Call ui_loop_hook
+       periodically on CYGWIN host.
+
+       * sim-reason.c (sim_stop_reason): Return host signal numbers
+       to gdb on sim_stopped and sim_signalled cases.
+       * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
+       hook just before longjmp.
+       * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
+       hook just before sim_engine_run.
+
+       * sim-n-core.h (sim_core_trace_M): Allay const warning.
+       * sim-trace.h (trace_generic): Ditto.
+       * sim-trace.c (trace_generic): Ditto.
+
+1998-12-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (SIM_MAIN_DEPS): New var.
+       (CGEN_MAIN_CPU_DEPS): New var.
+       * aclocal.m4: Add --enable-cgen-maint option.
+       * cgen-mem.h (GETMEM*): New arg `pc'.  Pass to sim_core routine.
+       (SETMEM*): Ditto.
+       (GETIMEM*): Pass pc value to sim_core routine.
+
+Fri Dec 11 16:58:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-handles.c (hw_handle_add_ihandle, hw_handle_add_phandle):
+       Compare with ZERO not NULL.
+
+Thu Dec 10 14:14:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-properties.c, hw-instances.c, hw-tree.c: Include
+       "sim-assert.h".
+
+1998-12-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-arange.c: Include libiberty.h, and stdlib.h if present.
+       * sim-trace.c: Include stdlib.h if present.
+       * dv-sockser.c: Include unistd.h if present.
+       (dv_sockser_init): Add missing arg to call to sim_io_eprintf.
+       * cgen-scache.c (scache_flush): Delete unused locals i,sc.
+
+1998-12-08  James E Wilson  <wilson@wilson-pc.cygnus.com>
+
+       * gennltvals.sh: Add i960.
+       * nltvals.def: Rebuild.
+
+1998-12-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-defs.h: New file, old cgen-sim.h.
+       * cgen-sim.h: Simple header that includes others.
+       * sim-arange.c: New file.
+       * sim-arange.h: New file.
+       * sim-basics.h: Include it.
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
+       (sim-arange.o): Add rule for.
+       * sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
+       (sim_io_eprintf_cpu): Add prototype.
+       * sim-inline.h (HAVE_INLINE): Define if GNUC.
+       (INLINE2): New macro.
+       (EXTERN_INLINE): New macro.
+       * sim-module.c (sim_post_argv_init): Initialize cpu backlink
+       before calling module init fns.
+       * sim-profile.c (OPTION_PROFILE_*): Move into enum.
+       (profile_init): New function.
+       (profile_options): New option --profile-range.
+       (profile_option_handler): Handle --profile-range.
+       (profile_print_insn): Qualify address range specific section titles.
+       (profile_print_addr_ranges): New function.
+       (profile_info): Print address ranges if specified.
+       (profile_install): Set profile_init init fn.
+       * sim-profile.h (PROFILE_DATA): New member `range'.
+       * sim-trace.c (trace_init): New function.
+       (trace_options): New option --trace-range.
+       (trace_option_handler): Handle --trace-range.
+       (trace_install): Set trace_init init fn.
+       * sim-trace.h (TRACE_DATA): New member `range'.
+       * sim-utils.c (sim_cpu_msg_prefix): New function.
+       (sim_io_eprintf_cpu): New function.
+       * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
+       (PC_IN_PROFILE_RANGE_P): New macro.
+       * cgen-trace.c (trace_insn_init): Set current_insn to NULL.
+       (trace_insn_fini): New arg abuf.  All callers updated.
+       Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
+       printing cycle counts.
+       * cgen-trace.h (trace_insn_fini): Update prototype.
+       (TRACE_RESULT_P): New macro.
+       (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
+       (TRACE_INSN): Check ARGBUF_TRACE_P.
+       (TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
+       * cgen-types.h (SIM_INLINE): Delete.
+       (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
+       * cgen-utils.c: Don't include cgen-engine.h
+       * genmloop.sh (@cpu@_fill_argbuf): New function.
+       (@cpu@_fill_argbuf_tp): New function.
+       (@cpu@_emit_before,@cpu@_emit_after): New functions.
+       (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
+       (SET_CTI_VPC,SET_INSN_COUNT): Update.
+       (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
+       doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
+       (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
+       doing profiling. Update call to TRACE_INSN_FINI.
+
+       * sim-memopt.c (sim_memory_uninstall): Result type is `void'.
+
+1998-12-03  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-memopt.c (sim_memory_uninstall): Deallocate all memory
+       regions.
+
+1998-12-01  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-inline.c (SIM_INLINE_P): Fix typo.
+
+1998-11-30  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-utils.c (cgen_virtual_opcode_table): Update.
+
+Tue Nov 24 18:40:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gennltvals.sh: Add v850 and d10v. Sort alphabetically.
+       * nltvals.def: Re-generate.
+
+Mon Nov 23 13:28:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (reverse_n, sim_core_uninstall, sim_core_init,
+       sim_core_map_attach, sim_core_map_detach, next_event_queue,
+       new_sim_core_mapping): Only define when EXTERN_SIM_CORE_P, pacify
+       GCC.
+       * sim-events.c (sim_events_uninstall, sim_events_suspend,
+       sim_events_resume, sim_events_zalloc, insert_sim_event): Ditto.
+
+1998-11-22  Doug Evans  <devans@tobor.to.cygnus.com>
+
+       * genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
+       (${cpu}_pbb_cti_chain): Ditto.
+
+1998-11-18  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
+       * cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
+       (EXTRACT_INT,EXTRACT_UINT): New macros.
+       (SEM_SEM_ARG): New macro.
+       (SEM_NEXT_VPC): New arg `pc'.
+       * cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
+       (sim_disassemble_insn): Update prototype.
+       * cgen-trace.c (current_insn,insn_fields): New static locals.
+       (trace_insn): Set them.
+       * cgen-utils.c: #include cgen-engine.h.
+       (sim_disassemble_insn): New arg insn_fields.
+       Handle variable length insns.
+       * genmloop.sh: Only emit pbb decls if -pbb.
+       (${cpu}_scache_lookup): New arg `vpc'.
+       (scache support): Fetch pc before entering loop.
+
+       * gennltvals.sh: Add fr30 support.
+       * nltvals.def: Rebuild.
+
+Wed Nov 18 10:22:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h: Re-do type system so that GCC's attribute and mode
+       are used to specify types.  Handle case of ALPHA.
+
+1998-11-13  Frank Ch. Eigler  <fche@elastic.org>
+
+       * aclocal.m4: Add tests for dlopen family.
+       * config.in: Regenerated.
+
+Wed Nov 11 14:02:25 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
+
+Wed Nov  4 23:51:19 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
+       HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
+       * cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
+       * cgen-sim.h: ... to here.
+
+Wed Oct 28 12:00:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (enable-build-warnings): Replace
+       enable-sim-warnings. Extend =LIST syntax so that prepend and
+       append of options is possible.  Drop -Werror, add
+       -Wstrict-prototypes for GDB compatibility.
+       * Make-common.in (SIM_WARNINGS): Update.
+
+Mon Oct 19 13:56:32 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (CGEN_INCLUDE_DEPS): Define.
+       (sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
+       (sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
+       (cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
+       explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
+       CGEN_INCLUDE_DEPS.
+       * cgen-cpu.h: New file.
+       * cgen-engine.h: New file.
+       * cgen-scache.h: New file.
+       * cgen-sim.h: Delete portions moved to new files.
+       * genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
+       rather than sending result to stdout.
+
+Fri Oct  9 14:20:22 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (sim-reg.o): New rule.
+       (cgen-run.o): New rule.
+       * cgen-ops.h: Delete many BI macros.  Change all UBI -> BI.
+       * cgen-run.c (prime_cpu): New function.
+       * cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
+       (scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
+       mentioned cpu.
+       (scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
+       * cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
+       (CGEN_INSN_VIRTUAL_P): New macro.
+       (SEM_PC): New typedef.
+       (SEMANTIC_FN): Change type of result to SEM_PC.
+       (SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
+       (IDESC_CTI_P,IDESC_SKIP_P): New macros.
+       (SCACHE_MAP): New typedef.
+       (CPU_SCACHE): Add pbb support.
+       (scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
+       (SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
+       (CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
+       max_slice_insns.
+       (INSN_NAME): Delete.
+       (cgen_insn_name): Declare.
+       (sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
+       * cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
+       (first_insn_p): Make static.
+       (trace_insn): Handle virtual insns specially.
+       (cgen_trace_printf): Ensure we haven't overflowed the buffer.
+       * cgen-types.h (UBI): Delete.
+       (MODE_TYPE): New enum.
+       (HOSTINT,HOSTUINT,HOSTPTR): Delete.
+       * cgen-utils.c (mode_names): Delete UBI.  Add INT,UINT,PTR.
+       (cgen_virtual_opcode_table): New global.
+       (cgen_insn_name): New function.
+       (sim_disassemble_insn): Ignore virtual insns.
+       * genmloop.sh: Delete top level loop generation.  Add pbb support.
+       * sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
+       (sim_cpu_base): New members max_insns,insn_name,model_data.
+       (CPU_PC_GET,CPU_PC_SET): New macros.
+       (sim_pc_get,sim_pc_set): Declare.
+       * sim-model.c (model_set): Call model init fn.
+       * sim-model.h (MODEL_FN): New typedef.
+       (INSN_TIMING): New member model_fn.
+       (MODEL): New members num,init.
+       * sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
+       All callers updated.
+       (profile_insn_init): New fn.
+       (profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
+       Exit early if insn profiling not supported.
+       (profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
+       (profile_install): Record profile_insn_init as init fn.
+       (profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
+       * sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
+       (PROFILE_DATA): Delete member exec_time.
+       Change insn_count to pointer to array, rather than the array.
+       (sim_profile_print_bar): Declare.
+
+Wed Oct  7 16:56:42 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-run.c: New file.
+       * sim-reg.c: New file.
+
+Mon Sep 14 10:58:19 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * aclocal.m4: Add checks for -lsocket and -lnsl.
+
+       * dv-sockser.c (dv_sockser_init): Use SO_REUSEADDR to
+       allow local port reuse on listening socket.
+
+Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-config.h: Remove reference to linux kernel header.
+
+Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-sockser.c (sockser_addr): Make variable non-static.
+
+Mon Aug 24 11:47:37 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
+
+Tue Aug 11 18:12:19 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-events.c (sim_events_elapsed_time): Fix calculation.
+
+Tue Aug  4 20:36:46 1998  Jeff Holcomb  <jeffh@cygnus.com>
+
+       * Make-common.in (install-common): Add $(EXEEXT) when installing
+       run.
+
+Mon Aug  3 11:46:01 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (cgen_state): New member opcode_table.
+       * cgen-utils.c (sim_disassemble_insn): Use it.
+
+Fri Jul 24 10:14:18 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-mem.h (DECLARE_SETT): Fix return type.
+       * cgen-sim.h (sim_engine_illegal_insn): Declare.
+       * cgen-scache.c: Include stdlib.h.
+       * cgen-trace.c (trace_extract): Use %lx for PCADDR.
+       * sim-model.c (model_option_handler): Remove unused variable `n'.
+
+Tue Jul 21 16:27:43 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-utils.c: Include bfd.h.
+       (sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
+
+Wed Jul  8 18:24:10 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * sim-bits.h (EXTEND24): Fix typo.
+
+Wed Jul  8 17:41:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (ETRACE_P): New macro.
+       (struct _sim_event): Add member trace.
+       (sim_events_free): Reclaim trace message.
+
+       * sim-events.c, sim-events.h (sim_events_schedule_vtracef,
+       sim_events_schedule_tracef): New functions, include printf trace
+       information in argument list.  If tracing, store asprintf'd trace
+       message in sim_event.
+
+       * hw-events.c, hw-events.h (hw_event_queue_schedule_tracef,
+       hw_event_queue_schedule_vtracef): New functions, mimic
+       sim_event_tracef.
+
+Mon Jul  6 15:51:14 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * sim-bits.h (EXTEND24): Define.
+
+Thu Jul  2 17:13:25 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (CPU_SCACHE): Make size unsigned.
+       (CPU_SCACHE_HASH_MASK): New macro.
+       (SCACHE_HASH_PC): Rewrite.
+       * genmloop.sh (engine_resume_{full,fast}): Move some of hash
+       computation out of main loop.
+
+Wed Jul  1 16:44:12 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (RECORD_IADDR): Delete.
+       * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
+       * genmloop.sh (engine_resume_{full,fast}): Delete icount.
+
+Wed Jun 17 12:25:08 1998  Mark Alexander  <marka@cygnus.com>
+
+       * gennltvals.def (mn10200): Add entry.
+       * nltvals.def: Regenerate with MN10200 additions.
+
+Wed Jun 17 13:18:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-inline.h (EXTERN_*): Replace with EXTERN_*_P. Correct
+       documentation on how it works.
+
+       * sim-core.h, sim-core.c (sim_core_install, sim_core_attach,
+       sim_core_detach, sim_core_read_buffer, sim_core_write_buffer,
+       sim_core_set_xor, sim_core_xor_read_buffer,
+       sim_core_xor_write_buffer): Update.
+
+       * sim-events.h, sim-events.c (sim_events_install,
+       sim_events_watch_clock, sim_events_schedule_after_signal,
+       sim_events_schedule, sim_events_watch_sim, sim_events_watch_core,
+       sim_events_deschedule): Update.
+
+       * sim-fpu.h, sim-fpu.c (sim_fpu_zero, sim_fpu_one, sim_fpu_two,
+       sim_fpu_max32, sim_fpu_max64): Update.
+
+Sat Jun 13 07:45:38 1998  Doug Evans  <devans@fallis.cygnus.com>
+
+       * cgen-trace.c (trace_insn_fini): Redo cycle handling.
+       * sim-profile.h (PROFILE_DATA): Rename cycle handling members.
+       * sim-profile.c (profile_print_model): Update.
+
+Fri Jun 12 18:35:07 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * gennltvals.def (m32r): Use common syscall.h now.
+       (mn10300): Add entry.
+       * nltvals.def: Regenerate.
+
+       * sim-engine.c (sim_engine_get_run_state): New function.
+       * sim-engine.h (sim_engine_get_run_state): Declare it.
+
+Thu Jun 11 00:50:03 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
+       * sim-core.c (sim_core_signal): Make extern, always define.
+
+Wed Jun 10 16:02:29 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
+       * cgen-ops.h (ANDIF): New macro.
+       (ANDIF[BQHSD]I): Delete.
+
+Thu Jun  4 13:53:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-events.c (create_hw_event, delete_hw_event): Delete.
+       (hw_event_queue_schedule, hw_event_queue_deschedule,
+       bounce_hw_event): Fix hw-event memory corruptions found by Joyce
+       Janczyn.
+
+       * hw-alloc.h (HW_NZALLOC): Define.
+
+       * Make-common.in (test-hw-events): Add target for testing the
+       hw-event code.
+
+Mon May 25 21:11:26 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_COMMON_HW_OBJS): Add hw-handles.o and
+       hw-instances.o.
+       hw-handles.c, hw-instances.c, hw-handles.h, hw-instances.h: New
+       files.
+       * hw-main.h: Include hw-handles.h, hw-instances.h.
+       * hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare
+       * hw-base.c (hw_create, hw_delete): Call same.
+
+Mon May 25 18:55:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-core.c: Include hw-main.h and sim-main.h.
+       * dv-pal.c: Include hw-main.h and sim-io.h.
+       * dv-glue.c: Include hw-main.h.
+
+       * hw-main.h: New file.  Move list of includes to here.
+       * hw-base.h: From here.
+       * Make-common.in (hw_base_headers): Rename to hw_main_headers.
+       (hw-*.o, dv-*.o): Update.
+       * hw-tree.c, hw-base.c, hw-properties.c, hw-ports.c, hw-device.c,
+       hw-events.c, hw-alloc.c, sim-hw.c: Include hw-main.h instead of
+       sim-main.h.
+
+       * hw-base.h (do_hw_attach_regs, do_hw_poll_read_method,
+       do_hw_poll_read): Move declarations from here.
+       * hw-main.h: To here.
+
+       * hw-base.h (struct hw_device_descriptor, hw_finish_callback):
+       Move from here.
+       * hw-main.h (struct hw_descriptor, hw_finish_method): To here,
+       rename.
+       * Make-common.in (hw-config.h): Update
+       * hw-base.c, dv-pal.c, dv-glue.c: Update
+
+       * dv-glue.c, hw-device.h, hw-base.h, hw-ports.c: Rename
+       `*_callback' to `*_method.
+
+Mon May 25 18:41:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.h (set_*): Move set method macros from here.
+       * hw-device.h: To here.
+
+Mon May 25 18:21:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.h (create_hw_property_data, delete_hw_property_data):
+       Declare.
+
+       * hw-base.c (hw_create, hw_delete): Call
+       * hw-properties.c (create_hw_property_data,
+       delete_hw_property_data): Define.
+
+Mon May 25 17:40:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.c, hw-properties.c: Include hw-base.h
+
+       * hw-alloc.h, hw-alloc.c: New files. Move alloc code to here.
+       * hw-device.c: From here.
+       * hw-base.h: Include "hw-events.h".
+
+       * hw-base.h (create_hw_alloc_data, delete_hw_alloc_data): Declare.
+       * hw-base.c (hw_create, hw_delete): Call.
+       * hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define.
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o.
+       (hw-alloc.o): New target.
+
+Mon May 25 17:14:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-events.h, hw-events.c: New files.  Move event code to here.
+       * sim-hw.c: From here.
+       * hw-base.h: Include "hw-events.h".
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o.
+       (hw-events.o): New target.
+
+       * hw-device.h (struct hw): Add struct hw_event_data events_of_hw.
+       * hw-events.h (struct hw_event): Replace typedef hw_event.
+
+       * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare.
+       * hw-base.c (hw_create, hw_delete): Call.
+       * hw-events.c (create_hw_event_data, delete_hw_event_data): Define.
+
+       * dv-pal.c: Update.
+
+Mon May 25 16:55:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here.
+       * hw-ports.c: To here.
+
+       * hw-base.h, hw-ports.c (create_hw_port_data,
+       delete_hw_port_data): New functions.
+       * hw-base.c (hw_delete, hw_create): Call same.
+
+       * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions
+       from here.
+       * hw-ports.h: To here.
+
+Mon May 25 16:42:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
+       PROCESSOR and CIA arguments.
+
+Fri May 22 12:16:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
+       Move common object files from here.
+       * Make-common.in (SIM_COMMON_HW_OBJS): To here.
+
+Thu May 21 17:57:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-hw.c: Include ctype.h.
+       (do_hw_poll_read): Do not assume EAGAIN.
+
+Wed May 20 04:37:57 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-trace.c (first_insn_p): New static local.
+       (trace_insn_init): Set it.
+       (trace_insn_fini): Use TRACE_PREFIX.
+       (trace_insn): Rewrite to use trace_prefix.
+       * sim-trace.c (trace_prefix): Don't print filename arg if NULL.
+       Adjust width accordingly.
+
+       * sim-profile.h (PROFILE_DATA): New member profile_any_p.
+       (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
+       (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
+       (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
+       (PROFILE_COUNT_CORE): Simplify.
+       * sim-profile.c (profile_option_handler): Compute profile_any_p.
+
+Tue May 19 23:55:30 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-ops.h (ADDCFSI): Fix typo.
+
+Sat May 16 12:44:52 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
+       * genmloop.sh: Use them rather than static locals.
+
+       * sim-engine.c (sim_engine_set_run_state): New function.
+       * sim-engine.h (sim_engine_set_run_state): Declare.
+       * genmloop.sh (pending_reason,pending_sigrc): New static locals.
+       (@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
+       (engine_resume): Reorganize.  Allow synchronous exit from main loop.
+
+Fri May 15 16:06:05 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-trace.c (trace_insn_init): New arg first_p.
+       All callers updated.
+       (trace_insn_fini): New arg last_p.  All callers updated.
+       * cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
+       (TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
+       * genmloop.sh (engine_resume): Update.
+
+Fri May 15 15:59:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * Make-common.in (install-common): Run ranlib on installed copy of
+       libsim.a.
+
+Fri May 15 15:03:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * Make-common.in (install-common): Rename and install libsim.a.
+
+Tue May 12 15:23:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-io.c (unistd.h): Include.
+
+Wed May  6 16:04:18 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common (sim_main_headers): Sort.
+       (cgen-*.o): Add cgen-sim.h dependency.
+
+       * cgen-scache.c (scache_init): Only allocate space if scache element
+       size is non-zero.
+       (scache_flush,scache_print_profile): Check if scache in use first.
+
+       * cgen-sim.h (IDESC): Provide forward declaration.
+       (DECODE): Delete.
+       (CGEN_CPU): Always define scache member.  New members idesc,opcode.
+       (cgen_cpu_max_extra_bytes): Declare.
+       * cgen-utils.c (cgen_cpu_max_extra_bytes): New function.
+
+       * sim-cpu.h: New file.  sim_cpu_base moved here.
+       Move sim_cpu_lookup decl here.
+       * sim-base.h: #include "sim-cpu.h".
+       * sim-cpu.c: New file.
+       * Make-common (sim_main_headers): Add sim-cpu.h.
+       (sim-cpu.o): Add rule for.
+
+       * sim-model.c (set_model): Delete.
+       (sim_model_set,model_set): New functions.
+       (sim_model_install): Renamed from model_install.
+       Don't set default model here.
+       (model_option_handler): Rewrite --model processing.
+       (sim_model_lookup,sim_mach_lookup): New functions.
+       * sim-model.h (MAX_MODELS,MAX_INSNS): Delete.
+       (insn_timing): Delete.
+       (INSN_TIMING): New member `num'.
+       (IMP_PROPERTIES): Always define scache_elm_size member.
+       (MACH): New member init_cpu.
+       (sim_machs): Renamed from machs.
+       (sim_model_install): Renamed from model_install.
+       (sim_model_set,sim_model_lookup,sim_mach_lookup): Declare.
+       * sim-module.c (modules): Update.
+
+       * sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro.
+
+       * sim-io.c: #include <errno.h>.
+
+Wed May  6 12:39:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (struct hw_pal_device): Add reader.
+       (hw_pal_finish): Initialize reader.
+       (scan_hw_pal): Use reader.
+
+       * hw-base.h, sim-hw.c (do_hw_poll_read): New function.
+       (HW_IO_EOF, HW_IO_NOT_READY): Define.
+       * dv-pal.c: Use.
+
+       * sim-io.h, sim-io.c (sim_io_poll_read): New function.  Copy from
+       ../ppc/main.c sim_io_read_stdin.
+
+Fri May  1 12:11:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.h (hw_tree_print): Paramaterize with print and file
+       arguments.
+       * hw-tree.c: Update.
+
+       * hw-base.h (hw_port_event_callback): Delete CPU/CIA args.
+       * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete
+       CPU/CIA args.
+       * hw-ports.h (hw_port_event): Ditto.
+       * hw-ports.c (hw_port_event): Update.
+       * hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer):
+       Update.
+       * dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer):
+       Update.
+       (hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt.
+       (do_counter_event): Update.
+       * dv-glue.c (hw_glue_io_read_buffer): Update.
+       (hw_glue_port_event): Update.
+
+       * hw-device.h (SIM_DESC): Replace with struct sim_state.
+       * hw-base.h (hw_create): Ditto.
+       * hw-base.c (hw_create): Ditto.
+
+       * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule,
+       hw_event_queue_deschedule, hw_event_queue_time): Delete, moved
+       from here to.
+       * sim-hw.c: Here.
+       * hw-device.h (hw_system_cpu): Declare.
+       * sim-hw.c (hw_system_cpu): New function.
+
+       * sim-core.c (sim_core_map_attach, sim_core_attach): Call
+       sim_hw_abort not hw_abort.
+       (sim-hw.h): Include.
+       (sim_core_read_buffer, sim_core_write_buffer): Call
+       sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU
+       argument.
+       (sim_core_set_xor): Do not pass CPU when aborting.
+
+       * sim-n-core.h (sim_core_read_aligned_N,
+       sim_core_write_aligned_N): Call sim_hw_abort not hw_abort.
+       (sim_core_read_aligned_N, sim_core_write_aligned_N): Call
+       sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not
+       return length.
+
+       * sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare
+       sim_hw_print.
+       * sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer,
+       sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New
+       functions.
+       (sim_hw_print): New function.
+
+       * sim-engine.h (sim_engine_vabort): Declare.
+       * sim-engine.c (sim_engine_vabort): New function.
+
+Wed Apr 29 23:58:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (print_data): For floating-point numbers trace raw
+       hex value.
+       (trace_result_fp2): New function.
+       * sim-trace.h (trace_result_fp2): New declaration.
+       (TRACE_FP_RESULT2): New macro.
+
+Tue Apr 28 18:28:58 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
+       AM_CYGWIN32 and AM_EXEEXT.
+       * common/Make-common.in: set EXEEXT, add missing EXEEXTs
+       to run and install-common rules.
+       * common/configure: regenerate
+
+Sat Apr 25 17:45:01 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (cell_word): New type.
+       (natural_cell): Delete type.
+
+Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Sun Apr 26 15:25:07 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h (NEED_DECLARATION_PRINTF): Removed.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:38:08 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * Make-common.in (top_builddir): New macro.
+       (INTL_LIB): Removed.
+       (INTLLIBS): New macro.
+       (INTLDEPS): Likewise.
+       (LIBDEPS): Use INTLDEPS.
+       (EXTRA_LIBS): Use INTLLIBS.
+       * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
+       (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
+       AM_LC_MESSAGES): New macros from GNU gettext.
+
+Fri Apr 24 19:57:59 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.h: Discard leading _ from macros.
+       * sim-types.h: Ditto.
+
+Wed Apr 22 14:14:19 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * Make-common.in (CSEARCH): Add -I to intl directories.
+       (INTL_LIB): Point to libintl.a.
+       (LIBDEPS): Add $(INTL_LIB).
+       (EXTRA_LIBS): Ditto.
+
+Tue Apr 21 12:44:27 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-types.h (GETHIDI,MAKEDI): Tweak.
+
+       * cgen-ops.h (ADDCFSI): Fix.
+       (SUBCFSI): Tweak.
+
+Tue Apr 21 13:18:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (signed_address, unsigned_address): Define.
+
+Mon Apr 20 21:47:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a
+       QNaN.
+
+Thu Apr 16 10:30:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction):
+       New functions, pack / unpack sim_fpu struct using raw values.
+       (sim_fpu_is): Differentiate between negative and positive
+       infinity.
+
+Tue Apr 14 18:49:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.h (EXTEND4): Define.
+       (EXTEND4, EXTEND15, EXTEND11): Ditto.
+
+Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>
+
+       * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol
+       declared so we need this cast to prevent long long addresses
+       from being misconfigures. Results in access to unmapped memory.
+
+Tue Apr 14 13:19:14 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (RUNTESTFLAGS): Define.
+       (check): Pass RUNTESTFLAGS to recursive make.
+
+Tue Apr 14 15:09:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-info.c (sim_info): Be verbose when either VERBOSE or
+       STATE_VERBOSE_P.
+
+Sat Apr  4 23:24:17 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-inline): By default, disable sim-inline when
+       cross compiling.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults.
+       (sim-inline): Update to match sim-inline.[hc]
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * Make-common.in (sim_main_headers): Add sim-inline.h
+
+       * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P.
+       selected.
+       * sim-endian.h (sim-endian.c): Ditto.
+
+       * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H.
+       (sim_events_set_trace): Delete unused prototype.
+
+       * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H.
+       * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C.
+
+       * sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P.
+       (sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to):
+       Comment out, not yet implemented in sim-fpu.c.
+       (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan,
+       sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU.
+
+       * sim-inline.h: Rewrite description.
+       (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define.
+       (SIM_MAIN_INLINE): Add inline option.
+
+       * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not
+       include generated files. Handled by generator directly.
+
+Sat Apr  4 01:07:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P
+       up-to-date.
+
+       * sim-trace.h (TRACE_ANY_P): Define.
+       (struct _trace_data): Add trace_any_p.
+
+Mon Mar 30 17:11:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main): Handle all alternatives of enum sim_stop.
+       (main): Delete unused `asection *s'.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.h, hw-tree.c (hw_tree_vparse): New function
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * sim-hw.c: New file.
+       * sim-hw.h (sim_hw_parse): Declare function.
+       (hw-tree.h): Do not include.
+
+       * sim-base.h (STATE_HW): Define.
+       (struct sim_state_base): Add member struct *hw.
+
+       * sim-module.c (sim-hw.h): Include.
+       (modules): Add sim_hw_install.
+
+       * aclocal.m4 (sim_hw_obj): Add sim-hw.o
+
+Fri Mar 27 14:55:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-base.h (CPU_INDEX): Define.
+
+       * sim-utils.c (sim_state_alloc): Initialize.
+       * sim-module.c (sim_post_argv_init): Ditto.
+
+Thu Mar 26 10:07:57 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * aclocal.m4 (sim_hw_obj):  Fix sed expression to generate
+       properly formatted lists.
+
+Thu Mar 26 10:37:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was
+       0x2f needs to be 0x3f.
+
+Thu Mar 26 09:10:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.c (hw_tree_find_property): Return NULL when device is
+       not found.
+       (hw_tree_find_*_property): Clean up error message when property is
+       not found.
+
+       * dv-pal.c (hw_pal_io_read_buffer): Check the smp property is
+       present before looking for it.
+
+Wed Mar 25 16:17:38 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h.
+       (AC_CHECK_FUNCS): Add check for __setfpucw.
+       * configure: Regenerated.
+
+Wed Mar 25 09:18:34 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
+       hw_pal_timer, hw_pal_timer_value): Define.
+       (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
+       (do_counter_event, do_counter_read, do_counter_value,
+       do_counter_write): new functions.
+
+Tue Mar 24 12:24:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.c (hw_printf): Send tree dump to stderr, same as other
+       trace output.
+
+       * hw-base.c (hw_create): Stop searching for a device when one is
+       found.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 23 10:25:08 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add second argument,
+       appends extra devices.
+       (SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of
+       the device names.
+
+       * Make-common.in (hw-config.h): New target, create hw-config.h
+       file.
+       (SIM_HW): Definition from @sim_hw@.
+       (hw-base.o): Depend on hw-config.h
+
+Tue Mar 24 17:41:35 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * Make-common.in:  Get SHELL from configure.
+       * (stamp-tvals sim-inline.c):  Use $(SHELL) when invoking
+       move-if-change.  Fixes NT native build problem.
+       * Makefile.in (nltvals.def):   Use $(SHELL) when invoking
+       move-if-change.  Fixes NT native build problem.
+       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
+       NT native builds.
+
+Sun Mar 22 16:54:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h, hw-device.c (hw_strdup): New function.
+
+       * hw-base.c (hw_create): Use hw_strdup when saving a copy of the
+       strings name, family and args.
+       (full_name_of_hw): Use hw_strdup when returning the full path.
+
+       * hw-properties.c: Clean up property not found / wrong type error
+       messages.
+
+       * hw-tree.c (hw_tree_parse): Finish a devices initialization
+       before attaching any ports.
+
+       * hw-base.c (hw-config.): Include.  Replace hardwired table.
+
+       * dv-glue.c: Copy over ../ppc/hw_glue.c.  Update to new framework.
+
+       * Make-common.in: Add rule for dv-glue.o.
+
+Sun Mar 22 16:45:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.c (hw_finish): Move setting of trace level to here.
+       (hw_create): From here.
+
+       * hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
+       ../ppc/device_table.c.
+
+       * dv-pal.c (hw_pal_finish): Attach PAL device to parent bus.
+
+       * hw-tree.c (print_properties): Supress path when printing
+       properties of root node.
+
+Sun Mar 22 16:21:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (HW_TRACE): Define.
+       (hw_trace): Declare.
+       * hw-device.c (hw_trace): Implement function.
+
+       * hw-base.c (hw_create): Set hw trace level from "trace?"
+       property.
+
+       * dv-core.c (dv_core_attach_address_callback): Add trace.
+
+       * dv-pal.c: Replace DTRACE with HW_TRACE.
+
+Sun Mar 22 15:23:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (HW_ZALLOC, HW_MALLOC): New macros.
+       (hw_alloc_data): Delcare.
+       (struct hw): Add member alloc_of_hw.
+
+       * hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New
+       functions. Assocate memory with a device.
+       (stdlib.h): Include.
+
+       * hw-base.h (set_hw_delete): Define.
+       (hw_delete_callback): Declare.
+       (hw_delete): Declare.
+
+       * hw-base.c (hw_delete): Implement function.
+       (struct hw_base_data): Add member to_delete.
+       (ignore_hw_delete): New function, does nothing.
+       (hw_create): Set the hw_delete method.
+       (hw_create): Allocate the base type using HW_ZALLOC before setting
+       any methods.
+
+       * hw-tree.h, hw-tree.c (hw_tree_delete): New function.
+
+       * hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free.
+
+       * hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free.
+       (attach_hw_port_edge): Add struct hw argument
+
+       * dv-pal.c (hw_pal_finish): Replace zalloc/zfree with
+       hw_zalloc/hw_free.
+
+Sun Mar 22 15:09:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (hw_attach_address_callback,
+       hw_detach_address_callback): Attach to a single space not a space
+       mask. Clarify interpretation of SPACE:ADDR parameters.
+
+       * hw-base.c (passthrough_hw_attach_address,
+       passthrough_hw_detach_address): Update.
+       * dv-core.c (dv_core_attach_address_callback): Ditto.
+       * dv-pal.c (hw_pal_attach_address): Ditto.
+
+Thu Mar 19 00:41:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.h: Document additional CPU arg to OPTION_HANDLER.
+
+Wed Mar 18 14:13:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_HW_OBJS, SIM_HW_SRC, SIM_DV_OBJS): Define.
+       (hw-base_h, hw-device_h, hw-handles_h, hw-instances_h, hw_ports_h,
+       hw-properties_h, hw-tree_h): Define, point at corresponding
+       header.
+       (hw_base_headers): Define list of headers included by hw-base.h
+       (hw-base.o, hw-device.o, hw-instances.o, hw-handles.o, hw-ports.o,
+       hw-properties.o, hw-tree.o): Specify dependencies.
+       (dv-core.o, dv-pal.o): Ditto.
+
+       * sim-hw.h: New file.
+
+       * hw-device.h, hw-device.c, hw-properties.h, hw-properties.c,
+       hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch].
+
+       * hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc].
+
+       * hw-base.h, hw-base.c: new files.  Copied from
+       ../ppc/device_table.[hc].
+
+       * dv-core.c, dv-pal.c: New files. Copied from
+       ../ppc/hw_{core,pal}.c
+
+       * sim-basics.h (struct hw): Declare.
+       (enum port_direction, enum object_disposition): Declare.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
+       sim_dv_src in Makefile. Take list of devices as parameter to m4
+       macro..
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 16 12:37:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.h, sim-trace.c (trace_prefix): Pass in sim_cia so that
+       trace_prefix can abort cleanly.
+
+Sat Mar 14 18:36:12 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * dv-sockser.c, dv-sockser.h: New files.
+       * Make-common.in (dv-sockser.o): Add rule for.
+       * aclocal.m4: Check for fcntl.h.
+       * config.h: Add HAVE_FCNTL_H.
+
+       * sim-break.c (remove_breakpoint): Fix thinko.
+
+       * sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
+       Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
+
+1998-03-13  Fred Fish  <fnf@cygnus.com>
+
+       * sim-base.h (struct sim_state_base): Add prog_syms and
+       define macro STATE_PROG_SYMS.
+       * sim-trace.c (trace_prefix): Add variables abfd, symsize,
+       symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
+       and bfd_canonicalize_symtab, to get symbol table on first use
+       and preserve it via STATE_PROG_SYMS for future calls to
+       bfd_find_nearest_line.
+
+Wed Mar 11 14:02:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.h, sim-core.c (sim_core_map_to_str): Delete.
+
+       * sim-core.c (sim_core_attach): Handle a generic number of maps -
+       up to nr_maps, not just access_* maps.
+
+       * sim-profile.h (struct PROFILE_DATA): Track nr_maps different
+       maps.
+
+       * sim-profile.c (profile_print_core): Make map unsigned.  Iterate
+       over nr_maps not sim_core_nr_maps.
+
+       * sim-events.h, sim-events.c (sim_events_watch_core): Change
+       core_map argument to unsigned.
+       (struct _sim_core): Ditto for struct member core_map.
+
+       * sim-core.h (nr_sim_core_maps, sim_core_*_map): Delete
+
+       * sim-basics.h (access_io, access_*_io): Define.
+       (map_read, map_write, map_exec, map_io): Define.
+
+       * sim-core.c, sim-core.h (sim_core_attach): Replace argument
+       attach with more generic mapmask.
+       (sim_core_{read,write}_*): Change map argument to unsigned.
+
+       * sim-core.c (sim_core_uninstall, sim_core_attach,
+       sim_core_detach): Iterate over nr_maps instead of
+       sim_core_nr_maps.
+
+       * sim-break.c (insert_breakpoint): Write breakpoints to exec_map
+       instead of the write_map.
+       (remove_breakpoint): Ditto.
+
+       * genmloop.sh (engine_resume_full): Replace sim_core_*_map
+       with read_map, write_map, exec_map resp.
+
+       * cgen-mem.h (DECLARE_GETMEM, DECLARE_SETMEM, DECLARE_GETIMEM):
+       Ditto.
+
+       * cgen-utils.c (sim_disassemble_insn): Ditto.
+
+       * sim-hrw.c (sim_write, sim_write): Ditto.
+
+       * sim-utils.h, sim-utils.c (access_to_str, map_to_str,
+       transfer_to_str): New functions.
+
+Mon Mar  9 12:50:59 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-base.h (sim_state_base): New member environment.
+       (STATE_ENVIRONMENT): New macro.
+       * sim-config.c (current_environment): Delete.
+       (sim_config_default): New function.
+       (sim_config): Set STATE_ENVIRONMENT, not current_environment.
+       * sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
+       (sim_config_default): Add prototype.
+       * sim-module.c (sim_pre_argv_init): Call sim_config_default.
+       * sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
+       Set STATE_ENVIRONMENT, not current_environment.
+
+Mon Mar  9 11:59:03 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
+
+Tue Mar  3 10:53:05 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
+
+       * sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
+
+Mon Mar  2 10:20:06 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (TAGS): Make smarter.
+       * Makefile.in (TAGS): Ditto.
+
+Fri Feb 27 19:09:57 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-module.c (*): Fix typos in assertion tests.
+
+Sat Feb 28 13:54:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-module.c (sim_pre_argv_init): String passed to asprintf
+       can't be constant.
+
+       * sim-options.c (sim_parse_args): Ditto.
+       (sim_args_command): Return OK, instead of nothing, for an empty
+       command.
+
+Fri Feb 27 13:29:13 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.c (profile_info): Rename from profile_print. Drop
+       misc and misc_cpu callback arguments.  Use
+       PROFILE_INFO_CPU_CALLBACK and STATE_PROFILE_INFO_CALLBACK instead.
+       (profile_install): Install profile_info function.
+
+       * sim-profile.h (PROFILE_INFO_CPU_CALLBACK,
+       STATE_PROFILE_INFO_CALLBACK): Define.
+       (struct PROFILE_DATA): Add field info_cpu_callback.
+       (profile_print): Delete function.
+
+       * sim-base.h (STATE_MODULES): Define.  Replace individual
+       STATE_*_LIST with single struct module_list.
+
+       * sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare.
+       (struct module_list): Declare.
+
+       * sim-module.h, sim-module.c (sim_module_add_info_fn,
+       sim_module_info): New functions.
+       (sim_module_install): Clean up module data structures.
+
+       * sim-info.c (sim_info): New file. New function. Call
+       sim_module_info.
+
+       * Make-common.in (sim-info.o): Define rule.
+       (SIM_NEW_COMMON_OBJS): Add sim-info.o.
+
+
+Fri Feb 27 18:26:16 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-base.h (sim_cpu_base): New members name, options.
+       (sim_cpu_lookup): Add prototype.
+       * sim-module.c (sim_pre_argv_init): Provide default names for cpus.
+       * sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
+       (sim_add_option_table): Update prototype.
+       * sim-options.c (sim_add_option_table): New argument `cpu'.
+       (standard_option_handler,standard_install): Update.
+       (sim_parse_args): Handle cpu specific options.
+       (print_help): New static function.
+       (sim_print_help): Call it.  Print cpu specific options.
+       (find_match): New static function.
+       (sim_args_command): Call it.  Handle cpu specific options.
+       * sim-utils.c (sim_cpu_lookup): New function.
+       * sim-memopt.c (memory_option_handler): Update.
+       (sim_memopt_install): Update.
+       * sim-model.c (model_option_handler): Update.
+       (model_install): Update.
+       * sim-profile.c (profile_option_handler): Update.
+       (profile_install): Update.
+       * sim-trace.c (trace_option_handler): Update.
+       (trace_install): Update.
+       * sim-watch.c (watchpoint_option_handler): Update.
+       (sim_watchpoint_install): Update.
+       * cgen-scache.c (scache_option_handler): Update.
+       (scache_install): Update.
+
+Wed Feb 25 11:00:26 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (check): Run `make check' in testsuite dir.
+
+Wed Feb 25 14:40:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (trace_result0): New function.
+
+       * sim-trace.h (TRACE_FP_*, TRACE_FPU_*): Rename TRACE_FPU_*
+       macro's to TRACE_FP_*. TRACE_FPU_* should be defined and used when
+       tracing sim_fpu variables.
+       (TRACE_ALU_RESULT0): Define.
+       (TRACE_FP_RESULT_WORD): Define.
+       (TRACE_FP_INPUT_WORD1): Define.
+
+       * sim-fpu.c, sim-fpu.h (sim_fpu_max32, sim_fpu_max64, sim_fpu_one,
+       sim_fpu_two): New constants.
+       (sim_fpu_op1, sim_fpu_op2): New types.
+       (struct _sim_fpu): Delete member result.  Re-order other members.
+       (sim_fpu_sign, sim_fpu_exp): New functions.
+       (sim_fpu_max, sim_fpu_min): new functions.
+       (EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64,
+       NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define.
+
+Tue Feb 24 22:45:39 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-profile.c (profile_print): Delete duplicate test of
+       PROFILE_INSN_IDX.
+       (profile_print_pc): Exit early if data collection not set up.
+       (profile_print_core): Simplify by calling sim_core_map_to_str.
+       * sim-core.h (sim_core_map_to_str): Declare.
+       * sim-core.c (sim_core_map_to_str): Make non-static.
+
+       * genmloop.sh (engine_resume): Update insn_count before exiting.
+       (engine_resume_full): Keep accurate core profile data.
+
+       * cgen-utils.c (sim_disassemble_insn): Don't use
+       sim_core_read_aligned_N, it messes up profiling results.
+
+Mon Feb 23 20:45:57 1998  Mark Alexander  <marka@cygnus.com>
+
+       * nltvals.def: Regenerate with MN10300 additions.
+
+Tue Feb 24 13:18:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.h (TRACE_ALU_RESULT2): Define.
+
+       * sim-trace.h, sim-trace.c (trace_result_word2,
+       trace_input_word4, trace_result_word4): New function.
+
+Mon Feb 23 13:08:35 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-sim.h (SEM_NEXT_PC): New arg `len'.
+
+       * sim-xcat.h: Delete.
+       * cgen-mem.h: Delete inclusion of sim-xcat.h.
+       * cgen-sim.h: Ditto.
+       * sim-alu.h: Replace sim-xcat.h with symcat.h.
+       * sim-n-bits.h: Ditto.
+       * sim-n-core.h: Ditto.
+       * sim-n-endian.h: Ditto.
+
+Mon Feb 23 13:19:58 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * syscall.c (cb_syscall): Handle short reads, and EOF.
+
+Tue Feb 24 00:29:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (print_data): case trace_fmt_fp missing break.  Use
+       sim_fpu to safely print fp_word values.
+       (print_data): Add trace_fmt_bool and trace_fmt_addr.
+       (trace_result_bool1, trace_result_addr1): New functions.
+       (trace_input_bool1, trace_input_addr1): New functions.
+
+       * sim-trace.h (TRACE_FPU_*): Define.
+
+Mon Feb 23 13:24:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
+       (sim_fpu_fpto, sim_fpu_tofp): Define.
+
+Fri Feb 20 18:08:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (sim_fpu_cmp): New function.
+
+Wed Feb 18 16:29:21 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-utils.h (sim_disassemble_insn): Use CGEN_INSN_BITSIZE
+       instead of abuf->length.
+       * sim-trace.c (trace_options): Have -t only trace a few useful things.
+       (set_trace_option_mask): Renamed from set_trace_options.
+       (set_trace_option): New function.
+       (trace_option_handler): Update calls to set_trace_option{,_mask}.
+       * sim-trace.h (TRACE_USEFUL_MASK): New macro.
+
+Wed Feb 18 12:42:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-basics.h: Declare struct _sim_fpu.
+
+Tue Feb 17 16:27:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.h (TRACE_ALU_INPUT*, TRACE_ALU_RESULT): Define.
+       (trace_prefix, trace_input*, trace_result*): Declare.
+       (trace_one_insn): Change declaration, assume trace_prefix called.
+       (trace_generic): Like trace_one_insn.
+       (TRACE_ALU_IDX, TRACE_*_IDX): Change #define's to enum.
+       (TRACE_alu, TRACE_[a-z]*): Update.
+
+       * sim-trace.c (trace_prefix, trace_input*, trace_result*,
+       trace_insn, save_data, trace_idx_to_str, print_data): New
+       functions.
+       (trace_one_insn): Rewrite.
+       (trace_generic): New function.
+
+Tue Feb 17 17:27:30 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * aclocal.m4 (USE_MAINTAINER_MODE): New variable.
+
+       * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
+       (SEMANTIC_FN): Rewrite declaration.
+       (DECODE): Update type of semantic_fast member.
+       ({EX,SEM}_FN_NAME): Have only one version.
+       * sim-base.h (sim_state_base): Delete conditionals surrounding
+       member scache_size.
+
+Tue Feb 10 18:31:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-load.c (sim_load_file): Print LMA/VMA according to value
+       used.
+
+Tue Feb 10 14:56:23 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * sim-core.c: Add missing prototypes for WITH_DEVICES.
+       Add missing parameters to device_io calls.
+       * sim-core.h: Add missing parameters to device_io calls.
+
+Mon Feb  9 14:48:37 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-sim.h (DECODE): Always use switch for `read' for now.
+       (PAREXEC): Renamed from PARALLEL_EXEC.  All uses updated.
+       (SEMANTIC{,_CACHE}_FN): Fix return type.
+       * genmloop.sh (@cpu@_engine_run): Delete `current_state'.
+       (engine_resume): Likewise.  Make `engine' volatile.  Save copy
+       of cpu pointer in volatile object.  Initialize read switch if
+       -parallel.
+
+Thu Feb  5 13:27:04 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
+       (SEM_INSN): New macro.
+
+Tue Feb  3 16:31:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-run.c (sim_engine_run): Assume IMEM is 32 bit.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sun Feb  1 16:16:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (fp_word): New type, define according to
+       WITH_TARGET_FLOATING_POINT_BITSIZE.
+
+       * aclocal.m4 (default_sim_floating_point_bitsize): Add
+       configuration of size of floating point registers.
+
+Sun Feb  1 14:02:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.c (profile_print): Only print CPU <N> if other
+       output is going to appear.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:03:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (address_word): Typedef according to
+       WITH_TARGET_ADDRESS_BITSIZE.
+       (signed_cell, unsigned_cell, natural_cell): Ditto using
+       WITH_TARGET_CELL_BITSIZE.
+
+       * sim-config.h (WITH_TARGET_ADDRESS_BITSIZE): Define.
+       (WITH_TARGET_CELL_BITSIZE): Define.
+       (WITH_HOST_WORD_BITSIZE): Delete.
+
+       * sim-config.c (print_sim_config): Update.
+
+       * aclocal.m4 (SIM_AC_OPTION_BITSIZE): Add support for
+       configuration of address and OpenFirmware cell sizes.
+
+Fri Jan 30 09:36:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-engine.h (sim_engine_run): Add argument nr_cpus.
+       * sim-run.c (sim_engine_run): Update.
+
+       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use SET_CPU_CIA instead of
+       CPU_CIA.
+       * sim-run.c (sim_engine_run): Ditto.
+
+       * sim-resume.c (sim_resume): Obtain nr_cpus from sim_engine.
+       (sim_resume): Pass nr_cpus to sim_engine_run.
+
+       * sim-engine.h (struct _sim_engine): Add member nr_cpus.
+
+       * sim-engine.c (sim_engine_init): Hardwire nr_cpus to
+       MAX_NR_PROCESSORS.
+       (sim_engine_nr_cpus) sim-engine.c, sim-engine.h: New function
+
+Fri Jan 23 14:20:54 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (stamp-tvals): New rule.
+       (targ-vals.h,targ-map.c): Depend on it.
+       (clean): Remove stamp-tvals.
+
+Tue Jan 20 21:35:13 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-utils.c (sim_state_alloc): #if 0 variable that is only used
+       in code also #if 0'ed.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * aclocal.m4: Recognize --enable-maintainer-mode.
+
+Mon Jan 19 12:45:45 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-scache.h: Deleted.
+       * Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.
+       * cgen-scache.c: Only compile contents if WITH_SCACHE.
+       (scache_init): Use runtime computed size of SCACHE.
+       (scache_flush): Likewise.
+       * cgen-mem.h (GETIMEMU[QHSD]I): Declare.
+       ([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare.
+       * cgen-sim.h: Scache support moved here.
+       (PC): Redo definition.
+       (ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls.
+       (DECODE): Add parallel execution support.
+       Only include semantic label members if using switch.
+       (SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support.
+       (CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf.
+       (IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF,
+       SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here
+       from cgen-types.h.
+       (engine_{stop,run,resume,halt,signal}): Delete decls.
+       * cgen-types.h (CGEN_{XCAT3,CAT3}): Delete.
+       (argbuf,scache): Delete forward decls.
+       (STATE): Delete decl.
+       * cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h.
+       Include cgen-mem.h, cgen-ops.h.
+       (engine_halt,engine_signal): Delete.
+       ({ex,exc,sem,semc}_illegal): Delete.
+       (sim_disassemble_insn): Result of extract fn is in bits.
+       * genmloop.sh: Rewrite.
+
+       * cgen-trace.c (trace_insn): Set printed_result_p=0 if not tracing
+       line numbers.
+
+       * sim-base.h (sim_state_base): Delete member `model'.
+       (sim_cpu_base): Add member `model'.
+       * sim-model.h (IMP_PROPERTIES): New type.
+       (MACH): New members imp_props, models.
+       (models): Delete decl.
+       * sim-model.c (set_model): Update.
+       * sim-profile.c (profile_print_model): Update.
+
+       * sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.
+
+Fri Jan 16 12:33:09 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * cgen-trace.c (trace_insn): Call CGEN_INSN_MNEMONIC() rather than
+       CGEN_INSN_SYNTAX().
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Dec 15 23:16:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (AR): Check for sigaction.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (sim-core.o): Depend on $(sim_main_headers).
+
+       * sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
+       * sim-config.c (sim_config): Replace WITH_DEVICES with
+       WITH_TREE_PROPERTIES.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Dec  3 17:56:02 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (SIM_ENVIRONMENT): New variable.
+       (CONFIG_CFLAGS): Add it.
+       * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
+       --enable-sim-environment option.
+       * configure: Regenerated.
+       * sim-config.h (environment support): Rewrite.
+       * sim-config.c (current_environment): Define as enum, unconditionally.
+       (current_alignment): Define unconditionally.
+       (config_environment_to_a): Update.
+       (config_alignment_to_a): Fix type of argument.  Define unconditionally.
+       (sim_config): Handle environment and alignment determination
+       unconditionally.  Delete sanity checks of current_environment,
+       unnecessary.
+       (print_sim_config): Update.
+       * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
+       (standard_options): Add --environment.
+       (standard_option_handler): Likewise.
+
+Fri Nov 28 12:21:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-alu.h: Add notes on carry vs borrow for subtraction.
+       (ALU{,8,16,32,64}ADD): Redefine ADD macro as add overflowing.
+       (ALU{,8,16,32,64}ADDC): Define - add carrying.
+       (ALU{,8,16,32,64}SUB): Redefine SUB macro as subtract overflowing.
+       (ALU{,8,16,32,64}SUBB): Define - subtract borrowing.
+       (ALU{,8,16,32,64}SUBC): Define - tract carrying.
+       (ALU{,8,16,32,64}ADD_CA, ALU{,8,16,32,64}ADDC_C): Replace single
+       argument ADD_CA macro with two argument ADDC_C - add carrying with
+       carry in.
+       (ALU{,8,16,32,64}SUB_CA, ALU{,8,16,32,64}SUBC_X): Replace single
+       argument SUB_CA macro with two argument SUBC_X - subtract
+       carrying, extended.
+       (ALU{,8,16,32,64}SUBB_B): Define - subtract borrowing with
+       borrow-in.
+       (ALU{,8,16,32,64}NEGC, ALU{,8,16,32,64}NEGB): Define.
+
+Sun Nov 30 17:40:57 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-io.c (sim_io_{syscalls,getstring}): Delete.  No longer used.
+       * sim-io.h (sim_io_syscalls): Delete.
+
+Fri Nov 28 20:10:09 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * syscall.c (cb_syscall): Add missing else, so write to stdout
+       isn't doubled.
+
+       * sim-alu.h (ALU{,8,16,32,64}_SET_CARRY): Provide macros to import
+       the carry bit from the CPU's psw.
+
+Fri Nov 28 11:15:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * gennltvals.sh: Redo syscall support.
+       * nltvals.def: Regenerated.
+
+Wed Nov 26 16:49:38 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * syscall.c (cb_syscall): If writing to stdout or stderr, flush
+       the stream immediately.
+
+Wed Nov 26 12:32:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-io.c (sim_io_getstring): Delete unused len2.
+       (sim_io_syscalls): Ditto for sys_errno.
+
+Wed Nov 26 11:18:40 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
+
+       * Make-common.in (run.o): Depend on remote-sim.h.
+       (nrun.o,sim-hload.o,sim-hrw.o): Likewise.
+       (sim-io.o,sim-reason.o,sim-resume.o): Likewise.
+
+Tue Nov 25 20:12:46 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-io.c (sim_io_syscalls): Disable lseek.
+
+Tue Nov 25 00:12:38 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * gennltvals.sh: Generate syscall values for d30v.
+
+       * gennltvals.sh: Use libgloss/syscall.h for sparc.
+       * nltvals.def: Regenerate.
+
+       * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
+       (os_fstat): Likewise.  Validate fd argument.
+       (cb_host_to_target_stat): Delete big_p arg.  If HS arg is NULL,
+       just compute target stat struct length.
+       * syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
+       (ENOSYS,ENAMETOOLONG): Provide definitions if missing.
+       (get_string): Return host errno values so they can be properly
+       translated later.
+       (cb_syscall): Likewise.
+       (cb_syscall, cases open,unlink): Use get_path instead of get_string.
+       (cb_syscall, case read): Use read_stdin for file descriptor 0.
+       (cb_syscall, case write): Use write_stderr for file descriptor 2.
+       (cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
+       (get_path): New function.
+
+Mon Nov 24 18:56:07 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-io.c (sim_io_syscalls): New function to provide system call
+       emulation.  Provide exit, open, close, read, write, lseek, and
+       unlink.
+       (sim_io_getstring): New function to return a string from a
+       simulated memory location.
+
+       * sim-io.h (sim_io_syscalls): Add declaration.
+
+Mon Nov 24 12:09:59 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-core.c (sim_core_signal): Fix spelling error in message.
+
+       * sim-hrw.c (sim_read): Use read map, not write map.
+
+       * Make-common.in (all): Add .gdbinit.
+       * gdbinit.in: Add dump command.
+
+       * sim-model.c (model_options): Use '\0' for `shortopt'.
+
+       * sim-trace.c (trace_option_handler): Set state trace file
+       for --trace-file in addition to cpu's values.
+       (trace_vprintf): If cpu == NULL, try state's trace file.
+       (trace_options): Reorganize table, reword some descriptions.
+
+Sun Nov 23 10:57:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (sim_fpu_abs, sim_fpu_neg, sim_fpu_inv), sim-fpu.h:
+       New functions.
+
+Sat Nov 22 19:16:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-reason.c (sim_stop_reason): For sim_signalled, return the
+       signal untranslated, document problem with this.
+
+       * nrun.c (main): Check for a prog name of `*step'.  If present,
+       step the simulator instead of allowing it to run free.
+
+       * sim-signal.c (SIGQUIT): Define on _MSC_VER hosts.
+
+       * Make-common.in (sim_main_headers): Add sim-signal.h.
+
+Fri Nov 21 09:32:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
+
+Thu Nov 20 20:35:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-signal.h: Start simulator signals at 64 so that host signal
+       numbers can be detected and reported.
+
+       * sim-signal.h (SIM_SIGFPE), sim-signal.h: Add signal.
+
+Wed Nov 19 12:02:41 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * callback.c (cb_host_to_target_stat): Fix return values.
+
+       * cgen-sim.h (enum_signal_type): Delete.
+       (engine_signal): Update prototype.
+       * cgen-utils.c: Don't include <signal.h>.
+       (sim_signal_to_host): Delete, lives in sim-signal.c now.
+       (engine_signal): Update.
+
+       * sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
+       (sim_state_free): Call SIM_STATE_FREE if defined.
+
+       * sim-module.c (sim_module_install): Don't leave any modules
+       installed if one fails to install.
+
+Wed Nov 19 13:25:48 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-options.c: Don't include ../libiberty/alloca-conf.h any
+       more, since alloca is not used in this file.
+
+       * sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to
+       correctly set the carry and overflow bits for those types.
+       (ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along
+       with carry, so carry is correct after doing both adds.
+       (ALU*): Space out '\' to make it easier to read.
+
+Tue Nov 18 15:53:45 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-core.c (sim_core_signal): Use sim_stopped instead of
+       sim_signalled.
+
+       * sim-signal.c, sim-signal.h: New files.
+       * Make-common.in (sim-signal.o): Add rule for.
+       (SIM_NEW_COMMON_OBJS): Add sim-signal.o.
+       * sim-abort.c: Don't include <signal.h>.
+       * sim-basics.h: #include "sim-signal.h".
+       * sim-break.c: Don't include <signal.h>.
+       (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
+       * sim-core.c: Don't include <signal.h>.
+       (SIGBUS): Delete definition.
+       (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
+       * sim-engine.c: Don't include <signal.h>.
+       (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
+       * sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
+       * sim-resume.c: Don't include <signal.h>.
+       (SIGTRAP): Delete definition.
+       (has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
+       * sim-stop.c: Don't include <signal.h>.
+       (control_c_simulation): Replace SIGINT with SIM_SIGINT.
+       * sim-watch.c: Don't include <signal.h>.
+       (handle_watchpoint): Replace SIGINT with SIM_SIGINT.
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
+
+       * sim-base.h (CIA_ADDR): Provide default definition.
+       * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
+       * sim-break.c (sim_handle_breakpoint): Likewise.
+
+Mon Nov 17 14:15:31 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (srccom): New variable.
+
+       * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
+       (LIB_OBJS): Add syscall.o.
+       (gentmap): Pass $(NL_TARGET) to $(CC).
+       (syscall.o): Add rule for.
+       (sim_main_headers): Add $(SIM_EXTRA_DEPS).
+       (sim-bits.o): Depend on $(sim-n-bits_h).
+       (sim-load.o): Depend on callback.h.
+
+       * Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
+       cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
+       * cgen-mem.h, cgen-ops.h: New files.
+
+       * aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
+
+       * Makefile.in (nltvals.def): Depend on gennltvals.sh.
+       Rewrite build rule.
+       * callback.c: #include string.h or strings.h.
+       #include sys/types.h and sys/stat.h.
+       (cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
+       (os_get_errno,os_open): Update.
+       (os_stat,os_fstat): New functions.
+       (os_init): Initialize syscall_map, errno_map, open_map.
+       (default_callback): Add entries for os_stat, os_fstat, syscall_map,
+       errno_map, open_map, signal_map, stat_map.
+       (cb_read_target_syscall_maps): New function.
+       (cb_target_to_host_syscall): New function.
+       (cb_host_to_target_errno): Renamed from host_to_target_errno.
+       (cb_target_to_host_open): Renamed from target_to_host_open.
+       (store): New function.
+       (cb_host_to_target_stat): New function.
+       * syscall.c: New file.
+       * gentmap.c (sys_tdefs): New global.
+       (gen_targ_vals_h): Output target syscall numbers.
+       (gen_targ_map_c): Update.  Output target syscall translation map.
+       * gentvals.sh: New first argument `target'.  Preface table with
+       #ifdef NL_TARGET_$target if non-null target passed.
+       * gennltvals.sh: New file.
+       * nltvals.def: Regenerated.
+
+Fri Nov 14 11:33:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-n-core.h (sim_core_read_unaligned_N): Return static
+       sim_core_dummy_M.
+       (sim_core_dummy_M): Declare.
+
+Wed Nov 12 18:16:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_signal): Print the address of the
+       instruction.
+
+Thu Nov 13 11:49:41 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-base.h (sim_state_base): Move `magic' to end of struct.
+
+       * sim-base.h (sim_state_base): Add member trace_data.
+       (STATE_TRACE_DATA): New macro.
+       * sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros.
+       ({WITH_,}TRACE_DEBUG_P): New macros.
+       (STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros.
+       (_sim_cpu): Delete forward reference.
+       (debug_printf): Update.
+       * sim-trace.c (OPTION_TRACE_DEBUG): Define.
+       (trace_options): Add --trace-debug.
+       (set_trace_options): Handle it.
+       (trace_option_handler): Likewise.
+       (trace_install): Init state trace_data struct.
+       (trace_uninstall): Close state trace file.
+       * sim-events.c (ETRACE): Only print source file and line number if
+       --trace-debug.
+       * sim-n-core.h (sim_core_trace_M): Likewise.
+
+       * sim-core.c (sim_core_signal): Add missing "\n" in message.
+
+1997-11-13  Felix Lee  <flee@cygnus.com>
+
+       * sim-n-core.h (sim_core_read_unaligned_N): illegal empty
+       initializer.
+       * sim-types.h (unsigned128,signed128): fix typo for MSVC.
+
+Wed Nov 12 12:18:08 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo.
+
+       * Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer
+       built this way.
+       (sim-config.o): Remove non-existent $(sim-nconfig_h) dependency.
+       (clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in
+       source tree.
+
+Tue Nov 11 13:28:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (sim_events_process): Re-compute the time -
+       update_time_from_event - as each event is processed. Reverses
+       previous change.
+
+Fri Nov  7 00:37:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
+
+Fri Nov  7 00:37:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (sim_events_process): Delete redundant call to
+       update_time_from_event.
+       (sim_events_slip): Always decrement time_from_event.
+       (sim_events_tick, sim_events_deschedule, update_time_from_event):
+       Delete assertion that time_from_event >=0 when work in queue, no
+       longer applicable.
+
+Thu Nov  6 12:06:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum.
+       (standard_option_handler): Update.
+
+       * sim-options.h: Clarify documentation.
+       (OPTION_LONG_ONLY_P): Delete definition.
+       (OPTION_VALID_P): Define.
+
+       * sim-options.c (sim_print_help): Allow short only options.
+       (sim_parse_args): Ditto.
+       (sim_args_command): Skip short only options.
+       (sim_parse_args): Allocate space for NUM_OPTS not just 256. Make
+       separate entries for short and long options in the HANDLERS and
+       ORIG_VAL tables.
+       (sim_parse_args): Disable argument permutation.
+
+Wed Nov  5 13:40:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N):
+       Add argument M, size of data type.
+       (sim_core_read_misaligned_3, sim_core_write_misaligned_3):
+       Declare, ditto for 5, 6 & 7 byte transfers.
+       (sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define
+       as aligned variant.
+
+       * sim-n-core.h (sim_core_trace_M): Rename from
+       sim_core_trace_N. Add nr_bytes argument. Replace transfer argument
+       with transfer type. Print transfer direction.  Handle 1 and 2 byte
+       transfers.
+       (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Trace
+       unaligned accesses.
+       (unsigned_M, T2H_M, H2T_M): Rename from unsigned_N, T2H_N, H2T_N.
+       Update all functions.
+
+       * sim-core.c: Generate functions starting with 16 not 1.
+       (sim_core_read_unaligned_3): Generate. Ditto for 3 byte write and
+       all 5, 6 & 7 byte transfers.
+
+       * sim-n-core.h (sim_core_read_misaligned_N,
+       sim_core_write_misaligned_N): Implement.
+
+Mon Nov  3 15:03:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-endian.h (U16_8): Implement
+
+       * sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions
+
+       * sim-endian.h (VL8_16, VH8_16): Implement.
+
+       * sim-memopt.c (memory_option_handler): Typecast 64bit value to
+       long in printf.
+       (memory_option_handler): Only zalloc modulo bytes when non-zero.
+       (memory_option_handler): Skip comma in alias address list
+
+Fri Oct 31 13:03:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-memopt.c (do_memopt_add, do_memopt_delete): Add level and
+       space params.
+       (parse_size, parse_addr): New functions
+       (memory_option_handler, memory_options): Parse address & size
+       using new functions. Pass level, space, modulo to do_memopt_add &
+       do_memopt_del.
+
+       * sim-memopt.h (struct _sim_memopt): Add level & space fields.
+
+       * sim-core.h (sim_core_arrach, sim_core_detach): Replace
+       `attach_type attach' argument with `unsigned level' argument.
+       Document.
+
+       * sim-core.c (new_sim_core_mapping, sim_core_map_attach,
+       sim_core_attach): Replace argument attach with level.  Update
+       verification of arguments.
+       (sim_core_map_detach, sim_core_detach): Replace argument attach
+       with level.
+
+       * sim-basics.h (enum _attach_type): Delete.
+
+Thu Oct 30 13:45:00 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-core.h (sim_core_write_8): Define.
+
+Tue Oct 28 12:29:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.h: Document ROTn macro.
+
+       * sim-endian.h (H2T): Handle 16 byte variables.
+
+       * sim-n-core.h (sim_core_read_unaligned_N): Return a dummy when an
+       error.
+
+       * sim-core.c: Do not generate sim_core_*_word.
+
+       * sim-n-core.h (sim_core_trace_N): Add line_nr argument.
+       (sim_core_write_aligned_N, sim_core_read_aligned_N): Update.
+
+       * sim-core.h (sim_core_read_unaligned_word,
+       sim_core_read_aligned_word, sim_core_read_word,
+       sim_core_write_unaligned_word, sim_core_write_aligned_word,
+       sim_core_write_word): Change to macros that map onto sim_core_*_N.
+
+Mon Oct 27 11:25:10 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-n-endian.h: Add TAGS entrys for 16 byte versions.
+
+       * sim-endian.h: Disable 16 byte support.
+
+Mon Oct 27 12:00:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-endian.c (_SWAP_16): Define.  Generate 126 bit swap code.
+
+       * sim-n-core.h (sim_core_trace_N): New function.
+       (sim_core_read_aligned_N, sim_core_write_aligned_N): Use,
+       (sim_core_read_unaligned_N): Do not retyrn bogus value wden error.
+
+       * sim-endian.h:  Add 128 bit variant.
+
+       * sim-core.h, sim-core.c: Add 128 bit variant.
+
+       * sim-types.h: Add signed128 and unsigned128 types using a struct.
+
+Fri Oct 24 11:33:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (sim_events_process): Clear events->work_pending.
+       (sim_events_tickn, sim_events_tick): Accumulate, instead of
+       setting, nr_ticks_to_process.
+       (sim_events_preprocess): Allow nr_ticks_to_process to be non-zero
+       when the event queue isn't next.
+
+       * sim-events.h, sim-events.c (sim_events_slip): New function.
+
+Wed Oct 22 14:18:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-hload.c (sim_load): Pass lma_p==0 and do_load=sim_load.
+
+       * sim-utils.h, sim-load.c (sim_load_file): Add lma_p and do_load
+       arguments.
+
+Tue Oct 21 18:37:57 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * nrun.c (main): Remove useless test of name != NULL.
+       Exit if bfd_openr fails.  Call bfd_check_format after bfd_openr.
+
+Tue Oct 21 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (EXPMAX): Type is unsigned.
+       (MIN_INT, MAX_INT): Type is signed64.
+       (i2fpu): Type of val is signed64.
+
+Tue Oct 21 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.h (PROFILE_PC_BUCKET_SIZE): Treat a shift of zero as
+       a bucket size of zero.
+
+       * sim-profile.c (OPTION_PROFILE_PC_GRANULARITY,
+       OPTION_PROFILE_PC): Define.
+       (profile_option_handler): Add support for --profile-pc and
+       --profile-pc-granularity options.
+       (profile_pc_init): When possible, compute nr buckets from bucket
+       size.
+
+       * sim-profile.c (profile_pc_init): Align the profile-pc end
+       address with the profile-pc bucket size.
+
+       * sim-profile.h (PROFILE_PC_NR_BUCKETS): Rename PROFILE_PC_SIZE to
+       something less ambiguous.
+       (PROFILE_PC_BUCKET_SIZE): Ditto for PROFILE_PC_SAMPLE_SIZE.
+
+       * sim-profile.c (profile_pc_cleanup): New function. Move
+       profile_pc_uninstall code to here.
+       (profile_pc_uninstall): Call.
+       (profile_pc_init): Call.
+
+Mon Oct 20 17:23:58 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.c (profile_print_pc): Dump pc profile to dmon.out
+       file using BSD gprof format.
+
+       * sim-bits.h (LSBIT, MSBIT, BIT): Force result to type
+       unsigned_word.
+       (LSBIT8, LSBIT16, LSBIT32, LSBIT64, MSBIT8, MSBIT16, MSBIT32,
+       MSBIT64): Force result to unsignedN.
+
+Thu Oct 16 11:38:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-alu.h (ALU16_BEGIN, ALU32_BEGIN, ALU64_BEGIN): Drop opening
+       brace from macro.
+       (ALU8_BEGIN, ALU8_SET, ALU8_ADD, ALU8_SUB, ALU8_NEGATE): Define.
+       (ALU16_ADD, ALU16_SUB, ALU16_NEGATE): Simplify arrithmetic.
+       (ALU32_ADD, ALU32_SUB, ALU32_NEGATE): Simplify arrithmetic.
+       (ALU64_ADD, ALU64_SUB, ALU64_NEGATE): Simplify arrithmetic.
+
+Wed Oct 15 09:24:19 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.h (struct _sim_core_mapping): Change free_buffer to
+       type void*.
+
+       * sim-core.c (sim_core_uninstall, new_sim_core_mapping,
+       sim_core_map_attach, sim_core_map_detach): Change free_buffer to
+       type void*.
+       (sim_core_attach): Rename buffer_freed to free_buffer, type
+       void*. Ensure that allocated buffer is alligned according to
+       region's address.
+
+Mon Oct 13 11:34:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-alu.h (ALU64_HAD_OVERFLOW): Define.
+       (ALU64_SUB): Define.
+
+       * Make-common.in (all): Build SIM_EXTRA_ALL first.
+       (.gdbinit): Remove dependencies, generate once per build.
+
+Tue Oct 14 19:20:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-n-core.h (sim_core_read_aligned_N,
+       sim_core_write_aligned_N): Make xaddr param type address_word not
+       unsigned_word.
+
+Fri Oct  3 09:49:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.h, sim-fpu.c: Rewrite.  Change sim_fpu object to an
+       unpacked floating point struct.  Pass sim_fpu object by reference.
+       Add preliminary support for rounding modes.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Oct  2 19:43:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not
+       WITH_TARGET_BITSIZE.
+
+Thu Sep 25 23:20:20 1997  Felix Lee  <flee@yin.cygnus.com>
+
+       * sim-profile.c (profile_print_core): label needs empty statement.
+
+Thu Sep 25 11:20:47 1997  Stu Grossman  <grossman@babylon-5.cygnus.com>
+
+       * sim-break.c (sim_set_breakpoint sim_clear_breakpoint):  Use ZALLOC
+       and zfree instead of xmalloc and free.  Prevents warnings.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:23:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_BITSIZE): Assign from configured value.
+       (CONFIG_CFLAGS): Add SIM_BITSIZE.
+
+       * aclocal.m4 (--enable-sim-bitsize): Developer option for
+       controling the bitsize/msb of the target.
+
+Wed Sep 24 17:41:40 1997  Stu Grossman  <grossman@babylon-5.cygnus.com>
+
+       * Make-common.in:  New files sim-break.c, sim-break.h.
+       * sim-base.h:  Add point to breakpoint list to sim_state_base.
+       * sim-break.c sim-break.h:  New modules that implement intrinsic
+       breakpoint support.
+       * sim-module.c:  Add breakpoint module.
+
+Tue Sep 23 00:26:39 1997  Felix Lee  <flee@yin.cygnus.com>
+
+       * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
+       an hour.
+       * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on
+       if (0) { 1 % 0; }
+       * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1.
+       (SIGBUS) define for Windows.
+       * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC.
+       * sim-resume.c: define SIGTRAP for windows.
+       * sim-xcat.h: use token pasting if ALMOST_STDC.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign
+       configured values.
+       (CONFIG_CFLAGS): Add same.
+
+Mon Sep 22 17:20:27 1997  Felix Lee  <flee@cygnus.com>
+
+       * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
+       (SIGNED32): use ##i32.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 10:07:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-endian): Simplify logic determining [default]
+       endian of target.
+
+       * Make-common.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
+       SIM_HOSTENDIAN, SIM_RESERVED_BITS, SIM_ASSERT, SIM_FLOAT,
+       SIM_HARDWARE, SIM_INLINE, SIM_PACKAGES, SIM_REGPARM, SIM_SMP,
+       SIM_STDCALL, SIM_XOR_ENDIAN): Assign configured values.
+       (CONFIG_CFLAGS): Add same.
+
+       * aclocal.m4: Perform AC_SUBST on optional options.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment.
+
+       * sim-options.c (standard_option_handler): Typo in warning message.
+
+       * sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL.
+
+       * sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any
+       insn count.  Make count conditional on there being a valid
+       INSN_NAME.
+       (profile_pc_init): Make default PC profile frequency an arbitrary
+       256.
+
+       * sim-base.h: Ditto.
+
+       * sim-profile.h (WITH_PROFILE_MODEL_P): Only enable modeling when
+       SIM_HAVE_MODEL.
+
+       * sim-model.h (struct MACH): Depreciate, to be replaced by bfd
+       archure struct.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim_alignment): Simplify logic for selecting the
+       configured alignment.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:26:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.c (sim_config): Check for default alignment.
+
+       * sim-options.c (standard_option_handler): Add alignment option.
+
+       * aclocal.m4 (sim_alignment): Allow configuration of hardwired and
+       default alignment requirements on memory accesses.
+
+Fri Sep 19 11:51:35 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * sim-load.c (sim_load_file): Return failure if the executable
+       had no loadable sections.
+
+Wed Sep 17 13:33:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
+       trace output.
+
+       * sim-core.c (sim_core_signal): When bad access halt simulator
+       SIGSEGV / SIGBUS instead of aborting.
+       (signal.h): Include.
+
+       * sim-watch.c (sim_watchpoint_install): Handler for watchpoint
+       options was missing.
+
+       * sim-bits.h (MOVED): Define
+
+Wed Sep 17 10:33:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-alu.h (ALU32_HAD_OVERFLOW): Pacify GCC, Use MSBIT instead of
+       BIT.
+
+       * sim-bits.h (LSBIT, MSBIT): Check for overflow of shift value.
+
+       * sim-bits.c: Add 8 bit versions of bit macros.
+
+       * sim-bits.h: Ditto.
+
+Tue Sep 16 16:15:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.c (LSSEXT, MSSEXT): Replace SEXT.
+       (LSINSERTED, MSINSERTED): Ditto for INSERTED.
+
+       * sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn.
+       (LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn.
+
+       * sim-bits.h (SEXT*): Define as MSEXT/LSEXT.
+       (INSERTED*): Ditto for LSINSERTED/MSINSERTED.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
+       configure.in: Output to cconfig.h instead of config.h.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 15:39:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
+       BFD if known.
+
+Tue Sep  9 21:46:46 1997  Felix Lee  <flee@cygnus.com>
+
+       * callback.c (os_write): divert stdout and stderr to their
+       respective hooks.
+
+Thu Sep 11 10:08:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.c (profile_print_speed): Call
+       sim_events_elapsed_time instead of PROFILE_EXEC_TIME for moment.
+
+       * sim-events.c (sim_events_elapsed_time): New function return nr
+       host MS consumed by the simulator.
+       (sim_watch_valid): Use.
+
+       * sim-module.c (modules): Install sim_events very very early.
+
+       * sim-profile.c (profile_print): Call profile_print_pc.
+       (print_bar):
+       (profile_pc_init): New function, set up processor for PC
+       profiling.
+       (profile_print_pc): New function, print a PC profile.
+       (profile_pc_event): New function, sample PC.
+
+       * sim-profile.h (PROFILE_PC_COUNT, PROFILE_PC_START,
+       PROFILE_PC_END, PROFILE_PC_SHIFT, PROFILE_PC_SAMPLE_SIZE): Add to
+       profile struct.
+
+       * sim-options.c (sim_print_help): Pacify GCC.
+
+       * sim-n-core.h (sim_core_read_aligned_N,
+       sim_core_write_aligned_N): Add un-conditional profile call.
+       (sim_core_read_unaligned_N, sim_core_write_unaligned_N): Add
+       profile call when aligned read/write isn't used.
+
+       * sim-base.h: Include sim-profile, sim-model after sim-core &
+       sim-events allow sim-core to define useful values.
+
+       * sim-profile.c (OPTION_PROFILE_CORE): Define.
+       (profile_option_handler, profile_options): Add support for
+       --profile-core option.
+       (print_bar): Include when core profiling.
+       (profile_print_core): New function, print core profile.
+
+       * sim-config.c (print_sim_config): Print profile status.
+
+       * sim-profile.h (PROFILE_NEXT_IDX, PROFILE_core,
+       WITH_PROFILE_PC_P): Define.
+       (PROFILE_CORE_COUNT): Count each core-map/size separatly.
+       (PROFILE_COUNT_CORE): Define.
+
+Thu Sep 11 08:44:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-watch.c (handle_watchpoint): Pass a char** index into the
+       interrupt_names array as the data.
+       (sim-watch.h): Document.
+
+Wed Sep 10 16:15:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.c (sim_print_help): When the doc string is to long
+       word wrap it.
+
+       * sim-watch.c (sim_watchpoint_install): Use option.doc_name so
+       that only the first few the watch options are listed.  Generate
+       meanginful usage messages.
+
+       * sim-options.h (struct OPTION): Clarify use of doc_name field
+
+Wed Sep 10 13:23:24 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.c (OPTION_ARCHITECTURE_INFO): New option.
+       (standard_option_handler): Handle --architecture-info.
+
+Tue Sep  9 21:46:46 1997  Felix Lee  <flee@cygnus.com>
+
+       * sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
+       illegal zero-sized array.
+       * sim-core.c (sim_core_xor_read_buffer): same.
+
+Tue Sep  9 11:20:35 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * nltvals.def: Regenerate.
+
+Tue Sep  9 02:10:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (DP_FRACHIGH2): Define LL using SIGNED64.
+
+Mon Sep  8 12:22:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.c (MASKED): Delete.
+       (EXTRACTED): Delete.
+       (LSEXTRACTED, MSEXTRACTED): New functions.
+
+       * sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED.
+       (MSMASKEDn, LSMASKEDn): Add last argument.
+       (MSMASK*): Ditto.
+
+       * sim-bits.h (EXTEND8, EXTEND16): Define.
+       (EXTRACTED64): Define as 64 bit extract, not 32 bit.
+
+       * sim-run.c (sim_engine_run): Use CPU_CIA macro.
+
+       * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use CPU_CIA to get at
+       current instruction address.
+
+       * sim-inline.h (*_ENGINE): Define.
+
+Fri Sep  5 08:39:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_attach): Fix checks of modulo/mask.
+
+       * sim-watch.c (delete_watchpoint): Delete by ident and type.
+       (watch_option_handler): Call delete_watchpoint with ident or type.
+       (sim_watchpoint_install): Create interrupt specific watchpoint
+       commands on the fly.
+       (do_watchpoint_create): New function, create a watch point using
+       type/int-nr info encoded in the option nr.
+       (do_watchpoint_info): New function.  List active watchpoints.
+
+       * sim-watch.h: Change data structure to a list.
+
+       * sim-memopt.c (memory_option_handler): Require explicit "all"
+       before deleting all memory regions.
+
+       * sim-utils.c (sim_do_commandf): New function, printf version of
+       sim_do_command.
+
+       * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32.
+
+       * sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume
+       bit endianness.
+       (SIGNED64, UNSIGNED64): Delete.
+       (ALU64_ADD): Don't rely on bit endianness.
+       (ALU64_BEGIN): Define.
+
+       * sim-n-bits.h (MSEXTRACTEDn, LSEXTRACTED): New functions.
+       (EXTRACTEDn): Delete, define as either LSEXTRACTED or MSEXTRACTED.
+
+       * sim-types.h (SIGNED64, UNSIGNED64): New macros, attach relevant
+       suffix - u64, LL - to 64 bit constants.
+
+Thu Sep  4 09:27:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.c (sim_config): Add assert for SIM_MAGIC_NUMBER.
+
+       * sim-utils.h (NZALLOC): Define - zalloc * N.
+
+       * sim-hrw.c (sim_read, sim_write): New file.  Provide generic
+       implementation of read/write functions.
+
+       * Make-common.in (sim-hrw.o): New target.
+
+       * sim-base.h (STATE_MEMOPT_P): Delete, simulators _always_ add
+       memory.
+
+       * sim-memopt.c (memory_option_handler): Implement memory-size
+       command. Implement memory-alias command.  Let memory-delete delete
+       all memory regions.
+       (add_memopt): New function.  Add a memory region.
+       (do_memopt_delete): New function. Delete a memory region.
+
+       * sim-utils.c (sim_elapsed_time_get): Never return zero.
+
+       * sim-core.c (sim_core_detach): New function.
+       (sim_core_map_detach): New function. Perform the actual detach.
+       (sim_core_init): Move initialization code from here.
+       (sim_core_install): To here.
+       (sim_core_uninstall): And here.
+
+       * sim-module.c: Add memopt module.
+
+       * sim-base.h (STATE_MEMOPT, STATE_MEMOPT_P): Add memopt to
+       simulator base type.
+
+       * Make-common.in (sim_main_headers): Add sim-memopt.h
+       (sim-memopt.o): New target.
+
+       * sim-core.c (sim_core_install): Add core_options to the option
+       table.
+
+       * sim-watch.c (watch_options): Make --delete-watch a synonym for
+       --watch-delete.
+
+       * sim-config.h (WITH_MODULO_MEMORY): Define as 0.  Update
+       comments.
+
+       * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type
+       address_word, add mask member.
+
+       * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type
+       address_word, allow for 64bit targets in 32bit host. Add modulo
+       argument.
+       (sim_core_map_attach): Ditto.
+       (new_sim_core_mapping): Ditto.
+       (sim_core_translate): Mask address when modulo memory.
+
+Wed Sep  3 17:32:54 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * sim-hload.c (sim_load): Add assert for SIM_MAGIC_NUMBER.
+
+       * gdbinit.in: New file.
+       * aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit.
+       * Make-common.in (distclean): Delete .gdbinit.
+       (.gdbinit): Add rule for.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * Make-common.in (cgen-run.o): Add rule for.
+
+Wed Sep  3 10:08:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-resume.c (sim_resume): Suspend/resume the simulator.
+
+       * sim-events.c (sim_watch_valid): Compute total elapsed time from
+       both resumed and previous elapsed time.
+       (sim_events_init): Set initial_wallclock and current_wallclock to
+       zero.
+       (sim_events_install): Install sim_events_suspend and
+       sim_events_resume.
+       (sim_events_watch_clock): Allow for suspended simulator when
+       computing the time of the clock event.
+
+       * sim-events.h (struct _sim_event): Add resume_wallclock, rename
+       initial_wallclock to elapsed_wallclock, set both to zero.
+       (sim_events_init, sim_events_uninstall): Delete prototypes.
+
+       * sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types.
+
+       * sim-module.c(sim_module_resume, sim_module_suspend): New
+       functions.
+
+Wed Sep  3 10:08:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_map_attach): Clarify memory overlap error
+       message.
+
+Tue Sep  2 14:57:06 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker.
+       * Make-common.in (TAGS): Likewise.
+       * sim-n-bits.h: Add TAGS comments for all functions.
+       * sim-n-core.h: Likewise.
+       * sim-n-endian.h: Likewise.
+
+Mon Sep  1 10:50:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and
+       kind.
+
+       * sim-base.h (sim_state_alloc): Add callback and kind arguments.
+
+       * sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default
+       definition.
+
+Sat Aug 30 09:47:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (DP_GARDMSB, ...): Make unsigned.
+       (DP_FRACHIGH, DP_FRACHIGH2, ..): Use MSMASK to avoid LL.
+
+Fri Aug 29 13:37:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_map_attach): Cast attach enum to int.
+       (sim_core_xor_read_buffer, sim_core_xor_write_buffer): Make
+       nr_transfered and nr_this_transfer unsigned.
+
+       * sim-events.c (sim_events_tickn): N is signed, as limited to
+       MAXINT.
+
+       * sim-n-endian.h (offset_N): Change size to unsigned.
+
+       * callback.c (os_poll_quit): Add prototypes for kbhit and getkey.
+
+Fri Aug 29 10:10:53 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_copy_argv): Delete, replaced by dupargv.
+
+       * sim-options.c (sim_parse_args): Use dupargv.
+
+Thu Aug 28 10:36:34 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-options.c (standard_option_handler): Use xstrdup, not strdup.
+
+Thu Aug 28 12:09:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator
+       base type.
+
+       * sim-options.c (standard_options): Add --architecture=MACHINE and
+       --target=TARGET options.
+       (OPTION_ARCHITECTURE, OPTION_TARGET): Define.
+       (standard_option_handler): Handle architecture and target options.
+       (bfd.h): Include.
+
+       * sim-utils.c (sim_analyze_program): Pass STATE_TARGET to
+       bfd_openr.
+       (sim_analyze_program): Set prog_bfd architecture from
+       STATE_ARCHITECTURE if known.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Aug 27 18:11:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (enable-sim-warnings): Remove comment stating
+       that option does not apply to certain files.
+
+Wed Aug 27 15:13:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.h (LSBIT8, LSBIT16, LSBIT32, LSBIT64, LSBIT, MSBIT8,
+       MSBIT16, MSBIT32, MSBIT64, MSBIT): New macros - single bit as
+       offset from MSB/LSB.
+
+       * sim-endian.h (A1_8, A2_8, A4_8, A1_4, A2_4, A1_2): New macro,
+       access address of sub word quantity of a hosts 16, 32, 64 bit word
+       type.
+       (V1_2, V1_4, V2_4, V1_8, V2_8, V4_8): Ditto for values.
+       (U8_1, U8_2, U8_4, U4_1, U4_2, U2_1): Ditto for set of values.
+       (V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument,
+       return N*2 byte value with argument in Hi/Lo word.  Renamed from
+       V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8.
+
+       * sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit.
+       (ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT
+       so that bit offset is explicit.
+
+Wed Aug 27 11:55:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_analyze_program): Add prog_name argument.
+       Update STATE_PROG_BFD when needed with a dup'd copy of the
+       program.
+
+       * sim-config.c (sim_config): Delete ABFD argument, use
+       STATE_PROG_BFD directly.
+
+Tue Aug 26 12:55:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main): Pass the open ABFD to sim_create_inferior.
+
+       * nrun.c (main): Determine prog_bfd.  Pass to sim_create_inferior
+       and sim_load.
+       (bfd.h): Include.
+
+       * sim-hload.c (sim_load): New file. Implement generic sim_load for
+       hardware only simulator targets.
+
+       * Make-common.in (sim-hload.o): Add rule.
+
+Wed Aug 27 09:51:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-utils.c (sim_copy_argv): Rewrite to match malloc strategy
+       used by copyargv and freeargv.
+
+       * sim-options.c (sim_parse_args): Save a copy of PROG-ARGS in
+       STATE_PROG_ARGV, not just a pointer.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 12:11:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-endian): Add second argument to
+       SIM_AC_OPTION_ENDIAN.  First is hardwired endian, second is
+       default endian when not hardwired.
+
+       * sim-config.h (WITH_DEFAULT_TARGET_BYTE_ORDER): New macro, if all
+       else failes value for target byte order.
+
+       * sim-config.c (sim_config): Add abfd arguments. Set
+       STATE_PROG_BFD accordingly.  Determine prefered_target_byte_order
+       from same.
+       (sim_config): Return SIM_RC, don't abort.
+       (bfd.h): Include.
+
+       * run.c (main): Update call to sim_open - add ABFD argument.
+       * nrun.c (main): Add NULL ABFD argument.
+
+Thu Aug 14 12:48:57 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * callback.c (os_poll_quit): Make static.
+       Call sim_cb_eprintf, not p->eprintf.
+       (sim_cb_printf, sim_cb_eprintf): New functions.
+       * sim-utils.h (sim_cb_printf, sim_cb_eprintf): Declare.
+
+       * sim-basics.h (zalloc,zfree,sim_add_commas,SIM_ELAPSED_TIME,
+       sim_elapsed_time_get,sim_elapsed_time_since): Move decls to
+       sim-utils.h. #include sim-utils.h.
+       * sim-utils.h: Above decls moved here.
+       (sim_analyze_program,sim_load_file): Use `struct _bfd', not `bfd'.
+
+       * sim-watch.c (action_watchpoint): Fix thinkos.
+
+Thu Jul 24 08:48:05 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * sim-types.h:  Fix defs of 64 bit data types for MSVC.
+
+Tue Jul 22 10:35:37 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-n-core.h (sim_core_write_unaligned_N): Add missing break
+       to FORCED_ALIGNMENT case.
+
+Thu Jun  5 13:48:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * callback.c (target_to_host_open): Handle hosts with O_BINARY.
+
+Thu Jun  5 08:47:10 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * Make-common.in (libsim.a): Fix typo.
+
+Thu Jun  5 13:48:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * nrun.c (main): Verify the structure returned before using it.
+
+Wed Jun  4 11:44:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.h (WITH_ENGINE): Enable the sim-engine module by
+       default.
+
+       * sim-engine.c (sim_engine_install): New function.  Install the
+       engine init functions.
+       (sim_engine_init): [Re]initialize the simulator engine.
+
+       * sim-module.c: Add sim_engine to list of modules that always
+       install.
+
+Tue Jun  3 04:52:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-watch.c (schedule_watchpoint): Use sim_unschedule_watchpoint
+       to remove the old watchpoint, not delete_watchpoint.
+       (watch_option_handler): Action the correct watchpoint, not just
+       cycles.
+
+Wed May 28 14:47:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output
+       both low and high word.
+       (sim_core_write_aligned_N): Ditto.
+
+       * sim-trace.c (set_trace_options): Delete code explicitly setting
+       core->trace.
+
+       * sim-options.c (sim_print_help): Call the list commands if not a
+       standalone simulator.
+       (sim_print_help): Advise that some options may not be applicable.
+
+       * sim-trace.c (set_trace_options): Assume core present.
+
+       * sim-events.c (sim_events_schedule_after_signal): Overflow signal
+       buffer when full not almost full.
+
+Tue May 27 14:32:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (sim_events_process): Don't blat the event queue
+       when processing watchpoints.
+
+       * sim-watch.h: Make arg unsigned long - stop sign extension.
+
+       * sim-events.c (sim_watch_valid): rewrite so debugable.
+
+       * sim-config.h (WITH_XOR_ENDIAN): Default to zero.
+
+       * sim-watch.c (schedule_watchpoint): Add is_within option so that
+       inequality test is possible.
+       (handle_watchpoint): Re-pass is_within arg.
+       (watch_option_handler): When `!' prefix to pc-watchpoint arg pass
+       0 to schedule_watchpoint's is_within arg.
+       (sim_watchpoint_init): Re-pass is_within arg.
+
+       * sim-options.c (sim_print_help): Add is_command argument.  Don't
+       include -- prefix when called from the command line interpreter.
+
+       * sim-watch.c (schedule_watchpoint): Pass true is_within argument.
+
+       * sim-events.c (sim_events_watch_sim): Add is_within argument,
+       zero indicates that the test should be reversed.
+       (sim_events_watch_core): Ditto.
+       (WATCH_CORE): Compare range against is_within.
+       (WATCH_SIM): Ditto.
+
+Tue May 27 12:48:03 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * sim-events.c (WATCH_CORE): Pass NULL cpu argument to
+       sim_core_read_buffer.  Check nr-bytes transfered.
+
+       * sim-core.h (sim_core_common): Define a new struct that contains
+       the common data.  to sd and cpu structures.
+       * sim-core.c (sim_core_attach): Update.
+       (sim_core_init): Update. Remember to copy initialized data to each
+       cpu.
+       (sim_core_find_mapping): Ditto.
+
+       * sim-core.c (sim_core_read_buffer): Add cpu argument.
+       (sim_core_write_buffer): Ditto.
+
+       * sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned
+       transfer use xor version of read buffer.
+       (sim_core_write_unaligned_N): Ditto for write.
+
+       * sim-core.c (sim_core_xor_read_buffer): New function implement
+       xor-endian data read breaking transfer up into xor-endian sized
+       blocks.
+       (sim_core_xor_write_buffer): Ditto for write.
+       (reverse_n): Reverse order of arbitrary number of bytes in buffer
+       - needed for xor-endian transfers.
+
+Fri May 23 14:24:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-inline.h: Review description.
+
+       * sim-core.h, sim-core.c: Reduce number of functions being inlined
+       to just those involved in data transfers and configuration.
+
+       * sim-xcat.h (XSTRING): New macro, map macro definition onto
+       string.
+       * sim-n-core.h (sim_core_read_aligned_N): Use.
+       (sim_core_read_unaligned_N): Ditto.
+       (sim_core_read_unaligned_N): Ditto..
+       (sim_core_write_unaligned_N): Ditto.
+
+       * sim-core.h: Add xor endian bitmap to main structure.  *
+
+       sim-n-core.h (sim_core_write_aligned_N): Add suport for xor
+       endian.
+       (sim_core_read_aligned_N): Ditto.
+
+       * sim-core.c (sim_core_set_xor_endian): New function.
+       (sim_core_attach): Don't overwrite the per-cpu xor map when
+       cloning the global core.
+
+Fri May 23 10:53:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-engine.h: Update below so that it is using an enumerated
+       type.
+
+Thu May 22 09:12:16 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * sim-engine.c (sim_engine_restart):
+       * sim-resume.c (sim_resume): Change longjmp param/setjmp
+       return value used for simulator restart from 0 to 2.
+
+Wed May 21 08:47:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * cgen-scache.c (scache_option_handler): Add is_command arg.
+
+       * sim-model.c (model_option_handler): Add is_command argument.
+
+       * sim-profile.c (profile_option_handler): Add is_command arg.
+
+       * sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value
+       involved.
+
+       * sim-module.c (sim_module_add_init_fn): Call init fn in the same
+       order that they are registered.
+
+       * sim-options.h (OPTION_HANDLER): Add argument to differentiate
+       between option and command line processing.
+
+       * sim-options.c: Include stdlib.h, ctype.h.
+
+       * Make-common.in (sim-watch.o): Add rule.
+       (sim_main_headers): Assume sim-assert.h included.
+       (sim-*.o): Simplify make rule.
+
+       * sim-module.c: Add sim_watch_install to module list.
+
+Tue May 20 14:15:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-base.h (STATE_LOADED_P): New predicate. Set once everything
+       has been loaded.
+
+       * sim-trace.c (trace_install): Check magic. Include sim-assert.h.
+       * sim-events.c (sim_events_install): Ditto.
+       * sim-core.c (sim_core_install): Ditto.
+       * sim-model.c (model_install): Ditto.
+       * sim-options.c (standard_install): Ditto.
+       * sim-profile.c (profile_install): Ditto.
+       * sim-reason.c (sim_stop_reason): Ditto.
+       * sim-run.c (sim_engine_run): Ditto.
+       * sim-utils.c (sim_analyze_program): Ditto.
+
+       * sim-module.c (modules): Make profile_install and trace_install
+       optional.
+
+       * sim-base.h (STATE_MEM_BASE): Define for flat memory systems.
+
+       * sim-options.c (standard_option_handler): Set the byte order.
+
+       * sim-events.c (sim_events_process): Allow multi tick processing.
+       (sim_events_tickn): New function - multi cycle tick.
+
+       * sim-events.h (sim_events_tickn, sim_events_timewarp): Add
+       prototypes.  Under development.
+       (sim_events): Replace processing with nr_ticks_to_process.
+
+Tue May 20 09:39:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * nrun.c (main): Pass callbacks to sim_open instead of using
+       sim_set_callbacks.
+
+       * run.c (main): Ditto.
+
+Mon May 19 12:07:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (sim_events_zalloc): Signal save memory allocator -
+       stop tk interrupting malloc calls.
+       (sim_events_zalloc): Converse.
+
+       * Make-common.in (sim_main_headers): Add sim-events.h.
+
+       * sim-events.c (sim_events_schedule_after_signal): Change return
+       type to void - signal events are strictly internal.
+       (sim_events_init): Allocate a finite buffer for signal events.
+       (sim_events_schedule_after_signal): Enter signal events into the
+       signal buffer.
+
+       * sim-engine.c (sim_engine_halt): Check SIM_DESC magic.
+       (sim_engine_restart): Ditto.
+       (sim_engine_abort): Ditto.
+       * sim-stop.c (sim_stop): Ditto.
+       (control_c_simulation): Ditto.
+       * sim-resume.c (sim_resume): Ditto.
+       (has_stepped): Ditto.
+       * sim-abort.c (sim_engine_abort): Ditto.
+
+       * sim-basics.h (transfer_type): New type.
+
+       * sim-core.c (sim_core_signal): New function. Print core signal
+       information.
+       (sim_core_find_mapping): Add transfer argument.
+
+       * sim-n-core.h (sim_core_{write,write}_unaligned_N): Call
+       SIM_CORE_SIGNAL if a recoverable abort.
+       * sim-core.c (sim_core_find_mapping): Ditto.
+
+Fri May 16 15:13:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_find_mapping): Replace calls to
+       sim_io_error to more resiliant sim_engine_abort.
+
+       * sim-n-core.h (sim_core_read_unaligned_N): Ditto.
+       (sim_core_write_unaligned_N): Ditto.
+
+Tue May 13 13:50:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-module.c: Add sim_events_install to list.
+
+       * sim-events.c (sim_events_install, sim_events_uninstall): Clonse
+       from sim_core_*.
+       (sim_events_init): Now returns SIG_RC.
+
+       * sim-run.c: New file. Generic sim_engine_run.
+       * sim-reason.c: New file. Generic sim_stop_reason.
+       * sim-stop.c: New file. Generic sim_stop.
+       * sim-resume.c: New file. Generic sim_resume.
+
+       * Make-common.in (sim-engine.o): Add rule.
+       (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto.
+
+       * sim-engine.h, sim-engine.c: New file. Provide generic
+       implementation of sim_engine_halt, sim_engine_error. et.al.
+
+       * sim-base.h (sim_state_base): Add member halt.
+       (sim-engine.h): Include.
+
+       * sim-events.h (sim_event_handler): Always pass SIM_DESC to event
+       handlers.
+       * sim-events.c (sim_events_poll): Update event handler.
+
+Tue May 13 09:57:49 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * sim-events.h, sim-events.c (sim_events_watch_clock): New
+       function.
+       (sim_events_watch_sim): New function.
+       (sim_events_watch_core): New function.
+       (sim_watch_valid): New function.
+       (sim_events_preprocess): New function.
+       (sim_events_process): Process the watchpoints as well as the timer
+       queue.
+       (sim_events_tick): Check WORK_PENDING instead of the hold queue.
+       (sim_events_deschedule): Check all the queues when removing an
+       event.
+       (sim_events_init): Ditto for cleaning.
+
+Mon May 19 12:07:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (is_ufpu_number): Comment out - currently unused.
+
+Mon May 19 11:23:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * callback.c (os_open): Type of arg flags is int.
+
+Fri May 16 22:26:43 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities
+       just like normal numbers as per IEEE rules.
+
+Wed May 14 21:20:38 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * callback.c (os_close): Mark the descriptor as being
+       available if the close succeeded.
+       (os_open): Pass 0644 as the mode of the file being created.
+
+Thu May 15 10:58:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a
+       float.
+
+       * sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_.
+       * sim-lnline.h: Update.
+
+       * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp
+       conversion functions.
+       (sim_fpu_to{32,64}[iu]): New fp2int functions.
+
+       * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp
+       compare functions.  Replacing.
+       (sim_fpu_cmp): This. Delete.
+
+Mon May 12 14:49:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_find_mapping): Call engine_error not
+       sim_io_error when possible.
+
+Mon May 12 08:55:07 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * sim-endian.h (V1_H2): Add macro's to insert a word into a
+       high/low double word.
+
+       * sim-trace.h: Remove definition of attribute - defined in
+       sim_basics.h.
+
+Mon May 12 08:55:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.h (struct OPTION): Add doc_opt as the documenting
+       name of the option - or family of options.
+
+       * sim-options.c (sim_args_command): Match command `a-b c' with
+       option `--a-b-c' from option table.
+
+Thu May  8 12:40:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.c (sim_print_help): For optional arguments, wrap
+       them in [].
+
+       * sim-trace.c (set_trace_options): New function, handle optional
+       argument and multiple assignment.
+       (trace_option_handler): Update.
+
+       * sim-trace.c (trace_option_handler): Trace branch and not fpu
+       when branch tracing selected.
+
+Wed May  7 15:19:58 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (trace_one_insn): Make a va-args function.
+
+       * sim-trace.c (trace_vprintf): New function, va-arg version of
+       trace_printf.
+
+Tue May  6 16:38:16 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-trace.c (trace_uninstall): Don't close a file twice.
+       * sim-profile.c (profile_uninstall): Likewise.
+
+Tue May  6 06:14:01 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * sim-trace.c (toplevel): Include bfd.h.
+       (trace_options): Note that --trace-linenum also turns on
+       --trace-insn.  Add --trace-{branch,semantics}.
+       (trace_option_handler): If --trace-linenum, also turn on
+       --trace-insn.  Add --trace-branch support.  If --trace-semantics,
+       turn on ALU, FPU, branch, and memory tracing.
+       (trace_one_insn): New function to trace an instruction.  Support
+       --trace-linenum.
+       (OPTION_TRACE_*): Use an enum, rather than lots of defines.
+
+       * sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros.
+       (MAX_TRACE_VALUES): Use 32, not 12 by default.
+       (TRACE_branch): Add new mask.
+       (TRACE_*_P): Define all possible trace_p macros.
+       (trace_one_insn): Declare function.
+
+Mon May  5 14:08:34 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * sim-trace.h (__attribute__): Define as nothing if not GNU C or
+       GNU C doesn't support __attributes__.
+       ({trace,debug}_printf): Add attribute's so -Wformat can check the
+       format strings.
+
+Mon May  5 11:16:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.h (FORCED_ALIGNMENT): New alignment option -
+       addresses are masked forcing them to be correctly aligned.
+       (WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default.
+       * sim-config.c (config_alignment_to_a): Update.
+
+       * sim-core.h (sim_cpu_core): New data type contains cpu specific
+       core data.
+       * sim-base.h (CPU_CORE): Add cpu specific core data to cpu base
+       type.
+       * sim-core.c (sim_core_attach): Add CPU argument.  Ready for
+       processor specific core maps.
+       (sim_core_map_attach): Copy the core map data to each of the
+       processor specific core data structures.
+       * sim-core.c (sim_core_find_mapping): Update.
+
+       * sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename.
+       (sim_core_write_aligned_N, sim_core_write_aligned_N): New names.
+       (sim_core_write_unaligned_N, sim_core_write_unaligned_N): New
+       alternatives that handle unaligned addresses.
+       (sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace
+       with just CPU arg.
+       * cgen-utils.c (sim_disassemble_insn): Update.
+
+Mon May  5 13:19:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific
+       tracing.
+
+       * sim-fpu.h, sim-fpu.c: New files - prototype for generic target
+       fpu support.
+
+       * sim-inline.h, sim-inline.c: Add support for SIM_FPU.
+
+Fri May  2 17:59:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (sim_core_map_to_str): New function ascii equivalent
+       to map type.
+
+       * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace
+       statement.
+
+Fri May  2 17:28:02 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * cgen-trace.c: Prepend additional trace_printf argument.
+
+       * cgen-utils.c (sim_disassemble_insn): Add additional core
+       arguments.
+
+Fri May  2 11:40:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * nrun.c (main): Catch/report errorenous simulator states.
+
+       * sim-module.c: #include "libiberty.h" so that xmalloc is defined.
+       * sim-trace.c: #include string.h/strings.h so that memset is
+       defined.
+       * sim-utils.c: Ditto.
+       * sim-profile.c: Ditto. And stdlib.h.
+       (print_bar): Only define when used by instruction or memory profiler.
+
+       * sim-options.c (standard_option_handler): Make ul more local.
+
+       * sim-load.c (sim_load_file): Make the name constant.
+       (sim_load_file): Passify gcc.
+
+       * sim-utils.h: New file, pre-declare utilites in corresponding .c
+       file.
+       * sim-utils.c, sim-load.c: Include sim-utils.h.
+
+       * sim-base.h (sim_cpu): Pre define here so available to all.
+
+       * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N):
+       Restore the sim_cpu and instruction_address arguments so that full
+       information is available to the abort function.
+       * sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto.
+       * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
+
+       * sim-trace.h, sim-trace.c (trace_option_handler): Add interim
+       tracing support for sim-events and sim-core.
+       (trace_option_handler): Convert #if to if where possible so always
+       compiled/checked by C compiler.
+       * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
+
+       * sim-base.h: Adjust comment documenting how to define the cpu
+       structure.
+       (sim_state_base): Add sim_core and sim_events to simulator base
+       object.
+
+       * sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument.
+       * sim-core.c (sim_core_init, sim_core_attach,
+       sim_core_find_mapping): Update.
+       * sim-events.c (ETRACE, sim_events_init, sim_events_time,
+       update_time_from_event, insert_sim_event,
+       sim_events_schedule_after_signal, sim_events_deschedule,
+       sim_events_tick): Ditto.
+
+       * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h,
+       sim-model.h): Move #includes from here.
+       * sim-base.h: To here.
+       (sim-core.h, sim-events.h, sim-io.h): Include also
+
+Wed Apr 30 15:37:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * callback.c (default_callback): Missing initialisers.
+
+Thu May  1 10:40:47 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-utils.c (sim_add_commas): New function.
+       * sim-basics.h (sim_add_commas): Add prototype.
+       * cgen-scache.c (scache_print_profile): Print commas in numbers.
+       * sim-profile.c (COMMAS): New macro.
+       (print_*): Use it to print commas in numbers.
+
+       * configure: Regenerated.
+
+       * cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
+       (cgen_state): New member run_fast_p.
+       (cgen_init): Add prototype.
+       (sim_disassemble_insn): New arg `cpu'.
+       * cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
+       * cgen-utils.c (cgen_init): New function.
+       (sim_disassemble_insn): New arg `cpu'.  Rewrite fetching of insn.
+       * genmloop.sh: Call engine_halt if loop exits.
+
+       * Makefile.in (sim-options_h): Define.
+       (sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
+       (sim-model.o): Add new rule.
+       (cgen-{scache,trace,utils}.o): Add new rules.
+       * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
+       * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
+       Indent output by 2 spaces.
+       * cgen-scache.h (scache_print_profile): Update.
+       * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
+       Use trace_printf, not fprintf.
+       (trace_extract): Use trace_printf, not cgen_trace_printf.
+       * genmloop.sh (!FAST case): Increment `insn_count'.
+       * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
+       (sim_cpu_base): Rename member `sd' to `state' to be consistent with
+       access macro's name.
+       * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
+       Change return type to SIM_RC.
+       (sim_core_{install,uninstall}): New functions.
+       * sim-core.h (sim_core_{install,uninstall}): Declare.
+       (sim_core_init): Use EXTERN_SIM_CORE to define it.
+       Change return type to SIM_RC.
+       * sim-model.h (models,machs,model_install): Declare.
+       * sim-module.c (modules): Add scache_install, model_install.
+       (sim_post_argv_init): Set cpu->state backlinks.
+       * sim-options.c (standard_options): Delete --simcache-size,--max-insns.
+       (standard_option_handler): Likewise.
+       * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
+       sim-profile.h.
+       (*): Assume ANSI C.
+       (profile_options): Delete --profile-simcache.
+       (profile_option_handler): Likewise.
+       (profile_print_insn): Change `sd' arg to `cpu'.  Indent output 2
+       spaces.
+       (profile_print_{memory,model}): Likewise.
+       (profile_print_simcache): Delete.
+       (profile_print_speed): New function.
+       (profile_print): Rewrite.
+       * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
+       (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
+       (PROFILE_DATA): Delete members simcache_{hits,misses}.
+       (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
+       (PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
+       (profile_print): Update prototype.
+
+Wed Apr 30 11:34:14 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * cgen-scache.[ch], cgen-sim.h: New files.
+       * cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
+       * sim-model.c: New file.
+
+       * Make-common.in (clean targets): Undo patch of Apr. 22.
+
+Fri Apr 25 15:28:32 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * sim-n-bits.h (signed): If we have a standard compiler, undef
+       signed, so that signedN is defined correctly.
+
+Thu Apr 24 00:00:07 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-module.h, sim-model.h, sim-profile.h: New files.
+       * sim-module.c, sim-profile.c: New files.
+       * Make-common.in (SIM_PROFILE): Define
+       (CONFIG_CFLAGS): Add $(SIM_PROFILE).
+       (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
+       (sim_module.o,sim-profile.o): Add rules for.
+       * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
+       (--enable-sim-profile): Add.
+       * configure: Regenerated.
+       * sim-base.h (sim_state_base): New members init_list, uninstall_list,
+       model.  Move trace and profile support to sim-{trace,profile}.h.
+       New members trace_data, profile_data.
+       * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
+       * sim-config.h: Provide default definition of WITH_PROFILE.
+       (WITH_TRACE): Change default to -1.
+       (MAX_NR_PROCESSORS): Always define.
+       * sim-options.c: Move trace and profile support to
+       sim-{trace,profile}.h.
+       (sim_pre_argv_init): Moved to sim-model.c.
+       (standard_install): New function.
+       * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
+       (standard_install): Declare.
+       * sim-trace.c: Tracing option handling moved here from sim-options.c.
+       (trace_install, trace_uninstall): New functions.
+       (trace_printf): Update reference to TRACE_FILE.
+       * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
+       (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
+       (WITH_TRACE_FOO_P): Define.
+       (trace_install): Declare.
+       (TRACE_DATA): New struct.
+
+Wed Apr 23 17:23:15 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: Undo last exec_bfd patch.
+       (main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
+
+Wed Apr 23 17:54:27 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * run.c (exec_bfd): Add back in.
+       (main): Set exec_bfd.
+
+Tue Apr 22 14:43:46 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-load.c (sim_load_file): #include <stdio.h> for NULL.
+
+Wed Apr 23 02:55:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (insert_sim_event): Call sim_io_error instead of
+       less well defined engine_error.
+       * sim-core.c: Ditto.
+
+Tue Apr 22 08:48:16 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Make-common.in:  Change clean targets to use :: so that other
+       Makefiles can have their own clean targets.
+       * sim-load.c (xprintf eprintf):  Use ANSI_PROTOTYPES instead of
+       __STDC__ to control use of stdarg vs. varargs syntax.  Some
+       systems can't use __STDC__, but require stdarg.
+
+Fri Apr 18 11:14:43 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-options.c (standard_options): Add --endian.
+       (standard_option_handler): Likewise.
+
+       * nrun.c: #include <signal.h>.
+       (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
+       handler that calls sim_stop ().
+
+Fri Apr 18 13:11:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
+       handler that calls sim_stop ().  Simulators may still be
+       establishing their own handler.
+
+       * sim-events.c (sim_events_poll): Rename from
+       sim_events_at_large_int.  Poll IO.
+
+       * sim-io.c (sim_io_poll_quit): New function - pass on a polling
+       request.
+
+       * callback.c (os_poll_quit): New function poll for quit signal
+       where needed.
+       (default_callback): Include magic number.
+
+Thu Apr 17 02:25:11 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
+       Check for functions getrusage, time.
+       * sim-basics.h (SIM_ELAPSED_TIME): New typedef.
+       (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
+       * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
+       (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
+
+       * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
+
+       * sim-options.c, sim-options.h: New files.
+       * sim-config.h (WITH_DEBUG): Provide default value of zero.
+       * Make-common.in (nrun.o): Add rules for.
+       * nrun.c: New file.
+
+       * run.c (main): Check return value of sim_open.
+
+       * Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
+       (sim_main_headers): Add sim-trace.h.
+       * run.c (exec_bfd, target_byte_order): Delete.
+       (main): Pass -E <endian> to sim_open.  Delete code to load sections,
+       call sim_load instead.  Check return code of sim_create_inferior.
+       * sim-base.h (CURRENT_STATE): Define.
+       (sim_state_base): Make typedef.  New members options, prog_argv,
+       prog_bfd, text_{section,start,end}, start_addr, simcache_size,
+       mem_size, memory [+ corresponding access macros].
+       (sim_cpu_base): New typedef.
+       * sim-trace.h: New file.
+       * sim-trace.c: New file.
+       * sim-basics.h: #include it.
+       * sim-load.c: New file.
+
+Tue Apr 15 15:10:13 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Make-common.in (INSTALL): Set to @INSTALL@.
+       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+       (install-common): Depend upon installdirs.  Use
+       $(program_transform_name) directly, rather than using
+       $(INSTALL_XFORM).
+       (installdirs): New target.
+       * Makefile.in (INSTALL): Set to @INSTALL@.
+       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+       (install-man): Depend upon installdirs.  Use
+       $(program_transform_name) directly, rather than using
+       $(INSTALL_XFORM).
+       (installdirs): New target.
+
+Tue Apr 15 15:08:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
+       be overriden.
+
+Wed Apr  9 16:06:44 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-basics.h: Only bring in config.h and tconfig.h if
+       HAVE_CONFIG_H.
+
+Mon Apr  7 11:39:45 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
+       numbering convention of the target.
+       * sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
+       and WITH_TARGET_WORD_MSB.
+       (sim_config): When possible, check for consistency with bitsize
+       and msb.
+
+       * sim-bits.h: Allow MSB to be other than zero.
+       * sim-bits.c: Ditto.
+       * sim-n-bits.h: Ditto.
+
+       * sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
+       * sim-n-bits.h (MSMASKEDn): Ditto.
+
+Mon Apr 14 16:29:21 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (INSTALL): Change install.sh to install-sh.
+
+Mon Apr  7 10:46:38 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-base.h (sim_state_base): Move `magic' to end of struct.
+
+Mon Apr  7 15:53:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * run.c (main): Check that a program to run was specified.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * aclocal.m4 (AC_TYPE_SIGNAL): Add check.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
+       * sim-config.h: To here.
+
+       * Make-common.in (SIM_EXTRA_DEPS): New config var.
+       (sim_main_headers): Define.
+       (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
+       (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
+       (clean): Use it.
+       (sim-utils.o): Add rule for.
+       * sim-utils.o: New file.
+       * sim-basics.h: #include sim-base.h.
+       (zalloc): Make argument unsigned long.
+       * sim-base.h: New file.
+       * sim-inline.h (SIM_IO support): Delete.
+       * sim-io.h: Delete inline support.
+       * sim-io.c: Likewise.  sim-state.h renamed to sim-main.h.
+       * sim-config.c: sim-state.h renamed to sim-main.h.
+       * sim-core.c: Likewise.
+       * sim-events.c: Likewise.
+
+       * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
+
+       * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
+       (sim-debug): Allow arguments.  Define WITH_DEBUG in addition to
+       -DDEBUG.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 11:08:11 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
+       WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
+       are defined by the configure.
+
+       * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
+
+       * aclocal.m4 (floating-point, xor-endian, alignment, smp,
+       reserved-bits): Always define.
+
+       * sim-config.h, sim-config.c (sim_config): New function - and new
+       file - co-ordinate the setting/checking of the common simulator
+       configuration options.
+
+       * Make-common.in (sim-config.o): Add rule.
+
+Fri Mar 28 15:32:00 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * callback.c (os_{,e}vprintf_filtered): Change stdarg type to
+       va_list from void *, since va_list might not be a pointer type.
+
+Mon Mar 24 15:27:12 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-n-endian.h (offset_N): Correct assertion - word and sub word
+       in wrong order.
+       (offset_N): Correct computation of LE offset.
+
+       * sim-io.c (sim_io_error): Include a new line when reporting
+       errors.
+
+       * sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
+       `/'.
+
+Thu Mar 20 22:31:06 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * run.c: Include alloca-conf.h.
+
+       * callback.c (os_evprintf_filtered): Fix typo.
+
+Fri Mar 21 13:36:20 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * run.c (string.h, strings.h, stdlib.h): Include.
+
+       * sim-events.c (sim_events_tick): Recent cleanup failed to return
+       0 when nothing pending.
+
+       * run.c (sim_size, sim_trace): Plicate GCC - these two functions
+       will soon be going away.
+       (getopt): Plicate GCC.
+
+       * sim-endian.c (sim-io.h): Plicate GCC.
+       * sim-bits.c (sim-io.h): Ditto.
+       * sim-n-bits.h (ROTn): Ditto.
+
+       * sim-io.c (sim_io_error): Correct check for NULL.
+
+       * sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
+       the __FILE__.
+       * sim-events.c: Use SIM_FILTER_PATH to filter out the filename
+       path.
+
+Wed Mar 19 01:12:06 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
+       SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
+
+Tue Mar 18 20:48:12 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-alu.h: Include sim-xcat.h.
+
+Tue Mar 18 13:58:18 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
+       sim-events.c, sim-inline.c, sim-io.c): Define rules for building
+       these.
+
+       * sim-events.c (sim_events_at_large_int): New function.  Just
+       schedules an event every large-int ticks.
+       (sim_events_init): Call.
+       (sim_events_tick, sim_events_process): Move async handing to
+       sim_events_process.  Move timer decrement so that it occures after
+       events have been processed.
+
+       * sim-basics.h (struct _engine): Remove declaration.
+
+       * sim-events.h, sim-events.c: Rename type to sim_events.  Prefix
+       everything with same.  Rename global struct to SIM_DESC.
+       * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
+       * sim-io.h, sim-io.c: Ditto.
+
+       * sim-assert.h: New file. Optional assertion checking macros.
+       * sim-io.c (sim_io_error): Make just this function tolerant to
+       null pointers.
+
+       * sim-xcat.h: New file. Define concatenate macros.
+       * sim-basics.h (XCONCAT*): Move to sim-xcat.h.
+       * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
+       concat macros.
+
+
+Tue Mar 18 12:44:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-bits.h (LSMASK): New macro. Create mask of LS bits.
+
+Mon Mar 17 18:10:05 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-inline.h: Add definitions for sim-types.
+       (ALL_BY_MODULE): New macro, encapsulate full inlining by the
+       module.
+
+Mon Mar 17 15:38:27 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-events.h: Remove defunct reference to callback struct.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Mon Mar 17 15:04:47 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Make-common.in (CSEARCH): Do not include the gdb directory in
+       the search path.
+
+Mon Mar 17 13:16:26 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
+       SIM_WARNING): Drop, requiring the simulator specific Makefile.in
+       to explicitly incorporate these.
+
+       * aclocal.m4 (--enable-sim-alignment); New option. Strongly
+       specify the alignment restrictions of the target architecture -
+       without this option all alignment restrictions are accomodated.
+       (--enable-sim-assert): New option.  Conditionally compile in
+       assertion statements.
+       (--enable-sim-float): New option. Strongly specify the target's
+       floating point support.
+       (--enable-sim-hardware): New option.  Specify the hardware devices
+       included in the simulation.
+       (--enable-sim-packages): New option.  Specify the hardware
+       packages included in the simulation.
+       (--enable-sim-regparm): New option.  Specify that parameters be
+       passed in registers instead of on the stack.
+       (--enable-sim-reserved-bits): New option. Specify that reserved
+       bits within an instruction are are correctly set.
+       (--enable-sim-smp): New option. Specify the level of SMP support
+       to be included in the simulator.
+       (--enable-sim-stdcall): New option.  Specify an alternative
+       function call convention.
+       (--enable-sim-xor-endian): New option.  Configure xor-endian
+       support used by some targets to implement bi-endian support.
+
+Fri Mar 14 19:51:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * aclocal.m4 (--enable-sim-hostendian): New option.  Allow the
+       host endianness to be overridden.
+       (--enable-sim-endian): Allow the target platform's byte order
+       to be overridden.
+       (--enable-sim-inline): Control the inlining of common components.
+       (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
+       (--enable-sim-warnings): Enable additional GCC compiler checks.
+       * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
+       SIM_WARNINGS): Add.
+
+       * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
+       sim-*-n.h so that the names are uniq on dos machines
+       * sim-core.c, sim-bits.c, sim-endian.c: Update.
+
+Thu Mar 13 12:32:42 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: #include "libiberty.h".
+       (main): New locals sd,no_args,sim_argv.
+       Run buildargv on -a option.  Pass argv to sim_open, argv[0]
+       is program name.  Update call to sim_set_callbacks.
+       Record result of sim_open, pass to other sim_foo routines.
+
+Thu Mar 13 10:24:05 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * callback.c (os_printf_filtered): Do not call exit(1) or print a
+       final newline.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
+       Route stdout through buffered IO.
+
+       * callback.c: Add os_flush_stderr, os_write_stderr,
+       os_evprintf_filtered functions to route error output through
+       stderr.
+
+       * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
+       Correct return type - should be void.
+
+Fri Mar  7 20:14:37 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-basics.h: Clean up.  Many macro's moved to sim-inline.h.
+
+       * sim-config.h: Ditto.  For some options - eg WITH_DEVICES - do
+       not provide a default value as undefined indicates disable code.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
+       directory.
+       * sim-events.h, sim-events.c: Ditto.
+       * sim-io.h, sim-io.c: Ditto.
+
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
+
+       * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
+       extract the tail or least signifiant bits from an integer of the
+       specified size.
+
+       * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
+       WITH_TARGET_BITSIZE so that the compilation will fail when an
+       unsupported bitsize value is defined.
+
+       (INSERTED*): Convert to functions.
+       (EXTRACTED*): Ditto.
+
+       (SIGN_EXTEND, SEXT): Change to more terse name.
+
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-inline.h: Allow explicit control over which .c files will be
+       included by their header.
+
+       * sim-inline.h: Allow explicit control over which .c files use the
+       alternative - REGPARM - parameter passing mechanism.
+
+       * sim-inline.h, sim-inline.c: Don't attempt to include any of
+       icache.c, idecode.c, semantics.c or support.c.  Those names are
+       not generally applicable.
+
+Thu Feb 27 10:17:23 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
+       in a fashion similar to sim-endian-n.
+
+       * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
+       both value and address macro's.
+
+Tue Feb 25 18:51:57 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
+
+       * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
+       generic L_word, H_word macro's.
+
+Thu Feb 20 18:36:55 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-basics.h: Borrow code from ppc directory.
+       * sim-bits.c: Ditto.
+       * sim-bits.h: Ditto.
+       * sim-config.h: Ditto.
+       * sim-endian-n.h: Ditto.
+       * sim-endian.c: Ditto.
+       * sim-endian.h: Ditto.
+       * sim-inline.c: Ditto.
+       * sim-inline.h: Ditto.
+       * sim-types.h: Ditto.
+
+Wed Feb 19 12:40:50 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
+       all the ALU size alternatives and then auto-configure a default.
+
+       * sim-alu.h: Copy ppc/idecode_expression.h.
+
+Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
+       sign extend a bit within a value.
+
+       * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
+       a pointer into the middle of a host word.
+       * sim-endian.h (MS2W_4, LS2W_4): Use this function.
+
+Tue Feb 11 13:46:49 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * callback.c: If HAVE_CONFIG_H is defined, include config.h from
+       autoconf.  If HAVE_UNISTD_H is defined, include unistd.h to get
+       appropriate definitions of read, write, etc.  Add prototype for
+       system.
+
+Tue Feb  4 13:24:44 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (libcommon.a): Delete.
+       (callback.o,targ-map.o): Delete, moved to Make-common.in.
+       (gentmap,targ-vals.h,targ-map.c): Likewise.
+       (run-autoconf): Delete.
+       * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
+       (common makefile fragment): Moved back into ...
+       * Make-common.in: Resurrect.
+       * configure.in (AC_LINK_FILES): Delete, unnecessary now.
+       * configure: Regenerated.
+
+Fri Jan 31 07:16:49 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
+       (SIM_AC_OUTPUT): To here.
+
+Fri Jan 24 10:37:17 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aclocal.m4 (COMMON_MAKEFILE_FRAG):  Quote a couple of $'s in
+       comments and single quotes.  Fixes a problem found on hpux.
+
+Thu Jan 23 13:35:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aclocal.m4:  Remove Make-common.in from dependencies.
+       * (distclean):  Remove targ-vals.def.
+
+       * aclocal.m4 (SIM_AC_COMMON):  Move contents of Make-common.in
+       into here.  Makes insertion into makefiles easier.  Also, change
+       the way that callback.o, gentmap, targ-vals.h, targ-map.c,
+       targ-map.o, and run are built.  They are now built in the
+       individual simulator directories, taking sources from ../common as
+       necessary.  This replaces the merging of libcommon.a into
+       linsim.a, which was problematic for the WinGDB build process.
+       * run.c:  Include config.h from . instead of ../common.
+       * Make-common.in:  Remove.  It's no longer necessary.
+
+Mon Dec 16 15:02:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
+       (.c.o): Put $(ALL_CFLAGS) before the file being compiled.
+
+Wed Dec 11 11:30:58 1996  Jim Wilson  <wilson@cygnus.com>
+
+       * run.c (main): Set target_byte_order before call to sim_open.
+
+Sun Dec  8 18:22:06 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * callback.c: #include <stdlib.h>
+       (os_error): New function.
+       (default_callback): Add os_error.
+
+Mon Nov 25 19:44:35 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Make-common.in (Makefile): Set CONFIG_HEADERS="".
+       * aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
+       specific.
+       (SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
+
+Wed Nov 20 01:11:04 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: #include ../common/config.h, tconfig.h.
+       (myname): New static global.
+       (main): Recognize new options -a, -c.  Also recognize -h if h8/300.
+       Only process -c ifdef SIM_HAVE_SIMCACHE.
+       Only process -p/-s ifdef SIM_HAVE_PROFILE.
+       Parse program name from argv[0] and use in error messages.
+       Pass sim_args to sim_open.  Pass prog_args to sim_create_inferior.
+       Add support for incomplete h8/300 termination indicators.
+       (usage): Make more verbose.
+       * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
+       * Makefile.in,Make-common.in,callback.c: New files.
+       * nltvals.def,gentmap.c,gentvals.sh: New files.
+
+Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
+
+       * run.c: Include stdarg.h if __STDC__.
+
+Tue Oct 15 11:16:31 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * run.c (main): Don't print out anything if the signal
+       number is zero (ie no signal).
+
+Tue Oct 15 11:20:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * run.c (main): Print out if the program raised a signal.
+
+Wed Sep 18 09:52:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
+       (main): Ditto.
+
+Tue Sep 17 11:04:50 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * run.c (main): Explicitly cast malloc() parameter.
+
+Thu Sep 12 11:27:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * run.c (sim_bfd): New global to hold the bfd pointer for the
+       executable.
+       (main): Initialize sim_bfd.
+
+Fri Dec 15 16:27:49 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * run.c (main): Use new bfd_big_endian macro.
+
+Wed Nov  8 15:49:49 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
+
+       * run.c (main): Removed SH specific comments, so source is
+       generic. Also updated to only load relevant sections. Moved
+       sim_open() to after callback attach (to match GDB).
+
+       * run.1: Removed SH specific comments.
+
+Sat Oct 21 12:31:01 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * run.c (main): Always return sigrc at end.
+
+Tue Oct 10 12:03:13 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * run.c (main): Print error diagnostic and exit if bfd_openr() or
+       bfd_check_format() fails.
+
+Thu Sep 28 15:40:36 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * run.c, run.1: From sh directory.
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
deleted file mode 100644 (file)
index a8deb87..0000000
+++ /dev/null
@@ -1,698 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-       * simops.c: Likewise.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h: Delete config.h include.
-       * gencode.c: Replace config.h include with defs.h.
-       (write_template): Output defs.h include.
-       (write_opcodes): Likewise.
-       * interp.c: Replace config.h include with defs.h.
-       * simops.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Update path.
-       * cr16_sim.h: Update include path.
-       * interp.c: Likewise.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Use BFD_VMA_FMT and drop cast.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * simops.c: Update includes.
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): New variable.
-       (simops.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Use PRIx64 to match mcode type.  Skip the
-       current simop when it doesn't match a known hash table.
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o, cr16-opc.o): Call COMPILE_FOR_BUILD.
-       (gencode): Call LINK_FOR_BUILD.
-
-2021-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode): Delete $(BUILD_LIB).
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * simops.c: Delete HAVE_STRING_H & HAVE_TIME_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h (State): Change to an extern.
-       * interp.c (State): Define.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (cris_option_install): Delete.
-       (sim_open): Call sim_add_option_table.
-       * tconfig.h: Delete sim-module.h include.
-       (MODULE_INSTALL_FN, MODULE_LIST): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h (cr16_callback): Delete.
-       * interp.c (cr16_callback): Delete.
-       (do_run): Delete cr16_callback.  Replace
-       cr16_callback->printf_filtered with sim_io_printf.
-       (sim_open): Delete cr16_callback assignment.
-       (step_once, sim_create_inferior): Replace
-       cr16_callback->printf_filtered with sim_io_printf.
-       * simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
-       do_trace_output_finish, trace_output_40, trace_output_32,
-       trace_output_16, trace_output_void, trace_output_flag): Replace
-       cr16_callback->printf_filtered with sim_io_printf and
-       cr16_callback->flush_stdout with sim_io_flush_stdout.
-       (OP_14C_14): Likewise.  Rename cr16_callback to cb.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
-       sim-stop.o.
-       * cr16_sim.h (struct _state): Delete exe and exception.
-       * interp.c (lookup_hash): Call sim_engine_halt instead of setting
-       State.exception.
-       (do_run): Delete unused s and func variables.
-       (stop_simulator, sim_stop, sim_stop_reason): Delete.
-       (sim_resume): Rename to ...
-       (step_once): ... this.  Delete State.exception code and move
-       siggnal checking to sim_engine_run.
-       (sim_engine_run): New function.
-       * simops.c (EXCEPTION): Define.
-       (move_to_cr): Call EXCEPTION instead of setting State.exception.
-       (OP_1_4, OP_18_8, OP_10_10, OP_C0_8, OP_102_14, OP_148_14, OP_D_C,
-       OP_14_D, OP_15_D, OP_2C00_10, OP_16_D, OP_17_D, OP_31E_10, OP_6_10):
-       Likewise.
-       (OP_C_C): Likewise.  Call sim_engine_halt instead of setting
-       State.exception.
-       (OP_0_20): Call sim_engine_halt instead of setting State.exception.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete endian.o.
-       (INCLUDE): Delete endian.c.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Declare little endian.
-       (SIM_AC_OPTION_ALIGNMENT): release unaligned loads.
-       * configure: Regenerate.
-       * cr16_sim.h (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE,
-       IMEM_SEGMENTS, DMEM_SEGMENTS, UMEM_SEGMENTS, cr16_memory, dmem_addr,
-       imem_addr, decode_pc, get_longword, get_word, write_word,
-       write_longword, READ_16): Delete.
-       (struct _state): Delete mem member.
-       (endian.c): Delete include.
-       (SB, RB, SW, RW, SLW): Rewrite to use sim-core functions.
-       (get_longword): New function.
-       (RLW): Rewrite to use get_longword.
-       * endian.c: Delete file.
-       * interp.c (map_memory, sim_size, last_segname, last_from, last_to,
-       IMAP0_OFFSET, DMAP0_OFFSET, DMAP2_SHADDOW, DMAP2_OFFSET,
-       dmap_register, imap_register, sim_cr16_translate_dmap_addr,
-       sim_cr16_translate_imap_addr, sim_cr16_translate_addr, map_memory,
-       xfer_mem, sim_write, sim_read, dmem_addr, imem_addr): Delete.
-       (do_run): Delete iaddr and replace imem_addr/get_longword with RW.
-       (sim_open): Call sim_do_commandf.  Delete sim_size call.
-       (sim_resume): Delete iaddr and replace imem_addr/get_longword with
-       RLW.
-       * simops.c (MEMPTR): Rewrite to use sim_core_trans_addr.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
-       (SET_CREG, SET_HW_CREG, SET_PSR_BIT): Pass sd and cpu to move_to_cr.
-       (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
-       (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
-       * endian.c: Change cr16_sim.h include to sim-main.h.
-       * gencode.c: Likewise.  Add SIM_DESC and SIM_CPU args to all OPs.
-       * interp.c (lookup_hash, map_memory, do_run, dmap_register,
-       imap_register, sim_cr16_translate_dmap_addr, xfer_mem,
-       sim_cr16_translate_imap_addr, sim_cr16_translate_addr): Add
-       SIM_DESC and SIM_CPU args and adjust all callers.
-       (trace_sd): Delete.
-       (sim_open): Do not assign trace_sd.
-       (sim_resume, sim_create_inferior): Set up cpu from the first one
-       in sd.
-       (cr16_reg_store): Get sim state from cpu.
-       * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
-       (trace_input_func, trace_input, do_trace_output_finish,
-       do_trace_output_finish, trace_output_40, trace_output_32,
-       trace_output_16, trace_output_void, trace_output_flag): Add
-       SIM_DESC arg.
-       (trace_input_func): Likewise.  Change trace_sd to sd.
-       (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h (get_longlong, write_longlong, WRITE_16, READ_64,
-       WRITE_64): Delete.
-       * endian.c (get_longlong, write_longlong): Likewise.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reg.o.
-       * interp.c (cr16_reg_fetch, cr16_reg_store): Add prototypes.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (cr16_extract_unsigned_integer, cr16_store_unsigned_integer):
-       New helper functions.
-       (sim_fetch_register): Rename to ...
-       (cr16_reg_fetch): ... this.  Use cr16_store_unsigned_integer
-       to write out the updated register values.
-       (sim_store_register): Rename to ...
-       (cr16_reg_store): ... this.  Use cr16_extract_unsigned_integer
-       to read in the updated register values.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete sim_create_inferior call.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-11-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_cr16_translate_dmap_addr): Mark static.
-       (sim_cr16_translate_imap_addr): Likewise.
-       (sim_cr16_translate_addr): Likewise.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (cr16_pc_get, cr16_pc_set): New functions.
-       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_set_profile, sim_set_profile_size): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (simops.o): New rule.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
-       (SEXT8, SEXT16, SEXT32): Undefine.
-       * interp.c: Delete run-sim.h and cr16_sim.h includes.  Include
-       sim-main.h and sim-options.h.
-       (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
-       text, text_start, text_end, decode_pc, sim_set_profile,
-       sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
-       sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
-       (do_run): Delete prototype.
-       (INLINE): Delete define.
-       (do_run, xfer_mem): Pass in SIM_DESC.  Set cr16_callback locally from
-       it.
-       (sim_size): Mark static.
-       (sim_write, sim_read): Pass sd to xfer_mem.
-       (free_state): New function.
-       (trace_sd): Declare global variable.
-       (sim_open): Rewrite to use new common logic.
-       (sim_close): Delete body.
-       (sim_resume): Pass sd to do_run.
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * sim-main.h: New file.
-       * simops.c: Change cr16_sim.h include to sim-main.h.
-       (trace_input_func): Rewrite pc checks to use trace_sd.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
-       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
-       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
-       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (old_segment_mapping, ins_type_counters, add_commas,
-       set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
-       spu_register, spi_register, set_spi_register, set_spu_register):
-       Delete.
-       (sim_cr16_translate_addr): Delete old_segment_mapping handling.
-       (sim_open): Likewise.
-       (sim_info): Delete function body.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
-       (gencode): Add $(BUILD_LDFLAGS).
-       * endian.c (get_word, get_longword, get_longlong, write_word,
-       write_longword, write_longlong): Convert old style prototypes.
-       * gencode.c: Include string.h.
-       (write_header): Convert old style prototype and fix printf format.
-       (write_template, write_opcodes): Likewise.
-       (check_opcodes): Mark static void and put behind #if 0.
-       * interp.c: Include inttypes.h and run-sim.h.
-       (add_commas): Delete prototype.
-       (decode_pc): Convert old style prototype.
-       (do_run): Change h->op compare to 0.
-       (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
-       HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
-       set_spu_register): Wrap in #if 0.
-       (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
-       sim_stop_reason, sim_fetch_register, sim_store_register,
-       sim_do_command): Convert old style prototypes.
-       (sim_create_inferior): Fix pointer cast to use uintptr_t.
-       * simops.c [HAVE_TIME_H]: Include time.h.
-       [HAVE_SYS_TIME_H]: Include sys/time.h.
-       [TARGET_SYS_utime]: Include utime.h.
-       [TARGET_SYS_wait]: Include sys/wait.h.
-       (strrchr): Delete prototype.
-       (cond_stat): Mark static.
-       (trace_input_func): Mark name static.
-       (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
-       (trace_output_40): Wrap in #if 0.
-       (OP_*): Convert old style prototypes.  Move trace_input call below
-       all variable decls.  Initialize tmp to 0 when appropriate.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
-       (interp.o, simops.o, endian.o, table.o): Delete rules.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
-       SIM_AC_OPTION_INLINE.
-       * config.in, configure: Regenerate.
-       * interp.c (sim_trace): Define.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Add
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2012-08-28  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
-
-       * cr16_sim.h: Add defines for TRAP handling.
-       * interp.c (sim_complete_command): New stub function.
-       * simops.c: Breakpoint handling code.
-
-2012-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include config.h first.  Also include stdlib.h and
-       string.h so we can drop the sysdep.h include.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/12862
-       * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
-       TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
-       are defined.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-       * interp.c (hash): Remove incorrect prototype.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2008-05-02  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * interp.c: Update the machine code decode algorithm using hash table.
-       * Makefile.in, cr16_sim.h, gencode.c and  simops.c: Update for typos
-       and coding standards.
-
-2008-02-12  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
-       gencode.c, interp.c, simops.c, endian.c: Created.
diff --git a/sim/cr16/ChangeLog-2021 b/sim/cr16/ChangeLog-2021
new file mode 100644 (file)
index 0000000..a8deb87
--- /dev/null
@@ -0,0 +1,698 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+       * simops.c: Likewise.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h: Delete config.h include.
+       * gencode.c: Replace config.h include with defs.h.
+       (write_template): Output defs.h include.
+       (write_opcodes): Likewise.
+       * interp.c: Replace config.h include with defs.h.
+       * simops.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Update path.
+       * cr16_sim.h: Update include path.
+       * interp.c: Likewise.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Use BFD_VMA_FMT and drop cast.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * simops.c: Update includes.
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): New variable.
+       (simops.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Use PRIx64 to match mcode type.  Skip the
+       current simop when it doesn't match a known hash table.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o, cr16-opc.o): Call COMPILE_FOR_BUILD.
+       (gencode): Call LINK_FOR_BUILD.
+
+2021-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode): Delete $(BUILD_LIB).
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * simops.c: Delete HAVE_STRING_H & HAVE_TIME_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h (State): Change to an extern.
+       * interp.c (State): Define.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (cris_option_install): Delete.
+       (sim_open): Call sim_add_option_table.
+       * tconfig.h: Delete sim-module.h include.
+       (MODULE_INSTALL_FN, MODULE_LIST): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h (cr16_callback): Delete.
+       * interp.c (cr16_callback): Delete.
+       (do_run): Delete cr16_callback.  Replace
+       cr16_callback->printf_filtered with sim_io_printf.
+       (sim_open): Delete cr16_callback assignment.
+       (step_once, sim_create_inferior): Replace
+       cr16_callback->printf_filtered with sim_io_printf.
+       * simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
+       do_trace_output_finish, trace_output_40, trace_output_32,
+       trace_output_16, trace_output_void, trace_output_flag): Replace
+       cr16_callback->printf_filtered with sim_io_printf and
+       cr16_callback->flush_stdout with sim_io_flush_stdout.
+       (OP_14C_14): Likewise.  Rename cr16_callback to cb.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
+       sim-stop.o.
+       * cr16_sim.h (struct _state): Delete exe and exception.
+       * interp.c (lookup_hash): Call sim_engine_halt instead of setting
+       State.exception.
+       (do_run): Delete unused s and func variables.
+       (stop_simulator, sim_stop, sim_stop_reason): Delete.
+       (sim_resume): Rename to ...
+       (step_once): ... this.  Delete State.exception code and move
+       siggnal checking to sim_engine_run.
+       (sim_engine_run): New function.
+       * simops.c (EXCEPTION): Define.
+       (move_to_cr): Call EXCEPTION instead of setting State.exception.
+       (OP_1_4, OP_18_8, OP_10_10, OP_C0_8, OP_102_14, OP_148_14, OP_D_C,
+       OP_14_D, OP_15_D, OP_2C00_10, OP_16_D, OP_17_D, OP_31E_10, OP_6_10):
+       Likewise.
+       (OP_C_C): Likewise.  Call sim_engine_halt instead of setting
+       State.exception.
+       (OP_0_20): Call sim_engine_halt instead of setting State.exception.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete endian.o.
+       (INCLUDE): Delete endian.c.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Declare little endian.
+       (SIM_AC_OPTION_ALIGNMENT): release unaligned loads.
+       * configure: Regenerate.
+       * cr16_sim.h (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE,
+       IMEM_SEGMENTS, DMEM_SEGMENTS, UMEM_SEGMENTS, cr16_memory, dmem_addr,
+       imem_addr, decode_pc, get_longword, get_word, write_word,
+       write_longword, READ_16): Delete.
+       (struct _state): Delete mem member.
+       (endian.c): Delete include.
+       (SB, RB, SW, RW, SLW): Rewrite to use sim-core functions.
+       (get_longword): New function.
+       (RLW): Rewrite to use get_longword.
+       * endian.c: Delete file.
+       * interp.c (map_memory, sim_size, last_segname, last_from, last_to,
+       IMAP0_OFFSET, DMAP0_OFFSET, DMAP2_SHADDOW, DMAP2_OFFSET,
+       dmap_register, imap_register, sim_cr16_translate_dmap_addr,
+       sim_cr16_translate_imap_addr, sim_cr16_translate_addr, map_memory,
+       xfer_mem, sim_write, sim_read, dmem_addr, imem_addr): Delete.
+       (do_run): Delete iaddr and replace imem_addr/get_longword with RW.
+       (sim_open): Call sim_do_commandf.  Delete sim_size call.
+       (sim_resume): Delete iaddr and replace imem_addr/get_longword with
+       RLW.
+       * simops.c (MEMPTR): Rewrite to use sim_core_trans_addr.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
+       (SET_CREG, SET_HW_CREG, SET_PSR_BIT): Pass sd and cpu to move_to_cr.
+       (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
+       (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
+       * endian.c: Change cr16_sim.h include to sim-main.h.
+       * gencode.c: Likewise.  Add SIM_DESC and SIM_CPU args to all OPs.
+       * interp.c (lookup_hash, map_memory, do_run, dmap_register,
+       imap_register, sim_cr16_translate_dmap_addr, xfer_mem,
+       sim_cr16_translate_imap_addr, sim_cr16_translate_addr): Add
+       SIM_DESC and SIM_CPU args and adjust all callers.
+       (trace_sd): Delete.
+       (sim_open): Do not assign trace_sd.
+       (sim_resume, sim_create_inferior): Set up cpu from the first one
+       in sd.
+       (cr16_reg_store): Get sim state from cpu.
+       * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
+       (trace_input_func, trace_input, do_trace_output_finish,
+       do_trace_output_finish, trace_output_40, trace_output_32,
+       trace_output_16, trace_output_void, trace_output_flag): Add
+       SIM_DESC arg.
+       (trace_input_func): Likewise.  Change trace_sd to sd.
+       (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h (get_longlong, write_longlong, WRITE_16, READ_64,
+       WRITE_64): Delete.
+       * endian.c (get_longlong, write_longlong): Likewise.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reg.o.
+       * interp.c (cr16_reg_fetch, cr16_reg_store): Add prototypes.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (cr16_extract_unsigned_integer, cr16_store_unsigned_integer):
+       New helper functions.
+       (sim_fetch_register): Rename to ...
+       (cr16_reg_fetch): ... this.  Use cr16_store_unsigned_integer
+       to write out the updated register values.
+       (sim_store_register): Rename to ...
+       (cr16_reg_store): ... this.  Use cr16_extract_unsigned_integer
+       to read in the updated register values.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete sim_create_inferior call.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-11-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_cr16_translate_dmap_addr): Mark static.
+       (sim_cr16_translate_imap_addr): Likewise.
+       (sim_cr16_translate_addr): Likewise.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (cr16_pc_get, cr16_pc_set): New functions.
+       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_set_profile, sim_set_profile_size): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (simops.o): New rule.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
+       (SEXT8, SEXT16, SEXT32): Undefine.
+       * interp.c: Delete run-sim.h and cr16_sim.h includes.  Include
+       sim-main.h and sim-options.h.
+       (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
+       text, text_start, text_end, decode_pc, sim_set_profile,
+       sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
+       sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
+       (do_run): Delete prototype.
+       (INLINE): Delete define.
+       (do_run, xfer_mem): Pass in SIM_DESC.  Set cr16_callback locally from
+       it.
+       (sim_size): Mark static.
+       (sim_write, sim_read): Pass sd to xfer_mem.
+       (free_state): New function.
+       (trace_sd): Declare global variable.
+       (sim_open): Rewrite to use new common logic.
+       (sim_close): Delete body.
+       (sim_resume): Pass sd to do_run.
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * sim-main.h: New file.
+       * simops.c: Change cr16_sim.h include to sim-main.h.
+       (trace_input_func): Rewrite pc checks to use trace_sd.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
+       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
+       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
+       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (old_segment_mapping, ins_type_counters, add_commas,
+       set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
+       spu_register, spi_register, set_spi_register, set_spu_register):
+       Delete.
+       (sim_cr16_translate_addr): Delete old_segment_mapping handling.
+       (sim_open): Likewise.
+       (sim_info): Delete function body.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
+       (gencode): Add $(BUILD_LDFLAGS).
+       * endian.c (get_word, get_longword, get_longlong, write_word,
+       write_longword, write_longlong): Convert old style prototypes.
+       * gencode.c: Include string.h.
+       (write_header): Convert old style prototype and fix printf format.
+       (write_template, write_opcodes): Likewise.
+       (check_opcodes): Mark static void and put behind #if 0.
+       * interp.c: Include inttypes.h and run-sim.h.
+       (add_commas): Delete prototype.
+       (decode_pc): Convert old style prototype.
+       (do_run): Change h->op compare to 0.
+       (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
+       HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
+       set_spu_register): Wrap in #if 0.
+       (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
+       sim_stop_reason, sim_fetch_register, sim_store_register,
+       sim_do_command): Convert old style prototypes.
+       (sim_create_inferior): Fix pointer cast to use uintptr_t.
+       * simops.c [HAVE_TIME_H]: Include time.h.
+       [HAVE_SYS_TIME_H]: Include sys/time.h.
+       [TARGET_SYS_utime]: Include utime.h.
+       [TARGET_SYS_wait]: Include sys/wait.h.
+       (strrchr): Delete prototype.
+       (cond_stat): Mark static.
+       (trace_input_func): Mark name static.
+       (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
+       (trace_output_40): Wrap in #if 0.
+       (OP_*): Convert old style prototypes.  Move trace_input call below
+       all variable decls.  Initialize tmp to 0 when appropriate.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
+       (interp.o, simops.o, endian.o, table.o): Delete rules.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
+       SIM_AC_OPTION_INLINE.
+       * config.in, configure: Regenerate.
+       * interp.c (sim_trace): Define.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Add
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2012-08-28  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * cr16_sim.h: Add defines for TRAP handling.
+       * interp.c (sim_complete_command): New stub function.
+       * simops.c: Breakpoint handling code.
+
+2012-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include config.h first.  Also include stdlib.h and
+       string.h so we can drop the sysdep.h include.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/12862
+       * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
+       TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
+       are defined.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+       * interp.c (hash): Remove incorrect prototype.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2008-05-02  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * interp.c: Update the machine code decode algorithm using hash table.
+       * Makefile.in, cr16_sim.h, gencode.c and  simops.c: Update for typos
+       and coding standards.
+
+2008-02-12  M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
+       gencode.c, interp.c, simops.c, endian.c: Created.
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
deleted file mode 100644 (file)
index 0f71a61..0000000
+++ /dev/null
@@ -1,1079 +0,0 @@
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (cris_sim_machs): ... this.
-       * sim-if.c (cris_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (stamp-v10fcpu): Do not insert cgen-ops.h include.
-       (stamp-v32fcpu): Likewise.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpuv10.c (crisv10f_record_trace_results): Delete function.
-       * cpuv32.c (crisv32f_record_trace_results): Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * decodev10.c: Include cgen-mem.h.
-       * decodev32.c: Likewise.
-
-2021-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * cris-sim.h (cris_bmod_handler): Delete.
-       * traps.c (cris_dump_map): New prototype.
-       (cris_bmod_handler): Delete.
-       (h_supr_set_handler): Likewise.
-       (h_supr_get_handler): Likewise.
-
-2021-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (cris_getpid): New function.
-       (cris_set_callbacks): Assign cris_getpid.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c: Include sim-hw.h.
-       (cris_write_interp): Change buf to const.
-       (sim_open): Cast sp_init to unsigned char *.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (dump_statistics): Clean up sim_io_eprintf calls, and
-       replace raw abort with sim engine abort.
-       (cris_break_13_handler): Likewise.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim/callback.h.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (rvdummy.o): Delete config.h.
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include portability.h.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-rv.c: Delete HAVE_SYS_SELECT_H.
-       * rvdummy.c: Likewise.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call AC_CHECK_HEADERS_ONCE.
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * cris-desc.c, cris-desc.h, cris-opc.h: Moved to opcodes/.
-       * Makefile.in (SIM_OBJS): Delete cris-desc.o.
-       (SIM_EXTRA_DEPS): Delete cris-desc.h.
-       (cris-clean): Delete stamp-desc.
-       (stamps): Likewise.
-       (stamp-desc): Delete rule.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete "x" after PRI macros.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c: Include unistd.h.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cris-tmpl.c, crisv10f.c, crisv32f.c, dv-cris.c, dv-cris_900000xx.c,
-       dv-rv.c, traps.c: Include defs.h.
-       * rvdummy.c, sim-if.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c: Include environ.h.
-       (environ, GET_ENVIRON): Delete.
-       (sim_open): Replace my_environ with environ.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (cris_break_13_handler): Delete 2nd arg to time callback.
-       (cris_time): Change return to int64_t.  Delete 2nd arg.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * mloop.in: Include <stdlib.h>.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (cris_load_elf_file): Use BFD_VMA_FMT
-       (cris_handle_interpreter): Likewise.  Delete phaddr.
-       (sim_open): Use PRIx32.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-25  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): Add engv32.h.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * rvdummy.c: Update includes.
-       * dv-rv.c: Update includes.
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (sim-if.o, dv-cris.o, dv-rv.o, arch.o, traps.o)
-       (devices.o, crisv10f.o, mloopv10f.o, cpuv10.o, decodev10.o)
-       (modelv10.o, crisv32f.o, mloopv32f.o, cpuv32.o, decodev32.o)
-       (modelv32.o): Remove.
-       (SIM_EXTRA_DEPS): Add engv10.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * traps.c: Include stdlib.h.
-       * cris-tmpl.c: Include stdlib.h.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * dv-rv.c, rvdummy.c, sim-if.c, traps.c: Delete HAVE_ERRNO_H,
-       HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h
-       include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2019-09-06  Alan Modra  <amodra@gmail.com>
-
-       * sim-if.c (sim_open): Constify filename variable.
-
-2018-12-06  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * Makefile.in: Replace uses of CGEN_CPU_DIR with CPU_DIR, and
-       remove the definition of CGEN_CPU_DIR.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * decodev10.c (crisv10f_init_idesc_table): Use ARRAY_SIZE.
-       * decodev32.c (crisv32f_init_idesc_table): Likewise.
-       * sim-if.c (sim_open): Likewise.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * rvdummy.c: Change cconfig.h to config.h.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (cris_devices): Delete.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.h (TARGET_BIG_ENDIAN): Delete.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (xprintf, eprintf): Delete.
-       (cris_load_elf_file): Delete callback.  Change xprintf to
-       sim_io_printf and eprintf to sim_io_eprintf.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (current_state): Delete.
-       (sim_open): Delete current_state assignment.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete current_target_byte_order assignment.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (cris_program_offset_write, sim_load): Delete.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * Makefile.in (rvdummy.o): Delete tconfig.h.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cpu variable.  Pass NULL/NULL_CIA to
-       sim_core_write_buffer.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_create_inferior): Delete old comment and set up
-       STATE_PROG_ARGV.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Change default to yes and
-       add cris_900000xx.
-       * configure: Regenerated.
-       * devices.c: Delete file.
-       * dv-cris_900000xx.c: New device model.
-       * Makefile.in (SIM_OBJS): Delete devices.o.
-       * sim-if.c (sim_open): Replace cris_have_900000xxif logic with a
-       call to sim_hw_parse.
-       * tconfig.h: Delete file.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * rvdummy.c (_GNU_SOURCE): Delete.
-       (setupsocket): Mark static.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-       * tconfig.h (SIM_HAVE_MODEL): Delete.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c: Rename MACH to SIM_MACH.
-       * cpuall.h: Likewise.
-       * modelv10.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-       * modelv32.c: Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_SCACHE_PBB): Move from ...
-       * tconfig.h (WITH_SCACHE_PBB): ... here.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (cris_break_13_handler): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (syscall_map): Fill out name field.
-       (syscall_stat32_map, errno_map, open_map): Likewise.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * decodev10.c (crisv10f_decode): Change TRACE_EXTRACT to
-       CGEN_TRACE_EXTRACT.
-       * decodev32.c (crisv32f_decode): Likewise.
-       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
-       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-       * semcrisv10f-switch.c: Change TRACE_RESULT to CGEN_TRACE_RESULT.
-       * semcrisv32f-switch.c: Likewise.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (USING_SIM_BASE_H): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * crisv10f.c (deliver_interrupt): Change CIA_GET to CPU_PC_GET.
-       * crisv32f.c (deliver_interrupt): Likewise.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CONFIG_DEVICES): Delete.
-       (SIM_OBJS): Delete CONFIG_DEVICES.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * rvdummy.c: Delete tconfig.h include.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2014-12-03  Joel Brobecker  <brobecker@adacore.com>
-
-       * traps.c (cris_break_13_handler): Adjust call to "fstat" callback
-       by call to "to_fstat" following renaming in callback.h.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_load): Add const to prog.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * sim-if.c: Include config.h before system header files.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_do_command): Delete.
-
-2010-10-09  Alan Modra  <amodra@gmail.com>
-
-       * cris-desc.h: Regenerate.
-
-2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (cris_break_13_handler): Pass lseek
-       offset parameter as sign-extended.
-
-2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-       * dv-rv.c (hw_rv_init_socket): Check error return from socket() call
-       by its equality to -1 not by it being negative.
-       (hw_rv_write): Likewise.
-       (hw_rv_handle_incoming): Likewise.
-       (hw_rv_poll_once): Likewise.
-       * rvdummy.c (setupsocket): Likewise.
-       (main): Likewise for accept() call as returned from setupsocket().
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Add const to message.
-
-2010-02-11  Doug Evans  <dje@sebabeach.org>
-
-       * cpuv10.h, * cpuv32.h, * cris-desc.c,
-       * cris-desc.h, * decodev10.c, * decodev32.c,
-       * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
-       * semcrisv32f-switch.c: Regenerate.
-
-2010-01-02  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c, * arch.h, * cpuall.h, * cpuv10.c,
-       * cpuv10.h, * cpuv32.c, * cpuv32.h, * cris-desc.c,
-       * cris-desc.h, * cris-opc.h, * decodev10.c,
-       * decodev10.h, * decodev32.c, * decodev32.h,
-       * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
-       * semcrisv32f-switch.c: Regenerate, update copyright year.
-
-2010-01-01  Doug Evans  <dje@sebabeach.org>
-
-       * mloop.in: Fix copyright year update snafu.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cpuall.h: Regenerate.
-       * cpuv10.h: Regenerate.
-       * cpuv32.h: Regenerate.
-       * decodev10.c: Regenerate.
-       * decodev10.h: Regenerate.
-       * decodev32.c: Regenerate.
-       * decodev32.h: Regenerate.
-
-2009-10-23  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * cpuv10.c: Regenerate.
-       * cpuv10.h: Regenerate.
-       * cpuv32.c: Regenerate.
-       * cpuv32.h: Regenerate.
-       * cris-desc.c: Regenerate.
-       * cris-desc.h: Regenerate.
-       * cris-opc.h: Regenerate.
-       * decodev10.c: Regenerate.
-       * decodev10.h: Regenerate.
-       * decodev32.c: Regenerate.
-       * decodev32.h: Regenerate.
-       * modelv10.c: Regenerate.
-       * modelv32.c: Regenerate.
-       * semcrisv10f-switch.c: Regenerate.
-       * semcrisv32f-switch.c: Regenerate.
-
-2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sim-if.c: Include errno.h.
-       (cris_start_address, cris_program_offset): New variables.
-       (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
-       enums.
-       (cris_options): New options --cris-program-offset and
-       --cris-start-address.
-       (cris_option_handler): Handle new options.
-       (cris_program_offset_write, cris_set_section_offset_iterator)
-       (cris_offset_sections, cris_offset_sections): New functions.
-       (sim_load): Use cris_program_offset_write as function argument to
-       cris_load_elf_file, not sim_write.
-       (struct offsetinfo): New struct.
-       (cris_handle_interpreter): Fix typo in comment.
-       (sim_open): Call cris_offset_sections as soon as the bfd of the
-       infile is available.  Gate bfd validity checks on abfd non-NULL.
-       (sim_create_inferior): Let cris_start_address when != -1 override
-       other start-address choices.
-
-2009-01-06  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (abort): Define to call sim_io_error.
-       (create_map): Make -1 imply a non-fixed address, not 0.  All
-       callers changed.  Only prefer the next higher unmapped address if
-       the last mapped address is no less than 0x40000000.  Check that
-       the address to be mapped is not already mapped.  Update head
-       comment.
-       (unmap_pages): Don't call abort when recursive call fails, just
-       note and return an error if a page in the range couldn't be unmapped.
-       (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
-       (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
-       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
-       non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
-       don't abort on page not being mapped.  Handle non-anon filemap
-       with length padded to pagesize.
-
-2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
-       (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
-       (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
-       (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
-       (TARGET_AT_CLKTCK): Remove redundant macros.
-       (AUX_ENT): Adjust to use standard ELF AT_* macros.
-       (AUX_ENTF): Ditto.  Remove always-0 middle argument.  Update all
-       callers.
-       (sim_open): Also pass AT_SECURE.
-
-       * sim-main.h (struct _sim_cpu): New member
-       set_target_thread_data.
-       * crisv32f.c (CRIS_TLS_REGISTER): Define.
-       * crisv10f.c: Ditto.
-       * cris-tmpl.c (MY (set_target_thread_data)): New function.
-       (MY (f_specific_init)): Set new _sim_cpu member to new function.
-       * traps.c (TARGET_SYS_set_thread_area): Define.
-       (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
-       case.
-
-       * traps.c (TARGET_SYS_exit_group): Define.
-       (cris_break_13_handler): Handle it like the exit for the last
-       thread.
-
-       * traps.c (TARGET_UTSNAME): Update to 2009-01-01.
-       (TARGET_EPOCH): Update to match TARGET_UTSNAME.  Correct comment.
-       (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
-       2.6.27.  Set machine field to the BFD printable name of the
-       machine.
-
-       * traps.c (TARGET_MAP_DENYWRITE): Define.
-       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
-       TARGET_MAP_DENYWRITE.
-
-       * traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
-       (TARGET_X_OK, TARGET_F_OK): Define.
-       (cris_break_13_handler) <case TARGET_SYS_access>: New case.
-
-       * semcrisv32f-switch.c: Regenerate.
-
-2008-12-30  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sim-if.c (sim_open): If sim_analyze_program fails, emit
-       just a short CRIS-specific notice.  Tweak the wording for a
-       failing architecture test.
-
-       * traps.c (TARGET_SYS_writev): New macro.
-       (is_mapped_only, cris_dump_map): New functions.
-       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
-       and prot combinations and a non-zero page-offset.  If
-       TARGET_MAP_FIXED, unmap pages before mapping them.
-       <case TARGET_SYS_mprotect>: When checking, allow any length
-       argument.  Don't actually do anything.
-       <case TARGET_SYS_writev>: New case.
-
-       * Makefile.in (SIM_OBJS): Remove sim-hload.o.
-       * sim-if.c: Include elf-bfd.h.
-       (struct progbounds): New members end_loadmem, start_nonloadmem.
-       (xprintf, eprintf): New functions, copied from common/sim-load.c.
-       (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
-       (get_progbounds_iterator): Renamed from get_progbounds.  Make
-       static.  Update head comment.  Set new struct progbounds members.
-       (exec_load_addr, interp_load_addr, interp_start_addr): New static
-       variables.
-       (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
-       (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
-       functions.
-       (sim_open): New constant array auxv_entries.  Rewrite AUX_ENT
-       handling to use auxv_entries.  Improve error message and checking
-       for invalid programs.  Use new variable abfd for the program
-       instead of for each access reaching into sd to get it.
-       (sim_create_inferior): If non-zero, use interp_start_addr instead
-       of the program start address.
-       (cris_disassemble_insn): Remove incorrect and unclear, supposedly
-       stale comment.  Always specify little-endian.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2007-10-22  Hans-Peter Nilsson  <hp@axis.com>
-
-       * arch.c, arch.h, cpuall.h, cpuv10.c,
-       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
-       cris-desc.h, cris-opc.h, decodev10.c,
-       decodev10.h, decodev32.c, decodev32.h,
-       modelv10.c, modelv32.c, semcrisv10f-switch.c,
-       semcrisv32f-switch.c: Regenerate.
-
-2007-02-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (dump_statistics): Change format for cycle numbers
-       to %llu and cast parameters to unsigned long long.
-
-2006-10-02  Edgar E. Iglesias  <edgar@axis.com>
-           Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris-sim.h (enum cris_unknown_syscall_action_type)
-       (cris_unknown_syscall_action): Declare.
-       * sim-if.c (cris_unknown_syscall_action): Define.
-       (cris_options): Add cris-unknown-syscall option.
-       (cris_option_handler): Correct comment about and error message for
-       invalid --cris-cycles argument.  Handle --cris-unknown-syscall.
-       * traps.c: Include stdarg.h
-       (cris_unknown_syscall): New function.
-       (cris_break_13_handler): Instead of sim_io_eprintf and
-       sim_engine_halt, call cris_unknown_syscall to handle more or less
-       unknown syscalls.  Adjust code as necessary to handle return
-       value.
-
-2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (TARGET_PIPE_BUF): New macro.
-       (cris_pipe_empty): Correct initialization of "remaining".  Only
-       adjust the "write" return value if more than TARGET_PIPE_BUF bytes
-       are written.
-
-2006-09-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Check for limits.h and sys/param.h.
-       * configure, config.in: Rebuild.
-       * traps.c (SIM_PATHMAX): New macro.
-       (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-04-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
-
-2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * dv-cris.c, dv-rv.c, rvdummy.c: New files.
-       * Makefile.in (CONFIG_DEVICES): Remove redundant setting.
-       (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
-       (all): Depend on rvdummy$(EXEEXT).
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.  Check for
-       sys/socket.h and sys/select.h.  Call SIM_AC_OPTION_HARDWARE,
-       default off.
-       * configure: Regenerate.
-       * cris-sim.h (cris_have_900000xxif): Declare here.
-       (enum cris_interrupt_type, crisv10deliver_interrupt)
-       (crisv32deliver_interrupt: New declarations.
-       * cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
-       sim_events_tickn and set state-events member work_pending when it's
-       time for the next event.
-       [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
-       interrupt-delivery function.
-       * crisv10f.c (MY (deliver_interrupt)): New function.
-       * crisv32f.c (MY (deliver_interrupt)): New function.
-       * devices.c: Include hw-device.h.
-       (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
-       (device_io_write_buffer): Only perform 0x900000xx-functions if
-       cris_have_900000xxif is nonzero.  Else if WITH_HW defined,
-       call hw_io_write_buffer.  Add return 0 last in function.
-       * sim-if.c (cris_have_900000xxif): Now global.
-       (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
-       Force "-model" option, effectively.
-       * sim-main.h (cris_interrupt_delivery_fn): New type.
-       (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
-
-2006-04-02  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
-       (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
-       (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
-
-2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
-       mapping.
-       (cris_break_13_handler) <case TARGET_SYS_time>: New case.
-
-2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris-tmpl.c (MY (f_model_insn_before)): Only display basic
-       cycle count for the current insn.
-
-2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cpuv10.h, cpuv32.h, cris-desc.c, cris-opc.h,
-       decodev10.c, decodev10.h, decodev32.c,
-       decodev32.h, modelv10.c, modelv32.c,
-       semcrisv10f-switch.c, semcrisv32f-switch.c: Regenerate.
-
-2005-12-05  Hans-Peter Nilsson  <hp@axis.com>
-
-       * arch.c, arch.h, cpuall.h, cpuv10.c,
-       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
-       cris-desc.h, cris-opc.h, decodev10.c,
-       decodev10.h, decodev32.c, decodev32.h,
-       modelv10.c, modelv32.c, semcrisv10f-switch.c,
-       semcrisv32f-switch.c: Regenerate.
-
-2005-11-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
-       (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
-       TARGET_O_WRONLY.
-       (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
-       F_GETFL on fd 0, 1 and 2.
-
-2005-11-17  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sim-main.h (struct _sim_cpu): New members last_syscall,
-       last_open_fd, last_open_flags.
-       * traps.c: Don't include targ-vals.h.
-       (TARGET_O_ACCMODE): Define.
-       (cris_break_13_handler): Set new _sim_cpu members.
-       <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
-       Rearrange code as switch.  Emit "unimplemented" abort for
-       unimplemented fcntl calls.
-
-       * traps.c (TARGET_SYS_stat): Define.
-       (syscall_stat32_map): Add entry for TARGET_SYS_stat.
-       (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
-
-2005-11-16  Hans-Peter Nilsson  <hp@axis.com>
-
-       * cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
-       low 32 bits are used after an unsigned long cast.
-
-2005-05-28  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
-
-2005-04-18  Hans-Peter Nilsson  <hp@axis.com>
-
-       * traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
-       For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
-       implemented.  In call to create_map, pad length argument to 8k.
-
-2005-03-24  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
-       include cgen-ops.h in decodev10.c and decodev32.c.
-       * sim-main.h: Don't include cgen-ops.h here.
-       * arch.c, arch.h, cpuall.h, cpuv10.c,
-       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
-       cris-desc.h, cris-opc.h, decodev10.c,
-       decodev10.h, decodev32.c, decodev32.h,
-       modelv10.c, modelv32.c, semcrisv10f-switch.c,
-       semcrisv32f-switch.c: Regenerate.
-
-       * traps.c (cris_break_13_handler) <case
-       TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
-       sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
diff --git a/sim/cris/ChangeLog-2021 b/sim/cris/ChangeLog-2021
new file mode 100644 (file)
index 0000000..0f71a61
--- /dev/null
@@ -0,0 +1,1079 @@
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (cris_sim_machs): ... this.
+       * sim-if.c (cris_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (stamp-v10fcpu): Do not insert cgen-ops.h include.
+       (stamp-v32fcpu): Likewise.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpuv10.c (crisv10f_record_trace_results): Delete function.
+       * cpuv32.c (crisv32f_record_trace_results): Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * decodev10.c: Include cgen-mem.h.
+       * decodev32.c: Likewise.
+
+2021-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * cris-sim.h (cris_bmod_handler): Delete.
+       * traps.c (cris_dump_map): New prototype.
+       (cris_bmod_handler): Delete.
+       (h_supr_set_handler): Likewise.
+       (h_supr_get_handler): Likewise.
+
+2021-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (cris_getpid): New function.
+       (cris_set_callbacks): Assign cris_getpid.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c: Include sim-hw.h.
+       (cris_write_interp): Change buf to const.
+       (sim_open): Cast sp_init to unsigned char *.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (dump_statistics): Clean up sim_io_eprintf calls, and
+       replace raw abort with sim engine abort.
+       (cris_break_13_handler): Likewise.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim/callback.h.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (rvdummy.o): Delete config.h.
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include portability.h.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-rv.c: Delete HAVE_SYS_SELECT_H.
+       * rvdummy.c: Likewise.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call AC_CHECK_HEADERS_ONCE.
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * cris-desc.c, cris-desc.h, cris-opc.h: Moved to opcodes/.
+       * Makefile.in (SIM_OBJS): Delete cris-desc.o.
+       (SIM_EXTRA_DEPS): Delete cris-desc.h.
+       (cris-clean): Delete stamp-desc.
+       (stamps): Likewise.
+       (stamp-desc): Delete rule.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete "x" after PRI macros.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c: Include unistd.h.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cris-tmpl.c, crisv10f.c, crisv32f.c, dv-cris.c, dv-cris_900000xx.c,
+       dv-rv.c, traps.c: Include defs.h.
+       * rvdummy.c, sim-if.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c: Include environ.h.
+       (environ, GET_ENVIRON): Delete.
+       (sim_open): Replace my_environ with environ.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (cris_break_13_handler): Delete 2nd arg to time callback.
+       (cris_time): Change return to int64_t.  Delete 2nd arg.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * mloop.in: Include <stdlib.h>.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (cris_load_elf_file): Use BFD_VMA_FMT
+       (cris_handle_interpreter): Likewise.  Delete phaddr.
+       (sim_open): Use PRIx32.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-25  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): Add engv32.h.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * rvdummy.c: Update includes.
+       * dv-rv.c: Update includes.
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (sim-if.o, dv-cris.o, dv-rv.o, arch.o, traps.o)
+       (devices.o, crisv10f.o, mloopv10f.o, cpuv10.o, decodev10.o)
+       (modelv10.o, crisv32f.o, mloopv32f.o, cpuv32.o, decodev32.o)
+       (modelv32.o): Remove.
+       (SIM_EXTRA_DEPS): Add engv10.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * traps.c: Include stdlib.h.
+       * cris-tmpl.c: Include stdlib.h.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * dv-rv.c, rvdummy.c, sim-if.c, traps.c: Delete HAVE_ERRNO_H,
+       HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h
+       include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2019-09-06  Alan Modra  <amodra@gmail.com>
+
+       * sim-if.c (sim_open): Constify filename variable.
+
+2018-12-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in: Replace uses of CGEN_CPU_DIR with CPU_DIR, and
+       remove the definition of CGEN_CPU_DIR.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * decodev10.c (crisv10f_init_idesc_table): Use ARRAY_SIZE.
+       * decodev32.c (crisv32f_init_idesc_table): Likewise.
+       * sim-if.c (sim_open): Likewise.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * rvdummy.c: Change cconfig.h to config.h.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (cris_devices): Delete.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.h (TARGET_BIG_ENDIAN): Delete.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (xprintf, eprintf): Delete.
+       (cris_load_elf_file): Delete callback.  Change xprintf to
+       sim_io_printf and eprintf to sim_io_eprintf.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (current_state): Delete.
+       (sim_open): Delete current_state assignment.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete current_target_byte_order assignment.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (cris_program_offset_write, sim_load): Delete.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * Makefile.in (rvdummy.o): Delete tconfig.h.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cpu variable.  Pass NULL/NULL_CIA to
+       sim_core_write_buffer.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_create_inferior): Delete old comment and set up
+       STATE_PROG_ARGV.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Change default to yes and
+       add cris_900000xx.
+       * configure: Regenerated.
+       * devices.c: Delete file.
+       * dv-cris_900000xx.c: New device model.
+       * Makefile.in (SIM_OBJS): Delete devices.o.
+       * sim-if.c (sim_open): Replace cris_have_900000xxif logic with a
+       call to sim_hw_parse.
+       * tconfig.h: Delete file.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * rvdummy.c (_GNU_SOURCE): Delete.
+       (setupsocket): Mark static.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+       * tconfig.h (SIM_HAVE_MODEL): Delete.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c: Rename MACH to SIM_MACH.
+       * cpuall.h: Likewise.
+       * modelv10.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+       * modelv32.c: Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_SCACHE_PBB): Move from ...
+       * tconfig.h (WITH_SCACHE_PBB): ... here.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (cris_break_13_handler): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (syscall_map): Fill out name field.
+       (syscall_stat32_map, errno_map, open_map): Likewise.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * decodev10.c (crisv10f_decode): Change TRACE_EXTRACT to
+       CGEN_TRACE_EXTRACT.
+       * decodev32.c (crisv32f_decode): Likewise.
+       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
+       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+       * semcrisv10f-switch.c: Change TRACE_RESULT to CGEN_TRACE_RESULT.
+       * semcrisv32f-switch.c: Likewise.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (USING_SIM_BASE_H): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * crisv10f.c (deliver_interrupt): Change CIA_GET to CPU_PC_GET.
+       * crisv32f.c (deliver_interrupt): Likewise.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CONFIG_DEVICES): Delete.
+       (SIM_OBJS): Delete CONFIG_DEVICES.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * rvdummy.c: Delete tconfig.h include.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2014-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * traps.c (cris_break_13_handler): Adjust call to "fstat" callback
+       by call to "to_fstat" following renaming in callback.h.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_load): Add const to prog.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * sim-if.c: Include config.h before system header files.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_do_command): Delete.
+
+2010-10-09  Alan Modra  <amodra@gmail.com>
+
+       * cris-desc.h: Regenerate.
+
+2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (cris_break_13_handler): Pass lseek
+       offset parameter as sign-extended.
+
+2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * dv-rv.c (hw_rv_init_socket): Check error return from socket() call
+       by its equality to -1 not by it being negative.
+       (hw_rv_write): Likewise.
+       (hw_rv_handle_incoming): Likewise.
+       (hw_rv_poll_once): Likewise.
+       * rvdummy.c (setupsocket): Likewise.
+       (main): Likewise for accept() call as returned from setupsocket().
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Add const to message.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * cpuv10.h, * cpuv32.h, * cris-desc.c,
+       * cris-desc.h, * decodev10.c, * decodev32.c,
+       * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
+       * semcrisv32f-switch.c: Regenerate.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c, * arch.h, * cpuall.h, * cpuv10.c,
+       * cpuv10.h, * cpuv32.c, * cpuv32.h, * cris-desc.c,
+       * cris-desc.h, * cris-opc.h, * decodev10.c,
+       * decodev10.h, * decodev32.c, * decodev32.h,
+       * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
+       * semcrisv32f-switch.c: Regenerate, update copyright year.
+
+2010-01-01  Doug Evans  <dje@sebabeach.org>
+
+       * mloop.in: Fix copyright year update snafu.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cpuall.h: Regenerate.
+       * cpuv10.h: Regenerate.
+       * cpuv32.h: Regenerate.
+       * decodev10.c: Regenerate.
+       * decodev10.h: Regenerate.
+       * decodev32.c: Regenerate.
+       * decodev32.h: Regenerate.
+
+2009-10-23  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * cpuv10.c: Regenerate.
+       * cpuv10.h: Regenerate.
+       * cpuv32.c: Regenerate.
+       * cpuv32.h: Regenerate.
+       * cris-desc.c: Regenerate.
+       * cris-desc.h: Regenerate.
+       * cris-opc.h: Regenerate.
+       * decodev10.c: Regenerate.
+       * decodev10.h: Regenerate.
+       * decodev32.c: Regenerate.
+       * decodev32.h: Regenerate.
+       * modelv10.c: Regenerate.
+       * modelv32.c: Regenerate.
+       * semcrisv10f-switch.c: Regenerate.
+       * semcrisv32f-switch.c: Regenerate.
+
+2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sim-if.c: Include errno.h.
+       (cris_start_address, cris_program_offset): New variables.
+       (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
+       enums.
+       (cris_options): New options --cris-program-offset and
+       --cris-start-address.
+       (cris_option_handler): Handle new options.
+       (cris_program_offset_write, cris_set_section_offset_iterator)
+       (cris_offset_sections, cris_offset_sections): New functions.
+       (sim_load): Use cris_program_offset_write as function argument to
+       cris_load_elf_file, not sim_write.
+       (struct offsetinfo): New struct.
+       (cris_handle_interpreter): Fix typo in comment.
+       (sim_open): Call cris_offset_sections as soon as the bfd of the
+       infile is available.  Gate bfd validity checks on abfd non-NULL.
+       (sim_create_inferior): Let cris_start_address when != -1 override
+       other start-address choices.
+
+2009-01-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (abort): Define to call sim_io_error.
+       (create_map): Make -1 imply a non-fixed address, not 0.  All
+       callers changed.  Only prefer the next higher unmapped address if
+       the last mapped address is no less than 0x40000000.  Check that
+       the address to be mapped is not already mapped.  Update head
+       comment.
+       (unmap_pages): Don't call abort when recursive call fails, just
+       note and return an error if a page in the range couldn't be unmapped.
+       (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
+       (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
+       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+       non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
+       don't abort on page not being mapped.  Handle non-anon filemap
+       with length padded to pagesize.
+
+2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
+       (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
+       (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
+       (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
+       (TARGET_AT_CLKTCK): Remove redundant macros.
+       (AUX_ENT): Adjust to use standard ELF AT_* macros.
+       (AUX_ENTF): Ditto.  Remove always-0 middle argument.  Update all
+       callers.
+       (sim_open): Also pass AT_SECURE.
+
+       * sim-main.h (struct _sim_cpu): New member
+       set_target_thread_data.
+       * crisv32f.c (CRIS_TLS_REGISTER): Define.
+       * crisv10f.c: Ditto.
+       * cris-tmpl.c (MY (set_target_thread_data)): New function.
+       (MY (f_specific_init)): Set new _sim_cpu member to new function.
+       * traps.c (TARGET_SYS_set_thread_area): Define.
+       (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
+       case.
+
+       * traps.c (TARGET_SYS_exit_group): Define.
+       (cris_break_13_handler): Handle it like the exit for the last
+       thread.
+
+       * traps.c (TARGET_UTSNAME): Update to 2009-01-01.
+       (TARGET_EPOCH): Update to match TARGET_UTSNAME.  Correct comment.
+       (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
+       2.6.27.  Set machine field to the BFD printable name of the
+       machine.
+
+       * traps.c (TARGET_MAP_DENYWRITE): Define.
+       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+       TARGET_MAP_DENYWRITE.
+
+       * traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
+       (TARGET_X_OK, TARGET_F_OK): Define.
+       (cris_break_13_handler) <case TARGET_SYS_access>: New case.
+
+       * semcrisv32f-switch.c: Regenerate.
+
+2008-12-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sim-if.c (sim_open): If sim_analyze_program fails, emit
+       just a short CRIS-specific notice.  Tweak the wording for a
+       failing architecture test.
+
+       * traps.c (TARGET_SYS_writev): New macro.
+       (is_mapped_only, cris_dump_map): New functions.
+       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
+       and prot combinations and a non-zero page-offset.  If
+       TARGET_MAP_FIXED, unmap pages before mapping them.
+       <case TARGET_SYS_mprotect>: When checking, allow any length
+       argument.  Don't actually do anything.
+       <case TARGET_SYS_writev>: New case.
+
+       * Makefile.in (SIM_OBJS): Remove sim-hload.o.
+       * sim-if.c: Include elf-bfd.h.
+       (struct progbounds): New members end_loadmem, start_nonloadmem.
+       (xprintf, eprintf): New functions, copied from common/sim-load.c.
+       (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
+       (get_progbounds_iterator): Renamed from get_progbounds.  Make
+       static.  Update head comment.  Set new struct progbounds members.
+       (exec_load_addr, interp_load_addr, interp_start_addr): New static
+       variables.
+       (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
+       (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
+       functions.
+       (sim_open): New constant array auxv_entries.  Rewrite AUX_ENT
+       handling to use auxv_entries.  Improve error message and checking
+       for invalid programs.  Use new variable abfd for the program
+       instead of for each access reaching into sd to get it.
+       (sim_create_inferior): If non-zero, use interp_start_addr instead
+       of the program start address.
+       (cris_disassemble_insn): Remove incorrect and unclear, supposedly
+       stale comment.  Always specify little-endian.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2007-10-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * arch.c, arch.h, cpuall.h, cpuv10.c,
+       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+       cris-desc.h, cris-opc.h, decodev10.c,
+       decodev10.h, decodev32.c, decodev32.h,
+       modelv10.c, modelv32.c, semcrisv10f-switch.c,
+       semcrisv32f-switch.c: Regenerate.
+
+2007-02-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (dump_statistics): Change format for cycle numbers
+       to %llu and cast parameters to unsigned long long.
+
+2006-10-02  Edgar E. Iglesias  <edgar@axis.com>
+           Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris-sim.h (enum cris_unknown_syscall_action_type)
+       (cris_unknown_syscall_action): Declare.
+       * sim-if.c (cris_unknown_syscall_action): Define.
+       (cris_options): Add cris-unknown-syscall option.
+       (cris_option_handler): Correct comment about and error message for
+       invalid --cris-cycles argument.  Handle --cris-unknown-syscall.
+       * traps.c: Include stdarg.h
+       (cris_unknown_syscall): New function.
+       (cris_break_13_handler): Instead of sim_io_eprintf and
+       sim_engine_halt, call cris_unknown_syscall to handle more or less
+       unknown syscalls.  Adjust code as necessary to handle return
+       value.
+
+2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (TARGET_PIPE_BUF): New macro.
+       (cris_pipe_empty): Correct initialization of "remaining".  Only
+       adjust the "write" return value if more than TARGET_PIPE_BUF bytes
+       are written.
+
+2006-09-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Check for limits.h and sys/param.h.
+       * configure, config.in: Rebuild.
+       * traps.c (SIM_PATHMAX): New macro.
+       (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-04-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
+
+2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * dv-cris.c, dv-rv.c, rvdummy.c: New files.
+       * Makefile.in (CONFIG_DEVICES): Remove redundant setting.
+       (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
+       (all): Depend on rvdummy$(EXEEXT).
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.  Check for
+       sys/socket.h and sys/select.h.  Call SIM_AC_OPTION_HARDWARE,
+       default off.
+       * configure: Regenerate.
+       * cris-sim.h (cris_have_900000xxif): Declare here.
+       (enum cris_interrupt_type, crisv10deliver_interrupt)
+       (crisv32deliver_interrupt: New declarations.
+       * cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
+       sim_events_tickn and set state-events member work_pending when it's
+       time for the next event.
+       [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
+       interrupt-delivery function.
+       * crisv10f.c (MY (deliver_interrupt)): New function.
+       * crisv32f.c (MY (deliver_interrupt)): New function.
+       * devices.c: Include hw-device.h.
+       (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
+       (device_io_write_buffer): Only perform 0x900000xx-functions if
+       cris_have_900000xxif is nonzero.  Else if WITH_HW defined,
+       call hw_io_write_buffer.  Add return 0 last in function.
+       * sim-if.c (cris_have_900000xxif): Now global.
+       (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
+       Force "-model" option, effectively.
+       * sim-main.h (cris_interrupt_delivery_fn): New type.
+       (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
+
+2006-04-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
+       (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
+       (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
+
+2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
+       mapping.
+       (cris_break_13_handler) <case TARGET_SYS_time>: New case.
+
+2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris-tmpl.c (MY (f_model_insn_before)): Only display basic
+       cycle count for the current insn.
+
+2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cpuv10.h, cpuv32.h, cris-desc.c, cris-opc.h,
+       decodev10.c, decodev10.h, decodev32.c,
+       decodev32.h, modelv10.c, modelv32.c,
+       semcrisv10f-switch.c, semcrisv32f-switch.c: Regenerate.
+
+2005-12-05  Hans-Peter Nilsson  <hp@axis.com>
+
+       * arch.c, arch.h, cpuall.h, cpuv10.c,
+       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+       cris-desc.h, cris-opc.h, decodev10.c,
+       decodev10.h, decodev32.c, decodev32.h,
+       modelv10.c, modelv32.c, semcrisv10f-switch.c,
+       semcrisv32f-switch.c: Regenerate.
+
+2005-11-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
+       (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
+       TARGET_O_WRONLY.
+       (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
+       F_GETFL on fd 0, 1 and 2.
+
+2005-11-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sim-main.h (struct _sim_cpu): New members last_syscall,
+       last_open_fd, last_open_flags.
+       * traps.c: Don't include targ-vals.h.
+       (TARGET_O_ACCMODE): Define.
+       (cris_break_13_handler): Set new _sim_cpu members.
+       <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
+       Rearrange code as switch.  Emit "unimplemented" abort for
+       unimplemented fcntl calls.
+
+       * traps.c (TARGET_SYS_stat): Define.
+       (syscall_stat32_map): Add entry for TARGET_SYS_stat.
+       (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
+
+2005-11-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
+       low 32 bits are used after an unsigned long cast.
+
+2005-05-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
+
+2005-04-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
+       For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
+       implemented.  In call to create_map, pad length argument to 8k.
+
+2005-03-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
+       include cgen-ops.h in decodev10.c and decodev32.c.
+       * sim-main.h: Don't include cgen-ops.h here.
+       * arch.c, arch.h, cpuall.h, cpuv10.c,
+       cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
+       cris-desc.h, cris-opc.h, decodev10.c,
+       decodev10.h, decodev32.c, decodev32.h,
+       modelv10.c, modelv32.c, semcrisv10f-switch.c,
+       semcrisv32f-switch.c: Regenerate.
+
+       * traps.c (cris_break_13_handler) <case
+       TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
+       sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
deleted file mode 100644 (file)
index 5ae2318..0000000
+++ /dev/null
@@ -1,1954 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-       * simops.c: Likewise.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open):
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-22  John Baldwin  <jhb@FreeBSD.org>
-
-       * interp.c (sim_create_inferior): Use offsetof in static
-       assertion.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h, gencode.c: Delete config.h include.
-       * endian.c: Include defs.h.
-       * interp.c, simops.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Update path.
-       * d10v_sim.h: Update include path.
-       * interp.c: Likewise.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h (decode_pc): Delete.
-       * interp.c (sim_create_inferior): Use BFD_VMA_FMT.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): New variable.
-       (simops.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (xfer_mem): Use PRIxTA for printf format.
-       (sim_write): Cast buffer to (void *).
-       (sim_open): Add const to p.
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o, d10v-opc.o): Call COMPILE_FOR_BUILD.
-       (gencode): Call LINK_FOR_BUILD.
-
-2021-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode): Delete $(BUILD_LIB).
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
-       HAVE_STDLIB_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h (State): Change to an extern.
-       * interp.c (State): Define.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * endian.c (get_word): Delete all arch/big endian logic.
-       (get_longword, write_word, write_longword): Likewise.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (d10v_reg_store, d10v_reg_fetch): Define.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (sim_store_register): Rename to ...
-       (d10v_reg_store): ... this.  Rename cpu to sd.
-       (sim_fetch_register): Rename to ...
-       (d10v_reg_fetch): ... this.  Rename cpu to sd.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete sim_create_inferior call.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h (d10v_callback): Delete.
-       * interp.c (d10v_callback): Delete.
-       (do_long, do_2_short, do_parallel, set_dmap_register,
-       set_imap_register, xfer_mem, dmem_addr, imem_addr, sim_info,
-       sim_create_inferior): Replace d10v_callback->printf_filtered
-       with sim_io_printf.
-       (sim_open): Delete d10v_callback assignment.
-       * simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
-       do_trace_output_finish, trace_output_40, trace_output_32,
-       trace_output_16, trace_output_void, trace_output_flag, OP_5F20,
-       OP_5201, OP_27000000, OP_3220, OP_3400, OP_3000, OP_6C1F, OP_6C01,
-       OP_6E1F, OP_6E01): Replace d10v_callback->printf_filtered with
-       sim_io_printf and d10v_callback->flush_stdout with
-       sim_io_flush_stdout.
-       (OP_5F00): Likewise.  Rename d10v_callback to cb.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
-       sim-stop.o.
-       * d10v_sim.h (struct d10v_memory): Delete fault member.
-       (struct _state): Delete exception member.
-       * interp.c (lookup_hash): Call sim_engine_halt instead of setting
-       State.exception.
-       (do_2_short, do_parallel): Delete State.exception checks.
-       (sim_size): Mark static.
-       (map_memory): Call sim_engine_halt instead of returning fault.
-       Call xcalloc instead of calloc and checking the return.
-       (dmem_addr): Call sim_engine_halt when phys_size is 0.
-       (imem_addr): Likewise.
-       (stop_simulator, sim_stop, sim_stop_reason): Delete.
-       (sim_resume): Rename to ...
-       (step_once): ... this.  Delete State.exception code and move
-       siggnal checking to sim_engine_run.
-       (sim_engine_run): New function.
-       * simops.c (EXCEPTION): Define.
-       (move_to_cr): Call EXCEPTION instead of setting State.exception.
-       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
-       OP_6601, OP_6201, OP_6200, OP_33010000, OP_5201, OP_27000000,
-       OP_2F000000, OP_3220, OP_3200, OP_3400, OP_3000, OP_34000000,
-       OP_6800, OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000,
-       OP_6A00, OP_6E1F, OP_6A01, OP_6E01, OP_37010000, OP_5FE0): Likewise.
-       (OP_5F20): Call sim_engine_halt instead of setting State.exception.
-       (OP_5F00): Call sim_engine_halt and EXCEPTION instead of setting
-       State.exception.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
-       (SET_CREG, SET_HW_CREG, SET_PSW_BIT): Pass sd and cpu to move_to_cr.
-       (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
-       (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
-       * endian.c: Change d10v_sim.h include to sim-main.h.
-       * gencode.c: Likewise.  Add SIM_DESC and SIM_CPU args to all OPs.
-       * interp.c (lookup_hash, do_long, do_2_short, do_parallel,
-       map_memory, set_dmap_register, dmap_register, set_imap_register,
-       imap_register, sim_d10v_translate_dmap_addr, xfer_mem,
-       sim_d10v_translate_imap_addr, sim_d10v_translate_addr): Add
-       SIM_DESC and SIM_CPU args and adjust all callers.
-       (trace_sd): Delete.
-       (sim_open): Do not assign trace_sd.
-       (sim_resume, sim_create_inferior, sim_fetch_register,
-       sim_store_register): Set up cpu from the first one in sd.
-       * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
-       (trace_input_func, trace_input, do_trace_output_finish,
-       do_trace_output_finish, trace_output_40, trace_output_32,
-       trace_output_16, trace_output_void, trace_output_flag): Add
-       SIM_DESC arg.
-       (trace_input_func): Likewise.  Change trace_sd to sd.
-       (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-11-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_d10v_translate_dmap_addr): Mark static.
-       (sim_d10v_translate_imap_addr): Likewise.
-       (sim_d10v_translate_addr): Likewise.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (d10v_pc_get, d10v_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
-       CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (lookup_hash): Change SIGILL to GDB_SIGNAL_ILL.
-       (sim_resume): Change SIGBUS/SIGSEGV to GDB_SIGNAL_BUS, SIGILL to
-       GDB_SIGNAL_ILL, and SIGTRAP to GDB_SIGNAL_TRAP.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_set_profile, sim_set_profile_size): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (simops.o): New rule.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * d10v_sim.h (text, text_start, text_end, prog_bfd): Delete.
-       (SEXT8, SEXT16, SEXT32, MASK32): Undefine.
-       * interp.c: Delete run-sim.h and d10v_sim.h includes.  Include
-       sim-main.h and sim-options.h.
-       (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
-       text, text_start, text_end, decode_pc, sim_set_profile,
-       sim_set_profile_size, sim_set_trace, sim_set_callbacks,
-       sim_trace, sim_do_command, sim_load): Delete.
-       (INLINE): Delete define.
-       (free_state): New function.
-       (trace_sd): Declare global variable.
-       (sim_open): Rewrite to use new common logic.
-       (sim_close): Delete body.
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * sim-main.h: New file.
-       * simops.c: Change d10v_sim.h include to sim-main.h.
-       (trace_input_func): Rewrite pc checks to use trace_sd.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
-       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
-       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
-       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o, d10v-opc.o): Add $(WARN_CFLAGS).
-       (gencode): Add $(BUILD_LDFLAGS).
-       * endian.c (get_word, get_longword, get_longlong, write_word,
-       write_longword, write_longlong): Convert old style prototypes.
-       * gencode.c: Include string.h.
-       (main): Convert old style prototype.
-       (write_header): Convert old style prototype and fix printf format.
-       (write_template, write_opcodes): Likewise.
-       (check_opcodes): Mark static void.
-       * interp.c: Include inttypes.h and run-sim.h.
-       (hash, lookup_hash, decode_pc, do_long, do_2_short, do_parallel,
-       add_commas, sim_size, sim_write, sim_read, sim_open, sim_close,
-       sim_set_profile, sim_set_profile_size, sim_stop, +sim_resume,
-       sim_info, sim_set_callbacks, sim_stop_reason, sim_fetch_register,
-       sim_store_register, sim_do_command, sim_load): Convert old style
-       prototypes.
-       (sim_create_inferior): Fix pointer cast to use uintptr_t.
-       * simops.c (strrchr): Delete prototype.
-       (trace_input_func): Mark name static.
-       (trace_input_func, trace_output_void, trace_output_flag): Convert old style
-       prototypes.
-       (OP_*): Convert old style prototypes.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (interp.o, simops.o, endian.o, table.o): Delete rules.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
-       SIM_AC_OPTION_INLINE.
-       * config.in, configure: Regenerate.
-       * interp.c (sim_trace): Define.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Add
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2012-06-19  Joel Brobecker  <brobecker@adacore.com>
-
-       * interp.c: #include "config.h" instead of "sysdep.h".
-       Add conditional include of string.h or strings.h, as well as
-       conditional include of stdlib.h.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-04-18  Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (sim_stop_reason): Fix typo.
-
-2005-11-28  Mark Mitchell  <mark@codesourcery.com>
-
-       * interp.c (gdb/signals.h): Include it.
-       (sim_stop_reason): Use TARGET_SIGNAL_*.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-06-28  Andrew Cagney  <cagney@gnu.org>
-
-       * interp.c (sim_resume): Rename ui_loop_hook to
-       deprecated_ui_loop_hook.
-
-2003-10-30  Andrew Cagney  <cagney@redhat.com>
-
-       * simops.c: Replace "struct symbol_cache_entry" with "struct
-       bfd_symbol".
-
-2003-06-22  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (xfer_mem): Simplify.  Only do a single partial
-       transfer.  Problem reported by Tom Rix.
-
-2003-05-07  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_d10v_translate_addr): Add "regcache" parameter.
-       (sim_d10v_translate_imap_addr): Ditto.
-       (sim_d10v_translate_dmap_addr): Ditto.
-       (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr.
-       (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr.
-       (dmap_register, imap_register): Add "regcache" parameter.
-       (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr.
-       (sim_fetch_register): Pass NULL regcache to imap_register and
-       dmap_register.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-11-13  Andrew Cagney  <cagney@redhat.com>
-
-       * simops.c: Include <string.h>.
-
-2002-06-17  Andrew Cagney  <cagney@redhat.com>
-
-       * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2002-06-13  Tom Rix  <trix@redhat.com>
-
-       * interp.c (xfer_mem): Fix transfers across multiple segments.
-
-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.
-       (sim_store_register): Ditto.
-
-2002-06-02  Elena Zannoni  <ezannoni@redhat.com>
-
-       From Jason Eckhardt <jle@redhat.com>
-       * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
-       less than MOD_S (post-decrement).
-
-2002-06-01  Andrew Cagney  <ac131313@redhat.com>
-
-       * interp.c (sim_fetch_register, sim_store_register): Use a switch
-       statement and enums from "sim-d10v.h".
-
-2002-05-28  Elena Zannoni  <ezannoni@redhat.com>
-
-       * interp.c (sim_create_inferior): Add comment.
-
-       From Alan Matsuoka <alanm@redhat.com>:
-       From 2001-04-27 Jason Eckhardt <jle@cygnus.com>:
-       * simops.c (OP_4400): Output "mvf0f" instead of "mf0f".
-       (OP_4401): Output "mvf0t" instead of "mf0t".
-       (OP_460B): Do not output a flag register.
-       (OP_4609): Do not output a flag register.
-
-2002-05-23  Andrew Cagney  <ac131313@redhat.com>
-
-       * 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  <jmoore@redhat.com>
-
-       * interp.c (sim_create_inferior): Removed a hack that stated
-       it was setting r0/r1 with argc/argv.
-
-2001-04-15  J.T. Conklin  <jtc@redback.com>
-
-       * Makefile.in (simops.o): Add simops.h to dependency list.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Apr 18 16:26:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_resume): Deliver SIGILL.
-       (lookup_hash): Do not print SIGILL message.
-
-Tue Feb 22 18:24:56 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Define SIM_HAVE_ENVIRONMENT.
-       * interp.c (sim_set_trace): Replace sim_trace.  Enable tracing.
-
-Tue Feb  8 17:41:12 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (SIG_D10V_BUS): Define.
-
-       * simops.c (address_exception): Delete function.
-       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
-       OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800,
-       OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00,
-       OP_6E1F, OP_6A01, OP_6E01, OP_37010000): Replace call to
-       address_exception with code that sets SIG_D10V_BUS.
-
-       * interp.c (sim_resume): When SIGBUS or SIGSEGV, deliver a bus
-       error to the simulator before resuming execution.
-       (sim_trace): Check stop reason and use that to determine sim_trace
-       return value.
-       (sim_stop_reason): For SIG_D10V_BUS return a SIGBUS / SIGSEGV
-       sigrc.
-
-Tue Jan 18 16:07:42 MST 2000   Diego Novillo <dnovillo@cygnus.com>
-
-       * interp.c (sim_create_inferior): Change internal initial value for
-       DMAP2 to 0x2000.
-
-Mon Jan  3 02:06:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (lookup_hash): Stop the update of the PC when there was
-       an illegal instruction exception.
-
-Mon Jan  3 00:14:33 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (address_exception): New function.
-       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
-       OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800,
-       OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00,
-       OP_6E1F, OP_6A01, OP_6E01, OP_37010000): For "ld", "ld2w", "st"
-       and "st2w" check that the address is aligned.
-
-1999-12-30  Chandra Chavva   <cchavva@cygnus.com>
-
-       * d10v_sim.h (INC_ADDR): Added code to assign
-       proper address for loads with predec operations.
-
-1999-11-25  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c (OP_4E0F): New function: Simulate new bit pattern for
-       cpfg instruction.
-
-Fri Oct 29 18:34:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (move_to_cr): Don't allow user to set PSW.DM in either
-       DPSW and BPSW.
-
-Thu Oct 28 01:26:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5F20): Use SET_HW_PSW when updating PSW.
-       (PSW_HW_MASK): Declare.
-
-       * d10v_sim.h (move_to_cr): Add ``psw_hw_p'' parameter.
-       (SET_CREG, SET_PSW_BIT): Update.
-       (SET_HW_CREG, SET_HW_PSW): Define.
-
-Sun Oct 24 21:38:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_d10v_translate_dmap_addr): Fix extraction of IOSP
-       for DMAP3.
-
-Sun Oct 24 16:04:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_d10v_translate_addr): New function.
-       (xfer_mem): Rewrite.  Use sim_d10v_translate_addr.
-       (map_memory): Make INLINE.
-
-Sun Oct 24 13:45:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_d10v_translate_dmap_addr): New function.
-       (dmem_addr): Rewrite. Use sim_d10v_translate_dmap_addr.  Change
-       offset parameter to type uint16.
-       * d10v_sim.h (dmem_addr): Update declaration.
-
-Sun Oct 24 13:07:31 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (imap_register, set_imap_register, dmap_register,
-       set_imap_register): Use map_memory.
-       (DMAP): Update.
-       (sim_create_inferior): Initialize all DMAP registers.  NOTE that
-       DMAP2, in internal memory mode, is set to 0x0000 and NOT
-       0x2000. This is consistent with the older d10v boards.
-
-Sun Oct 24 11:22:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_d10v_translate_imap_addr): New function.
-       (imem_addr): Rewrite.  Use sim_d10v_translate_imap_addr.
-       (last_from, last_to): Declare.
-
-Sun Oct 24 01:21:56 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (struct d10v_memory): Define.  Support very long
-       memories.
-       (struct _state): Replace imem, dmem and umem by mem.
-       (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE, IMEM_SEGMENTS,
-       DMEM_SEGMENTS, UMEM_SEGMENTS): Define.
-
-       * interp.c (map_memory): New function.
-       (sim_size, xfer_memory, imem_addr, dmem_addr): Update.
-       (UMEM_SEGMENTS): Moveed to "d10v_sim.h".
-       (IMEM_SIZEDMEM_SIZE): Delete.
-
-Sat Oct 23 20:06:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c: Include "sim-d10v.h".
-       (imap_register, set_imap_register, dmap_register,
-       set_dmap_register, spi_register, spu_register, set_spi_register,
-       set_spu_register): New functions.
-       (sim_create_inferior): Update.
-       (sim_fetch_register, sim_store_register): Rewrite.  Use enums
-       defined in sim-d10v.h.
-
-       * d10v_sim.h (DEBUG_MEMORY): Define.
-       (IMAP0, IMAP1, DMAP, SET_IMAP0, SET_IMAP1, SET_DMAP): Delete.
-
-Sat Oct 23 18:41:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Allow a debug value to be passed to the -t
-       option.
-       (lookup_hash): Don't exit on an illegal instruction.
-       (do_long, do_2_short, do_parallel): Check for failed instruction
-       lookup.
-
-Mon Oct 18 18:03:24 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
-
-       * simops.c (OP_3220): Fix trace output for illegal accumulator
-       message.
-
-1999-09-14  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c: Disable setting of DM bit in PSW.
-
-Wed Sep  8 19:34:55 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
-
-       * simops.c (op_types): Added new memory indirect type OP_MEMREF3.
-       (trace_input_func): Added support for OP_MEMREF3.
-       (OP_32010000): New instruction ld.
-       (OP_33010000): New instruction ld2w.
-       (OP_5209): New instruction sac.
-       (OP_4209): New instruction sachi.
-       (OP_3220): New instruction slae.
-       (OP_36010000): New instruction st.
-       (OP_37010000): New instruction st2w.
-
-1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * interp.c (old_segment_mapping): New global.
-       (xfer_mem): Change the default segment mapping to be the way
-       that Mitsubishi prefers, but use the previous mapping if
-       old_segment_mapping is true.
-       (sim_open): Add an option -oldseg to get the old mapping.
-       (sim_create_inferior): Init mapping registers based on the
-       value of old_segment_mapping.
-
-1999-09-07  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c (OP_6601): Do not write back decremented address if
-       either of the destination registers was the same as the address
-       register.
-       (OP_6201): Do not write back incremented address if either of the
-       destination registers was the same as the address register.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * interp.c (ui_loop_hook_counter): New global (when NEED_UI_LOOP_HOOK
-       defined).
-       (sim_resume): If the counter has expired, call the ui_loop_hook,
-       if defined.
-       (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the frequency of
-       ui_loop_hook calls.
-       * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK.
-
-Wed Mar 10 19:32:13 1999  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c: If load instruction with auto increment/decrement
-       addressing is used when the destination register is the same as
-       the address register, then ignore the auto increment/decrement.
-
-Wed Mar 10 19:32:13 1999  Martin M. Hunt  <hunt@cygnus.com>
-
-       * simops.c (OP_5F00): Ifdef SYS_stat case because
-       not all systems have it defined.
-
-1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
-
-       * simops.c (OP_5607): Correct saturation comparison/assignment.
-       (OP_1201, OP_1203, OP_17001200, OP_17001202,
-        OP_2A00, OP_2800, OP_2C00, OP_3200, OP_3201,
-        OP_1001, OP_1003, OP_17001000, OP_17001002): Ditto.
-
-1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
-
-       * simops.c (OP_5605): Sign extend MIN32 and MAX32 before saturation
-       comparison.
-       (OP_5607): Ditto.
-       (OP_2A00): Ditto.
-       (OP_2800): Ditto.
-
-1999-01-13  Jason Molenda  (jsm@bugshack.cygnus.com)
-
-       * simops.c (OP_1223): Sign extend MIN32 and MAX32 before saturation
-       comparison.
-
-Tue Nov 24 17:04:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (sys/syscall.h): Include targ-vals.h instead.
-       (SYS_*): Replace with TARGET_SYS_*.
-
-       * Makefile.in: Add dependency on targ-vals.h.
-       (NL_TARGET): Define as NL_TARGET_d10v.
-
-Wed Sep 30 00:06:32 1998  Andrew Cagney  <cagney@amy.cygnus.com>
-
-       * interp.c (xfer_mem): Missing break, instruction memory case
-       flowed into unified memory case.
-
-Wed Sep 30 10:14:18 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c: If load instruction with auto increment/decrement
-       addressing is used when the destination register is the same as
-       the address register, then ignore the auto increment/decrement.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:23 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:20:06 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Fri Apr 24 11:04:46 1998  Andrew Cagney  <cagney@chook.cygnus.com>
-
-       * interp.c (struct hash_entry): OPCODE and MASK are unsigned.
-
-       * d10v_sim.h (remote-sim.h, sim-config.h): Include.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  1 12:59:17 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (trace_input_func): Use move_from_cr / CREGS to obtain
-       up-to-date CR value.
-       (OP_OP_1000000, add3): Trace inputs before performing add.
-       (OP_5F00, <*>): Trace input registers before making system call.
-       (OP_5F00, <kill>): Trace R0, R1 not REGn.
-       (OP_5F00, <getpid>): Always return 47.
-
-       * d10v_sim.h (SLOT, SLOT_NR, SLOT_PEND_MASK, SLOT_PEND,
-       SLOT_DISCARD, SLOT_FLUSH): Define.  An implementation of write
-       back slots.
-       (struct _state): Add struct slot slot to global state variable.
-       (struct _state): Delete fields SM, EA, DB, DM, IE, RP, MD, FX, ST,
-       F0, F1, C from global State variable.
-       (struct _state): Add struct trace to global State variable.
-       (GPR, SET_GPR): Define.  SET_GPR uses SLOT_PEND.
-       (PSW*, SET_PSW*): Define. SET_PSW* uses SET_CREG.
-       (CREG, SET_CREG, SET_*): Define. SET_CREG uses func move_to_cr.
-       (INC_ADDR): Re-implement.  Use SET_GPR to update registers.
-       (JMP): Re-implement. Use SET_* to update registers.
-
-       * interp.c: Use new SET_* et.al. macros to fetch / store
-       registers.
-       (get_operands): Squirrel away trace values at start of each
-       operand decode.
-       (do_2_short): Flush pending writes before issuing second
-       instruction.
-       (sim_resume): Flush pending writes at end of instruction cycle.
-       (sim_fetch_register, sim_store_register, sim_create_inferior):
-       After scheduling updates to registers using SET_*, flush updates.
-       (sim_resume): Re-order handling of RPT/repeat and IBA/hbreak so
-       that each sets pc using SET_* and last SET_* eventually winds out.
-
-       * simops.c: Use new SET_* et.al. macros to fetch / store
-       registers.
-       (move_to_cr): Add MASK argument for selective update of CREG bits.
-       Re-implement using new SET_* macros.
-       (trace_output_func, trace_output): Delete. Replace with.
-       (do_trace_output_flush, trace_output_finish, trace_output_40,
-       trace_output_32, trace_output_16, trace_output_void,
-       trace_output_flag): New functions.  Handle specific trace cases.
-       (OP_*): Re-write tracing to use new trace_output_* functions.
-       (OP_*): Re-write to use new SET_* et.al. macros.
-       (FUNC, PARM[1-4], RETVAL, RETVAL32): Redo definition.
-       (RETVAL_HIGH, RETVAL_LOW): Delete, use RETVAL32.
-
-Wed Apr  1 12:55:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (SIM_AC_OPTION_WARNINGS): Add.
-       configure: Re-generate.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Feb 17 12:38:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Mon Oct 27 14:43:33 1997  Fred Fish  <fnf@cygnus.com>
-
-       * (dmem_addr): If address is illegal or in I/O space, signal a bus
-       error.  Allocate unified memory on demand.  Fix DMEM address
-       calculations.
-
-Mon Feb 16 10:27:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5F20): Implement "dbt".
-       (OP_5F60): Implement "rtd".
-
-       * d10v_sim.h (DPC_CR): Define enum.
-       (DBT_VECTOR_START): Define
-       (DPSW, DPC): Define.
-
-Fri Feb 13 15:15:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (move_to_cr): Sync regs[SP_IDX] with State.sp according
-       to PSW:SM.
-
-       * d10v_sim.h (struct _state): Add sp, as holding area for SPI/SPU.
-       (SP_IDX): Define.
-
-Wed Feb 11 16:53:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5F00): Call error instead of abort for unknown
-       syscalls.
-
-       * d10v_sim.h (enum): Define DPSW_CR.
-
-       * simops.c (move_to_cr): Mask out hardwired zero bits in DPSW.
-
-Tue Feb 10 18:28:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_write_phys): Delete.
-       (sim_load): Call sim_load_file with sim_write and LMA.
-
-Mon Feb  9 12:05:01 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c: Rewrite xfer_mem so that it translates addresses as -
-       0x00... - DMAP translated memory, 0x01... IMAP translated memory,
-       0x10... - on-chip data, 0x11... - on-chip insn, 0x12... - unified
-       memory.
-       (pc_addr): Delete.
-       (imem_addr): New function - translate IMEM address.
-       (sim_resume): Use imem_addr to translate insn address, abort if
-       translation failed.
-       (sim_create_inferior): Write ARGV to memory using sim_write.  Pass
-       argc/argv using r0/r1 not r2/r3.
-       (sim_size): Do not initialize IMAP/DMAP here.
-       (sim_open): Call sim_create_inferior and sim_size to initialize
-       the system.
-       (sim_create_inferior): Initialize IMAP/DMAP to hardware reset
-       defaults.
-       (init_system): Delete.
-       (xfer_mem, sim_fetch_register, sim_store_register): Do not call
-       init_system.
-       (decode_pc): Check prog_bfd is defined before looking up .text
-       section.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sun Jan 25 22:23:01 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * interp.c (sim_stop_reason): Exit status is now in r0, not r2.
-
-Sat Jan 24 19:00:30 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * d10v_sim.h (DEBUG_TRAP): New debug flag.
-
-       * simops.c (OP_5F00): If DEBUG_TRAP is on, turn traps 0-14 into
-       printing the registers.
-
-Thu Jan 22 17:54:01 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * simops.c (op_types): New ABI, args are r0..r3, system call # is
-       in r4.
-       (trace_{in,out}put_func): Ditto.
-       (OP_4900): Ditto.
-       (OP_24800000): Ditto.
-       (OP_4D00): Ditto.
-       (OP_5F00): Ditto.
-
-Thu Jan 22 14:30:36 1998  Fred Fish  <fnf@cygnus.com>
-
-       * interp.c (UMEM_SEGMENTS): New define, set to 128.
-       (sim_size): Use UMEM_SEGMENTS rather than hardwired constant.
-       (sim_close): Reset prog_bfd to NULL after closing it.  Also
-       reset prog_bfd_was_opened_p after closing prog_bfd.
-       (sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd.
-       (sim_create_inferior): Get start address from abfd not prog_bfd.
-       (xfer_mem): Do bounds checking on addresses and return zero length
-       read/write on bad addresses, rather than aborting.  Prepare to
-       be able to handle xfers that cross segment boundaries, but not
-       yet implemented.  Only emit debug message when d10v_debug is
-       set as well as DEBUG being defined.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Dec  9 10:28:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (RPT_S): Index cregs with RPT_S_CR not RPT_E_CR.
-       (BPSW): Ditto for BPSW_CR and not PSW_CR.
-
-       * simops.c (OP_5F40): JMP to BPC instead of assigning PC directly.
-
-Mon Dec  8 12:58:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5F00): From Martin Hunt <hunt@cygnus.com>. Change
-       reserved trap from 0 to 15. Add trap emulation code for 0-14.
-
-       * interp.c (sim_resume): From Martin Hunt <hunt@cygnus.com>. Check
-       IBA for SDBT.
-
-       * d10v_sim.h (AE_VECTOR_START, RIE_VECTOR_START,
-       SDBT_VECTOR_START, TRAP_VECTOR_START): Define.
-
-       * simops.c (OP_5F00): For "trap", mask out all but SM bit in PSW,
-       use move_to_cr.
-       (OP_5F00): For "trap", update BPSW with move_to_cr.
-
-Fri Dec  5 15:31:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (enum): Enumerate CR register names.
-       (enum): Enumerate PSW bit values.
-       (PSW): Obtain value uing move_from_cr.
-       (MOD_S, MOD_E, BPSW): Make r-values.
-       (move_from_cr, move_to_cr): Declare functions.
-
-       * interp.c (sim_fetch_register, sim_store_register): Use
-       move_from_cr and move_to_cr for CR register transfers.
-
-       * simops.c (move_from_cr, move_to_cr): New functions.
-       (OP_5F40): Move BPSW to PSW using move_to_cr and move_from_cr.
-       (OP_5600): For "mvtc", use function move_to_cr.
-       (OP_5200): For "mvfc", use function move_from_cr.
-
-Fri Dec  5 13:33:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5600): For "mvtc" MOD_E and MOD_S, ensure that the
-       LSbit is zero.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Dec  4 16:51:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (struct _state): Add DM - PSW debug mask.
-
-       * simops.c (OP_5600): For "mvtc", save PSW.DM.
-       (OP_5200): Ditto for "mvfc".
-
-Wed Dec  3 17:27:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h (SEXT56): Define.
-
-       * simops.c (OP_4201): For "rac", sign extend 56 bit value before
-       it is shifted.
-
-       * d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
-       SIGNED64 macro.
-
-Tue Dec  2 15:38:34 1997  Fred Fish  <fnf@cygnus.com>
-
-       * interp.c (sim_resume): Call do_2_short with LEFT_FIRST or
-       RIGHT_FIRST, as appropriate, instead of hardcoded ints that
-       don't match enum values.
-
-Tue Dec  2 15:01:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_3A00): For "macu", perform multiply stage using 32
-       bit rather than 16 bit precision.
-       (OP_3C00): For "mulxu", store unsigned product in ACC.
-       (OP_3800): For "msbu", subtract unsigned product from ACC,
-       (OP_0): For "sub", compute carry by comparing inputs.
-
-Tue Dec  2 11:04:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_1000): For "sub2w", compute carry by comparing
-       inputs.
-
-Mon Nov 17 20:57:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_1): Use 32 bit unsigned arithmetic for subtract,
-       carry indicated by value > 0xffff.
-
-Fri Nov 14 12:51:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_resume): Don't set up SIGINT handler using signal,
-       handled by client.
-       (sim_resume): Fix race condition of a direct assignment to
-       stop_simulator, conditionally call sim_stop.
-       (sim_stop_reason): Check stop_simulator returning SIGINT.  Clear
-       stop_simulator ready for next sim_resume call.
-       (sim_ctrl_c): Delete function.
-
-Thu Nov 13 19:29:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_resume): For "REP", only check/update the PC when
-       a branch instruction has not been executed.
-
-Mon Nov 10 17:50:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_4201): "rachi". Sign extend bit 40 of ACC.  Sign
-       extend bit 44 all constants.
-       (OP_4201): Replace GCC specific 0x..LL with SIGNED64 macro.
-
-Fri Oct 24 10:26:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * d10v_sim.h: Include sim-types.h.
-       (uint8, in816, uiny16, int32, uint32, int64, uint64): Typedef
-       using unsigned8 et.al. from sim-types.h.
-       (SEXT32, SEXT40, SEXT44, SEXT60): Replace GCC specific 0x..LL with
-       SIGNED64 macro.
-
-Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_write_phys): New function, write to physical
-       instead of virtual memory.
-
-       * interp.c (sim_load): Pass lma_p and sim_write_phys to
-       sim_load_file.
-
-Mon Oct 13 10:55:07 1997  Fred Fish  <cygnus.com>
-
-       * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
-       exception generation code to OP_6E01.
-       (OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception
-       generation code.
-
-Sat Oct 11 09:02:08 1997  Fred Fish  <fnf@cygnus.com>
-
-       * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
-       (OP_6601): Ditto.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Sep 27 12:51:34 1997  Fred Fish  <fnf@cygnus.com>
-
-       * interp.c (pc_addr): Discard upper bit(s) of PC in case
-       IMAP1 selects unified memory.
-       * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing
-       for end condition.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 10 22:30:24 1997  Martin M. Hunt  <hunt@cygnus.com>
-
-       * interp.c (sim_resume): Increment PC at end of rep
-       loop.
-
-       * simops.c (OP_4201): Fix rachi instruction.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:37:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-       (start_address): Delete variable.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 15:39:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add ABFD argument.
-
-Tue May 20 10:14:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Remove SIM_DESC argument.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Apr 22 10:29:23 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): Undo patch to add -E support.
-
-Fri Apr 18 13:39:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop): New function.
-
-Thu Apr 17 02:42:00 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * d10v_sim.h (exec_bfd): Rename to prog_bfd.
-       * interp.c: #include bfd.h.
-       (myname, sim_kind, start_address): New static locals.
-       (prog_bfd_was_opened_p, prog_bfd): New static locals.
-       (decode_pc): Update to use prog_bfd.
-       (sim_open): Set sim_kind, myname.  Ignore -E arg.
-       (sim_close): Close prog_bfd if simulator opened it.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-       (sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
-       Call sim_load_file to load file into simulator.
-       * simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
-
-Wed Apr 16 16:12:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_5F00): Only provide system calls SYS_execv,
-       SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-       * simops.c (OP_5F00): Remove old traps 1-3.  Make trap 15 the same
-       as trap 0, which will be deprecated.  Only set errno, if an error
-       in fact was returned.
-
-Thu Mar 13 12:41:20 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c: Delete redundant prototypes of sim_foo fns.
-       (sim_open): New SIM_DESC result.  Argument is now in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Thu Mar 13 10:29:04 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * simops.c (trace_{input,output}_func): Call flush_stdout from the
-       callback functions.
-       (OP_5F00): Ditto.
-       (OP_6{4,6,C,A}01): Test for post decrement on the stack pointer.
-       (OP_{1200,1000000,201,5FE0,1003,17001002}): Fix problems in
-       setting the carry bit after an add or a subtract.
-
-Wed Feb 12 16:04:15 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * simops.c (OP_{1403,15002A02,3{0,4}0{0,1}}): Only use the bottom
-       40 bits of accumulators.  Sign/zero extend as appropriate.
-
-Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Fri Dec 27 22:54:05 1996  Angela Marie Thomas (angela@cygnus.com)
-
-       * gencode.c: patch to not #include "d10v_sim.h" which
-       unecessarily includes bfd.h and causes wingdb configure
-       to fail.
-
-Mon Dec 16 13:39:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * interp.c (xfer_mem): Change unified memory to 0x0.
-
-Thu Nov 28 20:42:56 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_3E01): Fix tracing information.
-       (OP_300{0,1}): Do not propigate sign.
-
-Mon Nov 25 19:47:40 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * config.in (WORDS_BIGENDIAN): Add.
-       * configure: Regenerated.
-       * d10v_sim.h: #include "config.h"
-
-Sat Nov 23 09:34:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * gencode.c (write_opcodes): Eliminate warnings when generated
-       table.c is compiled.
-
-Wed Nov 20 19:41:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * interp.c (sim_open): Cast result of calloc, and make sure NULL
-       was not returned.
-       (dmem_addr): If address is illegal or in I/O space, signal a bus
-       error.
-       (pc_addr): Signal bus error, not illegal instruction for bogus
-       pc.
-
-Wed Nov 20 01:23:03 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete all stuff moved to ../common/Make-common.in.
-       (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       Call AC_CHECK_HEADERS(unistd.h).
-       * configure: Regenerated.
-       * config.in: New file.
-       * interp.c: #include "callback.h".
-       * simops.c: #include "config.h".  #include <unistd.h> if present.
-
-Fri Nov  8 16:19:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * d10v-sim.h (simops): Add flag is_long.
-       (State): Add pc_changed.  Instructions which update the PC should
-       use the JMP macro which sets this.
-       (JMP): New macro.  Sets the PC and the pc_changed flag.
-
-       * gencode.c (write_opcodes): Add is_long field.
-
-       * interp.c (lookup_hash): If we blindly apply a short opcode's mask
-       to a long opcode we could get a false match.  Check the opcode size.
-       (hash): Add a size field to the hash table.
-       (sim_open): Initialize size field in hash table.
-       (sim_resume): Change to logic for setting the PC.  Used to increment the
-       PC if it had not been changed.  This didn't allow single-instruction loops.
-       Now checks the flag State.pc_changed.  Also now stops when ^C is received.
-       (dmem_addr): Fix translation of data segments to unified memory.
-       (sim_ctrl_c): New function.  When ^C is received, set stop_simulator flag.
-
-       * simops.c: Changed all branch and jump instructions to use new JMP macro.
-       (OP_20000000): Corrected trace information to show this is a ldi.l, not
-       a ldi.s instruction.
-
-Thu Oct 31 19:13:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * interp.c (sim_fetch_register, sim_store_register): Fix bug where
-       updating the accumulators was overwriting other parts of the global
-       State variable.
-
-Wed Oct 30 17:35:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * interp.c (bfd.h) Don't include it here any more.
-       (text{,_start,_end}): Move here from simops.c and make extern.
-       (decode_pc): New function to return the PC as an address that the
-       debugger can use.
-       (dmem_addr): Print decoded PC in error message.
-       (pc_addr): Ditto.
-
-       * simops.c (bfd.h) Don't include it here any more.
-       (text{,_start,_end}): Move to simops.c.
-       (trace_input_func): Move decoding of PC, and looking up .text
-       start to decode_pc.
-
-       * d10v_sim.h (bfd.h): Include it here.
-       (text{,_start,_end}): Add external declarations.
-       (exec_bfd): Ditto.
-       (decode_pc): Ditto.
-
-Tue Oct 29 12:13:52 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * interp.c (sim_size): Now allocates unified memory for imap segments
-       0,1,2, and 127. Initializes imap0 and imap1 to 0x1000.  Initializes dmap to 0.
-       (sim_write): Just call xfer_mem().
-       (sim_read): Just call xfer_mem().
-       (xfer_mem): New function. Does appropriate memory mapping and copies bytes.
-       (dmem_addr): New function. Reads dmap register and translates data
-       addresses to local addresses.
-       (pc_addr): New function. Reads imap register and computes local address
-       corresponding to contents of the PC.
-       (sim_resume): Change to use pc_addr().
-       (sim_create_inferior): Change reinitialization code. Also reinitializes
-       imap[01] and dmap.
-       (sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
-       (sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
-
-       * simops.c (MEMPTR): Redefine to use dmem_addr().
-       (OP_5F00): Replace references to STate.imem with dmem_addr().
-
-       * d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
-       (RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
-       (IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.
-
-Tue Oct 22 15:22:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * d10v_sim.h (_ins_type): Reorganize, so that we can provide
-       better statistics, like not counting NOPS as parallel
-       instructions, and printing total cycles.
-       (ins_type_counters): Make unsigned long.
-       (left_nops,right_nops): Fold into ins_type_counters.
-
-       * simops.c (trace_input_func): Print new instruction types.
-       Handle OP_R2R3 as input types.
-       (OP_{38000000,7000}): Correctly sign extend bytes.
-       (OP_5E00): Don't count NOPs as parallel instructions.
-       (OP_460B): Remove unused variable.
-       (OP_5F00): Ditto.
-
-       * interp.c (ins_type_counters): Make unsigned long.
-       (left_nops,right_nops): Delete.
-       (most functions): Add prototypes.
-       (INLINE): If GCC and optimize define as __inline__.
-       ({,lookup_}hash,get_operands): Declare as INLINE.
-       (do_parallel): Count conditional operations.
-       (add_commas): New function, to add commas every 3 digits.
-       (sim_size): Call add_commas to print numbers.
-       (sim_{open,resume}): Delete unused variables.
-       (sim_info): Provide better statistics.
-       (sim_read): Add int return type.
-
-Mon Oct 21 16:16:26 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * interp.c (sim_resume): Change the way single-stepping and exceptions
-       are handled so single-stepping works again.
-
-Thu Oct 17 12:24:16 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * endian.c: Optimize simulated loads/stores on x86, AIX, and big
-       endian hosts.
-
-       * configure.in (--enable-sim-bswap): New switch to enable using
-       the BSWAP instruction on x86's.
-       * configure: Regenerate.
-
-       * Makefile.in ({SWAP,CONFIG}_CFLAGS): Add --enable-sim-bswap
-       support.
-
-Wed Oct 16 13:50:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * endian.c: New file.  Move endian functions here from interp.c.
-       Optimize code, and make it work as either inline functions or as a
-       separate file.
-
-       * interp.c: Move endian functions from here to endian.c.
-
-       * Makefile.in (INCLUDE): Add endian.c.
-       (run,libsim.a): Add dependency on endian.o.
-       (endian.o): Add dependency.
-
-       * d10v_sim.h (read/write support): Always go through the machine
-       independent endian functions.  If compiling with GCC and
-       optimizing, include endian.c so the endian functions are inlined.
-
-       * simops.c (OP_5F00): Correct tracing of accumulators.
-
-Tue Oct 15 10:57:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_5F00): Add support for getpid, kill system calls.
-
-       * interp.c (do_{2_short,parallel}): If an exception is raised,
-       don't execute the second instruction.
-
-Sat Oct 12 22:17:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_{31000000,6601,6201,6200}): Store address in a
-       temporary in case the register is overriden when loading.
-       (OP_6200): Output type is OP_DREG for tracing.
-
-Fri Oct  4 23:46:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * d10v_sim.h (struct _state): Add mem_{min,max} fields.
-
-       * interp.c (sim_size): Initialize mem_{min,max} fields.
-       (sim_write): Update mem_{min,max} fields.
-       (sim_resume): If PC is not in the minimum/maximum memory range,
-       abort.
-       (sim_create_inferior): Preserve mem_{min,max} fields.
-
-Fri Sep 27 13:11:58 1996  Mark Alexander  <marka@cygnus.com>
-
-       * simops.c (OP_5F00): Add support for time() system call.
-
-Wed Sep 25 16:31:41 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_{6E01,6A01,6E1F,6A00}): Print both words being
-       stored if tracing.
-       (OP_5F00,trace_{in,out}put_func): Add finer grain tracing for
-       system calls.
-
-Mon Sep 23 17:55:30 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (op_types): Add OP_{CONSTANT8,R2,R3}.
-       (trace_input_func): Add support for  OP_{CONSTANT8,R2,R3}.
-       (OP_{4900,24800000,4800,4A00,4B00,4D00,4C00}): Add OP_R2 and OP_R3
-       to call/subroutine returns to trace the first two arguments and
-       the return value.  For small jumps, use CONSTANT8, not CONSTANT16.
-
-Fri Sep 20 15:36:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * interp.c (sim_create_inferior): Reinitialize State every time
-       sim_create_inferior() is called.
-
-Thu Sep 19 21:38:20 1996  Michael Meissner  <meissner@wogglebug.ziplink.net>
-
-       * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
-       on comparisons.
-       (OP_401): Fix tracing information.
-
-Thu Sep 19 10:30:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
-       (trace_input_func): Use them.
-       (trace_input_func): Make sure there is a trailing space after the
-       instruction.
-       (OP_6200): Fix tracing info.
-
-       * Makefile.in (run): Add dependencies on libbfd.a and
-       libiberity.a.
-
-Wed Sep 18 09:13:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
-       numbers and function names in debug trace.
-       (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
-       DEBUG_LINE_NUMBER.
-       (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
-       and exit system call trap being executed.
-
-       * interp.c (sim_stop_reason): Set exit code correctly for stop
-       instruction and exit system call trap.
-
-       * configure.in (--enable-sim-cflags): Remove trace case.
-       (--enable-sim-debug): New switch to set the debug values.
-       * configure: Regenerate.
-
-       * simops.c (trace_{input,output}_func): Rename from
-       trace_{input,output}.
-       (trace_{input,output}): Call trace_{input,output}_func if
-       d10v_debug is non-zero.
-       (SIZE_INSTRUCTION): Cut down to 8.
-       (SIZE_OPERANDS): Cut down to 18.
-       (SIZE_LOCATION): New value for size of line number, function name
-       field.
-       (init_text_p,text{,_start,_end}): New static variables for
-       printing line number and function name.
-       (exec_bfd): New external that run.c sets.
-       (trace_input_func): Print line number and function name if
-       available and if desired.
-       (OP_4E09): Don't print out DBT message.
-       (OP_5FE0): Set exception field to SIG_D10V_STOP.
-       (OP_5F00): Set exception field to SIG_D10V_EXIT.
-
-Sat Sep 14 22:18:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * interp.c (do_2_short): If the instruction encodes jump->ins,
-       don't do the second instruction if the jump succeeds.
-
-Fri Sep 13 22:35:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_5F00): Use unknown traps to print all GPRs,
-       accumulators, PC, and F0/F1/C flags.
-
-Thu Sep 12 12:50:11 1996  Mark Alexander  <marka@cygnus.com>
-
-       * simops.c (OP_5F00): Fix problems with system calls.
-
-Thu Sep 12 12:19:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_5F00): Correct tracing information for trap.
-
-Wed Sep 11 18:55:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (CSEARCH): Correctly find opcodes directory.
-
-Mon Sep  9 13:27:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (trace_output): Properly align accumulator output.
-       (OP_3{0,2,4}00): Properly parenthesize test expression.  Add error
-       if shift count is too high.
-       (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
-       (OP_4E09): Make cpfg properly trace the input flags.
-       (op_types): Add OP_FLAG_OUTPUT.
-       (trace_{input,output}): Support OP_FLAG_OUTPUT.
-       (OP_31000000): This ld2w varient is a 16-bit memory reference, not
-       an 8-bit memory reference instruction for tracing purposes.
-       (OP_201): Addi needs to set the carry.
-
-Fri Sep  6 17:56:17 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * simops.c (OP_2600, OP_2601): Changed min and max comparisons
-       to use signed register values.
-
-Wed Sep  4 11:35:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
-       output.
-       (_ins_type): New enumeration to specify which container an
-       instruction is in, and whether it is part of a parallel operation.
-       (_state): Add ins_type field.
-       ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
-       (ins_type_counters): Counters for the various instruction types.
-       ({left,right}_nops): Counters for the number of nops in each
-       container.
-       (d10v_debug): New variable to indicate whether debugging is turned
-       on.
-
-       * simops.c: (all functions): Change all #ifdef DEBUG code so that
-       the input and output values can be traced, along with the
-       instruction type.  Make the -t option enable tracing.
-       (all functions): Change printf calls to use the printf_filtered
-       function in the callback table.
-
-       * interp.c (_leftright): New enumeration to say whether 2 short
-       instructions are done left first or right first.
-       (do_{long,2_short,parallel}): Indicate in the machine state which
-       type of instruction this is.  Count each of the types of
-       instructions executed.
-       (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
-       flag is set.
-       (sim_resume): Pass left/right indication to do_2_short.
-       (all functions): Change printf calls to use the printf_filtered
-       function in the callback table.
-       (sim_trace): Turn on debug flag if DEBUG was defined, and call
-       sim_resume.
-       (sim_info): Print out statistics on instructions.
-       (sim_{trace,create_inferior}): Eliminate extraneous output unless
-       debugging.
-       (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
-       Only initialize the hash table the first time sim_open is called.
-
-       * Makefile.in: Make objects depend on d10v_sim.h.
-       ({,SIM_}CFLAGS): Include configure dependent switches.  Setting
-       CFLAGS does not override host/target defines or SIM_CFLAGS.
-       (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
-       (run): By default, the math library is not needed to be linked
-       in.
-       ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
-       overridden.
-       (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
-       makes.
-       ({run,callback}.o): Provide explicit paths to their appropriate
-       source directories.
-       (gencode{,.o},d10v-opc.o): Split compilation into creating object
-       and linking.  Instead of linking in libopcodes.a, just compile
-       d10v-opc.o directly to handle canadian cross.
-       (CSEARCH): Add opcodes directory.
-
-       * configure.in (--enable-sim-cflags): New switch to allow user to
-       set the defaults.
-       (CC_FOR_BUILD): Deal with canadian crosses.
-       * configure: Regenerate.
-
-Wed Sep 04 04:45:34 1996  Mark Alexander  <marka@cygnus.com>
-
-       * simops.c: Include correct syscall.h for d10v, not host's.
-       Fix #ifdef SYS_stat.
-
-Tue Sep  3 14:00:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
-       Add trap 2 to be printf and trap 3 to be putchar.
-
-Wed Aug 28 21:42:34 1996  Mark Alexander  <marka@cygnus.com>
-
-       * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
-       for low-level system calls.
-
-Wed Aug 28 17:33:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
-
-Mon Aug 26 18:30:28 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * d10v_sim.h (SEXT32): Added.
-       * interp.c: Commented out printfs.
-       * simops.c:  Fixed error in sb and st2w.
-
-Thu Aug 15 13:30:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
-       DSP instructions.  Added modulo addressing.
-
-Sun Aug 11 12:57:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
-
-Fri Aug  2 17:44:24 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * d10v_sim.h, simops.c: Snapshot.
-
-Thu Aug  1 17:05:24 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
-
-       * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
-       gencode.c, interp.c, simops.c: Created.
diff --git a/sim/d10v/ChangeLog-2021 b/sim/d10v/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5ae2318
--- /dev/null
@@ -0,0 +1,1954 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+       * simops.c: Likewise.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open):
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-22  John Baldwin  <jhb@FreeBSD.org>
+
+       * interp.c (sim_create_inferior): Use offsetof in static
+       assertion.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h, gencode.c: Delete config.h include.
+       * endian.c: Include defs.h.
+       * interp.c, simops.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Update path.
+       * d10v_sim.h: Update include path.
+       * interp.c: Likewise.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h (decode_pc): Delete.
+       * interp.c (sim_create_inferior): Use BFD_VMA_FMT.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): New variable.
+       (simops.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (xfer_mem): Use PRIxTA for printf format.
+       (sim_write): Cast buffer to (void *).
+       (sim_open): Add const to p.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o, d10v-opc.o): Call COMPILE_FOR_BUILD.
+       (gencode): Call LINK_FOR_BUILD.
+
+2021-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode): Delete $(BUILD_LIB).
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
+       HAVE_STDLIB_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h (State): Change to an extern.
+       * interp.c (State): Define.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * endian.c (get_word): Delete all arch/big endian logic.
+       (get_longword, write_word, write_longword): Likewise.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (d10v_reg_store, d10v_reg_fetch): Define.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (sim_store_register): Rename to ...
+       (d10v_reg_store): ... this.  Rename cpu to sd.
+       (sim_fetch_register): Rename to ...
+       (d10v_reg_fetch): ... this.  Rename cpu to sd.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete sim_create_inferior call.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h (d10v_callback): Delete.
+       * interp.c (d10v_callback): Delete.
+       (do_long, do_2_short, do_parallel, set_dmap_register,
+       set_imap_register, xfer_mem, dmem_addr, imem_addr, sim_info,
+       sim_create_inferior): Replace d10v_callback->printf_filtered
+       with sim_io_printf.
+       (sim_open): Delete d10v_callback assignment.
+       * simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
+       do_trace_output_finish, trace_output_40, trace_output_32,
+       trace_output_16, trace_output_void, trace_output_flag, OP_5F20,
+       OP_5201, OP_27000000, OP_3220, OP_3400, OP_3000, OP_6C1F, OP_6C01,
+       OP_6E1F, OP_6E01): Replace d10v_callback->printf_filtered with
+       sim_io_printf and d10v_callback->flush_stdout with
+       sim_io_flush_stdout.
+       (OP_5F00): Likewise.  Rename d10v_callback to cb.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
+       sim-stop.o.
+       * d10v_sim.h (struct d10v_memory): Delete fault member.
+       (struct _state): Delete exception member.
+       * interp.c (lookup_hash): Call sim_engine_halt instead of setting
+       State.exception.
+       (do_2_short, do_parallel): Delete State.exception checks.
+       (sim_size): Mark static.
+       (map_memory): Call sim_engine_halt instead of returning fault.
+       Call xcalloc instead of calloc and checking the return.
+       (dmem_addr): Call sim_engine_halt when phys_size is 0.
+       (imem_addr): Likewise.
+       (stop_simulator, sim_stop, sim_stop_reason): Delete.
+       (sim_resume): Rename to ...
+       (step_once): ... this.  Delete State.exception code and move
+       siggnal checking to sim_engine_run.
+       (sim_engine_run): New function.
+       * simops.c (EXCEPTION): Define.
+       (move_to_cr): Call EXCEPTION instead of setting State.exception.
+       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
+       OP_6601, OP_6201, OP_6200, OP_33010000, OP_5201, OP_27000000,
+       OP_2F000000, OP_3220, OP_3200, OP_3400, OP_3000, OP_34000000,
+       OP_6800, OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000,
+       OP_6A00, OP_6E1F, OP_6A01, OP_6E01, OP_37010000, OP_5FE0): Likewise.
+       (OP_5F20): Call sim_engine_halt instead of setting State.exception.
+       (OP_5F00): Call sim_engine_halt and EXCEPTION instead of setting
+       State.exception.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
+       (SET_CREG, SET_HW_CREG, SET_PSW_BIT): Pass sd and cpu to move_to_cr.
+       (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
+       (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
+       * endian.c: Change d10v_sim.h include to sim-main.h.
+       * gencode.c: Likewise.  Add SIM_DESC and SIM_CPU args to all OPs.
+       * interp.c (lookup_hash, do_long, do_2_short, do_parallel,
+       map_memory, set_dmap_register, dmap_register, set_imap_register,
+       imap_register, sim_d10v_translate_dmap_addr, xfer_mem,
+       sim_d10v_translate_imap_addr, sim_d10v_translate_addr): Add
+       SIM_DESC and SIM_CPU args and adjust all callers.
+       (trace_sd): Delete.
+       (sim_open): Do not assign trace_sd.
+       (sim_resume, sim_create_inferior, sim_fetch_register,
+       sim_store_register): Set up cpu from the first one in sd.
+       * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
+       (trace_input_func, trace_input, do_trace_output_finish,
+       do_trace_output_finish, trace_output_40, trace_output_32,
+       trace_output_16, trace_output_void, trace_output_flag): Add
+       SIM_DESC arg.
+       (trace_input_func): Likewise.  Change trace_sd to sd.
+       (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-11-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_d10v_translate_dmap_addr): Mark static.
+       (sim_d10v_translate_imap_addr): Likewise.
+       (sim_d10v_translate_addr): Likewise.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (d10v_pc_get, d10v_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
+       CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (lookup_hash): Change SIGILL to GDB_SIGNAL_ILL.
+       (sim_resume): Change SIGBUS/SIGSEGV to GDB_SIGNAL_BUS, SIGILL to
+       GDB_SIGNAL_ILL, and SIGTRAP to GDB_SIGNAL_TRAP.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_set_profile, sim_set_profile_size): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (simops.o): New rule.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v_sim.h (text, text_start, text_end, prog_bfd): Delete.
+       (SEXT8, SEXT16, SEXT32, MASK32): Undefine.
+       * interp.c: Delete run-sim.h and d10v_sim.h includes.  Include
+       sim-main.h and sim-options.h.
+       (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
+       text, text_start, text_end, decode_pc, sim_set_profile,
+       sim_set_profile_size, sim_set_trace, sim_set_callbacks,
+       sim_trace, sim_do_command, sim_load): Delete.
+       (INLINE): Delete define.
+       (free_state): New function.
+       (trace_sd): Declare global variable.
+       (sim_open): Rewrite to use new common logic.
+       (sim_close): Delete body.
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * sim-main.h: New file.
+       * simops.c: Change d10v_sim.h include to sim-main.h.
+       (trace_input_func): Rewrite pc checks to use trace_sd.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
+       * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
+       ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
+       (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o, d10v-opc.o): Add $(WARN_CFLAGS).
+       (gencode): Add $(BUILD_LDFLAGS).
+       * endian.c (get_word, get_longword, get_longlong, write_word,
+       write_longword, write_longlong): Convert old style prototypes.
+       * gencode.c: Include string.h.
+       (main): Convert old style prototype.
+       (write_header): Convert old style prototype and fix printf format.
+       (write_template, write_opcodes): Likewise.
+       (check_opcodes): Mark static void.
+       * interp.c: Include inttypes.h and run-sim.h.
+       (hash, lookup_hash, decode_pc, do_long, do_2_short, do_parallel,
+       add_commas, sim_size, sim_write, sim_read, sim_open, sim_close,
+       sim_set_profile, sim_set_profile_size, sim_stop, +sim_resume,
+       sim_info, sim_set_callbacks, sim_stop_reason, sim_fetch_register,
+       sim_store_register, sim_do_command, sim_load): Convert old style
+       prototypes.
+       (sim_create_inferior): Fix pointer cast to use uintptr_t.
+       * simops.c (strrchr): Delete prototype.
+       (trace_input_func): Mark name static.
+       (trace_input_func, trace_output_void, trace_output_flag): Convert old style
+       prototypes.
+       (OP_*): Convert old style prototypes.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (interp.o, simops.o, endian.o, table.o): Delete rules.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
+       SIM_AC_OPTION_INLINE.
+       * config.in, configure: Regenerate.
+       * interp.c (sim_trace): Define.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Add
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2012-06-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * interp.c: #include "config.h" instead of "sysdep.h".
+       Add conditional include of string.h or strings.h, as well as
+       conditional include of stdlib.h.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (sim_stop_reason): Fix typo.
+
+2005-11-28  Mark Mitchell  <mark@codesourcery.com>
+
+       * interp.c (gdb/signals.h): Include it.
+       (sim_stop_reason): Use TARGET_SIGNAL_*.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-06-28  Andrew Cagney  <cagney@gnu.org>
+
+       * interp.c (sim_resume): Rename ui_loop_hook to
+       deprecated_ui_loop_hook.
+
+2003-10-30  Andrew Cagney  <cagney@redhat.com>
+
+       * simops.c: Replace "struct symbol_cache_entry" with "struct
+       bfd_symbol".
+
+2003-06-22  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (xfer_mem): Simplify.  Only do a single partial
+       transfer.  Problem reported by Tom Rix.
+
+2003-05-07  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_d10v_translate_addr): Add "regcache" parameter.
+       (sim_d10v_translate_imap_addr): Ditto.
+       (sim_d10v_translate_dmap_addr): Ditto.
+       (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr.
+       (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr.
+       (dmap_register, imap_register): Add "regcache" parameter.
+       (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr.
+       (sim_fetch_register): Pass NULL regcache to imap_register and
+       dmap_register.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-11-13  Andrew Cagney  <cagney@redhat.com>
+
+       * simops.c: Include <string.h>.
+
+2002-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-13  Tom Rix  <trix@redhat.com>
+
+       * interp.c (xfer_mem): Fix transfers across multiple segments.
+
+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.
+       (sim_store_register): Ditto.
+
+2002-06-02  Elena Zannoni  <ezannoni@redhat.com>
+
+       From Jason Eckhardt <jle@redhat.com>
+       * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
+       less than MOD_S (post-decrement).
+
+2002-06-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * interp.c (sim_fetch_register, sim_store_register): Use a switch
+       statement and enums from "sim-d10v.h".
+
+2002-05-28  Elena Zannoni  <ezannoni@redhat.com>
+
+       * interp.c (sim_create_inferior): Add comment.
+
+       From Alan Matsuoka <alanm@redhat.com>:
+       From 2001-04-27 Jason Eckhardt <jle@cygnus.com>:
+       * simops.c (OP_4400): Output "mvf0f" instead of "mf0f".
+       (OP_4401): Output "mvf0t" instead of "mf0t".
+       (OP_460B): Do not output a flag register.
+       (OP_4609): Do not output a flag register.
+
+2002-05-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * 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  <jmoore@redhat.com>
+
+       * interp.c (sim_create_inferior): Removed a hack that stated
+       it was setting r0/r1 with argc/argv.
+
+2001-04-15  J.T. Conklin  <jtc@redback.com>
+
+       * Makefile.in (simops.o): Add simops.h to dependency list.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Apr 18 16:26:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_resume): Deliver SIGILL.
+       (lookup_hash): Do not print SIGILL message.
+
+Tue Feb 22 18:24:56 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Define SIM_HAVE_ENVIRONMENT.
+       * interp.c (sim_set_trace): Replace sim_trace.  Enable tracing.
+
+Tue Feb  8 17:41:12 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (SIG_D10V_BUS): Define.
+
+       * simops.c (address_exception): Delete function.
+       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
+       OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800,
+       OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00,
+       OP_6E1F, OP_6A01, OP_6E01, OP_37010000): Replace call to
+       address_exception with code that sets SIG_D10V_BUS.
+
+       * interp.c (sim_resume): When SIGBUS or SIGSEGV, deliver a bus
+       error to the simulator before resuming execution.
+       (sim_trace): Check stop reason and use that to determine sim_trace
+       return value.
+       (sim_stop_reason): For SIG_D10V_BUS return a SIGBUS / SIGSEGV
+       sigrc.
+
+Tue Jan 18 16:07:42 MST 2000   Diego Novillo <dnovillo@cygnus.com>
+
+       * interp.c (sim_create_inferior): Change internal initial value for
+       DMAP2 to 0x2000.
+
+Mon Jan  3 02:06:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (lookup_hash): Stop the update of the PC when there was
+       an illegal instruction exception.
+
+Mon Jan  3 00:14:33 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (address_exception): New function.
+       (OP_30000000, OP_6401, OP_6001, OP_6000, OP_32010000, OP_31000000,
+       OP_6601, OP_6201, OP_6200, OP_33010000, OP_34000000, OP_6800,
+       OP_6C1F, OP_6801, OP_6C01, OP_36010000, OP_35000000, OP_6A00,
+       OP_6E1F, OP_6A01, OP_6E01, OP_37010000): For "ld", "ld2w", "st"
+       and "st2w" check that the address is aligned.
+
+1999-12-30  Chandra Chavva   <cchavva@cygnus.com>
+
+       * d10v_sim.h (INC_ADDR): Added code to assign
+       proper address for loads with predec operations.
+
+1999-11-25  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c (OP_4E0F): New function: Simulate new bit pattern for
+       cpfg instruction.
+
+Fri Oct 29 18:34:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (move_to_cr): Don't allow user to set PSW.DM in either
+       DPSW and BPSW.
+
+Thu Oct 28 01:26:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5F20): Use SET_HW_PSW when updating PSW.
+       (PSW_HW_MASK): Declare.
+
+       * d10v_sim.h (move_to_cr): Add ``psw_hw_p'' parameter.
+       (SET_CREG, SET_PSW_BIT): Update.
+       (SET_HW_CREG, SET_HW_PSW): Define.
+
+Sun Oct 24 21:38:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_d10v_translate_dmap_addr): Fix extraction of IOSP
+       for DMAP3.
+
+Sun Oct 24 16:04:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_d10v_translate_addr): New function.
+       (xfer_mem): Rewrite.  Use sim_d10v_translate_addr.
+       (map_memory): Make INLINE.
+
+Sun Oct 24 13:45:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_d10v_translate_dmap_addr): New function.
+       (dmem_addr): Rewrite. Use sim_d10v_translate_dmap_addr.  Change
+       offset parameter to type uint16.
+       * d10v_sim.h (dmem_addr): Update declaration.
+
+Sun Oct 24 13:07:31 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (imap_register, set_imap_register, dmap_register,
+       set_imap_register): Use map_memory.
+       (DMAP): Update.
+       (sim_create_inferior): Initialize all DMAP registers.  NOTE that
+       DMAP2, in internal memory mode, is set to 0x0000 and NOT
+       0x2000. This is consistent with the older d10v boards.
+
+Sun Oct 24 11:22:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_d10v_translate_imap_addr): New function.
+       (imem_addr): Rewrite.  Use sim_d10v_translate_imap_addr.
+       (last_from, last_to): Declare.
+
+Sun Oct 24 01:21:56 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (struct d10v_memory): Define.  Support very long
+       memories.
+       (struct _state): Replace imem, dmem and umem by mem.
+       (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE, IMEM_SEGMENTS,
+       DMEM_SEGMENTS, UMEM_SEGMENTS): Define.
+
+       * interp.c (map_memory): New function.
+       (sim_size, xfer_memory, imem_addr, dmem_addr): Update.
+       (UMEM_SEGMENTS): Moveed to "d10v_sim.h".
+       (IMEM_SIZEDMEM_SIZE): Delete.
+
+Sat Oct 23 20:06:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c: Include "sim-d10v.h".
+       (imap_register, set_imap_register, dmap_register,
+       set_dmap_register, spi_register, spu_register, set_spi_register,
+       set_spu_register): New functions.
+       (sim_create_inferior): Update.
+       (sim_fetch_register, sim_store_register): Rewrite.  Use enums
+       defined in sim-d10v.h.
+
+       * d10v_sim.h (DEBUG_MEMORY): Define.
+       (IMAP0, IMAP1, DMAP, SET_IMAP0, SET_IMAP1, SET_DMAP): Delete.
+
+Sat Oct 23 18:41:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Allow a debug value to be passed to the -t
+       option.
+       (lookup_hash): Don't exit on an illegal instruction.
+       (do_long, do_2_short, do_parallel): Check for failed instruction
+       lookup.
+
+Mon Oct 18 18:03:24 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * simops.c (OP_3220): Fix trace output for illegal accumulator
+       message.
+
+1999-09-14  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c: Disable setting of DM bit in PSW.
+
+Wed Sep  8 19:34:55 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * simops.c (op_types): Added new memory indirect type OP_MEMREF3.
+       (trace_input_func): Added support for OP_MEMREF3.
+       (OP_32010000): New instruction ld.
+       (OP_33010000): New instruction ld2w.
+       (OP_5209): New instruction sac.
+       (OP_4209): New instruction sachi.
+       (OP_3220): New instruction slae.
+       (OP_36010000): New instruction st.
+       (OP_37010000): New instruction st2w.
+
+1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * interp.c (old_segment_mapping): New global.
+       (xfer_mem): Change the default segment mapping to be the way
+       that Mitsubishi prefers, but use the previous mapping if
+       old_segment_mapping is true.
+       (sim_open): Add an option -oldseg to get the old mapping.
+       (sim_create_inferior): Init mapping registers based on the
+       value of old_segment_mapping.
+
+1999-09-07  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c (OP_6601): Do not write back decremented address if
+       either of the destination registers was the same as the address
+       register.
+       (OP_6201): Do not write back incremented address if either of the
+       destination registers was the same as the address register.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * interp.c (ui_loop_hook_counter): New global (when NEED_UI_LOOP_HOOK
+       defined).
+       (sim_resume): If the counter has expired, call the ui_loop_hook,
+       if defined.
+       (UI_LOOP_POLL_INTERVAL): Define. Used to tweak the frequency of
+       ui_loop_hook calls.
+       * Makefile.in (SIM_EXTRA_CFLAGS): Include NEED_UI_LOOP_HOOK.
+
+Wed Mar 10 19:32:13 1999  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c: If load instruction with auto increment/decrement
+       addressing is used when the destination register is the same as
+       the address register, then ignore the auto increment/decrement.
+
+Wed Mar 10 19:32:13 1999  Martin M. Hunt  <hunt@cygnus.com>
+
+       * simops.c (OP_5F00): Ifdef SYS_stat case because
+       not all systems have it defined.
+
+1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * simops.c (OP_5607): Correct saturation comparison/assignment.
+       (OP_1201, OP_1203, OP_17001200, OP_17001202,
+        OP_2A00, OP_2800, OP_2C00, OP_3200, OP_3201,
+        OP_1001, OP_1003, OP_17001000, OP_17001002): Ditto.
+
+1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * simops.c (OP_5605): Sign extend MIN32 and MAX32 before saturation
+       comparison.
+       (OP_5607): Ditto.
+       (OP_2A00): Ditto.
+       (OP_2800): Ditto.
+
+1999-01-13  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * simops.c (OP_1223): Sign extend MIN32 and MAX32 before saturation
+       comparison.
+
+Tue Nov 24 17:04:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (sys/syscall.h): Include targ-vals.h instead.
+       (SYS_*): Replace with TARGET_SYS_*.
+
+       * Makefile.in: Add dependency on targ-vals.h.
+       (NL_TARGET): Define as NL_TARGET_d10v.
+
+Wed Sep 30 00:06:32 1998  Andrew Cagney  <cagney@amy.cygnus.com>
+
+       * interp.c (xfer_mem): Missing break, instruction memory case
+       flowed into unified memory case.
+
+Wed Sep 30 10:14:18 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c: If load instruction with auto increment/decrement
+       addressing is used when the destination register is the same as
+       the address register, then ignore the auto increment/decrement.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:23 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:20:06 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Fri Apr 24 11:04:46 1998  Andrew Cagney  <cagney@chook.cygnus.com>
+
+       * interp.c (struct hash_entry): OPCODE and MASK are unsigned.
+
+       * d10v_sim.h (remote-sim.h, sim-config.h): Include.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  1 12:59:17 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (trace_input_func): Use move_from_cr / CREGS to obtain
+       up-to-date CR value.
+       (OP_OP_1000000, add3): Trace inputs before performing add.
+       (OP_5F00, <*>): Trace input registers before making system call.
+       (OP_5F00, <kill>): Trace R0, R1 not REGn.
+       (OP_5F00, <getpid>): Always return 47.
+
+       * d10v_sim.h (SLOT, SLOT_NR, SLOT_PEND_MASK, SLOT_PEND,
+       SLOT_DISCARD, SLOT_FLUSH): Define.  An implementation of write
+       back slots.
+       (struct _state): Add struct slot slot to global state variable.
+       (struct _state): Delete fields SM, EA, DB, DM, IE, RP, MD, FX, ST,
+       F0, F1, C from global State variable.
+       (struct _state): Add struct trace to global State variable.
+       (GPR, SET_GPR): Define.  SET_GPR uses SLOT_PEND.
+       (PSW*, SET_PSW*): Define. SET_PSW* uses SET_CREG.
+       (CREG, SET_CREG, SET_*): Define. SET_CREG uses func move_to_cr.
+       (INC_ADDR): Re-implement.  Use SET_GPR to update registers.
+       (JMP): Re-implement. Use SET_* to update registers.
+
+       * interp.c: Use new SET_* et.al. macros to fetch / store
+       registers.
+       (get_operands): Squirrel away trace values at start of each
+       operand decode.
+       (do_2_short): Flush pending writes before issuing second
+       instruction.
+       (sim_resume): Flush pending writes at end of instruction cycle.
+       (sim_fetch_register, sim_store_register, sim_create_inferior):
+       After scheduling updates to registers using SET_*, flush updates.
+       (sim_resume): Re-order handling of RPT/repeat and IBA/hbreak so
+       that each sets pc using SET_* and last SET_* eventually winds out.
+
+       * simops.c: Use new SET_* et.al. macros to fetch / store
+       registers.
+       (move_to_cr): Add MASK argument for selective update of CREG bits.
+       Re-implement using new SET_* macros.
+       (trace_output_func, trace_output): Delete. Replace with.
+       (do_trace_output_flush, trace_output_finish, trace_output_40,
+       trace_output_32, trace_output_16, trace_output_void,
+       trace_output_flag): New functions.  Handle specific trace cases.
+       (OP_*): Re-write tracing to use new trace_output_* functions.
+       (OP_*): Re-write to use new SET_* et.al. macros.
+       (FUNC, PARM[1-4], RETVAL, RETVAL32): Redo definition.
+       (RETVAL_HIGH, RETVAL_LOW): Delete, use RETVAL32.
+
+Wed Apr  1 12:55:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SIM_AC_OPTION_WARNINGS): Add.
+       configure: Re-generate.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Feb 17 12:38:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Mon Oct 27 14:43:33 1997  Fred Fish  <fnf@cygnus.com>
+
+       * (dmem_addr): If address is illegal or in I/O space, signal a bus
+       error.  Allocate unified memory on demand.  Fix DMEM address
+       calculations.
+
+Mon Feb 16 10:27:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5F20): Implement "dbt".
+       (OP_5F60): Implement "rtd".
+
+       * d10v_sim.h (DPC_CR): Define enum.
+       (DBT_VECTOR_START): Define
+       (DPSW, DPC): Define.
+
+Fri Feb 13 15:15:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (move_to_cr): Sync regs[SP_IDX] with State.sp according
+       to PSW:SM.
+
+       * d10v_sim.h (struct _state): Add sp, as holding area for SPI/SPU.
+       (SP_IDX): Define.
+
+Wed Feb 11 16:53:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5F00): Call error instead of abort for unknown
+       syscalls.
+
+       * d10v_sim.h (enum): Define DPSW_CR.
+
+       * simops.c (move_to_cr): Mask out hardwired zero bits in DPSW.
+
+Tue Feb 10 18:28:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_write_phys): Delete.
+       (sim_load): Call sim_load_file with sim_write and LMA.
+
+Mon Feb  9 12:05:01 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c: Rewrite xfer_mem so that it translates addresses as -
+       0x00... - DMAP translated memory, 0x01... IMAP translated memory,
+       0x10... - on-chip data, 0x11... - on-chip insn, 0x12... - unified
+       memory.
+       (pc_addr): Delete.
+       (imem_addr): New function - translate IMEM address.
+       (sim_resume): Use imem_addr to translate insn address, abort if
+       translation failed.
+       (sim_create_inferior): Write ARGV to memory using sim_write.  Pass
+       argc/argv using r0/r1 not r2/r3.
+       (sim_size): Do not initialize IMAP/DMAP here.
+       (sim_open): Call sim_create_inferior and sim_size to initialize
+       the system.
+       (sim_create_inferior): Initialize IMAP/DMAP to hardware reset
+       defaults.
+       (init_system): Delete.
+       (xfer_mem, sim_fetch_register, sim_store_register): Do not call
+       init_system.
+       (decode_pc): Check prog_bfd is defined before looking up .text
+       section.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sun Jan 25 22:23:01 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * interp.c (sim_stop_reason): Exit status is now in r0, not r2.
+
+Sat Jan 24 19:00:30 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * d10v_sim.h (DEBUG_TRAP): New debug flag.
+
+       * simops.c (OP_5F00): If DEBUG_TRAP is on, turn traps 0-14 into
+       printing the registers.
+
+Thu Jan 22 17:54:01 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * simops.c (op_types): New ABI, args are r0..r3, system call # is
+       in r4.
+       (trace_{in,out}put_func): Ditto.
+       (OP_4900): Ditto.
+       (OP_24800000): Ditto.
+       (OP_4D00): Ditto.
+       (OP_5F00): Ditto.
+
+Thu Jan 22 14:30:36 1998  Fred Fish  <fnf@cygnus.com>
+
+       * interp.c (UMEM_SEGMENTS): New define, set to 128.
+       (sim_size): Use UMEM_SEGMENTS rather than hardwired constant.
+       (sim_close): Reset prog_bfd to NULL after closing it.  Also
+       reset prog_bfd_was_opened_p after closing prog_bfd.
+       (sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd.
+       (sim_create_inferior): Get start address from abfd not prog_bfd.
+       (xfer_mem): Do bounds checking on addresses and return zero length
+       read/write on bad addresses, rather than aborting.  Prepare to
+       be able to handle xfers that cross segment boundaries, but not
+       yet implemented.  Only emit debug message when d10v_debug is
+       set as well as DEBUG being defined.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Dec  9 10:28:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (RPT_S): Index cregs with RPT_S_CR not RPT_E_CR.
+       (BPSW): Ditto for BPSW_CR and not PSW_CR.
+
+       * simops.c (OP_5F40): JMP to BPC instead of assigning PC directly.
+
+Mon Dec  8 12:58:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5F00): From Martin Hunt <hunt@cygnus.com>. Change
+       reserved trap from 0 to 15. Add trap emulation code for 0-14.
+
+       * interp.c (sim_resume): From Martin Hunt <hunt@cygnus.com>. Check
+       IBA for SDBT.
+
+       * d10v_sim.h (AE_VECTOR_START, RIE_VECTOR_START,
+       SDBT_VECTOR_START, TRAP_VECTOR_START): Define.
+
+       * simops.c (OP_5F00): For "trap", mask out all but SM bit in PSW,
+       use move_to_cr.
+       (OP_5F00): For "trap", update BPSW with move_to_cr.
+
+Fri Dec  5 15:31:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (enum): Enumerate CR register names.
+       (enum): Enumerate PSW bit values.
+       (PSW): Obtain value uing move_from_cr.
+       (MOD_S, MOD_E, BPSW): Make r-values.
+       (move_from_cr, move_to_cr): Declare functions.
+
+       * interp.c (sim_fetch_register, sim_store_register): Use
+       move_from_cr and move_to_cr for CR register transfers.
+
+       * simops.c (move_from_cr, move_to_cr): New functions.
+       (OP_5F40): Move BPSW to PSW using move_to_cr and move_from_cr.
+       (OP_5600): For "mvtc", use function move_to_cr.
+       (OP_5200): For "mvfc", use function move_from_cr.
+
+Fri Dec  5 13:33:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5600): For "mvtc" MOD_E and MOD_S, ensure that the
+       LSbit is zero.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Dec  4 16:51:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (struct _state): Add DM - PSW debug mask.
+
+       * simops.c (OP_5600): For "mvtc", save PSW.DM.
+       (OP_5200): Ditto for "mvfc".
+
+Wed Dec  3 17:27:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h (SEXT56): Define.
+
+       * simops.c (OP_4201): For "rac", sign extend 56 bit value before
+       it is shifted.
+
+       * d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
+       SIGNED64 macro.
+
+Tue Dec  2 15:38:34 1997  Fred Fish  <fnf@cygnus.com>
+
+       * interp.c (sim_resume): Call do_2_short with LEFT_FIRST or
+       RIGHT_FIRST, as appropriate, instead of hardcoded ints that
+       don't match enum values.
+
+Tue Dec  2 15:01:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_3A00): For "macu", perform multiply stage using 32
+       bit rather than 16 bit precision.
+       (OP_3C00): For "mulxu", store unsigned product in ACC.
+       (OP_3800): For "msbu", subtract unsigned product from ACC,
+       (OP_0): For "sub", compute carry by comparing inputs.
+
+Tue Dec  2 11:04:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_1000): For "sub2w", compute carry by comparing
+       inputs.
+
+Mon Nov 17 20:57:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_1): Use 32 bit unsigned arithmetic for subtract,
+       carry indicated by value > 0xffff.
+
+Fri Nov 14 12:51:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_resume): Don't set up SIGINT handler using signal,
+       handled by client.
+       (sim_resume): Fix race condition of a direct assignment to
+       stop_simulator, conditionally call sim_stop.
+       (sim_stop_reason): Check stop_simulator returning SIGINT.  Clear
+       stop_simulator ready for next sim_resume call.
+       (sim_ctrl_c): Delete function.
+
+Thu Nov 13 19:29:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_resume): For "REP", only check/update the PC when
+       a branch instruction has not been executed.
+
+Mon Nov 10 17:50:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_4201): "rachi". Sign extend bit 40 of ACC.  Sign
+       extend bit 44 all constants.
+       (OP_4201): Replace GCC specific 0x..LL with SIGNED64 macro.
+
+Fri Oct 24 10:26:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * d10v_sim.h: Include sim-types.h.
+       (uint8, in816, uiny16, int32, uint32, int64, uint64): Typedef
+       using unsigned8 et.al. from sim-types.h.
+       (SEXT32, SEXT40, SEXT44, SEXT60): Replace GCC specific 0x..LL with
+       SIGNED64 macro.
+
+Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_write_phys): New function, write to physical
+       instead of virtual memory.
+
+       * interp.c (sim_load): Pass lma_p and sim_write_phys to
+       sim_load_file.
+
+Mon Oct 13 10:55:07 1997  Fred Fish  <cygnus.com>
+
+       * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
+       exception generation code to OP_6E01.
+       (OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception
+       generation code.
+
+Sat Oct 11 09:02:08 1997  Fred Fish  <fnf@cygnus.com>
+
+       * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
+       (OP_6601): Ditto.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Sep 27 12:51:34 1997  Fred Fish  <fnf@cygnus.com>
+
+       * interp.c (pc_addr): Discard upper bit(s) of PC in case
+       IMAP1 selects unified memory.
+       * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing
+       for end condition.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 10 22:30:24 1997  Martin M. Hunt  <hunt@cygnus.com>
+
+       * interp.c (sim_resume): Increment PC at end of rep
+       loop.
+
+       * simops.c (OP_4201): Fix rachi instruction.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:37:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+       (start_address): Delete variable.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 15:39:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add ABFD argument.
+
+Tue May 20 10:14:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Remove SIM_DESC argument.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Apr 22 10:29:23 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): Undo patch to add -E support.
+
+Fri Apr 18 13:39:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop): New function.
+
+Thu Apr 17 02:42:00 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * d10v_sim.h (exec_bfd): Rename to prog_bfd.
+       * interp.c: #include bfd.h.
+       (myname, sim_kind, start_address): New static locals.
+       (prog_bfd_was_opened_p, prog_bfd): New static locals.
+       (decode_pc): Update to use prog_bfd.
+       (sim_open): Set sim_kind, myname.  Ignore -E arg.
+       (sim_close): Close prog_bfd if simulator opened it.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+       (sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
+       Call sim_load_file to load file into simulator.
+       * simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
+
+Wed Apr 16 16:12:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_5F00): Only provide system calls SYS_execv,
+       SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+       * simops.c (OP_5F00): Remove old traps 1-3.  Make trap 15 the same
+       as trap 0, which will be deprecated.  Only set errno, if an error
+       in fact was returned.
+
+Thu Mar 13 12:41:20 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c: Delete redundant prototypes of sim_foo fns.
+       (sim_open): New SIM_DESC result.  Argument is now in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Thu Mar 13 10:29:04 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * simops.c (trace_{input,output}_func): Call flush_stdout from the
+       callback functions.
+       (OP_5F00): Ditto.
+       (OP_6{4,6,C,A}01): Test for post decrement on the stack pointer.
+       (OP_{1200,1000000,201,5FE0,1003,17001002}): Fix problems in
+       setting the carry bit after an add or a subtract.
+
+Wed Feb 12 16:04:15 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * simops.c (OP_{1403,15002A02,3{0,4}0{0,1}}): Only use the bottom
+       40 bits of accumulators.  Sign/zero extend as appropriate.
+
+Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Fri Dec 27 22:54:05 1996  Angela Marie Thomas (angela@cygnus.com)
+
+       * gencode.c: patch to not #include "d10v_sim.h" which
+       unecessarily includes bfd.h and causes wingdb configure
+       to fail.
+
+Mon Dec 16 13:39:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * interp.c (xfer_mem): Change unified memory to 0x0.
+
+Thu Nov 28 20:42:56 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_3E01): Fix tracing information.
+       (OP_300{0,1}): Do not propigate sign.
+
+Mon Nov 25 19:47:40 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config.in (WORDS_BIGENDIAN): Add.
+       * configure: Regenerated.
+       * d10v_sim.h: #include "config.h"
+
+Sat Nov 23 09:34:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * gencode.c (write_opcodes): Eliminate warnings when generated
+       table.c is compiled.
+
+Wed Nov 20 19:41:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * interp.c (sim_open): Cast result of calloc, and make sure NULL
+       was not returned.
+       (dmem_addr): If address is illegal or in I/O space, signal a bus
+       error.
+       (pc_addr): Signal bus error, not illegal instruction for bogus
+       pc.
+
+Wed Nov 20 01:23:03 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete all stuff moved to ../common/Make-common.in.
+       (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       Call AC_CHECK_HEADERS(unistd.h).
+       * configure: Regenerated.
+       * config.in: New file.
+       * interp.c: #include "callback.h".
+       * simops.c: #include "config.h".  #include <unistd.h> if present.
+
+Fri Nov  8 16:19:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * d10v-sim.h (simops): Add flag is_long.
+       (State): Add pc_changed.  Instructions which update the PC should
+       use the JMP macro which sets this.
+       (JMP): New macro.  Sets the PC and the pc_changed flag.
+
+       * gencode.c (write_opcodes): Add is_long field.
+
+       * interp.c (lookup_hash): If we blindly apply a short opcode's mask
+       to a long opcode we could get a false match.  Check the opcode size.
+       (hash): Add a size field to the hash table.
+       (sim_open): Initialize size field in hash table.
+       (sim_resume): Change to logic for setting the PC.  Used to increment the
+       PC if it had not been changed.  This didn't allow single-instruction loops.
+       Now checks the flag State.pc_changed.  Also now stops when ^C is received.
+       (dmem_addr): Fix translation of data segments to unified memory.
+       (sim_ctrl_c): New function.  When ^C is received, set stop_simulator flag.
+
+       * simops.c: Changed all branch and jump instructions to use new JMP macro.
+       (OP_20000000): Corrected trace information to show this is a ldi.l, not
+       a ldi.s instruction.
+
+Thu Oct 31 19:13:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * interp.c (sim_fetch_register, sim_store_register): Fix bug where
+       updating the accumulators was overwriting other parts of the global
+       State variable.
+
+Wed Oct 30 17:35:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * interp.c (bfd.h) Don't include it here any more.
+       (text{,_start,_end}): Move here from simops.c and make extern.
+       (decode_pc): New function to return the PC as an address that the
+       debugger can use.
+       (dmem_addr): Print decoded PC in error message.
+       (pc_addr): Ditto.
+
+       * simops.c (bfd.h) Don't include it here any more.
+       (text{,_start,_end}): Move to simops.c.
+       (trace_input_func): Move decoding of PC, and looking up .text
+       start to decode_pc.
+
+       * d10v_sim.h (bfd.h): Include it here.
+       (text{,_start,_end}): Add external declarations.
+       (exec_bfd): Ditto.
+       (decode_pc): Ditto.
+
+Tue Oct 29 12:13:52 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * interp.c (sim_size): Now allocates unified memory for imap segments
+       0,1,2, and 127. Initializes imap0 and imap1 to 0x1000.  Initializes dmap to 0.
+       (sim_write): Just call xfer_mem().
+       (sim_read): Just call xfer_mem().
+       (xfer_mem): New function. Does appropriate memory mapping and copies bytes.
+       (dmem_addr): New function. Reads dmap register and translates data
+       addresses to local addresses.
+       (pc_addr): New function. Reads imap register and computes local address
+       corresponding to contents of the PC.
+       (sim_resume): Change to use pc_addr().
+       (sim_create_inferior): Change reinitialization code. Also reinitializes
+       imap[01] and dmap.
+       (sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
+       (sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
+
+       * simops.c (MEMPTR): Redefine to use dmem_addr().
+       (OP_5F00): Replace references to STate.imem with dmem_addr().
+
+       * d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
+       (RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
+       (IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.
+
+Tue Oct 22 15:22:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * d10v_sim.h (_ins_type): Reorganize, so that we can provide
+       better statistics, like not counting NOPS as parallel
+       instructions, and printing total cycles.
+       (ins_type_counters): Make unsigned long.
+       (left_nops,right_nops): Fold into ins_type_counters.
+
+       * simops.c (trace_input_func): Print new instruction types.
+       Handle OP_R2R3 as input types.
+       (OP_{38000000,7000}): Correctly sign extend bytes.
+       (OP_5E00): Don't count NOPs as parallel instructions.
+       (OP_460B): Remove unused variable.
+       (OP_5F00): Ditto.
+
+       * interp.c (ins_type_counters): Make unsigned long.
+       (left_nops,right_nops): Delete.
+       (most functions): Add prototypes.
+       (INLINE): If GCC and optimize define as __inline__.
+       ({,lookup_}hash,get_operands): Declare as INLINE.
+       (do_parallel): Count conditional operations.
+       (add_commas): New function, to add commas every 3 digits.
+       (sim_size): Call add_commas to print numbers.
+       (sim_{open,resume}): Delete unused variables.
+       (sim_info): Provide better statistics.
+       (sim_read): Add int return type.
+
+Mon Oct 21 16:16:26 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * interp.c (sim_resume): Change the way single-stepping and exceptions
+       are handled so single-stepping works again.
+
+Thu Oct 17 12:24:16 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * endian.c: Optimize simulated loads/stores on x86, AIX, and big
+       endian hosts.
+
+       * configure.in (--enable-sim-bswap): New switch to enable using
+       the BSWAP instruction on x86's.
+       * configure: Regenerate.
+
+       * Makefile.in ({SWAP,CONFIG}_CFLAGS): Add --enable-sim-bswap
+       support.
+
+Wed Oct 16 13:50:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * endian.c: New file.  Move endian functions here from interp.c.
+       Optimize code, and make it work as either inline functions or as a
+       separate file.
+
+       * interp.c: Move endian functions from here to endian.c.
+
+       * Makefile.in (INCLUDE): Add endian.c.
+       (run,libsim.a): Add dependency on endian.o.
+       (endian.o): Add dependency.
+
+       * d10v_sim.h (read/write support): Always go through the machine
+       independent endian functions.  If compiling with GCC and
+       optimizing, include endian.c so the endian functions are inlined.
+
+       * simops.c (OP_5F00): Correct tracing of accumulators.
+
+Tue Oct 15 10:57:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_5F00): Add support for getpid, kill system calls.
+
+       * interp.c (do_{2_short,parallel}): If an exception is raised,
+       don't execute the second instruction.
+
+Sat Oct 12 22:17:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_{31000000,6601,6201,6200}): Store address in a
+       temporary in case the register is overriden when loading.
+       (OP_6200): Output type is OP_DREG for tracing.
+
+Fri Oct  4 23:46:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * d10v_sim.h (struct _state): Add mem_{min,max} fields.
+
+       * interp.c (sim_size): Initialize mem_{min,max} fields.
+       (sim_write): Update mem_{min,max} fields.
+       (sim_resume): If PC is not in the minimum/maximum memory range,
+       abort.
+       (sim_create_inferior): Preserve mem_{min,max} fields.
+
+Fri Sep 27 13:11:58 1996  Mark Alexander  <marka@cygnus.com>
+
+       * simops.c (OP_5F00): Add support for time() system call.
+
+Wed Sep 25 16:31:41 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_{6E01,6A01,6E1F,6A00}): Print both words being
+       stored if tracing.
+       (OP_5F00,trace_{in,out}put_func): Add finer grain tracing for
+       system calls.
+
+Mon Sep 23 17:55:30 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (op_types): Add OP_{CONSTANT8,R2,R3}.
+       (trace_input_func): Add support for  OP_{CONSTANT8,R2,R3}.
+       (OP_{4900,24800000,4800,4A00,4B00,4D00,4C00}): Add OP_R2 and OP_R3
+       to call/subroutine returns to trace the first two arguments and
+       the return value.  For small jumps, use CONSTANT8, not CONSTANT16.
+
+Fri Sep 20 15:36:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * interp.c (sim_create_inferior): Reinitialize State every time
+       sim_create_inferior() is called.
+
+Thu Sep 19 21:38:20 1996  Michael Meissner  <meissner@wogglebug.ziplink.net>
+
+       * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
+       on comparisons.
+       (OP_401): Fix tracing information.
+
+Thu Sep 19 10:30:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
+       (trace_input_func): Use them.
+       (trace_input_func): Make sure there is a trailing space after the
+       instruction.
+       (OP_6200): Fix tracing info.
+
+       * Makefile.in (run): Add dependencies on libbfd.a and
+       libiberity.a.
+
+Wed Sep 18 09:13:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
+       numbers and function names in debug trace.
+       (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
+       DEBUG_LINE_NUMBER.
+       (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
+       and exit system call trap being executed.
+
+       * interp.c (sim_stop_reason): Set exit code correctly for stop
+       instruction and exit system call trap.
+
+       * configure.in (--enable-sim-cflags): Remove trace case.
+       (--enable-sim-debug): New switch to set the debug values.
+       * configure: Regenerate.
+
+       * simops.c (trace_{input,output}_func): Rename from
+       trace_{input,output}.
+       (trace_{input,output}): Call trace_{input,output}_func if
+       d10v_debug is non-zero.
+       (SIZE_INSTRUCTION): Cut down to 8.
+       (SIZE_OPERANDS): Cut down to 18.
+       (SIZE_LOCATION): New value for size of line number, function name
+       field.
+       (init_text_p,text{,_start,_end}): New static variables for
+       printing line number and function name.
+       (exec_bfd): New external that run.c sets.
+       (trace_input_func): Print line number and function name if
+       available and if desired.
+       (OP_4E09): Don't print out DBT message.
+       (OP_5FE0): Set exception field to SIG_D10V_STOP.
+       (OP_5F00): Set exception field to SIG_D10V_EXIT.
+
+Sat Sep 14 22:18:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * interp.c (do_2_short): If the instruction encodes jump->ins,
+       don't do the second instruction if the jump succeeds.
+
+Fri Sep 13 22:35:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_5F00): Use unknown traps to print all GPRs,
+       accumulators, PC, and F0/F1/C flags.
+
+Thu Sep 12 12:50:11 1996  Mark Alexander  <marka@cygnus.com>
+
+       * simops.c (OP_5F00): Fix problems with system calls.
+
+Thu Sep 12 12:19:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_5F00): Correct tracing information for trap.
+
+Wed Sep 11 18:55:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (CSEARCH): Correctly find opcodes directory.
+
+Mon Sep  9 13:27:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (trace_output): Properly align accumulator output.
+       (OP_3{0,2,4}00): Properly parenthesize test expression.  Add error
+       if shift count is too high.
+       (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
+       (OP_4E09): Make cpfg properly trace the input flags.
+       (op_types): Add OP_FLAG_OUTPUT.
+       (trace_{input,output}): Support OP_FLAG_OUTPUT.
+       (OP_31000000): This ld2w varient is a 16-bit memory reference, not
+       an 8-bit memory reference instruction for tracing purposes.
+       (OP_201): Addi needs to set the carry.
+
+Fri Sep  6 17:56:17 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * simops.c (OP_2600, OP_2601): Changed min and max comparisons
+       to use signed register values.
+
+Wed Sep  4 11:35:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
+       output.
+       (_ins_type): New enumeration to specify which container an
+       instruction is in, and whether it is part of a parallel operation.
+       (_state): Add ins_type field.
+       ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
+       (ins_type_counters): Counters for the various instruction types.
+       ({left,right}_nops): Counters for the number of nops in each
+       container.
+       (d10v_debug): New variable to indicate whether debugging is turned
+       on.
+
+       * simops.c: (all functions): Change all #ifdef DEBUG code so that
+       the input and output values can be traced, along with the
+       instruction type.  Make the -t option enable tracing.
+       (all functions): Change printf calls to use the printf_filtered
+       function in the callback table.
+
+       * interp.c (_leftright): New enumeration to say whether 2 short
+       instructions are done left first or right first.
+       (do_{long,2_short,parallel}): Indicate in the machine state which
+       type of instruction this is.  Count each of the types of
+       instructions executed.
+       (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
+       flag is set.
+       (sim_resume): Pass left/right indication to do_2_short.
+       (all functions): Change printf calls to use the printf_filtered
+       function in the callback table.
+       (sim_trace): Turn on debug flag if DEBUG was defined, and call
+       sim_resume.
+       (sim_info): Print out statistics on instructions.
+       (sim_{trace,create_inferior}): Eliminate extraneous output unless
+       debugging.
+       (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
+       Only initialize the hash table the first time sim_open is called.
+
+       * Makefile.in: Make objects depend on d10v_sim.h.
+       ({,SIM_}CFLAGS): Include configure dependent switches.  Setting
+       CFLAGS does not override host/target defines or SIM_CFLAGS.
+       (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
+       (run): By default, the math library is not needed to be linked
+       in.
+       ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
+       overridden.
+       (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
+       makes.
+       ({run,callback}.o): Provide explicit paths to their appropriate
+       source directories.
+       (gencode{,.o},d10v-opc.o): Split compilation into creating object
+       and linking.  Instead of linking in libopcodes.a, just compile
+       d10v-opc.o directly to handle canadian cross.
+       (CSEARCH): Add opcodes directory.
+
+       * configure.in (--enable-sim-cflags): New switch to allow user to
+       set the defaults.
+       (CC_FOR_BUILD): Deal with canadian crosses.
+       * configure: Regenerate.
+
+Wed Sep 04 04:45:34 1996  Mark Alexander  <marka@cygnus.com>
+
+       * simops.c: Include correct syscall.h for d10v, not host's.
+       Fix #ifdef SYS_stat.
+
+Tue Sep  3 14:00:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
+       Add trap 2 to be printf and trap 3 to be putchar.
+
+Wed Aug 28 21:42:34 1996  Mark Alexander  <marka@cygnus.com>
+
+       * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
+       for low-level system calls.
+
+Wed Aug 28 17:33:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
+
+Mon Aug 26 18:30:28 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * d10v_sim.h (SEXT32): Added.
+       * interp.c: Commented out printfs.
+       * simops.c:  Fixed error in sb and st2w.
+
+Thu Aug 15 13:30:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
+       DSP instructions.  Added modulo addressing.
+
+Sun Aug 11 12:57:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
+
+Fri Aug  2 17:44:24 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * d10v_sim.h, simops.c: Snapshot.
+
+Thu Aug  1 17:05:24 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
+       gencode.c, interp.c, simops.c: Created.
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
deleted file mode 100644 (file)
index 15296c1..0000000
+++ /dev/null
@@ -1,1361 +0,0 @@
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete TERMCAP_LIB, READLINE_LIB, and READLINE_CFLAGS.
-       * aclocal.m4, configure, configure.ac: Removed.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_open) [F_GETFL]: Only set termsave.
-       (sim_close) [F_SETFL]: Only call fcntl.
-       * sis.c (main) [F_GETFL]: Only set termsave.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1,
-       ioc2, iocold1, & iocold2.
-       (init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr.
-       (restore_stdio) [HAVE_TERMIOS_H]: Likewise.
-       (port_init) [HAVE_TERMIOS_H]: Only call tcgetattr.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * erc32.c (uart_rx): Change caddr_t to void*.
-       (uart_intr): Likewise.
-       (wdog_intr): Likewise.
-       (rtc_intr): Likewise.
-       (gpt_intr): Likewise.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Add $(EXEEXT) to sis.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * erc32.c, exec.c, float.c, func.c, help.c, interf.c, sis.c: Replace
-       config.h include with defs.h.
-       * sis.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c: Update include path.
-       * sis.h: Likewise.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * func.c (bfd_load): Use BFD_VMA_FMT.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-15  John Baldwin  <jhb@FreeBSD.org>
-
-       * Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add.
-       (SIM_EXTRA_CFLAGS): Add READLINE_CFLAGS.
-       * configure: Rebuild.
-       * configure.ac (READLINE_CFLAGS): Add.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * func.c: Include sys/time.h.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * sis.c (run_sim, main): Use new-style declaration.
-       * interf.c (run_sim, sim_open, sim_close, sim_load)
-       (sim_create_inferior, sim_store_register, sim_fetch_register)
-       (sim_info, sim_stop_reason, flush_windows, sim_do_command): Use
-       new-style declaration.
-       * help.c (usage, gen_help): Use new-style declaration.
-       * func.c (batch, set_regi, set_rega, disp_reg, limcalc)
-       (reset_stat, show_stat, init_bpt, int_handler, init_signals)
-       (disp_fpu, disp_regs, disp_ctrl, disp_mem, dis_mem, event)
-       (init_event, set_int, advance_time, now, wait_for_irq, check_bpt)
-       (reset_all, sys_reset, sys_halt): Use new-style declaration.
-       * float.c (get_accex, clear_accex, set_fsr): Use new-style
-       declaration.
-       * exec.c (sub_cc, add_cc, log_cc, dispatch_instruction, fpexec)
-       (chk_asi, execute_trap, check_interrupts, init_regs): Use
-       new-style declaration.
-       * erc32.c (init_sim, reset, decode_ersr, mecparerror)
-       (error_mode, decode_memcfg, decode_wcr, decode_mcr, sim_halt)
-       (close_port, exit_sim, mec_reset, mec_intack, chk_irq, mec_irq)
-       (set_sfsr, mec_read, mec_write, init_stdio, restore_stdio)
-       (port_init, read_uart, write_uart, flush_uart, uarta_tx)
-       (uartb_tx, uart_rx, uart_intr, uart_irq_start, wdog_intr)
-       (wdog_start, rtc_intr, rtc_start, rtc_counter_read)
-       (rtc_scaler_set, rtc_reload_set, gpt_intr, gpt_start)
-       (gpt_counter_read, gpt_scaler_set, gpt_reload_set, timer_ctrl)
-       (memory_read, memory_write, get_mem_ptr, sis_memory_write)
-       (sis_memory_read): Use new-style declaration.
-
-2021-04-05  Tom Tromey  <tromey@adacore.com>
-
-       * configure: Rebuild.
-       * configure.ac (READLINE): Adjust in-tree value.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_ALL): Delete.
-       (all): New target.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_memory_map): Define.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * sis.c: Delete HAVE_STDLIB_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
-
-       * configure: Re-generate.
-
-2018-10-30  Joel Sherrill <joel@rtems.org>
-
-       * configure.ac: Remove the Cygwin-specific libtermcap.a hack
-       and use the standard logic to determine which library to use.
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_open): Replace while loop with a call to countargv.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-       * exec.c (fpexec): Rename CURRENT_HOST_BYTE_ORDER to
-       HOST_BYTE_ORDER.
-       * sis.h (WITH_HOST_BYTE_ORDER): Rename to ...
-       (HOST_BYTE_ORDER): ... this.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * erc32.c: Re-add file overview & author info.
-       * exec.c, float.c, func.c, help.c, interf.c, sis.c: Likewise.
-
-2015-05-08  Joel Brobecker  <brobecker@adacore.com>
-
-       * configure.ac: Add copyright header.
-       * erc32.c: Change copyright holder to FSF.  Reformat.
-       * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise.
-       * help.c, startsim: Add copyright header.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * sis.c (main): Remove unreachable code.
-
-2015-04-24  David Binderman  <dcb314@hotmail.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * exec.c (add32): Fix typo in check for overflow.
-
-2015-04-19  Jiri Gaisler  <jiri@gaisler.se>
-
-       * erc32.c (current_target_byte_order): Delete.
-       (fetch_bytes): Remove.
-       (store_bytes): Remove byte twisting.
-       (memory_read, memory_write): Access memory directly.
-       (extract_short, extract_short_signed, extract_byte,
-       extract_byte_signed): New function for for sub-word LD instructions.
-       * exec.c (extract_short, extract_short_signed, extract_byte,
-       extract_byte_signed): New functions.
-       (dispatch_instruction): Update memory reads.
-       * func.c (current_target_byte_order): Delete.
-       (get_regi): Delete little endian handling.
-       (disp_ctrl, dis_mem): Adjust print-out to new data endian.
-       (bfd_load): Delete little endian handling.
-       * interf.c (current_target_byte_order): Delete.
-       (sim_open): Set dinfo to host endian to get correct disassembly.
-       (sim_write, sim_read): Convert endian when gdb reads or writes
-       memory.
-       * sis.c (main): Set endian.
-       * sis.h (EBT): Define.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-28  Jiri Gaisler  <jiri@gaisler.se>
-
-       * func.c (exec_cmd): Fix old style prototype.  Mark cmd const.  Save
-       the command in a new cmdsave2 to avoid modifying.
-       (bfd_load): Fix old style prototype.  Mark fname const.
-       * sis.h (exec_cmd): Mark cmd const.
-       (bfd_load): Mark fname const.
-
-2015-03-28  Jiri Gaisler  <jiri@gaisler.se>
-
-       * erc32.c (memory_iread): New function to fetch instructions.
-       (memory_read): Print message in verbose mode.
-       * interf.c (run_sim): Use memory_iread.
-       * sis.c (run_sim): As above.
-       * sis.h (memory_iread): New prototype.
-       (sregs): Declare.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * erc32.c (mec_read): Delete parenthesis around return statement.
-       (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read,
-       memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise.
-       * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi,
-       execute_trap, check_interrupts): Likewise.
-       * float.c (get_accex): Likewise.
-       * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq,
-       check_bpt, bfd_load, get_time): Likewise.
-       * interf.c (run_sim, sim_write, sim_read): Likewise.
-       * sis.c (run_sim): Likewise.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
-
-2015-03-17  Jiri Gaisler  <jiri@gaisler.se>
-
-       * func.c (exec_cmd): Silence compiler warnings when calling system().
-       (batch): Replace fgets() with getline().
-
-2015-03-17  Jiri Gaisler  <jiri@gaisler.se>
-
-       * func.c (show_stat): Print simulation time in portable long long
-       format.
-       * help.c (usage): Update usage help print-out.
-       * sis.c (run_sim): Increase debug level with -v. Also print
-       simulation time in portable long long format.
-       * sis.h: Use stdint.h for portable 32- and 64-bit ints.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-16  Jiri Gaisler  <jiri@gaisler.se>
-
-       * Makefile.in (end, end.h): Remove target rules.
-       (clean): Remove end and end.h.
-       (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete
-       rules.
-       * configure, config.in: Regenerate.
-       * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
-       * end.c: Delete.
-       * erc32.c: Remove end.h include.
-       * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
-       * func.c, sis.c: Likewise.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2015-02-22  Jiri Gaisler  <jiri@gaisler.se>
-
-       * Makefile.in: Add include path to readline.h.
-       sis.c: Remove locally define readline types.
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * func.c (reset_stat, show_stat): Switch to double in time keeping.
-       (get_time): New function to get system time.
-       * interf.c (run_sim): Use get_time() for system time.
-       * sis.c (run_sim): Likewise.
-       * sis.h: Likewise.
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * Makefile.in: Remove unused defines
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
-       instead of custom assembly.
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * erc32.c (mec_read): Allow simulator memory size to be read
-       by application.
-       (boot_init): initialize memory and timers if start address is
-       not 0.
-       * func.c (exe_cmd): Call boot_init if start address not 0.
-       * interf.c (run_sim): Likewise.
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
-
-2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
-
-       * func.c (print_insn_sparc_sis): Add helper function for disassembly.
-       (disp_ctrl): Use helper function.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_load): Add const to prog.
-
-2013-10-09  Sergio Durigan Junior  <sergiodj@redhat.com>
-
-       PR sim/16018:
-       * float.c (set_fsr): Add missing "break" statements.  Reindent
-       code.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-14  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * Makefile.in: Include build directory in search path to find
-       config.h
-
-2012-08-16  Nick Clifton  <nickc@redhat.com>
-
-       * end.c: Include config.h before system header files.
-       * erc32.c: Likewise.
-       * exec.c: Likewise.
-       * float.c: Likewise.
-       * func.c: Likewise.
-       * help.c: Likewise.
-       * interf.c: Likewise.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * sys.h: Include "config.h".
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-31  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/9971:
-       * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match
-       the code in gdb's configure.ac with $TERMCAP.
-       * configure: Regenerated.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * interf.c (sim_open): Accept and ignore `--sysroot=...'.
-
-2011-06-01  Joel Brobecker  <brobecker@adacore.com>
-
-       * interf.c (sim_complete_command): New stub function.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * interf.c (sim_store_register): Update return value to
-       match new API.
-
-2010-05-20  Joel Brobecker  <brobecker@adacore.com>
-
-       * sis.h: Remove #include <stdint.h>.
-       (uint64, int64): Redefine without using stdint.h.
-       (UINT64_MAX): Define.
-
-2010-04-20  Tiemen Schut    <T.Schut@sron.nl>
-
-       * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
-       * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
-       for counts.
-       * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
-       (sim_resume): Specify maximum run time as uint64.
-       * sis.c (run_sim): Change icount to uint64_t.
-       * sis.h: Define uint64 as uint64_t. Change various fields and
-       prototypes to uint64 to support longer simulations.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buf arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-11-10  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * erc32.c, exec.c: Fix warnings.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-09  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * sis.c: Correct spelling error.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-12-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Add test for readline, substitute READLINE.
-       * Makefile.in (READLINE_LIB): New substituted-contents variable.
-       (SIM_EXTRA_LIBDEPS): Don't set.
-       (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
-       ../../readline/libreadline.a.
-       * configure: Regenerate.
-
-2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.in (func.o, help.o): Correct dependencies.
-
-2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * Makefile.in (install-sis): Honor DESTDIR.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-11-28  Mark Mitchell  <mark@codesourcery.com>
-
-       * interf.c: (gdb/signals.h): Include it.
-       (sim_stop_reason): Use TARGET_SIGNAL_*.
-
-2005-07-08  Ben Elliston  <bje@au.ibm.com>
-
-       * func.c: Remove ANSI_PROTOTYPES conditional code.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-03-07  Jerome Guitton  <guitton@gnat.com>
-
-       * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
-       strings.
-       (clear_accex): Ditto.
-       * sim/erc32/interf.c: Remove the redeclaration of fprintf.
-       * sim/erc32/sis.c: Ditto.
-       * sim/erc32/exec.c: Add missing semicolon.
-       * sim/erc32/func.c: Remove definitions of generic_print_address,
-       generic_symbol_at_address, buffer_read_memory and perror_memory, as
-       they are already defined in opcodes/dis-buf.c.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-11-11  Andreas Schwab  <schwab@suse.de>
-
-       * interf.c: Include "libiberty.h" instead of declaring buildargv
-       ourselves.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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.
-
-2000-03-07  Frank Ch. Eigler  <fche@redhat.com>
-
-       From John Dallaway  <jld@redhat.co.uk>:
-       * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
-
-2000-03-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
-
-       * func.c (buffer_read_memory): Change type of size to unsigned to
-       match prototype
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-03-03  DJ Delorie  <dj@cygnus.com>
-
-       * configure.in: add termcap and -luser32 for host=cygwin
-       * configure: regenerate
-
-1999-02-11  Hugo Tyson  <hmt@cygnus.co.uk>
-
-       * exec.c (dispatch_instruction):
-       Correct the sense of the
-                 if (!sparclite) {
-                    sregs->trap = TRAP_UNIMP;
-                    break;
-                 }
-       clause that has been pasted around: it's correct in the SCAN and
-       DIVScc (divide step) cases (where it was probably originally
-       written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
-       ie. instructions only in the SPARC V8 or SPARClite 86x
-       architectures.  It was also present when not required for SMUL,
-       SMULcc, UMUL, UMULcc instructions that are present in all
-       architectures.
-
-1999-01-25  Hugo Tyson  <hmt@cygnus.co.uk>
-
-       * interf.c (run_sim): Fix a bug in the main loop's handling of
-       annulled delay slot instructions.  There is precedent for this
-       change; the _other_ main loop in sis.c gets it right according to
-       my reading of the code.
-
-       The bug is: if an interrupt happens when the next instruction
-       (at sregs->pc) is annulled, the trap is taken (by execute_trap())
-       with the current values of PC and NPC, so when the trap returns,
-       the annulled instruction is indeed executed.  Another giveaway is
-       that the annul flag is cleared in execute_trap(): the information
-       is demonstrably discarded.
-
-       The solution is: perform annulling before looking for traps, in
-       fact it's neater to do annulling, see if there's an interrupt and
-       if not, do the instruction, then handle traps be they generated by
-       interrupts pending or by the instruction we might just have done.
-       That's what the sis.c one does.
-
-1999-01-20  Hugo Tyson  <hmt@cygnus.co.uk>
-
-       * sis.h: Add asr17 register for support of SparcLITE (at least the
-       Hitachi ones I find before me)
-
-       * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
-       sparclite.  Other ASR numbers than 17 or 0 (Y) trap out.
-       Case RDY: Allow read of asr17 if sparclite.  Other ASRs ditto.
-       (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
-       (init_regs): Initialize y and asr17.
-       NB: In instruction-set space, the Y register is asr0; the
-       instructions have different names for human reasons only.
-
-       * sis.c:
-       * interf.c: Set boolean mode variable dumbio if invoked with
-       argument "-dumbio" and mention it of verbose.
-       * erc32.c: if "dumbio" is set, do not assume that there is a
-       terminal type device attached to stdin/stdout.  Do not set
-       buffering or mess with tcsetattr or do any read operations in
-       order to make UART interrupts; not input data is supported.
-       This is necessary to allow the sim to be used within the eCos
-       testing infrastructure where stdin/stdout are pipes to a TCL
-       program; the sim hangs otherwise.
-
-Thu Jul 23 07:17:03 1998  Mark Alexander  <marka@cygnus.com>
-
-       * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
-
-Tue Jul  7 21:12:41 1998  Mark Alexander  <marka@cygnus.com>
-
-       * func.c (bfd_load): Add special handling of a.out executables.
-
-Sat Jun 13 08:33:25 1998  Mark Alexander  <marka@cygnus.com>
-
-       * func.c (bfd_load): Print correct endianness.
-       * interf.c (run_sim): Print debugging information if verbosity level
-       is greater than 2.
-       (sim_open): Repeated -v options now increment verbosity level.
-       (sim_store_register): Handle little-endian case.
-       (flush_window): Print debugging information if verbosity level
-       is greater then 2.
-
-Tue Jun  2 15:20:35 1998  Mark Alexander  <marka@cygnus.com>
-
-       * interf.c (sim_open): Use revamped memory_read, which makes
-       byte-swapping unnecessary.  Add -sparclite-board option for
-       emulating RAM found on typical SPARClite boards.  Print
-       error message for unrecognized option.
-       * erc32.c: Change RAM address and size from constants to variables,
-       to allow emulation of SPARClite board RAM.
-       (fetch_bytes, store_bytes): New helper functions for revamped
-       mememory_read and memory_write.
-       (memory_read, memory_write): Rewrite to store bytes in target
-       byte order instead of storing words in host byte order; this
-       greatly simplifies support of little-endian programs.
-       (get_mem_ptr): Remove unnecessary byte parameter.
-       (sis_memory_write, sis_memory_read): Store words in target
-       byte order instead of host byte order.
-       (byte_swap_words): Remove, no longer needed.
-       * sis.h ((byte_swap_words): Remove declaration, no longer needed.
-       (memory_read): Add new sz parameter.
-       * sis.c (run_sim): Use revamped memory_read, which makes
-       byte-swapping unnecessary.
-       * exec.c (dispatch_instruction): Use revamped memory_read, which
-       makes byte-swapping and double-word fetching unnecessary.
-       * func.c (sparclite_board): Declare new variable.
-       (get_regi): Handle little-endian data.
-       (bfd_load): Recognize little-endian SPARClite as having
-       little-endian data.
-
-Fri May 22 14:23:16 1998  Mark Alexander  <marka@cygnus.com>
-
-       * erc32.c (port_init): Print messages only if sis_verbose is true.
-       * func.c (bfd_load): Ditto.
-       * interf.c (sim_open): Ditto.
-
-Thu May 14 23:10:48 1998  Mark Alexander  <marka@cygnus.com>
-
-       * sis.h (uint64, int64): Define.
-       * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
-       * (mul64): Simplify calculation of negative result.
-       * (div64): New helper function for 64-bit division.
-       * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
-       and UDIVCC.
-
-Wed May 13 14:59:54 1998  Mark Alexander  <marka@cygnus.com>
-
-       * erc32.c (close_port): Don't close stdin; it kills GDB.
-       (byte_swap_words): New function.
-       * sis.h: (byte_swap_words): Declare.
-       * interf.c (run_sim): Always fetch instructions as big-endian.
-       * sis.c (run_sim): Ditto.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:17 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:52 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Sat Apr 18 12:00:16 1998  Mark Alexander  <marka@cygnus.com>
-
-       * func.c (disp_fpu): Fix build problem on big-endian hosts.
-
-Wed Apr  8 19:33:34 1998  Mark Alexander  <marka@cygnus.com>
-
-       * erc32.c (sim_stop): Handle SIGINT gracefully.
-       * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
-
-Wed Apr  8 18:29:40 1998  Mark Alexander  <marka@cygnus.com>
-
-       * exec.c (dispatch_instruction): Change how carry out is calculated
-       in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  1 21:19:18 1998  Mark Alexander  <marka@cygnus.com>
-
-       * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
-       * erc32.c: Ditto.
-       * exec.c: Ditto.
-       * float.c: Ditto.
-       * func.c: Ditto.
-       * help.c: Ditto.
-       * interf.c: Ditto.
-       * sis.c: Ditto.
-       * sis.h: Ditto.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Feb 17 12:41:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interf.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:38:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * float.c (__setfpucw): Compile on any i386 target.  Not just NT.
-
-       * interf.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
-       argument.
-       (sim_load): Don't save start address.
-       (start_address): Delete variable.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 16:19:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
-
-Mon Jun 30 11:45:25 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
-
-Wed May 28 09:46:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
-       (sim_open): Add callback arg, save it.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interf.c (sim_open): Undo patch to add -E support.
-
-Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interf.c (sim_open): Ignore -E arg.
-       (start_address): New static local.
-       (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (install-sis): Depend upon installdirs.  Use
-       $(program_transform_name) directly, rather than using
-       $(INSTALL_XFORM).
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interf.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interf.c (sim_open): New SIM_DESC result.  Argument is now in
-       argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
-
-       * interf.c (run_sim): Stop the simulator and reset the stdio after
-       breakpoints.
-
-Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
-
-       * configure.in: Look for libtermcap.a.
-       * Makefile.in: Only link in -ltermcap if it exists.
-       * erc32.c: Update to version 2.6a. Fix uart handling.
-       * exec.c: Update to version 2.6a. Add sparclite support.
-       * float.c: Update to version 2.6a. Convert comments to
-       preprocessor warnings. Add __setfpucw() for i385 hosts so floating
-       point exceptions work on win32.
-       * func.c: Update to version 2.6a. Fix uart handling, add support
-       for user error traps.
-       * help.c: Update to version 2.6a. Add help note on user error
-       traps.
-       * interf.c: Update to version 2.6a. Fix uart handling, and add
-       sparclite support.
-       * examples/gccx: Use sparclite cross compiler, not native gcc.
-       * examples/srt0.S: Use "mov" rather than "wr" for manipulating
-       the psr register.
-
-Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (run.o): Remove this rule, it hides the one in
-       ../common/Make-common.in that correctly references the source
-       in the sibling ../common directory.
-
-Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
-       (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
-       (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       Call AC_CHECK_HEADERS(stdlib.h).
-       * configure: Regenerated.
-       * config.in: New file.
-       * func.c (sim_set_callbacks): Delete, moved to
-       * interf.c (sim_set_callbacks): here.
-       (sim_callback): New global.
-       Rewrite all calls to printf_filtered to go through callback.
-       (sim_size,sim_trace): New functions.
-       (sim_{insert,remove}_breakpoint): #if 0 out.
-       * sis.c: #include "config.h".  #include <stdlib.h> if present.
-       (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
-       * sis.h: #include "callback.h".
-       * run.c: Deleted, using one in ../common now.
-
-Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (clean): Move config.log to distclean.
-
-Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (clean): Also remove config.log.
-
-Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (CC_FOR_BUILD): New variable.
-       (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
-       (RANLIB, CC): Likewise.
-       (end): Use $(CC_FOR_BUILD), not $(CC).
-       * configure.in: Set CC_FOR_BUILD.
-       * configure: Rebuild.
-
-Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
-       there either...).
-
-Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
-       necessary.
-       * (port_init):  Don't even *try* to open pty's under _WIN32.
-       * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
-       * float.c:  Get rid of #warning.  Makes Microsoft C barf.
-       * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
-       compiler warning.
-       * (sim_load sim_create_inferior sim_read):  Use prototypes only in
-       decls, not defs.
-       * Get rid of enum sim_stop.  It's defined in remote-sim.h.
-       * (sim_stop_reason):  Define SIGTRAP if _WIN32.
-       * sis.h:  Include ansidecl.h and remote-sim.h.
-
-Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
-       sis.h:  Get rid of all uses of long long's.
-       * (close_port read_uart write_uart uarta_tx):  Don't seg fault
-       when can't open pty's.
-       * exec.c:  Add two new instructions: smul, and divscc.
-       * interf.c (flush_windows):  New routine to flush the register
-       windows out to the stack just before returning to GDB.  Makes
-       backtraces work much better.
-
-Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir, oldincludedir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Call AC_PROG_CC before running configure.host.
-       * configure: Rebuild with autoconf 2.10.
-
-Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
-
-       * Makefile.in (install): Don't check to see if tooldir exists.
-       Make $(tooldir) and $(tooldir)/bin.
-
-Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (end.h): Use explicit ./ when running end.
-
-Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
-
-       * func.c(bfd_load): Don't try to print the filename if the pfbd is
-       NULL.
-       * interf.c(sim_load): Pass the whole string, not just the first
-       byte.
-
-Version 2.1 26-02-96
---------------------
-
-* Fixed bug in "go" command.
-
-version 2.0 05-02-96
---------------------
-
-* Fixed bug in interrupt force register (erc32.c).
-
-* Change file load function to use bfd_openr.
-
-* SIS should now be endian independent.
-
-version 1.8 24-11-95
---------------------
-
-* Fixed FPU timing - some sequences of FPU instructions did not calculate
-  the resource dependencies right.
-
-* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
-  but no FPU trap is generated.
-
-version 1.7.1 31-10-95
---------------------
-
-* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
-  the FPU stays in execute mode.
-
-* Corrected JMPL and RETT timing (these instructions takes two cycles).
-
-
-version 1.7 25-10-95
---------------------
-
-* Interrupt during annuled instruction corrupted return address - fixed.
-
-
-version 1.6.2 25-10-95
---------------------
-
-* Added -DFAST_UART to Makefile
-
-
-version 1.6.1 24-10-95
---------------------
-
-* Fixed bug in STDFQ which caused bus error
-
-
-version 1.6 02-10-95
---------------------
-
-* Modified srt0.s to include code that initiates registers in IU and FPU
-  and initializes the data segment. The simulator 'load' command does not
-  longer initialize the data segment!
-
-* Corrected MEC timer operation; scalers now divide the frequency by
-  (scaler_value + 1).
-
-* MEC breakpoints are not checked during store operation
-
-
-version 1.5 14-09-95
---------------------
-
-* Fixed some bugs in the cycle counting for IU & FPU instructions.
-
-* Fixed bug that allowed an annuled instruction to cause memory exception.
-
-* The *ws parameter in mem.c should now contain the number of waitstates
-  required by the memory access (was total number of cycles).
-
-* The supplied srt0.s now clears the BSS (thanks Joel).
-
-version 1.4 22-08-95
---------------------
-
-* Added a '-g' switch to enable/disable the GNU readline(), which cause
-some problems on solaris 2.x machines.
-
-* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
-may suffer a bit ...
-
-NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
-
-version 1.3 26-07-95
---------------------
-
-* Fixed bug in mulscc instruction (how could that ever have worked?)
-
-* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
-
-version 1.2 13-07-95
---------------------
-
-* Fixed bug in interrupt handling (wrong interrupt selected when more that
-one interrupt pending)
-
-* Fixed updating of condition codes during logical instructions (carry and
-overflow were not reset)
-
-* Fixed bug in WRTBR (tt field was wrongly over-written)
-
-version 1.1 07-07-95
---------------------
-
-* Fixed several bugs in the interrupt handler and callback routines.
-(reported by Paul Warren, Alsys)
diff --git a/sim/erc32/ChangeLog-2021 b/sim/erc32/ChangeLog-2021
new file mode 100644 (file)
index 0000000..15296c1
--- /dev/null
@@ -0,0 +1,1361 @@
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete TERMCAP_LIB, READLINE_LIB, and READLINE_CFLAGS.
+       * aclocal.m4, configure, configure.ac: Removed.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_open) [F_GETFL]: Only set termsave.
+       (sim_close) [F_SETFL]: Only call fcntl.
+       * sis.c (main) [F_GETFL]: Only set termsave.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1,
+       ioc2, iocold1, & iocold2.
+       (init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr.
+       (restore_stdio) [HAVE_TERMIOS_H]: Likewise.
+       (port_init) [HAVE_TERMIOS_H]: Only call tcgetattr.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * erc32.c (uart_rx): Change caddr_t to void*.
+       (uart_intr): Likewise.
+       (wdog_intr): Likewise.
+       (rtc_intr): Likewise.
+       (gpt_intr): Likewise.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Add $(EXEEXT) to sis.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * erc32.c, exec.c, float.c, func.c, help.c, interf.c, sis.c: Replace
+       config.h include with defs.h.
+       * sis.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c: Update include path.
+       * sis.h: Likewise.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * func.c (bfd_load): Use BFD_VMA_FMT.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add.
+       (SIM_EXTRA_CFLAGS): Add READLINE_CFLAGS.
+       * configure: Rebuild.
+       * configure.ac (READLINE_CFLAGS): Add.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * func.c: Include sys/time.h.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * sis.c (run_sim, main): Use new-style declaration.
+       * interf.c (run_sim, sim_open, sim_close, sim_load)
+       (sim_create_inferior, sim_store_register, sim_fetch_register)
+       (sim_info, sim_stop_reason, flush_windows, sim_do_command): Use
+       new-style declaration.
+       * help.c (usage, gen_help): Use new-style declaration.
+       * func.c (batch, set_regi, set_rega, disp_reg, limcalc)
+       (reset_stat, show_stat, init_bpt, int_handler, init_signals)
+       (disp_fpu, disp_regs, disp_ctrl, disp_mem, dis_mem, event)
+       (init_event, set_int, advance_time, now, wait_for_irq, check_bpt)
+       (reset_all, sys_reset, sys_halt): Use new-style declaration.
+       * float.c (get_accex, clear_accex, set_fsr): Use new-style
+       declaration.
+       * exec.c (sub_cc, add_cc, log_cc, dispatch_instruction, fpexec)
+       (chk_asi, execute_trap, check_interrupts, init_regs): Use
+       new-style declaration.
+       * erc32.c (init_sim, reset, decode_ersr, mecparerror)
+       (error_mode, decode_memcfg, decode_wcr, decode_mcr, sim_halt)
+       (close_port, exit_sim, mec_reset, mec_intack, chk_irq, mec_irq)
+       (set_sfsr, mec_read, mec_write, init_stdio, restore_stdio)
+       (port_init, read_uart, write_uart, flush_uart, uarta_tx)
+       (uartb_tx, uart_rx, uart_intr, uart_irq_start, wdog_intr)
+       (wdog_start, rtc_intr, rtc_start, rtc_counter_read)
+       (rtc_scaler_set, rtc_reload_set, gpt_intr, gpt_start)
+       (gpt_counter_read, gpt_scaler_set, gpt_reload_set, timer_ctrl)
+       (memory_read, memory_write, get_mem_ptr, sis_memory_write)
+       (sis_memory_read): Use new-style declaration.
+
+2021-04-05  Tom Tromey  <tromey@adacore.com>
+
+       * configure: Rebuild.
+       * configure.ac (READLINE): Adjust in-tree value.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_ALL): Delete.
+       (all): New target.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_memory_map): Define.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * sis.c: Delete HAVE_STDLIB_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * configure: Re-generate.
+
+2018-10-30  Joel Sherrill <joel@rtems.org>
+
+       * configure.ac: Remove the Cygwin-specific libtermcap.a hack
+       and use the standard logic to determine which library to use.
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_open): Replace while loop with a call to countargv.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+       * exec.c (fpexec): Rename CURRENT_HOST_BYTE_ORDER to
+       HOST_BYTE_ORDER.
+       * sis.h (WITH_HOST_BYTE_ORDER): Rename to ...
+       (HOST_BYTE_ORDER): ... this.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * erc32.c: Re-add file overview & author info.
+       * exec.c, float.c, func.c, help.c, interf.c, sis.c: Likewise.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Add copyright header.
+       * erc32.c: Change copyright holder to FSF.  Reformat.
+       * exec.c, float.c, func.c, interf.c, sis.c, sis.h: Likewise.
+       * help.c, startsim: Add copyright header.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * sis.c (main): Remove unreachable code.
+
+2015-04-24  David Binderman  <dcb314@hotmail.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * exec.c (add32): Fix typo in check for overflow.
+
+2015-04-19  Jiri Gaisler  <jiri@gaisler.se>
+
+       * erc32.c (current_target_byte_order): Delete.
+       (fetch_bytes): Remove.
+       (store_bytes): Remove byte twisting.
+       (memory_read, memory_write): Access memory directly.
+       (extract_short, extract_short_signed, extract_byte,
+       extract_byte_signed): New function for for sub-word LD instructions.
+       * exec.c (extract_short, extract_short_signed, extract_byte,
+       extract_byte_signed): New functions.
+       (dispatch_instruction): Update memory reads.
+       * func.c (current_target_byte_order): Delete.
+       (get_regi): Delete little endian handling.
+       (disp_ctrl, dis_mem): Adjust print-out to new data endian.
+       (bfd_load): Delete little endian handling.
+       * interf.c (current_target_byte_order): Delete.
+       (sim_open): Set dinfo to host endian to get correct disassembly.
+       (sim_write, sim_read): Convert endian when gdb reads or writes
+       memory.
+       * sis.c (main): Set endian.
+       * sis.h (EBT): Define.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-28  Jiri Gaisler  <jiri@gaisler.se>
+
+       * func.c (exec_cmd): Fix old style prototype.  Mark cmd const.  Save
+       the command in a new cmdsave2 to avoid modifying.
+       (bfd_load): Fix old style prototype.  Mark fname const.
+       * sis.h (exec_cmd): Mark cmd const.
+       (bfd_load): Mark fname const.
+
+2015-03-28  Jiri Gaisler  <jiri@gaisler.se>
+
+       * erc32.c (memory_iread): New function to fetch instructions.
+       (memory_read): Print message in verbose mode.
+       * interf.c (run_sim): Use memory_iread.
+       * sis.c (run_sim): As above.
+       * sis.h (memory_iread): New prototype.
+       (sregs): Declare.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * erc32.c (mec_read): Delete parenthesis around return statement.
+       (mec_write, read_uart, rtc_counter_read, gpt_counter_read, memory_read,
+       memory_write, get_mem_ptr, sis_memory_write, sis_memory_read): Likewise.
+       * exec.c (sub_cc, add_cc, add32, dispatch_instruction, fpexec, chk_asi,
+       execute_trap, check_interrupts): Likewise.
+       * float.c (get_accex): Likewise.
+       * func.c (batch, limcalc, exec_cmd, disp_fpu, now, wait_for_irq,
+       check_bpt, bfd_load, get_time): Likewise.
+       * interf.c (run_sim, sim_write, sim_read): Likewise.
+       * sis.c (run_sim): Likewise.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
+
+2015-03-17  Jiri Gaisler  <jiri@gaisler.se>
+
+       * func.c (exec_cmd): Silence compiler warnings when calling system().
+       (batch): Replace fgets() with getline().
+
+2015-03-17  Jiri Gaisler  <jiri@gaisler.se>
+
+       * func.c (show_stat): Print simulation time in portable long long
+       format.
+       * help.c (usage): Update usage help print-out.
+       * sis.c (run_sim): Increase debug level with -v. Also print
+       simulation time in portable long long format.
+       * sis.h: Use stdint.h for portable 32- and 64-bit ints.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-16  Jiri Gaisler  <jiri@gaisler.se>
+
+       * Makefile.in (end, end.h): Remove target rules.
+       (clean): Remove end and end.h.
+       (erc32.o, exec.o, float.o, func.o, help.o, interf.o, sis.o): Delete
+       rules.
+       * configure, config.in: Regenerate.
+       * configure.ac: Use SIM_AC_OPTION_HOSTENDIAN
+       * end.c: Delete.
+       * erc32.c: Remove end.h include.
+       * exec.c: Remove end.h include. Use HOST_LITTLE_ENDIAN.
+       * func.c, sis.c: Likewise.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Set to sis.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2015-02-22  Jiri Gaisler  <jiri@gaisler.se>
+
+       * Makefile.in: Add include path to readline.h.
+       sis.c: Remove locally define readline types.
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * func.c (reset_stat, show_stat): Switch to double in time keeping.
+       (get_time): New function to get system time.
+       * interf.c (run_sim): Use get_time() for system time.
+       * sis.c (run_sim): Likewise.
+       * sis.h: Likewise.
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * Makefile.in: Remove unused defines
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * float.c (get_accex, clear_accex, set_fsr): Use functions from fenv.h
+       instead of custom assembly.
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * erc32.c (mec_read): Allow simulator memory size to be read
+       by application.
+       (boot_init): initialize memory and timers if start address is
+       not 0.
+       * func.c (exe_cmd): Call boot_init if start address not 0.
+       * interf.c (run_sim): Likewise.
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * exec.c (init_regs): erc32 has vendor ID 1 and version ID 1 in %psr.
+
+2015-02-21  Jiri Gaisler  <jiri@gaisler.se>
+
+       * func.c (print_insn_sparc_sis): Add helper function for disassembly.
+       (disp_ctrl): Use helper function.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_load): Add const to prog.
+
+2013-10-09  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR sim/16018:
+       * float.c (set_fsr): Add missing "break" statements.  Reindent
+       code.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-14  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * Makefile.in: Include build directory in search path to find
+       config.h
+
+2012-08-16  Nick Clifton  <nickc@redhat.com>
+
+       * end.c: Include config.h before system header files.
+       * erc32.c: Likewise.
+       * exec.c: Likewise.
+       * float.c: Likewise.
+       * func.c: Likewise.
+       * help.c: Likewise.
+       * interf.c: Likewise.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * sys.h: Include "config.h".
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-31  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/9971:
+       * configure.ac: Change AC_CHECK_LIB to AC_SEARCH_LIBS to match
+       the code in gdb's configure.ac with $TERMCAP.
+       * configure: Regenerated.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_open): Accept and ignore `--sysroot=...'.
+
+2011-06-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * interf.c (sim_complete_command): New stub function.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * interf.c (sim_store_register): Update return value to
+       match new API.
+
+2010-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * sis.h: Remove #include <stdint.h>.
+       (uint64, int64): Redefine without using stdint.h.
+       (UINT64_MAX): Define.
+
+2010-04-20  Tiemen Schut    <T.Schut@sron.nl>
+
+       * erc32.c (sis_memory_write): Change prototype to const unsigned char *.
+       * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
+       for counts.
+       * interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
+       (sim_resume): Specify maximum run time as uint64.
+       * sis.c (run_sim): Change icount to uint64_t.
+       * sis.h: Define uint64 as uint64_t. Change various fields and
+       prototypes to uint64 to support longer simulations.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buf arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-11-10  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * erc32.c, exec.c: Fix warnings.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-09  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * sis.c: Correct spelling error.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-12-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Add test for readline, substitute READLINE.
+       * Makefile.in (READLINE_LIB): New substituted-contents variable.
+       (SIM_EXTRA_LIBDEPS): Don't set.
+       (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
+       ../../readline/libreadline.a.
+       * configure: Regenerate.
+
+2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (func.o, help.o): Correct dependencies.
+
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * Makefile.in (install-sis): Honor DESTDIR.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-11-28  Mark Mitchell  <mark@codesourcery.com>
+
+       * interf.c: (gdb/signals.h): Include it.
+       (sim_stop_reason): Use TARGET_SIGNAL_*.
+
+2005-07-08  Ben Elliston  <bje@au.ibm.com>
+
+       * func.c: Remove ANSI_PROTOTYPES conditional code.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-03-07  Jerome Guitton  <guitton@gnat.com>
+
+       * sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
+       strings.
+       (clear_accex): Ditto.
+       * sim/erc32/interf.c: Remove the redeclaration of fprintf.
+       * sim/erc32/sis.c: Ditto.
+       * sim/erc32/exec.c: Add missing semicolon.
+       * sim/erc32/func.c: Remove definitions of generic_print_address,
+       generic_symbol_at_address, buffer_read_memory and perror_memory, as
+       they are already defined in opcodes/dis-buf.c.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-11-11  Andreas Schwab  <schwab@suse.de>
+
+       * interf.c: Include "libiberty.h" instead of declaring buildargv
+       ourselves.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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.
+
+2000-03-07  Frank Ch. Eigler  <fche@redhat.com>
+
+       From John Dallaway  <jld@redhat.co.uk>:
+       * Makefile.in (install-sis): Add $(EXEEXT) for Windows host.
+
+2000-03-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
+
+       * func.c (buffer_read_memory): Change type of size to unsigned to
+       match prototype
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-03-03  DJ Delorie  <dj@cygnus.com>
+
+       * configure.in: add termcap and -luser32 for host=cygwin
+       * configure: regenerate
+
+1999-02-11  Hugo Tyson  <hmt@cygnus.co.uk>
+
+       * exec.c (dispatch_instruction):
+       Correct the sense of the
+                 if (!sparclite) {
+                    sregs->trap = TRAP_UNIMP;
+                    break;
+                 }
+       clause that has been pasted around: it's correct in the SCAN and
+       DIVScc (divide step) cases (where it was probably originally
+       written?), but reversed in the SDIV, SDIVcc, UDIV, UDIVcc cases
+       ie. instructions only in the SPARC V8 or SPARClite 86x
+       architectures.  It was also present when not required for SMUL,
+       SMULcc, UMUL, UMULcc instructions that are present in all
+       architectures.
+
+1999-01-25  Hugo Tyson  <hmt@cygnus.co.uk>
+
+       * interf.c (run_sim): Fix a bug in the main loop's handling of
+       annulled delay slot instructions.  There is precedent for this
+       change; the _other_ main loop in sis.c gets it right according to
+       my reading of the code.
+
+       The bug is: if an interrupt happens when the next instruction
+       (at sregs->pc) is annulled, the trap is taken (by execute_trap())
+       with the current values of PC and NPC, so when the trap returns,
+       the annulled instruction is indeed executed.  Another giveaway is
+       that the annul flag is cleared in execute_trap(): the information
+       is demonstrably discarded.
+
+       The solution is: perform annulling before looking for traps, in
+       fact it's neater to do annulling, see if there's an interrupt and
+       if not, do the instruction, then handle traps be they generated by
+       interrupts pending or by the instruction we might just have done.
+       That's what the sis.c one does.
+
+1999-01-20  Hugo Tyson  <hmt@cygnus.co.uk>
+
+       * sis.h: Add asr17 register for support of SparcLITE (at least the
+       Hitachi ones I find before me)
+
+       * exec.c (dispatch_instruction): Case WRY: Allow write of asr17 if
+       sparclite.  Other ASR numbers than 17 or 0 (Y) trap out.
+       Case RDY: Allow read of asr17 if sparclite.  Other ASRs ditto.
+       (execute_trap): Do single-vector-trapping if asr17 bit 0 is set.
+       (init_regs): Initialize y and asr17.
+       NB: In instruction-set space, the Y register is asr0; the
+       instructions have different names for human reasons only.
+
+       * sis.c:
+       * interf.c: Set boolean mode variable dumbio if invoked with
+       argument "-dumbio" and mention it of verbose.
+       * erc32.c: if "dumbio" is set, do not assume that there is a
+       terminal type device attached to stdin/stdout.  Do not set
+       buffering or mess with tcsetattr or do any read operations in
+       order to make UART interrupts; not input data is supported.
+       This is necessary to allow the sim to be used within the eCos
+       testing infrastructure where stdin/stdout are pipes to a TCL
+       program; the sim hangs otherwise.
+
+Thu Jul 23 07:17:03 1998  Mark Alexander  <marka@cygnus.com>
+
+       * exec.c (dispatch_instruction): Add SPARClite 'scan' instruction.
+
+Tue Jul  7 21:12:41 1998  Mark Alexander  <marka@cygnus.com>
+
+       * func.c (bfd_load): Add special handling of a.out executables.
+
+Sat Jun 13 08:33:25 1998  Mark Alexander  <marka@cygnus.com>
+
+       * func.c (bfd_load): Print correct endianness.
+       * interf.c (run_sim): Print debugging information if verbosity level
+       is greater than 2.
+       (sim_open): Repeated -v options now increment verbosity level.
+       (sim_store_register): Handle little-endian case.
+       (flush_window): Print debugging information if verbosity level
+       is greater then 2.
+
+Tue Jun  2 15:20:35 1998  Mark Alexander  <marka@cygnus.com>
+
+       * interf.c (sim_open): Use revamped memory_read, which makes
+       byte-swapping unnecessary.  Add -sparclite-board option for
+       emulating RAM found on typical SPARClite boards.  Print
+       error message for unrecognized option.
+       * erc32.c: Change RAM address and size from constants to variables,
+       to allow emulation of SPARClite board RAM.
+       (fetch_bytes, store_bytes): New helper functions for revamped
+       mememory_read and memory_write.
+       (memory_read, memory_write): Rewrite to store bytes in target
+       byte order instead of storing words in host byte order; this
+       greatly simplifies support of little-endian programs.
+       (get_mem_ptr): Remove unnecessary byte parameter.
+       (sis_memory_write, sis_memory_read): Store words in target
+       byte order instead of host byte order.
+       (byte_swap_words): Remove, no longer needed.
+       * sis.h ((byte_swap_words): Remove declaration, no longer needed.
+       (memory_read): Add new sz parameter.
+       * sis.c (run_sim): Use revamped memory_read, which makes
+       byte-swapping unnecessary.
+       * exec.c (dispatch_instruction): Use revamped memory_read, which
+       makes byte-swapping and double-word fetching unnecessary.
+       * func.c (sparclite_board): Declare new variable.
+       (get_regi): Handle little-endian data.
+       (bfd_load): Recognize little-endian SPARClite as having
+       little-endian data.
+
+Fri May 22 14:23:16 1998  Mark Alexander  <marka@cygnus.com>
+
+       * erc32.c (port_init): Print messages only if sis_verbose is true.
+       * func.c (bfd_load): Ditto.
+       * interf.c (sim_open): Ditto.
+
+Thu May 14 23:10:48 1998  Mark Alexander  <marka@cygnus.com>
+
+       * sis.h (uint64, int64): Define.
+       * exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes.
+       * (mul64): Simplify calculation of negative result.
+       * (div64): New helper function for 64-bit division.
+       * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV,
+       and UDIVCC.
+
+Wed May 13 14:59:54 1998  Mark Alexander  <marka@cygnus.com>
+
+       * erc32.c (close_port): Don't close stdin; it kills GDB.
+       (byte_swap_words): New function.
+       * sis.h: (byte_swap_words): Declare.
+       * interf.c (run_sim): Always fetch instructions as big-endian.
+       * sis.c (run_sim): Ditto.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:17 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:52 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Sat Apr 18 12:00:16 1998  Mark Alexander  <marka@cygnus.com>
+
+       * func.c (disp_fpu): Fix build problem on big-endian hosts.
+
+Wed Apr  8 19:33:34 1998  Mark Alexander  <marka@cygnus.com>
+
+       * erc32.c (sim_stop): Handle SIGINT gracefully.
+       * interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.
+
+Wed Apr  8 18:29:40 1998  Mark Alexander  <marka@cygnus.com>
+
+       * exec.c (dispatch_instruction): Change how carry out is calculated
+       in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  1 21:19:18 1998  Mark Alexander  <marka@cygnus.com>
+
+       * end.c: Update to version 2.7.5, fix compiler warnings and bugs.
+       * erc32.c: Ditto.
+       * exec.c: Ditto.
+       * float.c: Ditto.
+       * func.c: Ditto.
+       * help.c: Ditto.
+       * interf.c: Ditto.
+       * sis.c: Ditto.
+       * sis.h: Ditto.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Feb 17 12:41:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interf.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:38:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * float.c (__setfpucw): Compile on any i386 target.  Not just NT.
+
+       * interf.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
+       argument.
+       (sim_load): Don't save start address.
+       (start_address): Delete variable.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 16:19:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interf.c (sim_open): Add ABFD argument. Change ARGV to PARGV.
+
+Mon Jun 30 11:45:25 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (install-sis): Change $(srcdir)/sis to sis.
+
+Wed May 28 09:46:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interf.c (sim_set_callbacks): Drop SD argument - not applicable.
+       (sim_open): Add callback arg, save it.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Apr 22 11:05:01 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interf.c (sim_open): Undo patch to add -E support.
+
+Thu Apr 17 03:03:56 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interf.c (sim_open): Ignore -E arg.
+       (start_address): New static local.
+       (sim_load): Return SIM_RC.  New arg abfd.  Set start_address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Tue Apr 15 15:16:11 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (install-sis): Depend upon installdirs.  Use
+       $(program_transform_name) directly, rather than using
+       $(INSTALL_XFORM).
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interf.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Thu Mar 13 12:46:04 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interf.c (sim_open): New SIM_DESC result.  Argument is now in
+       argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Tue Feb  4 13:35:20 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Wed Dec  4 18:25:04 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * interf.c (run_sim): Stop the simulator and reset the stdio after
+       breakpoints.
+
+Tue Dec  3 11:54:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * configure.in: Look for libtermcap.a.
+       * Makefile.in: Only link in -ltermcap if it exists.
+       * erc32.c: Update to version 2.6a. Fix uart handling.
+       * exec.c: Update to version 2.6a. Add sparclite support.
+       * float.c: Update to version 2.6a. Convert comments to
+       preprocessor warnings. Add __setfpucw() for i385 hosts so floating
+       point exceptions work on win32.
+       * func.c: Update to version 2.6a. Fix uart handling, add support
+       for user error traps.
+       * help.c: Update to version 2.6a. Add help note on user error
+       traps.
+       * interf.c: Update to version 2.6a. Fix uart handling, and add
+       sparclite support.
+       * examples/gccx: Use sparclite cross compiler, not native gcc.
+       * examples/srt0.S: Use "mov" rather than "wr" for manipulating
+       the psr register.
+
+Mon Nov 25 08:28:10 1996  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (run.o): Remove this rule, it hides the one in
+       ../common/Make-common.in that correctly references the source
+       in the sibling ../common directory.
+
+Wed Nov 20 01:30:12 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
+       (SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define.
+       (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       Call AC_CHECK_HEADERS(stdlib.h).
+       * configure: Regenerated.
+       * config.in: New file.
+       * func.c (sim_set_callbacks): Delete, moved to
+       * interf.c (sim_set_callbacks): here.
+       (sim_callback): New global.
+       Rewrite all calls to printf_filtered to go through callback.
+       (sim_size,sim_trace): New functions.
+       (sim_{insert,remove}_breakpoint): #if 0 out.
+       * sis.c: #include "config.h".  #include <stdlib.h> if present.
+       (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype.
+       * sis.h: #include "callback.h".
+       * run.c: Deleted, using one in ../common now.
+
+Thu Oct  3 16:12:03 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (clean): Move config.log to distclean.
+
+Wed Oct  2 16:57:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (clean): Also remove config.log.
+
+Sat Sep 14 00:00:46 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (CC_FOR_BUILD): New variable.
+       (AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
+       (RANLIB, CC): Likewise.
+       (end): Use $(CC_FOR_BUILD), not $(CC).
+       * configure.in: Set CC_FOR_BUILD.
+       * configure: Rebuild.
+
+Sun Sep  8 14:04:37 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * erc32.c (port_init):  Disable this for __GO32__ (got no pty's
+       there either...).
+
+Mon Aug 12 17:04:58 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * erc32.c:  Don't include sys/ioctl.h or sys/file.h.  They aren't
+       necessary.
+       * (port_init):  Don't even *try* to open pty's under _WIN32.
+       * Use SIM_ADDR, not caddr_t for declaring vars that hold addresses.
+       * float.c:  Get rid of #warning.  Makes Microsoft C barf.
+       * interf.c (sim_open):  Cast fprintf to (fprintf_ftype) to fix
+       compiler warning.
+       * (sim_load sim_create_inferior sim_read):  Use prototypes only in
+       decls, not defs.
+       * Get rid of enum sim_stop.  It's defined in remote-sim.h.
+       * (sim_stop_reason):  Define SIGTRAP if _WIN32.
+       * sis.h:  Include ansidecl.h and remote-sim.h.
+
+Wed Jul  3 16:05:23 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
+       sis.h:  Get rid of all uses of long long's.
+       * (close_port read_uart write_uart uarta_tx):  Don't seg fault
+       when can't open pty's.
+       * exec.c:  Add two new instructions: smul, and divscc.
+       * interf.c (flush_windows):  New routine to flush the register
+       windows out to the stack just before returning to GDB.  Makes
+       backtraces work much better.
+
+Wed Jun 26 12:19:11 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir, oldincludedir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Mon Jun 24 14:19:07 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Call AC_PROG_CC before running configure.host.
+       * configure: Rebuild with autoconf 2.10.
+
+Tue Jun  4 10:37:12 1996  Tom Tromey  <tromey@csk3.cygnus.com>
+
+       * Makefile.in (install): Don't check to see if tooldir exists.
+       Make $(tooldir) and $(tooldir)/bin.
+
+Mon Jun  3 12:33:38 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (end.h): Use explicit ./ when running end.
+
+Sun May 19 21:05:31 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * func.c(bfd_load): Don't try to print the filename if the pfbd is
+       NULL.
+       * interf.c(sim_load): Pass the whole string, not just the first
+       byte.
+
+Version 2.1 26-02-96
+--------------------
+
+* Fixed bug in "go" command.
+
+version 2.0 05-02-96
+--------------------
+
+* Fixed bug in interrupt force register (erc32.c).
+
+* Change file load function to use bfd_openr.
+
+* SIS should now be endian independent.
+
+version 1.8 24-11-95
+--------------------
+
+* Fixed FPU timing - some sequences of FPU instructions did not calculate
+  the resource dependencies right.
+
+* Corrected STDFQ when qne = 0 (again!). The ftt is set to sequence_error
+  but no FPU trap is generated.
+
+version 1.7.1 31-10-95
+--------------------
+
+* Corrected STDFQ when qne = 0. Now, a trap is immidiately generated but
+  the FPU stays in execute mode.
+
+* Corrected JMPL and RETT timing (these instructions takes two cycles).
+
+
+version 1.7 25-10-95
+--------------------
+
+* Interrupt during annuled instruction corrupted return address - fixed.
+
+
+version 1.6.2 25-10-95
+--------------------
+
+* Added -DFAST_UART to Makefile
+
+
+version 1.6.1 24-10-95
+--------------------
+
+* Fixed bug in STDFQ which caused bus error
+
+
+version 1.6 02-10-95
+--------------------
+
+* Modified srt0.s to include code that initiates registers in IU and FPU
+  and initializes the data segment. The simulator 'load' command does not
+  longer initialize the data segment!
+
+* Corrected MEC timer operation; scalers now divide the frequency by
+  (scaler_value + 1).
+
+* MEC breakpoints are not checked during store operation
+
+
+version 1.5 14-09-95
+--------------------
+
+* Fixed some bugs in the cycle counting for IU & FPU instructions.
+
+* Fixed bug that allowed an annuled instruction to cause memory exception.
+
+* The *ws parameter in mem.c should now contain the number of waitstates
+  required by the memory access (was total number of cycles).
+
+* The supplied srt0.s now clears the BSS (thanks Joel).
+
+version 1.4 22-08-95
+--------------------
+
+* Added a '-g' switch to enable/disable the GNU readline(), which cause
+some problems on solaris 2.x machines.
+
+* Enabled MEC watchpoint and breakpoint function to mem.c. Performance
+may suffer a bit ...
+
+NOTE: The UARTs are now connected to /dev/ttypc and /dev/ttypd.
+
+version 1.3 26-07-95
+--------------------
+
+* Fixed bug in mulscc instruction (how could that ever have worked?)
+
+* Fixed bug in UART B (flushed characters on UART A), thanks Paul.
+
+version 1.2 13-07-95
+--------------------
+
+* Fixed bug in interrupt handling (wrong interrupt selected when more that
+one interrupt pending)
+
+* Fixed updating of condition codes during logical instructions (carry and
+overflow were not reset)
+
+* Fixed bug in WRTBR (tt field was wrongly over-written)
+
+version 1.1 07-07-95
+--------------------
+
+* Fixed several bugs in the interrupt handler and callback routines.
+(reported by Paul Warren, Alsys)
diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog
deleted file mode 100644 (file)
index da9fab3..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open):
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c, sim-main.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac, interp.c, Makefile.in, README, README.arch-spec,
-       sim-main.c, sim-main.h: New files for example simulator.
-       * aclocal.m4, config.in, configure: Regenerated.
diff --git a/sim/example-synacor/ChangeLog-2021 b/sim/example-synacor/ChangeLog-2021
new file mode 100644 (file)
index 0000000..da9fab3
--- /dev/null
@@ -0,0 +1,140 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open):
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c, sim-main.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac, interp.c, Makefile.in, README, README.arch-spec,
+       sim-main.c, sim-main.h: New files for example simulator.
+       * aclocal.m4, config.in, configure: Regenerated.
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
deleted file mode 100644 (file)
index 5a5cd4b..0000000
+++ /dev/null
@@ -1,3368 +0,0 @@
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-       * acinclude.m4: New file.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Change to SIM_FRV_TRAPDUMP_FLAGS.
-       * configure.ac: Change sim-trapdump to sim-frv-trapdump.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (frv_sim_machs): ... this.
-       * sim-if.c (frv_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (frvbf_record_trace_results): Delete function.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark backend_data const.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_RESTART_HOOK): Delete 0.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * interrupts.c: Include cgen-mem.h.
-       * profile-fr400.c (acc_use_is_media_p4): Disable function.
-       * reset.c: Include cgen-mem.h.
-       * sim-if.c (print_frv_misc_cpu): Delete.
-       * sim-main.h (FRV_SIM_MAIN_H): Add ifdef guard.
-       (frvbf_model_branch): New prototype.
-       (frvbf_perform_writeback): Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * profile.c (wait_for_flush): Change %p to %x.
-       * sim-if.c (sim_open): Change %lx to %x.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (frv_break): Delete pc and pass down NULL_CIA.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * profile.c (frvbf_model_insn_after): Change return to void.
-       (enforce_full_fr_latency, post_wait_for_FR, post_wait_for_FRdouble,
-       post_wait_for_ACC, post_wait_for_CCR, post_wait_for_SPR,
-       post_wait_for_fdiv, post_wait_for_fsqrt,
-       post_wait_for_float): Likewise.
-       * profile.h (post_wait_for_FR, post_wait_for_FRdouble,
-       post_wait_for_ACC, post_wait_for_CCR, post_wait_for_SPR,
-       post_wait_for_fdiv, post_wait_for_fsqrt, post_wait_for_float,
-       post_wait_for_media): Likewise.
-
-2021-06-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * frv.c (frvbf_shift_left_arith_saturate): Add braces to if statement.
-       * profile-fr500.c (adjust_float_register_busy): Likewise.
-       * profile-fr550.c (adjust_float_register_busy): Likewise.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interrupts.c: Include sim-signal.h.
-       * traps.c: Likewise.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim/callback.h.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * sim-if.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * cache.h (frv_cache_unlock): New prototype.
-       * frv-sim.h (frvbf_media_average): Likewise.
-       (frv_queue_data_access_exception_interrupt): Likewise.
-       (frv_queue_division_exception_interrupt): Likewise.
-       (frvbf_check_acc_range): Likewise.
-       (frvbf_check_swap_address): Likewise.
-       (frvbf_*_multiple_*): Rename prototypes to ...
-       (frvbf_*_quad_*): ... these.
-       * profile-fr500.c (use_is_cc_complex): Put #if 0 around.
-       * profile-fr550.c (use_is_ccr_complex): Likewise.
-       * profile.h (frv_ref_SI): New prototype.
-       * registers.h (frv_check_spr_read_access): Likewise.
-       (frv_check_spr_write_access): Likewise.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * cache.c (non_cache_access): Add parentheses.
-       * memory.c (fr500_check_data_read_address): Likewise.
-       (fr550_check_data_read_address): Likewise.
-       (fr500_check_readwrite_address): Likewise.
-       (fr550_check_readwrite_address): Likewise.
-       (fr500_check_insn_read_address): Likewise.
-       (fr500_check_write_address): Likewise.
-       (fr550_check_write_address): Likewise.
-       * traps.c (frv_mtrap): Likewise.
-       (frvbf_commit): Likewise.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cache.c, frv.c, interrupts.c, memory.c, options.c, pipeline.c,
-       profile-fr400.c, profile-fr450.c, profile-fr500.c, profile-fr550.c,
-       profile.c, registers.c, reset.c, sim-if.c, traps.c: Include defs.h.
-       * sim-main.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete arguments.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (arch.o, devices.o, frv.o, traps.o, pipeline.o)
-       (interrupts.o, memory.o, cache.o, options.o, reset.o)
-       (registers.o, profile.o, profile-fr400.o, profile-fr450.o)
-       (profile-fr500.o, profile-fr550.o, sim-if.o, mloop.o, cpu.o)
-       (decode.o, sem.o, model.o): Remove.
-       (SIM_EXTRA_DEPS): Add eng.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-15  John Baldwin  <jhb@FreeBSD.org>
-
-       * traps.c (frvbf_check_acc_range): Add missing return value.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * traps.c: Include stdlib.h.
-       * registers.c: Include stdlib.h.
-       * profile.c: Include stdlib.h.
-       * memory.c: Include stdlib.h.
-       * interrupts.c: Include stdlib.h.
-       * frv.c: Include stdlib.h.
-       * cache.c: Include stdlib.h.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * sim-if.c (sim_open, frv_sim_close, sim_create_inferior): Use
-       new-style declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * options.c, sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
-       HAVE_STDLIB_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (frvbf_init_idesc_table): Use ARRAY_SIZE.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * TODO: Delete file.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-       * frv.c (frvbf_h_fr_double_get_handler): Change
-       CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
-       (frvbf_h_fr_double_set_handler): Likewise.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.h (TARGET_BIG_ENDIAN): Delete.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-       * frv.c (frvbf_h_fr_double_get_handler): Change LITTLE_ENDIAN to
-       BFD_ENDIAN_LITTLE.
-       (frvbf_h_fr_double_set_handler): Likewise.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * reset.c (frv_term): Change current_state to sd.
-       * sim-if.c (current_state): Delete.
-       (sim_open): Delete current_state assignment.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c: Delete file.
-       * frv-sim.h (MCCR_ADDR, MCCR_CP, MCCR_CM0, MCCR_CM1, frv_devices,
-       struct _device): Delete.
-       * Makefile.in (SIM_OBJS): Delete devices.o.
-       * sim-if.c (sim_open): Delete #if 0 code.
-       * tconfig.h: Delete file.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-       * tconfig.h (SIM_HAVE_MODEL): Delete.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c: Rename MACH to SIM_MACH.
-       * cpuall.h: Likewise.
-       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_SCACHE_PBB): Move from ...
-       * tconfig.h (WITH_SCACHE_PBB): ... here.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
-       SIM_BREAKPOINT_SIZE): Delete.
-       * traps.c [SIM_HAVE_BREAKPOINTS] (frv_itrap): Delete sim breakpoint
-       code.
-       [SIM_HAVE_BREAKPOINTS] (frv_break): Likewise.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (WITH_WATCHPOINTS): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Rename to ...
-       (frv_sim_close): ... this.  Delete calls to frv_cgen_cpu_close and
-       sim_module_uninstall.
-       * sim-main.h (frv_sim_close): Declare.
-       (SIM_CLOSE_HOOK): Define.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_ARG_ENABLE(sim-trapdump)): Call AS_HELP_STRING.
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (frvbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
-       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
-       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_TRACE): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (USING_SIM_BASE_H): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-       (frv_sim_engine_halt_hook): Move below includes.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-       * traps.c (frv_sim_engine_halt_hook): Change CIA_SET to CPU_PC_SET.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c: Delete dv-sockser.h include.
-       (device_io_read_buffer): Delete uart code.
-       (device_io_write_buffer): Likewise.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Default simulator hardware to off again.  Remove
-       dead frv_extra_objs substitution.
-       * configure: Regenerate.
-       * Makefile.in: Remove unused frv_extra_objs.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
-           Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Add frv_extra_objs. Change simulator hardware
-       from always on to defaulting to yes it is enabled.
-       * Makefile.in: Conditionalize reference to dv-sockser.o.
-       * configure: Regenerated.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Fail if dv-sockser.o not available.
-       Error when --disable-sim-hardware is specified.
-       * configure: Regenerated.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_do_command): Delete.
-
-2010-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * profile.c (sim_profile_print_bar): Add cpu argument.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Add const to message.
-
-2010-02-12  Doug Evans  <dje@sebabeach.org>
-
-       * decode.c, * decode.h: Regenerate.
-
-2010-02-11  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h, * decode.c, * model.c, * sem.c: Regenerate.
-
-2010-01-24  Doug Evans  <dje@sebabeach.org>
-
-       * sem.c: Regenerate.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2010-01-02  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
-       * decode.h, * model.c, * sem.c: Regenerate, update copyright year.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-
-2009-11-03  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-       * sem.c: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * sem.c: Regenerate.
-
-2008-12-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h, decode.c, decode.h,
-       model.c, sem.c: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-10-28  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-       Contribute the following changes:
-       2003-09-29  Dave Brolley  <brolley@redhat.com>
-
-       * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
-       CGEN_ATTR_VALUE_TYPE.
-       * mloop.in: Ditto.
-       * pipeline.c: Ditto.
-       * traps.c: Ditto.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
-
-       * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.
-       * cpuall.h, model.c, sem.c: Regenerated.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * Makefile.in (SIM_OBJS): Add profile-fr450.o.
-       (profile-fr450.o): New dependency.
-       (stamp-cpu): Add fr450 to the list of machs.
-       * sim-frv.h (SPR_IS_ACC): New macro.
-       (H_SPR_ACC4, H_SPR_ACC63, H_SPR_ACCG4, H_SPR_ACCG63): Delete.
-       * cache.c (frv_cache_init, non_cache_access): Handle bfd_mach_fr450.
-       * frv.c (check_register_alignment, check_fr_register_alignment)
-       (check_memory_alignment, do_media_average): Likewise.
-       (frvbf_clear_accumulators): Likewise.  Use a mask of valid registers
-       rather than a consecutive range.
-       * interrupts.c (frv_queue_illegal_instruction_interrupt)
-       (frv_queue_non_implemented_instruction_interrupt): Handle
-       bfd_mach_fr450.
-       * memory.c (check_data_read_address, check_readwrite_address)
-       (check_insn_read_address, check_write_address): Likewise.
-       * mloop.in (@cpu@_simulate_insn_prefetch): Likewise.
-       * profile.c (reset_gr_flags, reset_fr_flags, reset_acc_flags)
-       (frvbf_model_insn_before, frvbf_model_insn_after): Likewise.
-       * profile-fr450.c: New file.
-       * registers.c (fr450_spr): New array.
-       (frv_register_control_init): Check its size.  Use it for fr450.
-       (frv_check_register_access): Handle bfd_mach_fr450.
-       (frv_check_spr_read_access): Likewise. Generalize accumulator check.
-       * traps.c (frv_core_signal, frvbf_media_cr_not_aligned): Likewise.
-       (frvbf_media_acc_not_aligned): Likewise.
-       (frvbf_media_register_not_aligned): Likewise.
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * cache.c (frv_cache_init): Change fr400 cache statistics to match
-       the fr405.
-       (non_cache_access): Add missing breaks.
-       * interrupts.c (set_exception_status_registers): Always set EAR15
-       for data_access_errors.
-       * memory.c (fr400_check_write_address): Remove redundant alignment
-       check.
-       * model.c: Regenerate.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * frv.c (frvbf_iacc_cut): Rework, taking rounding into account.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * decode.c, decode.h, model.c, sem.c: Regenerate.
-
-2003-11-24  Kevin Buettner  <kevinb@redhat.com>
-
-       * frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
-       (SPR_REGNUM_MAX): Delete.
-       * frv.c (gdb/sim-frv.h): Include.
-       (frvbf_fetch_register, frvbf_store_register): Use register number
-       constants from gdb/sim-frv.h.  Check availability of general
-       purpose and float registers.
-
-2003-11-03  Dave Brolley  <brolley@redhat.com>
-
-       * cache.c (address_interference): Check for higher priority requests
-       in the same pipeline.
-
-2003-10-31  Dave Brolley  <brolley@redhat.com>
-
-       * frv-sim.h (LR_REGNUM): Removed.
-       (SPR_REGNUM_MIN,SPR_REGNUM_MAX): New macros.
-       * frv.c (frvbf_fetch_register): Fetch SPR registers based on
-       SPR_REGNUM_MIN and SPR_REGNUM_MAX. Check whether SPRs are implemented.
-       Return 0 for an unimplemented register. Return the length of the data
-       for an implemented register.
-       (frvbf_store_register): Ditto.
-
-2003-10-30  Andrew Cagney  <cagney@redhat.com>
-
-       * traps.c: Replace "struct symbol_cache_entry" with "struct
-       bfd_symbol".
-
-2003-10-10  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h, sem.c: Regenerate.
-
-2003-10-06  Dave Brolley  <brolley@redhat.com>
-
-       * profile-fr550.[ch]: New files.
-       * configure.in: Move frv handling to alphabetically correct placement.
-       * Makefile.in: Add fr550 support.
-       * frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c,
-       profile.[ch],registers.c,traps.c: Add fr550 support.
-       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
-       Regenerate.
-
-2003-09-25  Dave Brolley  <brolley@redhat.com>
-
-       * reset.c (frv_initialize): Call frv_register_control_init first.
-
-2003-09-24  Dave Brolley  <brolley@redhat.com>
-
-       * profile.h (update_FR_ptime): New prototype.
-       (update_FRdouble_ptime): Ditto.
-       (update_SPR_ptime): Ditto.
-       (increase_ACC_busy): Ditto.
-       (enforce_full_acc_latency): Ditto.
-       (post_wait_for_SPR): Ditto.
-       * profile.c (update_FR_ptime): Moved here from profile-fr500.c.
-       (update_FRdouble_ptime): Ditto.
-       (update_SPR_ptime): New function.
-       (increase_ACC_busy): Ditto.
-       (enforce_full_acc_latency): Ditto.
-       (vliw_wait_for_fdiv_resource): Correct resource name.
-       (vliw_wait_for_fsqrt_resource): Ditto.
-       (post_wait_for_SPR): New function.
-       * profile-fr500.c (frvbf_model_fr500_u_commit): New function.
-       (frvbf_model_fr500_u_gr2fr): Pass out_FRk as output register to
-       adjust_float_register_busy.
-       (frvbf_model_fr500_u_gr_load): Record latency of SPR registers.
-       (frvbf_model_fr500_u_fr_load): Wait for and record latency of SPR
-       registers.
-       (frvbf_model_fr500_u_float_arith): Ditto.
-       (frvbf_model_fr500_u_float_dual_arith): Ditto.
-       (frvbf_model_fr500_u_float_div): Ditto.
-       (frvbf_model_fr500_u_float_sqrt): Ditto.
-       (frvbf_model_fr500_u_float_convert): Ditto.
-       (update_FR_ptime): Moved to profile.c
-       (update_FRdouble_ptime): Moved to profile.c
-       * profile-fr400.c (update_FR_ptime): Removed. Identical to functions
-       for other machines.
-       (update_FRdouble_ptime): Ditto.
-       * arch.h,cpu.h,sem.c,decode.[ch],model.c,sem.c: Regenerated.
-
-2003-09-12  Dave Brolley  <brolley@redhat.com>
-
-       * registers.c (frv_check_spr_read_access): Check for access to
-       ACC4-ACC63 and ACCG4-ACCG63.
-       * profile.h (frv-desc.h): #include it.
-       (spr_busy): New member of FRV_PROFILE_STATE.
-       (spr_latency): Ditto.
-       (GNER_FOR_GR): New macro.
-       (FNER_FOR_FR): New maccro.
-       (update_SPR_latency): New function.
-       (vliw_wait_for_SPR): New function.
-       * profile.c (update_latencies): Update SPR latencies.
-       (update_target_latencies): Ditto.
-       (update_SPR_latency): New function.
-       (vliw_wait_for_SPR): New function.
-       * profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency.
-       (frvbf_model_fr500_u_trap): Removed unused variable, ps.
-       (frvbf_model_fr500_u_check): Ditto.
-       (frvbf_model_fr500_u_clrgr): New unit modeller for fr500.
-       (frvbf_model_fr500_u_clrfr): Ditto.
-       (frvbf_model_fr500_u_spr2gr): Wait for SPR.
-       (frvbf_model_fr500_u_gr2spr): Ditto.
-       * frv-sim.h (H_SPR_ACC4): New macro.
-       (H_SPR_ACCG4): New macro;
-       (H_SPR_ACC0): Removed.
-       (H_SPR_ACCG0): Removed.
-       * arch.h,model.c,sem[ch],decode.[ch]: Regenerated.
-
-2003-09-10  Dave Brolley  <brolley@redhat.com>
-
-       * profile.c (slot_names): FM1 was listed twice. Changed first
-       instance to FM0. Added IALL, FMALL and FMLOW.
-       (print_parallel): Don't examine slots with no insns.
-
-2003-09-09  Dave Brolley  <brolley@redhat.com>
-
-       * frv.c (do_media_average): Select machine using a switch.
-
-2003-09-08  Dave Brolley  <brolley@redhat.com>
-
-       On behalf of Doug Evans <dje@sebabeach.org>
-       * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen.
-       Remove copying of .cpu file to cgen/cpu, no longer needed.
-
-2003-09-03  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
-
-2003-08-29  Dave Brolley  <brolley@redhat.com>
-
-       * Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu
-       temporarily when regenerating files.
-       (stamp-cpu): Ditto.
-
-2003-08-20  Micheal Snyder  <msnyder@redhat.com>
-
-       * All generated files: Regenerate.
-
-2001-10-11  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h,decode.c,decode.h,sem.c: Regenerate.
-
-2001-10-09  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_rett): Halt if PSR.S and PSR.ET are both set or both
-       not set.
-       * reset.c (frv_hardware_reset): Invalidate both caches.
-       * registers.c: Update init, reset and read-only masks for all registers
-       on all machines.
-       * profile.h (cur_gr_complex): New field of FRV_PROFILE_STATE
-       (prev_gr_complex): New field of FRV_PROFILE_STATE
-       (set_use_is_gr_complex): New function.
-       (set_use_not_gr_complex): New function.
-       (use_is_gr_complex): New function.
-       (decrease_GR_busy): New function.
-       * profile.c (reset_gr_flags): New function.
-       (reset_cc_flags): New function.
-       (set_use_is_gr_complex): New function.
-       (set_use_not_gr_complex): New function.
-       (use_is_gr_complex): New function.
-       (update_latencies): Reset gr and cc flags when latency reaches 0.
-       (decrease_GR_busy): New function.
-       * profile-fr400.h (fr500_reset_acc_flags): Removed.
-       (fr500_reset_cc_flags): New function.
-       * profile-fr500.c (frvbf_model_fr400_u_*): Reflect latencies from fr500
-       LSI version 1.41.
-       * profile-fr400.h (fr400_reset_gr_flags): New function.
-       (fr400_reset_fr_flags): New function.
-       (fr400_reset_acc_flags): New function.
-       * profile-fr400.c (set_use_not_media_p4): New function.
-       (set_use_not_media_p6): New function.
-       (set_acc_use_not_media_p2): New function.
-       (set_acc_use_not_media_p4): New function.
-       (fr400_reset_gr_flags): New function.
-       (fr400_reset_fr_flags): New function.
-       (fr400_reset_acc_flags): New function.
-       (frvbf_model_fr400_u_*): Reflect latencies from fr400 LSI version 1.1.
-       (frvbf_model_fr400_u_media_hilo): New function.
-       * pipeline.c (frv_vliw_setup_insn): Don't clear MSR0.MTT.
-       * memory.c (fr400_check_data_read_address): Check address range only
-       for double word loads. Don't check alignment here.
-       (fr400_check_readwrite_address): New function.
-       (fr500_check_readwrite_address): New function.
-       (check_readwrite_address): New function.
-       (fr500_check_insn_read_address): Correct address ranges.
-       (frvbf_read_mem_*): Check address range here.
-       (frv_address_forbidden): Removed.
-       (fr400_check_write_address): New function.
-       (check_write_address): New function.
-       (frvbf_write_mem_*): Don't check address range here.
-       (frvbf_mem_set_*): Check address range here.
-       * interrupts.c (frv_queue_data_access_error_interrupt): Now takes an
-       address as second argument.
-       (frv_queue_data_access_exception_interrupt): New function.
-       (frv_queue_illegal_instruction_interrupt): Generate fp_exception for
-       media insns on fr400.
-       (frv_queue_non_implemented_instruction_interrupt): Generate mp_exception
-       for media insns on fr400.
-       (frv_detect_insn_access_interrupts): Don't check for illegal addresses
-       of insns here.  Check for MTRAP insn if PSR.EM is not set.
-       (frv_set_mp_exception_registers): Only set MSR0.MTT if it is not already
-       set.
-       (set_exception_status_registers): Do not always set EPCR. Set EAR for
-       data_acess_error only if not fr400.
-       * frv.c (do_media_average): New function.
-       (frvbf_media_average): New function.
-       (frvbf_insn_cache_invalidate): Check for illegal invocation.
-       (frvbf_data_cache_invalidate): Ditto.
-       (frvbf_data_cache_flush): Ditto.
-       * frv-sim.h (GET_FSR_QNE): New macro.
-       (frv_msr_mtt): Remove MTT_SEQUENCE_ERROR.
-       (GET_MSR_SRDAV): New macro.
-       (GET_MSR_RDAV): New macro.
-       (GET_MSR_RD): New macro.
-       (frv_queue_data_access_error_interrupt): Now takes an address as second
-       argument.
-       (frv_address_forbidden): Removed.
-       * cache.c (non_cache_access): Correct address ranges. Now takes cache
-       as first argument.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2001-08-20  Dave Brolley  <brolley@redhat.com>
-
-       * sim-main.h (_sim_cpu): New field 'elf_flags'.
-       * sim-if.c (sim_open): Extract the elf_flags from the input file and
-       save them with each cpu.
-       * mloop.in (main loop): Pass elf flags to frv_vliw_reset.  Set
-       last_insn_p before executing the insn.
-       * cache.c (frv_cache_invalidate): Flush scache if this is the cpu's
-       insn cache.
-       (frv_cache_invalidate_all): Ditto.
-
-2001-08-20  Richard Sandiford  <rsandifo@redhat.com>
-
-       * traps.c (syscall_read_mem): Flush the data cache before reading.
-       (syscall_write_mem): Flush the data cache before writing.
-       Invalidate both caches.
-
-2001-07-05  Ben Elliston  <bje@redhat.com>
-
-       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
-       (stamp-cpu): Likewise.
-
-2001-05-23  Dave Brolley  <brolley@redhat.com>
-
-       * profile-fr400.c (acc_use_is_media_p2): New function.
-       (frvbf_model_fr400_u_media_2): Account for latency of output
-       accumulators.
-       (frvbf_model_fr400_u_media_2_quad): Ditto.
-       (frvbf_model_fr400_u_media_2_acc): New function.
-       (frvbf_model_fr400_u_media_2_acc_dual): New function.
-       (frvbf_model_fr400_u_media_2_add_sub): New function.
-       (frvbf_model_fr400_u_media_2_add_sub_dual): New function.
-       (frvbf_model_fr400_u_media_3_dual): New function.
-       (frvbf_model_fr400_u_media_4_acc_dual): New function.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2001-05-15  Dave Brolley  <brolley@redhat.com>
-
-       * registers.c (fr400_spr): Enable write access to HSR0.CBM.
-       * profile.h (FRV_PROFILE_STATE): New field 'all_cache_entries'.
-       * profile.c (CACHE_QUEUE_ELEMENT): New 'all' field.
-       (request_cache_flush): Save 'all' argument.
-       (request_cache_invalidate): Save all_cache_entries from profile state
-       to 'all' field of the request.
-       (submit_cache_request): Pass the 'all' field of the request to
-       frv_cache_request_invalidate.
-       * frv.c (frv_insn_cache_invalidate): Add new 'all' parameter. Perform
-       operation even if HSR0.ICE is not set.
-       (frv_data_cache_invalidate): Add new 'all' parameter. Perform
-       operation even if HSR0.DCE is not set.
-       (frv_data_cache_flush): Ditto.
-       * frv-sim.h (frv_insn_cache_invalidate): Add new 'all' parameter.
-       (frv_data_cache_invalidate): Add new 'all' parameter.
-       (frv_data_cache_flush): Add new 'all' parameter.
-       * cache.h (FRV_CACHE_INVALIDATE_REQUEST): Add new 'all' field.
-       (frv_cache_request_invalidate): Add new 'all' parameter.
-       * cache.c (frv_cache_request_invalidate): Add new 'all' parameter. Save
-       its value in the invalidate request.
-       (address_interference): Accept the value '-1' for the address argument
-       to mean 'any address'.
-       (handle_req_invalidate): Handle request to invalidate all cache lines.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2001-05-14  Dave Brolley  <brolley@redhat.com>
-
-       * profile.h (past_first_p): New field of profiling state.
-       (branch_penalty): Ditto.
-       (branch_hint): Ditto.
-       (update_branch_penalty): New function.
-       * profile.c (frvbf_model_insn_after): Reset past_first_p and
-       branch_address fields of the profiling state.
-       (frvbf_model_branch): New function.
-       (update_branch_penalty): New function.
-       * profile-fr500.c (frvbf_model_fr500_u_branch): Remove ICCi_3 and
-       FCCi_3 inputs.
-       (frvbf_model_fr500_u_trap): New function.
-       (frvbf_model_fr500_u_check): New function.
-       (frvbf_model_fr500_u_media_dual_htob): post-processing latency is 3
-       cycles.
-       * profile-fr400.c (frvbf_model_fr400_u_branch): Set branch penalties
-       as documented in the fr400 LSI. Remove ICCi_3 and FCCi_3 inputs.
-       (frvbf_model_fr400_u_media_dual_expand): Check resource usage as
-       documented in teh fr400 LSI.
-       (frvbf_model_fr400_u_media_dual_htob): Ditto.
-       (frvbf_model_fr400_u_media_dual_unpack): Removed.
-       (frvbf_model_fr500_u_trap): New function.
-       (frvbf_model_fr500_u_check): New function.
-       * mloop.in (simulate_dual_insn_prefetch): New function.
-       (@cpu@_simulate_insn_prefetch): Call simulate_dual_insn_prefetch with
-       arguments for each machine type.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2001-05-09  Dave Brolley  <brolley@redhat.com>
-
-       * Makefile.in (profile.o): Add profile-fr400.h as a dependency.
-       (profile-fr400.o): New target.
-       * profile.c: New file.
-       * profile.h: New file.
-       * profile-fr400.c: New file.
-       * profile-fr400.h: New file.
-       * profile-fr500.c: New file.
-       * profile-fr500.h: New file.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2001-05-02  Dave Brolley  <brolley@redhat.com>
-
-       * sim-main.h (profile.h): #include it.
-       (CPU_PROFILE_STATE): New macro.
-       (profile_state): New frv specific cpu field.
-       * reset.c (frv_initialize): insn_fetch_address and branch_address now
-       part of global profiling state.
-       * Makefile.in (SIM_OBJS): Add profile.o and profile-fr500.o.
-       (SIM_EXTRA_DEPS): Add profile.h.
-       (registers.o): Correct name of source file.
-       (profile.o): New target.
-       (profile-fr500.o): New target.
-       * frv-sim.h: Move profile related data structures to profile.h.
-       * frv.c: Move fr500 specific functions to profile-fr500.c.
-       * cpu.h: Regenerated.
-
-2001-04-27  Dave Brolley  <brolley@redhat.com>
-
-       * sim-main.h (CPU_PIPELINE): Renamed to CPU_VLIW.
-       * interrupts.c: Rename FRV_PIPELINE to FRV_VLIW.
-       Rename pipeline to vliw. Rename CPU_PIPELINE to CPU_VLIW.
-       Rename PIPE_* to UNIT_*.
-       (frv_queue_illegal_instruction_interrupt): Use
-       frv_is_float_insn and frv_is_media_insn.
-       (frv_queue_non_implemented_instruction_interrupt): Ditto.
-       (frv_detect_insn_access_interrupts): Ditto.
-       * frv.c: Rename FRV_PIPELINE to FRV_VLIW. Rename pipeline to vliw.
-       Rename CPU_PIPELINE to CPU_VLIW. Rename PIPE_* to UNIT_*.
-       * memory.c: Ditto.
-       * pipeline.c: Ditto.
-       * mloop.in: Ditto.
-       * frv-sim.h (frv_pipeline_setup_insn): Renamed to frv_vliw_setup_insn.
-       * cache.c: Rename PIPE_* to UNIT_*.
-
-2001-04-24  Dave Brolley  <brolley@redhat.com>
-
-       * frv.c (frvbf_load_quad_GR): Delete have_data and hsr0.
-       (frvbf_load_quad_FRint): Ditto.
-       (frvbf_load_quad_CPR): Ditto.
-       * cache.c (frv_cache_init): Initialize cache for fr400 vs other
-       machines.
-       (bfd.h): #include it.
-       (non_cache_access): Update for revised fr500 and for fr400.
-       * registers.c (frv_spr): Don't reset PSR.PS.
-       (fr500_spr): Ditto.
-       (frv_reset_spr): Set PSR.PS to the former value of PSR.S.
-
-2001-04-23  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_core_signal): On fr400, generate data_access_error.
-       (frvbf_media_cr_not_aligned): On fr400, generate illegal_instruction.
-       (frvbf_media_acc_not_aligned): Ditto.
-       (frvbf_media_register_not_aligned): Ditto.
-       (frvbf_division_exception): Use GET_ISR_EDE.
-       * registers.c (frv_check_spr_read_access): New function.
-       (frv_check_spr_write_access): New function.
-       (frv_check_spr_access): Deleted.
-       (frv_check_register_access): On fr400, generate illegal_instruction.
-       * memory.c (fr400_check_data_read_address): New function.
-       (fr500_check_data_read_address): Ditto.
-       (check_data_read_address): Ditto.
-       (fr400_check_insn_read_address): Ditto.
-       (fr500_check_insn_read_address): Ditto.
-       (check_insn_read_address): Ditto.
-       (frvbf_read_mem_QI): Call check_data_read_access.
-       (frvbf_read_mem_UQI): Ditto.
-       (frvbf_read_mem_HI): Ditto.
-       (frvbf_read_mem_UHI): Ditto.
-       (frvbf_read_mem_SI): Ditto.
-       (frvbf_read_mem_DI): Ditto.
-       (frvbf_read_mem_DF): Ditto.
-       (frvbf_read_imem_USI): Call check_insn_read_access.
-       (frv_address_forbidden): Now takes cpu as first argument. Check based
-       on machine type.
-       (fr400_mem_address_unaligned): New function.
-       (fr500_mem_address_unaligned): Ditto.
-       (check_write_address): Ditto.
-       (frvbf_mem_set_QI): Call check_write_address.
-       (frvbf_mem_set_HI): Ditto.
-       (frvbf_mem_set_SI): Ditto.
-       (frvbf_mem_set_DI): Ditto.
-       (frvbf_mem_set_DF): Ditto.
-       (frvbf_mem_set_XI): Ditto.
-       * interrupts.c (bfd.h): #include it.
-       (frv_queue_data_access_error_interrupt): New function.
-       (frv_queue_instruction_access_error_interrupt): New function.
-       (frv_queue_instruction_access_exception_interrupt): New function.
-       (frv_queue_illegal_instruction_interrupt): No fp_exception on fr400.
-       (frv_queue_non_implemented_instruction_interrupt): Ditto.
-       (frv_detect_insn_access_interrupts): Reorder tests to match priority
-       from the LSI manual.
-       (set_isr_exception_fields): Accumulate dtt bits.
-       * frv.c (check_register_alignment): New function.
-       (check_fr_register_alignment): New function.
-       (check_memory_alignment): New function.
-       (frvbf_h_gr_double_get_handler): Call check_register_alignment.
-       (frvbf_h_gr_double_set_handler): Ditto.
-       (frvbf_h_cpr_double_get_handler): Ditto.
-       (frvbf_h_cpr_double_set_handler): Ditto.
-       (frvbf_h_gr_quad_set_handler): Ditto.
-       (frvbf_h_cpr_quad_set_handler): Ditto.
-       (frvbf_h_fr_double_get_handler): Call check_fr_register_alignment.
-       (frvbf_h_fr_double_set_handler): Ditto.
-       (frvbf_h_fr_quad_set_handler): Ditto.
-       (frvbf_h_spr_get_handler): Call frv_check_spr_read_access.
-       (frvbf_h_spr_set_handler): Call frv_check_spr_write_access.
-       (frvbf_load_quad_GR): Call check_memory_aligment.
-       (frvbf_load_quad_FRint): Ditto.
-       (frvbf_load_quad_CPR): Ditto.
-       (frvbf_store_quad_GR): Call check_memory_aligment and
-       check_register_alignment.
-       (frvbf_store_quad_FRint): Ditto.
-       (frvbf_store_quad_CPR): Ditto.
-       (frvbf_signed_integer_divide: Use GET_ISR_EDEM.
-       * frv-sim.h (H_SPR_ACC0): New macro.
-       (H_SPR_ACC63): New macro.
-       (H_SPR_ACCG0): New macro.
-       (H_SPR_ACCG63): New macro.
-       (frv_dtt): New enumerator.
-       (GET_ISR_EDE): Renamed from GET_ISR_EDEM.
-       (GET_ISR_DTT): New macro.
-       (frv_queue_data_access_error_interrupt): New function.
-       (frv_queue_instruction_access_error_interrupt): New function.
-       (frv_queue_instruction_access_exception_interrupt): New function.
-       (frv_address_forbidden): Now takes cpu as first argument.
-       * cpu.h: Regenerate.
-
-2001-04-10  Dave Brolley  <brolley@redhat.com>
-
-       * registers.c (fr500_spr): Add new fields to fr500 PSR register.
-       (fr500_spr): Add STBAR and MMCR unimplemented registers for fr500.
-       (fr400_spr): Implement SPR registers for fr400.
-       (frv_register_control_init): Handle bfd_mach_fr400 properly.
-       * frv.c (spr_bpsr_get_handler): Mask field before shifting.
-       (spr_psr_get_handler): Ditto.
-       (spr_ccr_get_handler): Ditto.
-       (spr_cccr_get_handler): Ditto.
-       (frvbf_clear_accumulators): Only 4 accumulators on fr400.
-       * frv-sim.h: Update comment about MCCR_* macros.
-       * cpu.c,cpu.h: Regenerate.
-
-2001-04-05  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h,decode.c,model.c,sem.c: Regenerate.
-
-2001-04-05  Dave Brolley  <brolley@redhat.com>
-
-       * reset.c: Update copyright.
-       * registers.c (frv_register_control_init): Handle bfd_mach_fr400.
-       * frv.c (frvbf_model_fr400_u_exec): New function.
-       * Makefile.in (stamp-cpu): Add fr400 to list of machines.
-       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
-       Regenerate.
-
-2000-11-22  Dave Brolley  <brolley@redhat.com>
-
-       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
-       Regenerate.
-
-2000-11-10  Dave Brolley  <brolley@redhat.com>
-
-       * decode.c: Regenerate.
-
-2000-09-12  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_sim_engine_halt_hook): New function.
-       (frv_itrap): Caches now invalidated in sim_engine_halt via
-       SIM_ENGINE_HALT_HOOK.
-       (frv_break): Ditto.
-       * sim-main.h (frv_sim_engine_halt_hook): New function.
-       (SIM_ENGINE_HALT_HOOK): New macro.
-       (SIM_ENGINE_RESTART_HOOK): New macro.
-       * interrupts.c: Call to frv_term now done within sim_engine_halt via
-       SIM_ENGINE_HALT_HOOK.
-
-2000-09-08  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_itrap): Invalidate and flush the data and insn caches
-       respectively when stopping for a breakpoint.
-       (frv_break): Ditto.
-       * cache.h (frv_cache_invalidate_all): New function.
-       * cache.c (frv_cache_invalidate_all): New function.
-
-2000-09-05  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_break): If SIM_HAVE_BREAKPOINTS, call
-       sim_handle_breakpoint. Otherwise if environment != operating call
-       sim_engine_halt. Otherwise handle normally.
-       * interrupts.c (frv_queue_break_interrupt): Don't handle debugger
-       breakpoints here. Moved to frv_break in traps.c.
-
-       * sem.c: Regenerate.
-
-2000-09-01  Dave Brolley  <brolley@redhat.com>
-
-       * interrupts.c (frv_queue_break_interrupt): Call sim_handle_breakpoint
-       before queuing an interrupt in order to allow 'break' to be used as
-       the breakpoint insn.
-
-2000-08-29  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_itrap): Invalidate the insn cache at a breakpoint.
-
-2000-07-27  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h,decode.c: Rebuild.
-
-2000-07-26  Dave Brolley  <brolley@redhat.com>
-
-       * frv.c (spr_cccr_get_handler): Change CRx to CCx.
-       (spr_cccr_set_handler): Change CRx to CCx.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-2000-07-24  Dave Brolley  <brolley@redhat.com>
-
-       * sem.c: Regenerate.
-       * frv.c (frvbf_unsigned_integer_divide): Queue a write for the result.
-       Don't write it directly.
-
-Thu Jul  6 13:51:12 2000  Dave Brolley  <brolley@topaz>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-07-05  Ben Elliston  <bje@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-06-28  Dave Brolley  <brolley@redhat.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-2000-06-21  Dave Brolley  <brolley@redhat.com>
-
-       * pipeline.c: All code except frv_pipeline_setup_insn moved to
-       frv.opc.
-       * mloop.in (main loop): frv_pipeline_add_insn broken up into
-       frv_pipeline_add_insn and frv_pipeline_setup_insn.
-       * frv-sim.h: Move pipeline status code to frv.opc.
-       * model.c: Regenerate.
-
-2000-06-12  Dave Brolley  <brolley@redhat.com>
-
-       * options.c (frv_option_handler): --profile-parallel implies
-       --profile-model.
-       * mloop.in (fetch_buffer): Removed.
-       (@cpu@_simulate_insn_prefetch): Monitoring of fetch buffer moved to
-       run_caches.  Use cache directly if not counting cycles.  Don't use
-       cache at all if not counting cycles and cache not enabled.
-       * frv.c (frv_insn_fetch_buffer): New global variable.
-       (run_caches): Monitor the status of insn prefetch requests.
-       * frv-sim.h (FRV_INSN_FETCH_BUFFER): New struct type.
-       (frv_insn_fetch_buffer): New global variable.
-
-2000-06-12  Dave Brolley  <brolley@redhat.com>
-
-       * mloop.in (fetch_buffer): New static struct.
-       (@cpu@_simulate_insn_prefetch): Rewritten.
-       * cache.c (frv_cache_request_invalidate): Don't invalidate return
-       buffer.
-       (address_interference): Defer to any WAR request in either pipeline.
-
-2000-06-09  Dave Brolley  <brolley@redhat.com>
-
-       * pipeline.c (insns_in_slot): New Array.
-       (frv_pipeline_add_insn): Call COUNT_INSNS_IN_SLOT.
-       * options.c (frv_options): Remove 'NONBLOCK' argument from data-cache
-       option.
-       (parse_cache_option): New function.
-       (frv_option_handler): Call parse_cache_option.
-       * frv.c (vliw_branch_taken): New variable.
-       (vliw_load_stall): New variable.
-       (handle_resource_wait): Update vliw_load_stall.
-       (frvbf_model_insn_before): Initialize vliw_branch_taken and
-       vliw_load_stall.
-       (frvbf_model_insn_after): Increment PROFILE_MODEL_LOAD_STALL_CYCLES.
-       (load_wait_for_FR): Update vliw_load_stall.
-       (load_wait_for_GR): Update vliw_load_stall.
-       (load_wait_for_FRdouble): Update vliw_load_stall.
-       (load_wait_for_GRdouble): Update vliw_load_stall.
-       (frvbf_model_fr500_u_branch): Count branches taken and not taken.
-       (slot_names): New static array.
-       (print_parallel): Now takes second argument 'verbose'. Print cycles per
-       VLIW insn and instructions per cycle. Also tabulate the number of insns
-       in each type of VLIW slot.
-       (frv_profile_info): Call print_parallel with new second argument.
-       * frv-sim.h (insn_in_slot): New array.
-       (COUNT_INSNS_IN_SLOT): New macro.
-       (INSNS_IN_SLOT): New macro.
-       * cache.c: Remove references to non_blocking_count. Remove references to
-       last_was_hit. Remove references to req_none.
-       (handle_req_store): Adjust statistics before requeuing the store
-       request.
-       (handle_req_WAR): Don't let the WAR request affect the cache statistics.
-       * cache.h: Remove references to non_blocking_count. Remove references to
-       last_was_hit. Remove references to req_none.
-       * model.c: Regenerate.
-
-2000-06-08  Dave Brolley  <brolley@redhat.com>
-
-       * frv.c (request_complete): Copy load data from the correct return
-       buffer.
-
-2000-06-07  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_core_signal): Call frv_term before exiting.
-       (frv_itrap): Call frv_term before exiting.
-       (next_available_nesr): Make sure NECR is implemented before reading it.
-       (next_valid_nesr): Ditto.
-       (frvbf_check_non_excepting_load): Ditto.
-       (frvbf_clear_ne_flags): Ditto.
-       (frvbf_commit): Ditto.
-       (frvbf_check_recovering_store): Delay cache operation if 'model_insn'.
-       * sim-main.h (_sim_cpu): Add load_address, load_length, load_flag and
-       store_flag members.
-       (CPU_LOAD_ADDRESS): New macro.
-       (CPU_LOAD_LENGTH): New macro.
-       (CPU_LOAD_SIGNED): New macro.
-       (CPU_LOAD_LOCK): New macro.
-       * reset.c (frv_term): New function.
-       (frv_power_on_reset): Use SETMEMSI if the cache is not enabled.
-       (frv_hardware_reset): Use SETMEMSI if the cache is not enabled.
-       (frv_software_reset): Use SETMEMSI if the cache is not enabled.
-       * mloop.in (execute): Call FRV_COUNT_CYCLES to decide whether to model
-       the insn. Model the insn in two passes. One before and one after
-       execution.
-       (cache_reqno): new static variable.
-       (@cpu@_simulate_insn_prefetch): Model fetch latency by waiting for the
-       cache rather than assuming a fixed latency.
-       (xinit): Turn on PROFILE_MODEL_P before each vliw insn if the timer is
-       enabled so that modeling data is collected by cgen during execution.
-       (full-exec): Restore PROFILE_MODEL_P after each vliw insn.
-       * memory.c (data_non_cache_access): Removed.
-       (insn_non_cache_access): Removed.
-       (frvbf_read_mem_QI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_UQI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_HI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_UHI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_SI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_DI): Delay read operation if 'model_insn'.
-       (frvbf_read_mem_DF): Delay read operation if 'model_insn'.
-       (frvbf_read_imem_USI): Read the cache or ememory passively.
-       (frvbf_write_mem_QI): Don't check for non-cache access here.
-       (frvbf_write_mem_UQI): Call frvbf_write_mem_QI.
-       (frvbf_write_mem_HI): Don't check for non-cache access here.
-       (frvbf_write_mem_UHI): Call frvbf_write_mem_QI.
-       (frvbf_write_mem_SI): Don't check for non-cache access here.
-       (frvbf_write_mem_DI): Don't check for non-cache access here.
-       (frvbf_write_mem_DF): Don't check for non-cache access here.
-       (frvbf_mem_set_QI): Use cycle-accurate cache write if 'model_insn'.
-       (frvbf_mem_set_HI): Use cycle-accurate cache write if 'model_insn'.
-       (frvbf_mem_set_SI): Use cycle-accurate cache write if 'model_insn'.
-       (frvbf_mem_set_DI): Use cycle-accurate cache write if 'model_insn'.
-       (frvbf_mem_set_DF): Use cycle-accurate cache write if 'model_insn'.
-       (frvbf_mem_set_XI): Use cycle-accurate cache write if 'model_insn'.
-       * interrupts.c (check_reset): Read the cache and memory passively.
-       (frv_program_or_software_interrupt): Call frv_term before calling
-       sim_engine_halt.
-       * frv.c (all modeling functions): Break into two passes. One before
-       execuetion and one after. call load_wait_for_* for all GR and FR
-       registers.
-       (frvbf_load_quad_GR): Delay performing the load if 'model_insn'.
-       (frvbf_load_quad_FRint): Delay performing the load if 'model_insn'.
-       (frvbf_load_quad_CPR): Delay performing the load if 'model_insn'.
-       (frvbf_insn_cache_preload): Delay cache operation if 'model_insn'.
-       (frvbf_data_cache_preload): Delay cache operation if 'model_insn'.
-       (frvbf_insn_cache_unlock): Delay cache operation if 'model_insn'.
-       (frvbf_data_cache_unlock): Delay cache operation if 'model_insn'.
-       (frvbf_insn_cache_invalidate): Delay cache operation if 'model_insn'.
-       (frvbf_data_cache_invalidate): Delay cache operation if 'model_insn'.
-       (frvbf_data_cache_flush): Delay cache operation if 'model_insn'.
-       (model_insn): New global variable.
-       (fr_ptime): New array.
-       (cache_request): New enumeration.
-       (CACHE_QUEUE_ELEMENT): New struct type.
-       (CACHE_QUEUE_SIZE): New macro.
-       (cache_queue): New static struct.
-       (request_cache_load): New function.
-       (request_cache_flush): New function.
-       (request_cache_invalidate): New function.
-       (request_cache_preload): New function.
-       (request_cache_unlock): New function.
-       (submit_cache_request): New function.
-       (activate_cache_requests): New function.
-       (load_pending_for_register): New function.
-       (flush_pending_for_address): New function.
-       (remove_cache_queue_element): New function.
-       (copy_load_data): New function.
-       (request_complete): New function.
-       (run_caches): New function.
-       (frv_model_trace_wait_cycles): New function.
-       (wait_for_flush): New function.
-       (frvbf_model_insn_before): Insn prefect wait now modeled in
-       frvbf_simulate_insn_prefetch. Incremement vliw_insns here. Call
-       wait_for_flush.
-       (frvbf_model_insn_after): Call activate_cache_requests. Don't increment
-       vliw_insns here anymore.
-       (update_FR_latency_for_load): New function.
-       (update_FRdouble_latency_for_load): New function.
-       (update_FR_ptime): New function.
-       (update_FRdouble_ptime): New function.
-       (update_GR_latency_for_swap): New function.
-       (load_wait_for_GR): New function.
-       (load_wait_for_FR): New function.
-       (load_wait_for_GRdouble): New function.
-       (load_wait_for_FRdouble): New function.
-       (frvbf_model_fr500_u_ici): New function.
-       (frvbf_model_fr500_u_dci): New function.
-       (frvbf_model_fr500_u_dcf): New function.
-       (frvbf_model_fr500_u_icpl): New function.
-       (frvbf_model_fr500_u_dcpl): New function.
-       (frvbf_model_fr500_u_icul): New function.
-       (frvbf_model_fr500_u_dcul): New function.
-       * frv-sim.h (frv_term): New function.
-       (insn_non_cache_access): Removed.
-       (FRV_COUNT_CYCLES): New macro.
-       (frv_save_peofile_model_p): New global variable.
-       (model_insn): New enumerated global variable.
-       (frv_model_advance_cycles): New function.
-       (frv_model_trace_wait_cycles): New function.
-       * cache.h (FRV_CACHE_REQUEST_KIND): New enumeration.
-       (FRV_CACHE_WAR_REQUEST): New struct type.
-       (FRV_CACHE_STORE_REQUEST): New struct type.
-       (FRV_CACHE_INVALIDATE_REQUEST): New struct type.
-       (FRV_CACHE_PRELOAD_REQUEST): New struct type.
-       (FRV_CACHE_REQUEST): New struct type.
-       (FRV_CACHE_RETURN_BUFFER): New struct type.
-       (FRV_CACHE_FLUSH_STATUS): New struct type.
-       (FRV_CACHE_STATUS): New struct type.
-       (FRV_CACHE_STAGE): New struct type.
-       (FRV_CACHE_STAGES): New enumeration.
-       (FRV_CACHE_WAR): New struct type.
-       (FRV_CACHE_PIPELINE): New struct type.
-       (FRV_CACHE_ARS): New struct type.
-       (FRV_CACHE_STATISTICS): New struct type.
-       (FRV_CACHE): Add pipeline, statistics, BARS and NARS.
-       (CACHE_RETURN_DATA): 'return_buffer' is now within 'status'.
-       (CACHE_RETURN_DATA_ADDRESS): New macro.
-       (frv_cache_read): Now takes pipe index as second argument.
-       (frv_cache_enabled): New function.
-       (frv_cache_request_load): New function.
-       (frv_cache_request_store): New function.
-       (frv_cache_request_invalidate): New function.
-       (frv_cache_request_preload): New function.
-       (frv_cache_request_unlock): New function.
-       (frv_cache_run): New function.
-       (frv_cache_read_passive_SI): New function.
-       (frv_cache_data_in_buffer): New function.
-       (frv_cache_data_flushed): New function.
-       * cache.c (frv_cache_init): Initialize pipelines and xARS registers.
-       (frv_cache_enabled): New function.
-       (non_cache_access): New function.
-       (write_data_to_memory): Count write accesses for each mode. Write to
-       memory using sim_core_write_unaligned_1;
-       (read_data_from_memory): New function.
-       (fill_line_from_memory): Use read_data_from_memory.
-       (copy_line_to_return_buffer): New function.
-       (copy_memory_to_return_buffer): New function.
-       (set_return_buffer_reqno): New function.
-       (frv_cache_read): Now takes pipe index as second argument. Check for
-       non-cache access.
-       (frv_cache_preload): Check for non-cache access.
-       (frv_cache_unlock): Check for non-cache access.
-       (invalidate_return_buffer): New function.
-       (frv_cache_invalidate): Check for non-cache access.
-       (convert_slot_to_index): New function.
-       (FREE_CHAIN_SIZE): New macro.
-       (frv_cache_request_free_chain): New static variable.
-       (frv_store_request_free_chain): New static variable.
-       (allocate_new_cache_requests): New function.
-       (new_cache_request): New function.
-       (free_cache_request): New function.
-       (new_store_request): New function.
-       (pipeline_remove_request): New function.
-       (pipeline_add_request): New function.
-       (pipeline_requeue_request): New function.
-       (next_priority): New function.
-       (add_WAR_request): New function.
-       (pipeline_next_request): New function.
-       (pipeline_stage_request): New function.
-       (advance_pipelines): New function.
-       (frv_cache_request_load): New function.
-       (frv_cache_request_store): New function.
-       (frv_cache_request_invalidate): New function.
-       (frv_cache_request_preload): New function.
-       (frv_cache_request_unlock): New function.
-       (address_interference): New function.
-       (wait_for_WAR): New function.
-       (wait_in_WAR): New function.
-       (handle_req_load): New function.
-       (handle_req_preload): New function.
-       (handle_req_store): New function.
-       (handle_req_invalidate): New function.
-       (handle_req_unlock): New function.
-       (handle_req_WAR): New function.
-       (arbitrate_requests): New function.
-       (move_ARS_to_WAR): New function.
-       (decrease_latencies): New function.
-       (frv_cache_run): New function.
-       (frv_cache_read_passive_SI): New function.
-       (frv_cache_data_in_buffer): New function.
-       (frv_cache_data_flushed): New function.
-       * arch.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-Wed May 24 14:40:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-05-19  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_rett): Check for exceptions in the order specified in the
-       architecture spec. Allow privileged_instruction interrrupt to be handled
-       normally.
-       * registers.c (frv_register_control_init): Handle bfd_mach_frvtomcat.
-       * frv.c (frvbf_signed_integer_divide): Use updated dtt to decide whether
-       to clear the NE flag.
-       (frvbf_model_tomcat_u_exec): New function.
-       * frv-sim.h (frvbf_division_exception): Now returns updated dtt.
-       * Makefile.in (stamp-cpu): Add 'tomcat' to 'mach' value.
-       * arch.c,arch.h,cpu.h,cpuall.h,model.h,decode.c,sem.c: Regenerate.
-
-2000-05-18  Dave Brolley  <brolley@redhat.com>
-
-       * sim-if.c (elf-bfd.h): #include it.
-       (sim_open): Set machine amd architecture based on elf flags.
-
-2000-04-04  Dave Brolley  <brolley@redhat.com>
-
-       * frv-sim.h (frv_h_psr_esr_set_handler): Removed.
-       Delete '#if 0' blocks.
-       * frv.c: Delete '#if 0' blocks.
-       (spr_psr_set_handler): Remove special handling for circular referencing of handlers for
-       PSR.S and PSR.ESR.
-       (frv_h_psr_esr_set_handler): Removed.
-       * interrupts.c: Delete '#if 0' blocks.
-       * memory.c: Delete '#if 0' blocks.
-       * cpu.c,cpu.h: Regenerate.
-
-2000-04-03  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frvbf_check_recovering_store): Invalidate data cache line
-       containing the target address.
-       (clear_nesr_neear): No longer takes hi_available and lo_available.
-       Remove bogus check for available GR registers.
-       (frvbf_clear_ne_flags): Update call to clear_nesr_neear.
-       (frvbf_commit): Update call to clear_nesr_neear.
-       * interrupts.c (next_available_esr): Removed.
-       (next_available_edr): Removed.
-       (next_available_fq): Removed.
-       * frv.c (frvbf_fetch_register): Remove "FIXME" comment.
-       (frvbf_store_register): Remove "FIXME" comment.
-       * frv-sim.h (UART_INCHAR_ADDR): Removed.
-       (UART_OUTCHAR_ADDR):  Removed.
-       (UART_STATUS_ADDR):  Removed.
-       (UART_INPUT_READY):  Removed.
-       (UART_OUTPUT_READY):  Removed.
-       (FRV_DEVICE_ADDR):  Removed.
-       (FRV_DEVICE_LEN):  Removed.
-       (SET_NESR): Call frvbf_force_update.
-       (SET_NEEAR): Call frvbf_force_update.
-       (SET_NE_FLAGS): Call frvbf_force_update.
-
-2000-03-30  Dave Brolley  <brolley@redhat.com>
-
-       * configure: Regenerated.
-
-2000-03-30  Dave Brolley  <brolley@redhat.com>
-
-       * registers.c (fr500_spr): Define ESR14-15 and EPCSR14-15 for fr500.
-       * memory.c (frvbf_write_mem_*): Save slot containing the insn
-       performing the write.
-       (frvbf_mem_set_*): Overwrite the slot information of the interrupt
-       queue element with the information in the interrupt state.
-       * interrupts.c (frv_queue_interrupt): Call frv_set_interrupt_queue_slot.
-       (frv_queue_fp_exception_interrupt): Initialize 'new_element'.
-       (frv_set_interrupt_queue_slot): New function.
-       (esr_for_data_access_exception): New function.
-       (set_edr_register): edr_index is now passed in.
-       (fq_for_exception): New function.
-       (set_fp_exception_registers): Call fq_for_exception. Interrupt queue
-       element now passed in.
-       (set_exception_status_registers): Obtain slot from interrupt queue
-       element. Call esr_for_data_access_exception. Use ESR14
-       for data_store_error. Use ESR15 for data_access_error. Use EDR0.
-       (frv_save_data_written_for_interrupts): Save slot containing the insn
-       performing the write.
-       * frv-sim.h (struct frv_fp_exception_info): Use frv_fsr_traps and
-       frv_fsr_ftt.
-       (struct frv_interrupt_state): Add 'slot' field.
-       (frv_set_interrupt_queue_slot): New function.
-       (frv_set_write_queue_slot): New function.
-
-2000-03-24  Dave Brolley  <brolley@redhat.com>
-
-       * mloop.in (_parallel_write_init): Initialize
-       frv_interrupt_state.imprecise_interrupt.
-       (_parallel_write_queued): After an imprecise interrupt, only perform
-       forced writes and floating point writes (for certain exceptions).
-       * interrupts.c (handle_interrupt): Set
-       frv_interrupt_state.imprecise_interrupt for writeback after an imprecise
-       interrupt.
-       (frv_process_interrupts): No need to clear f_ne_flags.
-       * frv.c (frvbf_signed_integer_divide): Queue writes to GR registers and
-       force them to happen even if there is an overflow exception.
-       (frvbf_force_update): New function.
-       * frv-sim.h (frvbf_force_update): New function.
-       (struct frv_interrupt_state): Add imprecise_interrupt.
-       (FRV_WRITE_QUEUE_FORCE_WRITE): New macro.
-       * sem.c: Regenerate.
-
-2000-03-23  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_rett): Queue FRV_ILLEGAL_INSTRUCTION directly.
-       * registers.c (frv_spr): MCIRL -> MCILR.
-       * interrupts.c (frv_queue_non_implemented_instruction_interrupt):
-       New function.
-       (frv_detect_insn_access_interrupts):
-       Call frv_queue_non_implemented_instruction_interrupt.
-       (frv_process_interrupts): Clear accumulated NE flags.
-       * frv.c (frvbf_media_cop): New function.
-       (frvbf_set_ne_index): Now takes (SIM_CPU *) as first argument.  Clear
-       the NE flag of the given target register.
-       (frvbf_model_fr500_u_float_arith): Account for FRdouble registers.
-       (frvbf_model_fr500_u_float_dual_arith): Account for FRdouble registers.
-       (frvbf_model_fr500_u_float_dual_sqrt): New function.
-       (frvbf_model_fr500_u_float_convert): Account for FRdouble registers.
-       (frvbf_model_fr500_u_float_dual_convert): New function.
-       * frv-sim.h (frvbf_media_cop): New function.
-       (GET_FQ): Use H_SPR_FQST0.
-       (SET_FQ): Use H_SPR_FQST0.
-       (SET_FQ_OPC): Use J_SPR_FQOP0.
-       (GET_MSR_EMCI): New macro.
-       (frv_queue_non_implemented_instruction_interrupt): New function.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2000-03-08  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_rett): Align new_pc.
-       * memory.c (frvbf_read_mem_HI): Align address.
-       (frvbf_read_mem_UHI): Align address.
-       (frvbf_read_mem_SI): Align address.
-       (frvbf_read_mem_DI): Align address.
-       (frvbf_read_mem_DF): Align address.
-       (frvbf_read_imem_USI): Align address.
-       (frvbf_mem_set_HI): Align address.
-       (frvbf_mem_set_SI): Align address.
-       (frvbf_mem_set_DI): Align address.
-       (frvbf_mem_set_DF): Align address.
-       (frvbf_mem_set_XI): Align address.
-       * registers.c (frv_spr): Initialize FSR0.NS to 1.
-       (fr500_spr): Initialize FSR0.NS to 1.
-       * interrupts.c (frv_queue_mem_address_not_aligned_interrupt): Check
-       whether the exception is masked.
-       * frv.c (frvbf_load_quad_GR): Align address.
-       (frvbf_store_quad_GR): Align address.
-       (frvbf_load_quad_FRint): Align address.
-       (frvbf_store_quad_FRint): Align address.
-       (frvbf_load_quad_CPR): Align address.
-       (frvbf_store_quad_CPR): Align address.
-       * frv-sim.h (GET_ISR_EMAM): New macro.
-
-2000-03-08  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frvbf_division_exception): Check for masked overflow and
-       set NE flags, if necessary.
-       (frvbf_check_recovering_store): Queue writes to the hardware.
-       (check_registers_available): Removed.
-       (which_registers_available): Call frv_{fr,gr}_registers_available.
-       (frvbf_clear_ne_flags): Call check_register_access.
-       (frvbf_commit): Call check_register_access.
-       * registers.h (frv_fr_registers_available): New function.
-       (frv_gr_registers_available): New function.
-       (frv_check_register_access): New function.
-       (frv_check_gr_access): New function.
-       (frv_check_fr_access): New function.
-       * registers.c (frv_spr): Correct initial value of ISR.
-       (fr500_spr): Correct initial value of ISR.
-       (frv_fr_registers_available): New function.
-       (frv_gr_registers_available): New function.
-       (frv_check_register_access): New function.
-       (frv_check_gr_access): New function.
-       (frv_check_fr_access): New function.
-       * interrupts.c (frv_queue_division_exception_interrupt): New function.
-       (set_isr_exception_fields): New function.
-       (set_exception_status_registers): Set ISR fields for division exception.
-       (frv_save_data_written_for_interrupts): Handle CGEN_FN_SF_WRITE.
-       * frv.c (frvbf_h_gr_get_handler): New function.
-       (frvbf_h_gr_set_handler): New function.
-       (frvbf_h_fr_get_handler): New function.
-       (frvbf_h_fr_set_handler): New function.
-       (frvbf_h_spr_get_handler): Remove special handling for ISR.
-       (frvbf_h_spr_set_handler): Remove special handling for ISR.
-       (spr_isr_get_handler): Removed.
-       (spr_isr_set_handler): Removed.
-       (frvbf_signed_integer_divide): New funciton.
-       (frvbf_unsigned_integer_divide): New funciton.
-       * frv-sim.h (frvbf_h_gr_get_handler): New function.
-       (frvbf_h_gr_set_handler): New function.
-       (frvbf_h_fr_get_handler): New function.
-       (frvbf_h_fr_set_handler): New function.
-       (frvbf_signed_integer_divide): New funciton.
-       (frvbf_unsigned_integer_divide): New funciton.
-       (frv_dtt): New enumeration.
-       (struct frv_interrupt_queue_element): Add dtt member.
-       (GET_ISR): New macro.
-       (SET_ISR): New macro.
-       (GET_ISR_EDEM): New macro.
-       (SET_ISR_DTT): New macro.
-       (SET_ISR_AEXC): New macro.
-       (frvbf_division_exception): Add 2 'int' arguments.
-       (frvbf_check_non_excepting_divide): Removed.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2000-02-29  Dave Brolley  <brolley@redhat.com>
-
-       * traps.c (frv_itrap): Use GET_H_GR, SET_H_GR, GET_H_FR.
-       (frv_rett): Use hardware access macros. Write PSR as a whole.
-       (next_available_nesr): Check that NECR is valid.
-       (next_valid_nesr): Check that NECR is valid.
-       (frvbf_check_non_excepting_load): User new NECR access macros. Don't
-       call hardware access functions. Use cover macros.
-       (check_registers_available): New function.
-       (clear_nesr_near): Check register availability.
-       (clear_ne_flags): Check register availability.
-       (frvbf_clear_ne_flags): Check register availability.
-       (frvbf_commit): Check register availability.
-       (which_registers_available): New function.
-       * sim-main.h (registers.h): #include it.
-       (register_control): New cpu field.
-       (CPU_REGISTER_CONTROL): New macro.
-       * reset.c (frv_initialize): Set HSR0 fields for cache here.
-       (frv_power_on_reset): Initialize SPR registers and RSTR.
-       (frv_hardware_reset): Initialize SPR registers and RSTR.
-       (frv_software_reset): Reset SPR registers and RSTR.
-       * options.c (frv_option_handler): Don't set HSR0 fields for cache here.
-       Call frv_cache_init.
-       * mloop.in (main loop): Check for insn access interrupts before
-       executing the insn.
-       * interrupts.c (frv_queue_external_interrupt): Use GET_H_PSR_ET.
-       (frv_detect_insn_access_interrupts): Don't call hardware access
-       functions directly. Use cover macros.
-       (check_reset): Don't reset RSTR here.
-       (next_available_esr): ESFR -> ESFR_FLAG.
-       (next_available_edr): ESFR -> ESFR_FLAG.
-       (clear_exception_status_registers): Use GET_ESFR and SET_ESFR.
-       ESFR -> ESFR_FLAG.
-       (frv_break_interrupt): Don't call hardware access functions directly.
-       Use cover macros.
-       (frv_program_or_software_interrupt): Ditto.
-       (frv_external_interrupt): Ditto.
-       * frv.c (frvbf_fetch_register): Don't call 'get' functions directly.
-       (frvbf_store_register): Don't call 'set' functions directly.
-       (frvbf_h_gr_double_get_handler): Use GET_H_GR.
-       (frvbf_h_gr_double_set_handler): Use SET_H_GR.
-       (frvbf_h_fr_double_get_handler): Use GET_H_FR.
-       (frvbf_h_fr_double_set_handler): Use SET_H_FR.
-       (frvbf_h_fr_int_get_handler): Use GET_H_FR.
-       (frvbf_h_fr_int_set_handler): Use SET_H_FR.
-       (frvbf_h_cpr_double_get_handler): Use GET_H_CPR.
-       (frvbf_h_cpr_double_set_handler): Use SET_H_CPR.
-       (frvbf_h_gr_quad_set_handler): Use SET_H_GR.
-       (frvbf_h_fr_quad_set_handler): Use SET_H_FR.
-       (frvbf_h_spr_get_handler): Check SPR access. Call renamed functions.
-       Support shadow registers.
-       (frvbf_h_spr_set_handler): Check SPR access. Call renamed functions.
-       Support shadow registers.
-       (spr_psr_get_handler): Renamed from frvbf_h_psr_get_handler.
-       (spr_psr_set_handler): Renamed from frvbf_h_psr_set_handler.
-       (spr_tbr_get_handler): Renamed from frvbf_h_tbr_get_handler.
-       (spr_tbr_set_handler): Renamed from frvbf_h_tbr_set_handler.
-       (spr_bpsr_get_handler): Renamed from frvbf_h_bpsr_get_handler.
-       (spr_bpsr_set_handler): Renamed from frvbf_h_bpsr_set_handler.
-       (spr_ccr_get_handler): Renamed from frvbf_h_ccr_get_handler.
-       (spr_ccr_set_handler): Renamed from frvbf_h_ccr_set_handler.
-       (spr_lr_get_handler): Renamed from frvbf_h_lr_get_handler.
-       (spr_lr_set_handler): Renamed from frvbf_h_lr_set_handler.
-       (spr_cccr_get_handler): Renamed from frvbf_h_cccr_get_handler.
-       (spr_cccr_set_handler): Renamed from frvbf_h_cccr_set_handler.
-       (spr_isr_get_handler): Renamed from frvbf_h_isr_get_handler.
-       (spr_isr_set_handler): Renamed from frvbf_h_isr_set_handler.
-       (spr_sr_get_handler): Renamed from frvbf_h_sr_get_handler.
-       (spr_sr_set_handler): Renamed from frvbf_h_sr_set_handler.
-       (frvbf_h_psr_esr_set_handler): Update to conform to FRV architecture
-       version 1.3a.
-       (spr_ccr_get_handler): Don't reference the hardware directly.
-       (spr_ccr_set_handler): Don't reference the hardware directly.
-       (spr_cccr_get_handler): Don't reference the hardware directly.
-       (spr_cccr_set_handler): Don't reference the hardware directly.
-       (spr_sr_get_handler): New function.
-       (spr_sr_set_handler): New function.
-       (frvbf_switch_supervisor_user_context): Temporarily switch to
-       supervisor mode.
-       (frvbf_store_quad_GR): Don't call handler directly.
-       (frvbf_store_quad_FRint): Don't call handler directly.
-       (frvbf_store_quad_CPR): Don't call handler directly.
-       (frvbf_clear_all_accumulators): Removed.
-       (frvbf_clear_accumulators): New function.
-       (frvbf_model_fr500_u_media): Expand busy_adjustment to 8 members.
-       Account for in_ACCGi and out_ACCGk.
-       * frv-sim.h (RSTR_HARDWARE_RESET): New macro.
-       (RSTR_SOFTWARE_RESET): New macro.
-       (spr_psr_get_handler): Renamed from frvbf_h_psr_get_handler.
-       (spr_psr_set_handler): Renamed from frvbf_h_psr_set_handler.
-       (spr_tbr_get_handler): Renamed from frvbf_h_tbr_get_handler.
-       (spr_tbr_set_handler): Renamed from frvbf_h_tbr_set_handler.
-       (spr_bpsr_get_handler): Renamed from frvbf_h_bpsr_get_handler.
-       (spr_bpsr_set_handler): Renamed from frvbf_h_bpsr_set_handler.
-       (spr_ccr_get_handler): Renamed from frvbf_h_ccr_get_handler.
-       (spr_ccr_set_handler): Renamed from frvbf_h_ccr_set_handler.
-       (spr_lr_get_handler): Renamed from frvbf_h_lr_get_handler.
-       (spr_lr_set_handler): Renamed from frvbf_h_lr_set_handler.
-       (spr_cccr_get_handler): Renamed from frvbf_h_cccr_get_handler.
-       (spr_cccr_set_handler): Renamed from frvbf_h_cccr_set_handler.
-       (spr_isr_get_handler): Renamed from frvbf_h_isr_get_handler.
-       (spr_isr_set_handler): Renamed from frvbf_h_isr_set_handler.
-       (spr_sr_get_handler): Renamed from frvbf_h_sr_get_handler.
-       (spr_sr_set_handler): Renamed from frvbf_h_sr_set_handler.
-       (frvbf_clear_all_accumulators): Removed.
-       (frvbf_clear_accumulators): New function.
-       (GET_HSR0): Use GET_H_SPR.
-       (SET_HSR0): Use SET_H_SPR.
-       (CLEAR_HSR0_ICE): New macro.
-       (CLEAR_HSR0_DCE): New macro.
-       (GET_IHSR8): Use GET_H_SPR.
-       (GET_PSR): New macro.
-       (SET_PSR_ET): New macro.
-       (GET_PSR_PS): New macro.
-       (SET_PSR_S): New macro.
-       (GET_ESFR): Changed to reference entire register.
-       (SET_ESFR): Changed to reference entire register.
-       (GET_ESFR_FLAG): New macro.
-       (SET_ESFR_FLAG): New macro.
-       (NECR_ELOS): Removed.
-       (NECR_NEN): Removed.
-       (NECR_VALID): Removed.
-       (GET_NECR): New macro.
-       (GET_NECR_ELOS): New macro.
-       (GET_NECR_NEN): New macro.
-       (GET_NECR_VALID): New macro.
-       (NESR_RANGE): Removed.
-       (GET_NESR): Use GET_H_SPR.
-       (GET_NE_FLAGS): Use GET_H_SPR.
-       * cache.h (CACHE_INITIALIZED): New macro.
-       * Makefile.in (SIM_OBJS): Add registers.o.
-       (SIM_EXTRA_DEPS): Add registers.h.
-       (registers.o): New target.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-2000-02-17  Dave Brolley  <brolley@redhat.com>
-
-       * interrupts.c (frv_interrupt_table): Update priority order and handler
-       offsets to conform to the architecture version 1.3a.
-       * frv-sim.h (frv_interrupt_kind): Update priority order to conform
-       to the architecture version 1.3a.
-
-2000-02-17  Dave Brolley  <brolley@redhat.com>
-
-       * interrupts.c (frv_interrupt_table): Update priority order and handler
-       offsets to conform to the latest specifications.
-       (frv_queue_interrupt): Correct comment. Identical interrupts can be
-       queued. New variable 'iclass' used to test for external interrupts.
-       * frv-sim.h (frv_interrupt_kind): Update priority order to conform
-       to the latest specifications.
-
-2000-01-20  Dave Brolley  <brolley@redhat.com>
-
-       * sim-if.c (sim_open): Move frv-specific initialization to
-       frv_initialize in reset.c.
-       * interrupts.c (check_reset): Use RSTR_ADDRESS. Check and reset RSTR
-       status bits for hardware vs software reset.
-       * reset.c: New file.
-       * frv-sim.h (frv_initialize): New function.
-       (frv_power_on_reset): New function.
-       (frv_hardware_reset): New function.
-       (frv_software_reset): New function.
-       (RSTR_ADDRESS): New macro.
-       (RSTR_INITIAL_VALUE): New macro.
-       (GET_RSTR_HR): New macro.
-       (GET_RSTR_SR): New macro.
-       (SET_RSTR_H): New macro.
-       (SET_RSTR_S): New macro.
-       (CLEAR_RSTR_P): New macro.
-       (CLEAR_RSTR_H): New macro.
-       (CLEAR_RSTR_S): New macro.
-       (CLEAR_RSTR_HR): New macro.
-       (CLEAR_RSTR_SR): New macro.
-
-2000-01-03  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in (execute): Only call modeling function if the pointer is not
-       NULL.
-       * frv.c (frvbf_model_insn_after): Only access FR500_MODEL_DATA for
-       fr500.
-
-2000-01-03  Dave Brolley  <brolley@cygnus.com>
-
-       * options.c (OPTION_FRV_MEMORY_LATENCY): New enumerator.
-       (frv_options): Add --memory-latency.
-       (frv_option_handler): Handle FRV_OPTION_MEMORY_LATENCY.
-       * mloop.in (@cpu@_simulate_insn_prefetch): Use cache memory_latency.
-       * frv.c (SET_ACC_USE_IS_MEDIA_P1): operate on d->curr_acc_p1
-       (SET_ACC_USE_NOT_MEDIA_P1): operate on d->curr_acc_p1
-       (SET_ACC_USE_IS_MEDIA_P2): operate on d->curr_acc_p1
-       (SET_ACC_USE_NOT_MEDIA_P2): operate on d->curr_acc_p1
-       (update_latencies): Only clear usage flags if the register has no
-       target latency.
-       (frvbf_model_insn_before): Update cur_acc_p1 and cur_acc_p2. Use | (or)
-       not |= (or assgnment).
-       (frvbf_model_insn_after): Print post processing wait for all insns.
-       Update prev_acc_p1 and prev_acc_p2.
-       (frvbf_model_fr500_u_gr_load_store): Use cache memory_latency.
-       (frvbf_model_fr500_u_fr_load_store): Use cache memory_latency.
-       (frvbf_model_fr500_u_swap): Use cache memory_latency.
-       (frvbf_model_fr500_u_media): Use busy_adjustment[4] for out_ACC40Sk.
-       (frvbf_model_fr500_u_media): Use busy_adjustment[5] for out_ACC40Uk.
-       (frvbf_model_fr500_u_media_quad_arith): New function.
-       (frvbf_model_fr500_u_media_dual_mul): New function.
-       (frvbf_model_fr500_u_media_quad_mul): New function.
-       (frvbf_model_fr500_u_media_quad_complex): New function.
-       (frvbf_model_fr500_u_media_dual_expand): New function.
-       (frvbf_model_fr500_u_media_dual_unpack): New function.
-       (frvbf_model_fr500_u_media_dual_btoh): New function.
-       (frvbf_model_fr500_u_media_dual_htob): New function.
-       (frvbf_model_fr500_u_media_dual_btohe): New function.
-       (frv_ref_SI): New function.
-       * cache.h (FRV_CACHE): Add memory_latency field.
-       * cache.c (frv_cache_init): Initialize memory_latency.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-12-17  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-if.c (sim_open): Initialize insn prefetch and reset register.
-       * options.c (OPTIONS_FRV_PROFILE_CACHE): New enumeration.
-       (OPTIONS_FRV_PROFILE_PARALLEL): New enumeration.
-       (OPTIONS_FRV_TIMER): New enumeration.
-       (frv_options): Add --profile-cache, --profile-parallel, --timer.
-       (frv_option_handler): Override common implementation of -p. Handle
-       --profile-cache, --profile-parallel, --timer.
-       * mloop.in (execute): Call profiling functions if the timer interrupt
-       is enabled.
-       (@cpu@_simulate_insn_prefetch): New function.
-       (main loop): Call @cpu@_simulate_insn_prefetch.
-       * interrupts.c (frv_queue_interrupt): Don't queue two external
-       interrupts of the same priority.
-       (frv_queue_external_interrupt): New function.
-       (frv_external_interrupt): New function.
-       (handle_interrupt): Handle external interrupts.
-       (check_reset): New function.
-       (frv_process_interrupts): Call check_reset.
-       * frv.c: Include "bfd.h"
-       (frvbf_h_psr_get_handler): Set the PIL field.
-       (frvbf_h_psr_set_handler): Get the PIL field.
-       (DUAL_REG): New macro.
-       (DUAL_DOUBLE): New macro.
-       (SET_USE_IS_FPOP): New macro.
-       (SET_USE_NOT_FPOP): New macro.
-       (USE_IS_FPOP): New macro.
-       (SET_USE_IS_MEDIA): New macro.
-       (SET_USE_NOT_MEDIA): New macro.
-       (USE_IS_MEDIA_P1): New macro.
-       (SET_USE_IS_MEDIA_P1): New macro.
-       (SET_USE_NOT_MEDIA_P1): New macro.
-       (SET_USE_IS_MEDIA_P2): New macro.
-       (SET_USE_NOT_MEDIA_P2): New macro.
-       (USE_IS_MEDIA_P2): New macro.
-       (SET_ACC_USE_IS_MEDIA_P1): New macro.
-       (SET_ACC_USE_NOT_MEDIA_P1): New macro.
-       (ACC_USE_IS_MEDIA_P1): New macro.
-       (SET_ACC_USE_IS_MEDIA_P2): New macro.
-       (SET_ACC_USE_NOT_MEDIA_P2): New macro.
-       (ACC_USE_IS_MEDIA_P2): New macro.
-       (RESOURCE_IDIV): New macro.
-       (RESOURCE_FDIV): New macro.
-       (RESOURCE_SQRT): New macro.
-       (fr_busy_adjust): New array.
-       (acc_busy_adjust): New array.
-       (apply_latency_adjustments): New function.
-       (update_latencies): New function.
-       (handle_wait_cycles): New function.
-       (handle_resource_wait): New function.
-       (update_target_latencies): New function.
-       (frvbf_model_insn_before): Add resource latency to cycle counts.
-       (frvbf_model_insn_after): Add resource latency to cycle counts.
-       (update_GR_latency): New function.
-       (update_GRdouble_latency): New function.
-       (update_FR_latency): New function.
-       (update_FRdouble_latency): New function.
-       (decrease_ACC_busy): New function.
-       (decrease_FR_busy): New function.
-       (increase_FR_busy): New function.
-       (update_ACC_latency): New function.
-       (update_CCR_latency): New function.
-       (update_idiv_resource_latency): New function.
-       (update_fdiv_resource_latency): New function.
-       (update_fsqrt_resource_latency): New function.
-       (vliw_wait_for_GR): New function.
-       (vliw_wait_for_GRdouble): New function.
-       (vliw_wait_for_FR): New function.
-       (vliw_wait_for_FRdouble): New function.
-       (vliw_wait_for_CCR): New function.
-       (vliw_wait_for_ACC): New function.
-       (vliw_wait_for_idiv_resource): New function.
-       (vliw_wait_for_fdiv_resource): New function.
-       (vliw_wait_for_fsqrt_resource): New function.
-       (enforce_full_fr_latency): New function.
-       (frvbf_model_fr500_u_exec): New function.
-       (frvbf_model_fr500_u_integer): New function.
-       (frvbf_model_fr500_u_imul): New function.
-       (frvbf_model_fr500_u_idiv): New function.
-       (frvbf_model_fr500_u_branch): New function.
-       (frvbf_model_fr500_u_set_hilo): New function.
-       (frvbf_model_fr500_u_gr_load_store): New function.
-       (frvbf_model_fr500_u_fr_load_store): New function.
-       (frvbf_model_fr500_u_swap): New function.
-       (frvbf_model_fr500_u_fr2fr): New function.
-       (frvbf_model_fr500_u_fr2gr): New function.
-       (frvbf_model_fr500_u_spr2gr): New function.
-       (frvbf_model_fr500_u_gr2fr): New function.
-       (frvbf_model_fr500_u_gr2spr): New function.
-       (post_wait_for_FR): New function.
-       (post_wait_for_FRdouble): New function.
-       (post_wait_for_ACC): New function.
-       (post_wait_for_CCR): New function.
-       (post_wait_for_fdiv): New function.
-       (post_wait_for_fsqrt): New function.
-       (adjust_float_register_busy): New function.
-       (adjust_double_register_busy): New function.
-       (restore_float_register_busy): New function.
-       (restore_double_register_busy): New function.
-       (frvbf_model_fr500_u_float_arith): New function.
-       (frvbf_model_fr500_u_float_dual_arith): New function.
-       (frvbf_model_fr500_u_float_div): New function.
-       (frvbf_model_fr500_u_float_sqrt): New function.
-       (frvbf_model_fr500_u_float_compare): New function.
-       (frvbf_model_fr500_u_float_dual_compare): New function.
-       (frvbf_model_fr500_u_float_convert): New function.
-       (frvbf_model_fr500_u_media): New function.
-       (frvbf_model_fr500_u_barrier): New function.
-       (frvbf_model_fr500_u_membar): New function.
-       * frv-sim.h (LEUINT): New macro.
-       (GET_HSR0_SA): New macro.
-       (struct frv_interrupt_timer): New struct.
-       (struct frv_interrupt_state): Add timer fiield.
-       (frv_queue_external_interrupt): New function.
-       (frv_external_interrupt): New function.
-       (frv_profile_info): New function.
-       (PROFILE_CACHE_IDX): New enumerator.
-       (PROFILE_PARALLEL_IDX): New enumerator.
-       (PROFILE_cache): New macro.
-       (PROFILE_parallel): New macro.
-       (WITH_PROFILE_CACHE_P): New macro.
-       (WITH_PROFILE_PARALLEL_P): New macro.
-       * cache.h (FRV_CACHE): Add last_was_hit field.
-       * cache.c (get_tag): Use new last_was_hit field.
-       (frv_cache_read): Ditto.
-       (frv_cache_write): Ditto.
-       * arch.h,cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-12-13  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_h_spr_set_handler): Handle accumulator guards.
-       (frvbf_clear_all_accumulators): Pass frvbf_h_acc40S_set to
-       sim_queue_fn_di_write.
-       (frvbf_media_cut_ss): New function.
-       * frv-sim.h (frvbf_media_cut_ss): New function.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-12-13  Dave Brolley  <brolley@cygnus.com>
-
-       * pipeline.c (check_insn_major_constraints): F-4, F-8 and M-8 have
-       no constraints.
-       * interrupts.c (frv_queue_illegal_instruction_interrupt): Use
-       FRV_IS_FLOAT_INSN and FRV_IS_MEDIA_INSN.
-       (frv_detect_insn_access_interrupts): Use FRV_IS_FLOAT_INSN and
-       FRV_IS_MEDIA_INSN.
-       * frv.c (frvbf_model_simple_u_exec): New function.
-       * frv-sim.h (FRV_IS_FLOAT_INSN): Range includes F-8.
-       (FRV_IS_MEDIA_INSN): Range includes M-8.
-
-       * Makefile.in (stamp-cpu): add 'simple' to the list of machines.
-       * arch.c,arch.h,cpu.h,cpuall.h,decode.c,decode.h,model.c,sem.c:
-       Regenerate.
-
-1999-12-10  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (check_registers_available): New function.
-       (clear_ne_flags): Generate register_exception if register(s) not
-       available.
-       (frvbf_commit): Generate register_exception if register(s) not
-       available.
-       * interrupts.c (frv_program_or_software_interrupt): No need to copy
-       GR4-GR7 to SR0-SR4.
-       * frv.c (frvbf_h_psr_set_handler): Special handling for PSR.S and
-       PSR.ESR.
-       (frvbf_h_psr_s_set_handler): New function.
-       (frvbf_h_psr_esr_set_handler): New function.
-       (frvbf_switch_supervisor_user_context): New function.
-       (frvbf_scan_result): Reflect latest ISA.
-       * frv-sim.h (frvbf_h_psr_s_set_handler): New function.
-       (frvbf_h_psr_esr_set_handler): New function.
-       (frvbf_switch_supervisor_user_context): New function.
-       (GET_HSR0_FRN): New Macro.
-       (GET_HSR0_GRN): New Macro.
-       (GET_HSR0_FRHE): New Macro.
-       (GET_HSR0_FRLE): New Macro.
-       (GET_HSR0_GRHE): New Macro.
-       (GET_HSR0_GRLE): New Macro.
-       (frv_ec): New value for FRV_EC_COMMIT_EXCEPTION.
-       (GET_ESFR): New bit ordering.
-       (SET_ESFR): New bit ordering.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-12-10  Michael Meissner  <meissner@cygnus.com>
-
-       * Makefile.in (sim-if.o): Add eng.h dependency.
-
-1999-12-09  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in (execute): Pass sc->first_insn_p to @cpu@_model_insn_before.
-       Pass sc->last_insn_p to @cpu@_model_insn_before.
-       (main loop): Compute sc->first_insn_p.
-       * frv.c (frvbf_model_insn_before): Set state variables.
-       (frvbf_model_insn_after): Count basic cycles. Set state variables.
-       (frvbf_model_fr500_u_integer): Remove.
-       * arch.h,cpu.h,decode.h,model.c: Regenerate.
-
-1999-12-07  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-main.h (cache.h): Include it.
-       (insn_cache): New member.
-       (data_cache): New member.
-       (CPU_INSN_CACHE): New macro.
-       (CPU_DATA_CACHE): New macro.
-       * sim-if.c (WANT_CPU): New macro.
-       (WANT_CPU_FRVBF): New macro.
-       (sim_open): Call sim_add_option_table. Call frv_cache_init for the
-       data and insn caches for each cpu.
-       (sim_close): Call frv_cache_term for the insn and data caches of each
-       cpu.
-       * mloop.in (extract): Read insn from the cache.
-       (main loop): Access the insn cache in order to maintain stats.
-       * memory.c (data_non_cache_access): New function.
-       (insn_non_cache_access): New function.
-       (frvbf_read_mem_QI): Attempt to read from the cache first.
-       (frvbf_read_mem_UQI): Ditto.
-       (frvbf_read_mem_HI): Ditto.
-       (frvbf_read_mem_UHI): Ditto.
-       (frvbf_read_mem_SI): Ditto.
-       (frvbf_read_mem_DI): Ditto.
-       (frvbf_read_mem_DF): Ditto.
-       (frvbf_read_imem_USI): New function.
-       (frvbf_write_mem_QI): Write through the cache is it is enabled.
-       (frvbf_write_mem_UQI): Ditto.
-       (frvbf_write_mem_HI): Ditto.
-       (frvbf_write_mem_UHI): Ditto.
-       (frvbf_write_mem_SI): Ditto.
-       (frvbf_write_mem_DI): Ditto.
-       (frvbf_write_mem_DF): Ditto.
-       (frvbf_mem_set_QI): New function.
-       (frvbf_mem_set_HI): New function.
-       (frvbf_mem_set_SI): New function.
-       (frvbf_mem_set_DI): New function.
-       (frvbf_mem_set_DF): New function.
-       (frvbf_mem_set_XI): New function.
-       * interrupts.c (frv_save_data_written_for_interrupts): Handle
-       CGEN_FN_MEM_QI_WRITE,
-       CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
-       CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
-       * frv.c (frvbf_load_quad_GR): Call frvbf_read_mem_SI.
-       Call sim_queue_fn_mem_xi_write.
-       (frvbf_load_quad_FRint): Call frvbf_read_mem_SI.
-       Call sim_queue_fn_mem_xi_write.
-       (frvbf_load_quad_CPR): Call frvbf_read_mem_SI.
-       Call sim_queue_fn_mem_xi_write.
-       (frvbf_insn_cache_preload): New function.
-       (frvbf_data_cache_preload): New function.
-       (frvbf_insn_cache_unlock): New function.
-       (frvbf_data_cache_unlock): New function.
-       (frvbf_insn_cache_invalidate): New function.
-       (frvbf_data_cache_invalidate): New function.
-       (frvbf_data_cache_flush): New function.
-       * frv-sim.h (sim-options.h): Include it.
-       (GET_HSR0): New macro.
-       (SET_HSR0): New macro.
-       (GET_HSR0_ICE): New macro.
-       (SET_HSR0_ICE): New macro.
-       (GET_HSR0_DCE): New macro.
-       (SET_HSR0_DCE): New macro.
-       (GET_HSR0_CBM): New macro.
-       (GET_HSR0_RME): New macro.
-       (GET_IHSR8): New macro.
-       (GET_IHSR8_NBC): New macro.
-       (frvbf_insn_cache_preload): New function.
-       (frvbf_data_cache_preload): New function.
-       (frvbf_insn_cache_unlock): New function.
-       (frvbf_data_cache_unlock): New function.
-       (frvbf_insn_cache_invalidate): New function.
-       (frvbf_data_cache_invalidate): New function.
-       (frvbf_data_cache_flush): New function.
-       (insn_non_cache_access): New function.
-       (frvbf_read_imem_USI): New function.
-       (frvbf_mem_set_QI): New function.
-       (frvbf_mem_set_HI): New function.
-       (frvbf_mem_set_SI): New function.
-       (frvbf_mem_set_DI): New function.
-       (frvbf_mem_set_DF): New function.
-       (frvbf_mem_set_XI): New function.
-       (frv_options): FRV specific command line options.
-       * Makefile.in (SIM_OBJS): Add options.o and cache.o.
-       (SIM_EXTRA_DEPS): Add $(sim-options_h).
-       (cache.o): New target.
-       (options.o): New target.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-       * cache.h: New file.
-       * cache.c: New file.
-       * options.c: New file.
-
-1999-11-29  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_check_non_excepting_load): Use new NE_FLAG macros.
-       (frvbf_check_non_excepting_divide): Ditto.
-       (clear_ne_flags): Ditto
-       (frvbf_commit): Ditto.
-       * pipeline.c (frv_pipeline_add_insn): Clear the NE index for all insns.
-       * mloop.in (_parallel_write_init): Clear NE flags here.
-       * interrupts.c (frv_queue_fp_exception_interrupt): Set NE flags here
-       for non excepting insns. Also check for masked interrupts here.
-       (frv_process_interrupts): Write NE flags here.
-       (set_fp_exception_registers): No longer check for masked interrupts
-       here.
-       (check_for_compound_interrupt): No need to worry about masked
-       interrupts.
-       * frv-sim.h (frv_interrupt_state): Add f_ne_flags member.
-       (GET_NE_FLAGS): New macro.
-       (SET_NE_FLAGS): New macro.
-       (GET_NE_FLAG): Operate on accumulated argument.
-       (SET_NE_FLAG): Operate on accumulated argument.
-       (CLEAR_NE_FLAG): Operate on accumulated argument.
-       * Makefile.in (FRVBF_INCLUDE_DEPS): Add $(SIM_EXTRA_DEPS)
-       (frv.o): Correct dependencies.
-       (traps.o): Ditto.
-       (pipeline.o): Ditto.
-       (interrupts.o): Ditto.
-       (memory.o): Ditto.
-       * sem.c: Regenerate.
-
-1999-11-26  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_fpu_error): Only call frv_queue_fp_exception if
-       there is an exception indicated in the mask.
-       * pipeline.c (frv_pipeline_add_insn): Clear ne_index in the interrupt
-       state when adding a floating point insn to the pipeline.
-       * interrupts.c (set_fp_exception_registers): Set NE flag for
-       non-excepting insns.
-       * frv-sim.h (frvbf_h_fr_double_get_handler): Mode of data is DF.
-       (frvbf_h_fr_double_set_handler): Mode of data is DF.
-       (frvbf_h_fr_int_get_handler): New function.
-       (frvbf_h_fr_int_set_handler): New function.
-       (frvbf_set_ne_index): New function.
-       (NE_NOFLAG): New macro.
-       (frv_interrupt_state): Add ne_index member.
-       * frv.c (frvbf_h_fr_double_get_handler): Mode of data is DF.
-       (frvbf_h_fr_double_set_handler): Mode of data is DF.
-       (frvbf_h_fr_int_get_handler): New function.
-       (frvbf_h_fr_int_set_handler): New function.
-       (frvbf_set_ne_index): New function.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-24  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-23  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_media_cut): New function.
-       * frv.c (frvbf_media_cut): New function.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-22  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_clear_all_accumulators): New function.
-       * frv.c.h (frvbf_clear_all_accumulators): New function.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-18  Dave Brolley  <brolley@cygnus.com>
-
-       * pipeline.c (frv_pipeline_add_insn): Only clear MSR0 and FSR0 fields
-       if this is the first insn of its class in the pipeline.
-       * frv-sim.h (frvbf_media_register_not_aligned): New function.
-       * traps.c (frvbf_media_register_not_aligned): New function.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-17  Dave Brolley  <brolley@cygnus.com>
-
-       * pipeline.c (frv_pipeline_add_insn): Clear MSRx.SIE fields.
-       * frv-sim.h (OR_MSR_SIE): New macro.
-       (CLEAR_MSR_SIE): New macro.
-       (frvbf_media_overflow): Now takes sie argument.
-       (frv_set_mp_exception_registers): Now takes sie argument.
-       * interrupts.c (frv_set_mp_exception_registers): Now takes sie argument.
-       Set MSRx.SIE field.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-15  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frv_mtrap): New function.
-       (frvbf_media_cr_not_aligned): New function.
-       (frvbf_media_acc_not_aligned): New function.
-       (frvbf_media_overflow): New function.
-       * pipeline.c (frv_pipeline_add_insn): Clear MSR fields.
-       * interrupts.c: Call frv_set_mp_exception_registers.
-       (frv_set_mp_exception_registers): New function.
-       * frv-sim.h (frv_msr_mtt): New enumeration.
-       (GET_MSR): New macro.
-       (SET_MSR): New macro.
-       (GET_MSR_AOVF): New macro.
-       (SET_MSR_AOVF): New macro.
-       (GET_MSR_OVF): New macro.
-       (SET_MSR_OVF): New macro.
-       (CLEAR_MSR_OVF): New macro.
-       (GET_MSR_MTT): New macro.
-       (SET_MSR_MTT): New macro.
-       (frv_set_mp_exception_registers): New function.
-       (frv_mtrap): New function.
-       (FRV_IS_MEDIA_INSN): New macro.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-10  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-main.h (_sim_cpu): Add debug_state member.
-       * mloop.in (_parallel_write_queued): Clear data_written.length.
-       * interrupts.c (frv_interrupt_table): Offset of BREAK_EXCEPTION
-       handler is 0xff.
-       (frv_queue_break_interrupt): New function.
-       (frv_break_interrupt): New function.
-       (handle_interrupt): Handle break_interrupt.
-       (frv_non_operating_interrupt): Now takes interrupt_kind.
-       * frv-sim.h (frv_queue_break_interrupt): New function.
-       (frv_break_interrupt): New function.
-       (frv_break): New function.
-       (frv_non_operating_interrupt): Now takes interrupt_kind.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-11-09  Dave Brolley  <brolley@cygnus.com>
-
-       * pipeline.c (frv_pipeline_add_insn): Clear FSR0.FTT when adding
-       a floating point insn.
-       * traps.c (frvbf_fpu_error): Map fpu status to frv interrupts.
-       * interrupts.c (frv_queue_illegal_instruction_interrupt): Call
-       frv_queue_fp_exception_interrupt.
-       (frv_queue_fp_exception_interrupt): New function.
-       (next_available_fq): New function.
-       (set_fp_exception_registers): New function.
-       (set_exception_status_registers): Now returns 1 if interrupt not masked.
-       (check_for_compound_interrupt): Now returns NULL if interrupt masked.
-       (frv_program_interrupt): Don't process interrupt if it is masked.
-       * frv.c (frvbf_h_fr_double_get_handler): Call
-       frv_queue_fp_exception_interrupt.
-       (frvbf_h_fr_double_set_handler): Call frv_queue_fp_exception_interrupt.
-       (frvbf_h_fr_quad_set_handler): Call frv_queue_fp_exception_interrupt.
-       (frvbf_store_quad_FRint): Call frv_queue_fp_exception_interrupt.
-       * frv-sim.h: Get/set hardware directly in GET/SET macros.
-       (frv_fp_exception_info): New struct type.
-       (frv_interrupt_queue_element): Add fp_info member.
-       (frv_fsr_traps): New enumeration.
-       (frv_fsr_ftt): New enumeration.
-       (frv_sie): New enumeration.
-       (frv_miv): New enumeration.
-       (GET_FSR): New macro.
-       (SET_FSR): New macro.
-       (GET_FSR_TEM): New macro.
-       (SET_FSR_QNE): New macro.
-       (SET_FSR_FTT): New macro.
-       (GET_FSR_AEXC): New macro.
-       (SET_FSR_AEXC): New macro.
-       (GET_FQ): New macro.
-       (SET_FQ): New macro.
-       (SET_FQ_OPC): New macro.
-       (SET_FQ_MIV): New macro.
-       (SET_FQ_SIE): New macro.
-       (SET_FQ_FTT): New macro.
-       (SET_FQ_CEXC): New macro.
-       (GET_FQ_VALID): New macro.
-       (SET_FQ_VALID): New macro.
-       (frv_queue_fp_exception_interrupt): New function.
-       (FRV_IS_FLOAT_INSN): New macro.
-
-1999-11-04  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_fpu_error): No floating point errors need to be
-       detected.
-       * interrupts.c (clear_exception_status_registers): Clear 'valid' fields
-       of the ESR registers too.
-       (set_exception_status_registers): Don't set EAR for any precise
-       interrupts. Register index should be 1 for insns in PIPE_I1. Clear
-       ESR.EAV and ESR.EDV if not setting them. Set ESR.VALID.
-       (non_operating_interrupt): No need for return code.
-       (frv_program_or_software_interrupt): Process interrupt regardless
-       of operating mode. If PSR.ET was not set at the start of processing,
-       then stop the simulation with a message.
-       (frv_save_data_written_for_interrupts): Handle CGEN_FN_XI_WRITE and
-       CGEN_MEM_XI_WRITE.
-       * frv.c (frvbf_h_gr_quad_set_handler): New function.
-       (frvbf_h_fr_quad_set_handler): New function.
-       (frvbf_h_cpr_quad_set_handler): New function.
-       (frvbf_load_quad_GR): Renamed from frvbf_load_multiple_GR. Use new
-       sim_queue_fn_xi_write.
-       (frvbf_load_quad_FRint): Renamed from frvbf_load_multiple_GR. Use new
-       sim_queue_fn_xi_write.
-       (frvbf_load_quad_CPR): Renamed from frvbf_load_multiple_GR. Use new
-       sim_queue_fn_xi_write.
-       (frvbf_store_quad_GR): Renamed from frvbf_store_multiple_GR. Use new
-       sim_queue_mem_xi_write.
-       (frvbf_store_quad_FRint): Renamed from frvbf_store_multiple_GR. Use new
-       sim_queue_mem_xi_write.
-       (frvbf_store_quad_CPR): Renamed from frvbf_store_multiple_GR. Use new
-       sim_queue_mem_xi_write.
-       * frv-sim.h (frvbf_h_gr_quad_set_handler): New function.
-       (frvbf_h_fr_quad_set_handler): New function.
-       (frvbf_h_cpr_quad_set_handler): New function.
-       (SET_ESR_VALID): New macro.
-       (CLEAR_ESR_VALID): New macro.
-       (CLEAR_ESR_EAV): New macro.
-       (CLEAR_ESR_EDV): New macro.
-       * sem.c: Regenerate.
-
-1999-11-02  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frv_core_signal): Call
-       frv_queue_mem_address_not_aligned_interrupt.
-       * mloop.in (_parallel_write_queued): Call
-       frv_save_data_written_for_interrupts.
-       * frv.c (frvbf_h_gr_double_get_handler): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_h_cpr_double_get_handler): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_h_cpr_double_set_handler): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_load_multiple_GR): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_store_multiple_GR): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_load_multiple_CPR): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_store_multiple_CPR): Call
-       frv_queue_register_exception_interrupt.
-       (frvbf_h_tbr_get_handler): Fix TBR.TBA mask.
-       * interrupts.c (frv_queue_software_interrupt): Now returns interrupt
-       queue element.
-       (frv_queue_program_interrupt): Now returns interrupt queue element.
-       (frv_queue_illegal_instruction_interrupt): Now returns interrupt queue
-       element.
-       (frv_queue_interrupt): Now returns interrupt queue element.
-       (frv_queue_register_exception_interrupt): New function.
-       (frv_queue_mem_address_not_aligned_interrupt): New function.
-       (frv_save_data_written_for_interrupts): New function.
-       (next_available_edr): EDR registers available in blocks of 4.
-       (clear_exception_status_registers): New function.
-       (set_exception_status_registers): Pass esr to SET_ESR* macros.
-
-       * frv-sim.h (struct frv_data_written): New struct type.
-       (frv_interrupt_queue_element): Add data_written member.
-       (frv_queue_software_interrupt): Now returns interrupt queue element.
-       (frv_queue_program_interrupt): Now returns interrupt queue element.
-       (frv_queue_illegal_instruction_interrupt): Now returns interrupt queue
-       element.
-       (frv_queue_interrupt): Now returns interrupt queue element.
-       (frv_queue_register_exception_interrupt): New function.
-       (frv_queue_mem_address_not_aligned_interrupt): New function.
-       (frv_save_data_written_for_interrupts): New function.
-
-1999-10-27  Dave Brolley  <brolley@cygnus.com>
-
-       * interrupts.c (ITABLE_ENTRY): New macro.
-       (frv_interrupt_table): Add exception codes.
-       (next_available_esr): New function.
-       (next_available_edr): New function.
-       (set_edr_register): New function.
-       (set_exception_status_registers): New function.
-       (check_for_compound_interrupt): Record information on all interrupts
-       found.
-       (frv_program_interrupt): Always call check_for_compound_interrupt.
-       * frv.c (frvbf_h_pc_set_handler): Removed.
-       (frvbf_h_spr_get_handler): Handle LR register.
-       (frvbf_h_spr_set_handler): Handle LR register.
-       (frvbf_h_lr_get_handler): New function.
-       (frvbf_h_lr_set_handler): New function.
-       * frv-sim.h (frvbf_h_lr_get_handler): New function.
-       (frvbf_h_lr_set_handler): New function.
-       (frv_ec): New enumeration.
-       (frv_interrupt): Add frv_ec field.
-       (frv_rec): New enumeration.
-       (frv_daec): New enumeration.
-       (frv_interrupt_queue_element): Add eaddress, rec, iaec, daec fields.
-       (SET_ESR_EC): New macro.
-       (SET_ESR_REC): New macro.
-       (SET_ESR_IAEC): New macro.
-       (SET_ESR_DAEC): New macro.
-       (SET_ESR_EAV): New macro.
-       (GET_ESR_EDV): New macro.
-       (SET_ESR_EDV): New macro.
-       (GET_ESR_EDN): New macro.
-       (SET_ESR_EDN): New macro.
-       (GET_ESR): New macro.
-       (SET_ESR): New macro.
-       (SET_EPCR): New macro.
-       (SET_EAR): New macro.
-       (SET_EDR): New macro.
-       (GET_ESFR): New macro.
-       (SET_ESFR): New macro.
-       * cpu.c,cpu.h,sem.c: Rebuild.
-
-1999-10-26  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_check_non_excepting_load): Only set NESR, NECR, NEEAR
-       if mach is frv.
-       (clear_nesr_neear): Only execute if mach is frv.
-
-1999-10-22  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-main.h (sim_cpu): Add pipeline.
-       (CPU_PIPELINE): New macro.
-       * mloop.in (_parallel_write_queued): Maintain pc in cpu during writes.
-       (main loop): Maintain pc in cpu.
-       * frv-sim.h (frv_queue_software_interrupt): New interface.
-       (frv_queue_program_interrupt): New interface.
-       (frv_queue_illegal_instruction_interrupt: New interface.
-       (frv_queue_interrupt): New interface.
-       (frv_detect_insn_access_interrupts): New interface.
-       (frv_process_interrupts): New interface.
-       (frv_program_interrupt): New interface.
-       (frv_software_interrupt): New interface.
-       (frv_program_or_software_interrupt): New interface.
-       (FRV_PIPELINE): Moved from pipline.c.
-       (frv_pipeline_reset): New interface.
-       (frv_pipeline_add_insn): New interface.
-       * interrupts.c (frv_queue_software_interrupt): New interface.
-       (frv_queue_program_interrupt): New interface.
-       (frv_queue_illegal_instruction_interrupt: New interface.
-       (frv_queue_interrupt): New interface.
-       (frv_detect_insn_access_interrupts): New interface.
-       (frv_process_interrupts): New interface.
-       (frv_program_interrupt): New interface.
-       (frv_software_interrupt): New interface.
-       (frv_program_or_software_interrupt): New interface.
-       * frv.c: Use new interfaces.
-       * pipeline.c: Use new interfaces.
-       * traps.c: Use new interfaces.
-       * memory.c: Use new interfaces.
-       (frv_address_forbidden): No longer static.
-
-1999-10-19  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_check_non_excepting_load): Set NESR.DAEC, NESR.REC and
-       NESR.EC.
-       * mloop.in (_parallel_write_queued): Handle CGEN_FN_PC_WRITE.
-       * frv.c (frvbf_h_pc_set_handler): New function.
-       * interrupts.c (frv_detect_data_interrupt): Removed.
-       (address_forbidden): Removed.
-       * frv-sim.h (frv_detect_data_interrupt): Removed.
-       (NESR_MEM_ADDRESS_NOT_ALIGNED): New macro.
-       (NESR_REGISTER_NOT_ALIGNED): New macro.
-       (NESR_UQI_SIZE): New macro.
-       (NESR_QI_SIZE): New macro.
-       (NESR_UHI_SIZE): New macro.
-       (NESR_HI_SIZE): New macro.
-       (NESR_SI_SIZE): New macro.
-       (NESR_DI_SIZE): New macro.
-       (NESR_XI_SIZE): New macro.
-       (GET_NESR_DAEC): New macro.
-       (SET_NESR_DAEC): New macro.
-       (GET_NESR_REC): New macro.
-       (SET_NESR_REC): New macro.
-       (GET_NESR_EC): New macro.
-       (SET_NESR_EC): New macro.
-       (frvbf_read_mem_QI): New function.
-       (frvbf_read_mem_UQI): New function.
-       (frvbf_read_mem_HI): New function.
-       (frvbf_read_mem_UHI): New function.
-       (frvbf_read_mem_SI): New function.
-       (frvbf_read_mem_WI): New function.
-       (frvbf_read_mem_DI): New function.
-       (frvbf_read_mem_DF): New function.
-       (frvbf_write_mem_QI): New function.
-       (frvbf_write_mem_UQI): New function.
-       (frvbf_write_mem_HI): New function.
-       (frvbf_write_mem_UHI): New function.
-       (frvbf_write_mem_SI): New function.
-       (frvbf_write_mem_WI): New function.
-       (frvbf_write_mem_DI): New function.
-       (frvbf_write_mem_DF): New function.
-       * Makefile.in (SIM_OBJS): Add memory.o.
-       * cpu.c,cpu.h,sem.c: Rebuild.
-
-1999-10-18  Dave Brolley  <brolley@cygnus.com>
-
-       * sim-if.c (sim_open): Use a real fpu error function.
-       * pipeline.c (frv_pipeline_add_insn): Don't add invalid insns.
-       * mloop.in (_parallel_write_queued): Clear queue after writing.
-       * interrupts.c (check_for_compound_interrupt): New function.
-       (non_operating_interrupt): New function.
-       * frv-sim.h (frvbf_h_gr_double_get_handler): New function.
-       (frvbf_h_gr_double_set_handler): New function.
-       (frvbf_h_fr_double_get_handler): New function.
-       (frvbf_h_fr_double_set_handler): New function.
-       (frvbf_h_cpr_double_get_handler): New function.
-       (frvbf_h_cpr_double_set_handler): New function.
-       (frv_interrupt_queue_element): New struct type.
-       (frv_queue_program_interrupt): Now takes pc.
-       (frv_queue_illegal_instruction_interrupt): Now takes pc.
-       (frv_queue_interrupt): Now takes pc.
-       (frv_program_interrupt): Now takes frv_interrupt_queue_element.
-       (frv_software_interrupt): Now takes frv_interrupt_queue_element.
-       (frvbf_division_exception): New function.
-       (frvbf_fpu_error): New function.
-       (frvbf_load_multiple_GR): New function.
-       (frvbf_load_multiple_FR): New function.
-       (frvbf_load_multiple_CPR): New function.
-       * frv.c (frvbf_h_gr_double_get_handler): New function.
-       (frvbf_h_gr_double_set_handler): New function.
-       (frvbf_h_fr_double_get_handler): New function.
-       (frvbf_h_fr_double_set_handler): New function.
-       (frvbf_h_cpr_double_get_handler): New function.
-       (frvbf_h_cpr_double_set_handler): New function.
-       (frv_interrupt_queue_element): New struct type.
-       (frv_queue_program_interrupt): Now takes pc.
-       (frv_queue_illegal_instruction_interrupt): Now takes pc.
-       (frv_queue_interrupt): Now takes pc.
-       (frv_program_interrupt): Now takes frv_interrupt_queue_element.
-       (frv_software_interrupt): Now takes frv_interrupt_queue_element.
-       (frvbf_fpu_error): New function.
-       (frvbf_load_multiple_GR): New function.
-       (frvbf_load_multiple_FR): New function.
-       (frvbf_load_multiple_CPR): New function.
-       * traps.c (frvbf_division_exception): New function.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-10-12  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in (new_vpc): New variable.
-       (main loop): Call frv_detect_insn_access_interrupts. Call
-       frv_detect_data_interrupts.
-       * interrupts.c (access_queued_to): New function.
-       (frv_detect_data_interrupts): New function.
-       (frv_detect_insn_access_interrupts): New function.
-       (frv_program_or_software_interrupt): Set PSR.S.
-       * frv-sim.h (frv_detect_data_interrupts): New function.
-       (frv_detect_insn_interrupts): New function.
-
-1999-10-07  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_h_gr_hi_get_handler): New function.
-       (frvbf_h_gr_hi_set_handler): New function.
-       (frvbf_h_gr_lo_get_handler): New function.
-       (frvbf_h_gr_lo.set_handler): New function.
-       * frv.c (frvbf_h_gr_hi_get_handler): New function.
-       (frvbf_h_gr_hi_set_handler): New function.
-       (frvbf_h_gr_lo_get_handler): New function.
-       (frvbf_h_gr_lo.set_handler): New function.
-       (frvbf_model_fr500_u_integer): New function.
-       * arch.h,cpu.h,cpu.c,decode.h,decode.c,model.c,sem.c: Rebuild.
-
-1999-10-04  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c: Use sim_engine_abort.
-       * pipeline.c (frv_pipeline): Add field for insn major.
-       (add_next_to_pipe): Return address of matching pipeline.
-       (find_major_in_pipeline): New function.
-       (check_insn_major_constraints: New function.
-       (frv_pipeline_add_insn): Add checks for insn major constraints.
-       * interrupts.c (frv_process_interrupts): Use sim_engine_abort.
-       * frv.c (frvbf_h_spr_get_handler): No need to abort.
-
-Thu Sep 30 18:10:25 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * pipeline.c: New file.
-       * mloop.in (main loop): Call frv_pipeline_reset.
-       Call frv_pipeline_add_insn.
-       * frv-sim.h (frv_pipeline_reset): New function.
-       (frv_pipeline_add_insn): New function.
-       * Makefile.in (SIM_OBJS): Add pipeline.o
-
-1999-09-29  Doug Evans  <devans@casey.cygnus.com>
-
-       * sem.c: Rebuild.
-       * traps.c (sim_engine_invalid_insn): New arg `vpc'.  Change type of
-       result to SEM_PC.  Return vpc.
-
-Wed Sep 29 16:01:52 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * interrupts.c (frv_interrupt_table): DATA_STORE_ERROR is imprecise.
-       (frv_queue_interrupt): Don't detect identical interrupts here.
-
-Wed Sep 29 14:49:52 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * interrupts.c: New file.
-       * traps.c (sim_engine_invalid_insn): Return PC of next insn.
-       (frv_software_interrupt): Moved to interrupts.c.
-       (frv_itrap): New interface. Call frv_queue_software_interrupt.
-       * mloop.in (@cpu@_parallel_write_init): set previous_vliw_pc.
-       (@cpu@_perform_writeback): New function.
-       (main loop): Call frv_process_interrupts.
-       * frv-sim.h (frvbf_write_next_vliw_addr_to_PCSR): Removed.
-       (frv_itrap): New interface.
-       (frv_interrupt_class): New enumeration.
-       (frv_interrupt_kind): New enumeration.
-       (struct frv_interrupt): New struct type.
-       (frv_interrupt_table): New table of interrupt information.
-       (FRV_INTERRUPT_QUEUE_SIZE): New macro.
-       (struct frv_interrupt_state): New struct type.
-       (frv_interrupt_state): New global variable.
-       (previous_vliw_pc): New global variable.
-       (frv_queue_software_interrupt): New function.
-       (frv_queue_program_interrupt): New function.
-       (frv_queue_interrupt): New function.
-       (frv_process_interrupts): New function.
-       (frv_program_interrupt): New function.
-       (frv_software_interrupt): New function.
-       (frv_program_or_software_interrupt): New function.
-       (frv_clear_interrupt_classes): New function.
-       * frv.c (frvbf_write_next_vliw_addr_to_PCSR): Removed.
-       * Makefile.in (SIM_OBJS): Add interrupts.o
-       * sem.c: Rebuild.
-
-1999-09-25  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,cpuall.h,decode.c,sem.c: Rebuild.
-
-Tue Sep 21 17:16:47 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in (main loop): Determine last insn from scache entry.
-       * cpu.h: Rebuild.
-       * cpuall.h: Rebuild.
-
-Tue Sep 14 14:21:31 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_write_next_vliw_addr_to_PCSR): New flag.
-       (NECR_ELOS): Define as unshifted value.
-       (NECR_NEN): Define as unshifted value.
-       (NECR_VALID): Define as unshifted value.
-       (SET_NESR): Rewite to use post-write queue.
-       (SET_NESR_VALID): Rewite to operate on argument.
-       (SET_NESR_EAV): Rewite to operate on argument.
-       (SET_NESR_FR): Rewite to operate on argument.
-       (CLEAR_NESR_FR): Rewite to operate on argument.
-       (SET_NESR_DRN): Rewite to operate on argument.
-       (SET_NESR_SIZE): Rewite to operate on argument.
-       (SET_NESR_NEAN): Rewite to operate on argument.
-       (SET_NEEAR): Rewite to use post-write queue.
-       (SET_NE_FLAG): Rewite to use post-write queue.
-       (CLEAR_NE_FLAG): Rewite to use post-write queue.
-       * traps.c (frv_software_interrupt): Rewite to use post-write queue.
-       (frv_rett): Rewite to use post-write queue.
-       (next_available_nesr): Rewrite to use new macro interfaces.
-       (next_valid_nesr): Ditto.
-       (frvbf_check_non_excepting_load): Ditto.
-       (frvbf_check_recovering_store): Ditto.
-       (clear_nesr_neear): Ditto.
-       (clear_ne_flags): Ditto.
-       * mloop.in (main loop): Update PCSR with address of next VLIW insn
-       when flag is set.
-       * frv.c (frvbf_h_spr_get_handler): Shift register fields here now.
-       (frvbf_store_multiple_GR): Rewite to use post-write queue.
-       (frvbf_store_multiple_FRint): Rewite to use post-write queue.
-       (frvbf_store_multiple_CPR): Rewite to use post-write queue.
-       * Makefile.in (frv.o): Depend on cgen-par.h.
-
-Fri Sep 10 17:03:15 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_set_write_next_vliw_addr_to_LR): New function.
-       (frvbf_write_next_vliw_addr_to_LR): New flag.
-       * frv.c (frvbf_set_write_next_vliw_addr_to_LR): New function.
-       * mloop.in: Only take the first branch in a VLIW insn. Set LR to the
-       address of the next VLIW insn if flag is set.
-       * cpu.h,decode.c,sem.c: Rebuild.
-
-Tue Sep  7 13:44:23 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in: Limit parallel insns to MAX_PARALLEL_INSNS.
-       * sem.c: Rebuild.
-
-1999-09-02  Doug Evans  <devans@casey.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-09-01  Doug Evans  <devans@casey.cygnus.com>
-
-       * decode.c: Rebuild.
-
-Mon Aug 30 17:54:57 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frv_rett): New function.
-       * frv.c (frvbf_h_spr_get_handler): Handle bpsr.
-       (frvbf_h_spr_set_handler): Handle bpsr.
-       (frvbf_h_bpsr_get_handler): New function.
-       (frvbf_h_bpsr_set_handler): New function.
-       * frv-sim.h (frv_rett): New function.
-       (frvbf_h_bpsr_get_handler): New function.
-       (frvbf_h_bpsr_set_handler): New function.
-       * mloop.in: Read actual packing bit.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-Tue Aug 31 16:04:37 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (WANT_CPU): New macro.
-       (WANT_CPU_FRVBF): New macro.
-       (frvbf_check_recovering_store): Use registers for source and queue
-       writes.
-       * mloop.in: New main loop for parallel support.
-       (@cpu@_parallel_write_init): New function.
-       (@cpu@_parallel_write_queued): New function.
-       * frv-sim.h (set_icc_for_shift_left): New interface.
-       (set_icc_for_shift_right): New interface.
-       (frvbf_check_recovering_store): New interface.
-       * frv.c (set_icc_for_shift_left): Pass and return icc value.
-       (set_icc_for_shift_right): Pass and return icc value.
-       (frvbf_check_recovering_store): New interface.
-       * Makefile.in (FRV_OBJS): Add cgen-par.o.
-       (stamp-mloop): Add cgen parallel options.
-       (stamp-arch): Remove with-profile option.
-       (stamp-cpu): Add cgen parallel options.
-       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-08-28  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,sem.c: Rebuild.
-
-Wed Aug 25 12:25:04 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * arch.h,cpu.h,decode.h,model.c,sem.c: Rebuild.
-
-Thu Aug 19 17:59:00 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * configure.in: fr500 now the default model.
-       * configure: Regenerate.
-       * frv.c: Change frv-1 to frv-gen.
-       (frvbf_model_fr500_u_exec): New function.
-       * Makefile.in (stamp-cpu): Use 'mach=frv,fr500' to build decoder.
-       * mloop.in: Fix typos in comments.
-       * arch.c,arch.h,cpu.h,cpuall.h,decode.h,model.c,sem.c: Rebuild.
-
-1999-08-17  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-08-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-08-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,cpuall.h,decode.c,model.c,sem.c: Rebuild.
-
-Fri Jul 16 14:50:15 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_fetch_register): Use GDB register number macros.
-       (frvbf_store_register): Use GDB register number macros.
-       (frvbf_cut): New function.
-       * frv-sim.h (GR_REGNUM_MAX): New macro.
-       (FR_REGNUM_MAX): New macro.
-       (PC_REGNUM): New macro.
-       (LR_REGNUM): New macro.
-       (frvbf_cut): New function.
-       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
-
-1999-07-15  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * frv.c (frvbf_fetch_register): Add ability to get LR register,
-       add default for unhandled registers.
-       (frvbf_store_register): Add ability to set LR register.
-
-1999-07-14  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * frv.c (frvbf_fetch_register, frvbf_store_register): Fill in.
-       (decode_gdb_dr_regnum): Remove, not used.
-
-1999-07-13  Michael Meissner  <meissner@cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_FLAGS): Incorporate @sim_trapdump@.
-
-       * configure.in (--enable-sim-trapdump): New switch to make unknown
-       traps dump the register contents, instead of doing the trap thing.
-       * configure: Regenerate.
-
-       * frv-sim.h (TRAP_BREAKPOINT): Define as 81, so it can be used.
-       (TRAP_REGDUMP{1,2}): Define to provide register dumping support
-       temporarily.
-
-       * traps.h (toplevel): Include bfd.h, libiberity.h.
-       (frv_itrap): Add support for --enable-sim-trapdump and traps 2,3
-       dumping the registers.
-
-Thu Jul  8 10:57:39 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_LIBS): Removed. libm no longer needed.
-
-Wed Jul  7 17:01:12 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.c,cpu.h,decode.c,model.c,sem.c: Rebuild.
-
-Tue Jul  6 16:12:18 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_square_root_SF): Removed.
-       (frvbf_square_root_DF): Removed.
-       (frvbf_h_fr_double_get_handler): Removed.
-       (frvbf_h_fr_double_set_handler): Removed.
-       (frvbf_h_fr_int_get_handler): Removed.
-       (frvbf_h_fr_int_set_handler): Removed.
-       * frv-sim.h (frvbf_square_root_SF): Removed.
-       (frvbf_square_root_DF): Removed.
-       (frvbf_h_fr_double_get_handler): Removed.
-       (frvbf_h_fr_double_set_handler): Removed.
-       (frvbf_h_fr_int_get_handler): Removed.
-       (frvbf_h_fr_int_set_handler): Removed.
-       * decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-07-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add cgen-fpu.o, cgen-accfp.o.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
-       * sim-if.c (sim_open): Initialize fpu.
-       * frv-sim.h (SETMEMSF,SETMEMDF): Delete.
-       * frv.c (frvbf_store_multiple_FRint): Replace frvbf_h_fr_int_get
-       with frvbf_h_fr_get.
-
-Wed Jun 30 15:56:56 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (NESR_RANGE): New macro.
-       (NO_NESR): New macro.
-       (GET_NESR_VALID): New macro.
-       (next_ne_index): Removed.
-       * traps.c (next_available_nesr): New function.
-       (next_valid_nesr): New function.
-       (frvbf_check_non_excepting_load): Use next_available_nesr.
-       (frvbf_check_recovering_store): Use next_available_nesr and
-       next_valid_nesr.
-       (clear_nesr_neear): Use next_available_nesr and next_valid_nesr.
-       (frvbf_check_recovering_store): Only consider one matching register.
-       * sem.c: Rebuild.
-
-Tue Jun 29 16:54:32 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_square_root_SF): New function.
-       (frvbf_square_root_DF): New function.
-       (frvbf_h_fr_double_get_handler): New function.
-       (frvbf_h_fr_double_set_handler): New function.
-       * frv-sim.h (frvbf_square_root_SF): New function.
-       (frvbf_square_root_DF): New function.
-       (frvbf_h_fr_double_get_handler): New function.
-       (frvbf_h_fr_double_set_handler): New function.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c: Rebuild.
-
-1999-06-28  Dave Brolley  <brolley@cygnus.com>
-
-       * decode.c,decode.h,model.c,sem.c: Regenerate.
-
-Thu Jun 24 17:26:32 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_LIBS): Add -lm.
-       * frv-sim.h (frvbf_h_fr_int_get_handler): New function.
-       (frvbf_h_fr_int_set_handler): New function.
-       (frvbf_store_multiple_FRint): New function.
-       (frvbf_square_root_SF): New function.
-       * frv.c (frvbf_h_fr_int_get_handler): New function.
-       (frvbf_h_fr_int_set_handler): New function.
-       (frvbf_store_multiple_FRint): New function.
-       (frvbf_square_root_SF): New function.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-06-23  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (stamp-mloop): Delete -fast -pbb -switch args
-       to genmloop.sh.  Pass -scache instead.
-       (mloop.o): Delete sem-switch.c dependency.
-       (sem-switch.c): Delete rule.
-       (stamp-cpu): Don't build sem-switch.c.
-       * sem-switch.c: Delete.
-       * mloop.in (xfull-exec-*): Fix call to execute.
-       * tconfig.in (WITH_SCACHE_PBB): Define as 0.
-
-       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
-
-Tue Jun 22 16:23:57 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,sem.c,sem-switch.c: Regenerate.
-
-Mon Jun 21 17:34:10 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * mloop.in (execute): Force gr0 to zero before each insn.
-       * cpu.h,cpu.c,decode.c,sem.c,sem-switch.c: Regenerate.
-
-1999-06-18  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
-
-Fri Jun 18 17:49:23 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_h_gr_get_handler): New function.
-       (frvbf_h_gr_set_handler): New function:
-       (frvbf_store-multiple_GR): New function:
-       (frvbf_store-multiple_FR): New function:
-       (frvbf_store-multiple_CPR): New function:
-       * frv-sim.h (frvbf_h_gr_get_handler): New function.
-       (frvbf_h_gr_set_handler): New function:
-       (frvbf_store-multiple_GR): New function:
-       (frvbf_store-multiple_FR): New function:
-       (frvbf_store-multiple_CPR): New function:
-       * traps.c (frv_itrap): Implement proper syscalls interface.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Fri Jun 18 14:36:23 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frvbf_check_non_excepting_divide): New function.
-       (frvbf_check_recovering_store): New function.
-       (clear_nesr_neear): New function.
-       (clear_ne_flags): New function.
-       (frvbf_commit): New function.
-
-       * frv-sim.h (frvbf_check_non_excepting_divide): New function.
-       (frvbf_check_recovering_store): New function.
-       (clear_nesr_neear): New function.
-       (clear_ne_flags): New function.
-       (frvbf_commit): New function.
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-06-16  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_h_spr_get_handler): Handle SPR_NECR.
-       (frvbf_h_spr_set_handler): Handle SPR_NECR.
-       * traps.c (next_ne_index): New variable.
-       (frvbf_check_non_excepting_load): New function.
-       * frv-sim.h (NECR_ELOS): New macro.
-       (NECR_NEN): New macro.
-       (NECR_VALID): New macro.
-       (SET_NESR_VALID): New macro.
-       (SET_NESR_EAV): New macro.
-       (SET_NESR_FR): New macro.
-       (CLEAR_NESR_FR): New macro.
-       (SET_NESR_DRN): New macro.
-       (SET_NESR_SIZE): New macro.
-       (SET_NESR_NEAN): New macro.
-       (SET_NEEAR): New macro.
-       (GET_NE_FLAG): New macro.
-       (SET_NE_FLAG): New macro.
-       (CLEAR_NE_FLAG): New macro.
-       (frvbf_check_non_excepting_load): New function:
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Wed Jun  9 18:12:49 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-Tue Jun  8 18:13:51 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (cr_logic): Correct andcr, nandcr, andncr and nandncr.
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Mon Jun  7 17:09:15 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-06-07  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu Jun  3 17:33:31 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Wed Jun  2 17:50:21 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Tue Jun  1 17:58:53 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-Mon May 31 17:57:25 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frv_software_interrupt): Pass current_cpu to
-       frvbf_h_psr_esr_get.
-       (frv_software_interrupt): Calculate the new PC based on TBR.
-       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-05-31  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu May 27 17:42:00 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_h_cccr_get_handler): New function.
-       (frvbf_h_cccr_set_handler): New function.
-       (frvbf_scan_result): New function.
-       (frvbf_cr_logic): New function.
-       * frv.c (frvbf_h_cccr_get_handler): New function.
-       (frvbf_h_cccr_set_handler): New function.
-       (frvbf_scan_result): New function.
-       (frvbf_cr_logic): New function.
-       (cr_ops,cr_result,cr_logic): New table.
-       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-05-25  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_h_spr_get_handler): Add support for TBR and PSR.
-       (frvbf_h_spr_set_handler): Add support for TBR and PSR.
-       (frv_psr_get_handler): New function.
-       (frv_psr_set_handler): New function.
-       (frv_tbr_get_handler): New function.
-       (frv_tbr_set_handler): New function.
-       (frvbf_h_ccr_get_handler): Add support for fCC.
-       (frvbf_h_ccr_set_handler): Add support for fCC.
-       * frv-sim.h (frv_psr_get_handler): New function.
-       (frv_psr_set_handler): New function.
-       (frv_tbr_get_handler): New function.
-       (frv_tbr_set_handler): New function.
-       * traps.c (frv_software_interrupt): Implement.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu May 20 16:39:27 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-05-18  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c: (frvbf_set_icc_for_shift_left): New function.
-       (frvbf_set_icc_for_shift_right): New function.
-       * frv-sim.h (frvbf_set_icc_for_shift_left): New function.
-       (frvbf_set_icc_for_shift_right): New function.
-       (SETMEMSF): New Macro.
-       (SETMEMDF): New Macro.
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu May 13 17:14:49 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv.c (frvbf_h_ccr_get_handler): New function.
-       (frvbf_h_ccr_set_handler): New function.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Tue May 11 16:13:15 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * frv-sim.h (frvbf_h_spr_get_handler,frvbf_h_spr_set_handler,
-       frvbf_h_isr_get_handler, frvbf_h_isr_set_handler): New functions.
-       * frv.c: Likewise.
-       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-1999-05-10  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,cpu.c,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu May  6 16:48:21 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,sem.c,sem-switch.c: Regenerate.
-       * frv-sim.h (TRAP_SYSCALL): Define as 0x80.
-
-Wed May  5 11:52:24 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (frv_software_interrupt): New function.
-       (frv_itrap): New function.
-       * frv-sim.h (TRAP_SYSCALL): define as 0.
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Mon May  3 13:49:21 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
-
-Thu Apr 29 17:37:06 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * Directory created.
diff --git a/sim/frv/ChangeLog-2021 b/sim/frv/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5a5cd4b
--- /dev/null
@@ -0,0 +1,3368 @@
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+       * acinclude.m4: New file.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Change to SIM_FRV_TRAPDUMP_FLAGS.
+       * configure.ac: Change sim-trapdump to sim-frv-trapdump.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (frv_sim_machs): ... this.
+       * sim-if.c (frv_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (frvbf_record_trace_results): Delete function.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark backend_data const.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_RESTART_HOOK): Delete 0.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * interrupts.c: Include cgen-mem.h.
+       * profile-fr400.c (acc_use_is_media_p4): Disable function.
+       * reset.c: Include cgen-mem.h.
+       * sim-if.c (print_frv_misc_cpu): Delete.
+       * sim-main.h (FRV_SIM_MAIN_H): Add ifdef guard.
+       (frvbf_model_branch): New prototype.
+       (frvbf_perform_writeback): Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * profile.c (wait_for_flush): Change %p to %x.
+       * sim-if.c (sim_open): Change %lx to %x.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (frv_break): Delete pc and pass down NULL_CIA.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * profile.c (frvbf_model_insn_after): Change return to void.
+       (enforce_full_fr_latency, post_wait_for_FR, post_wait_for_FRdouble,
+       post_wait_for_ACC, post_wait_for_CCR, post_wait_for_SPR,
+       post_wait_for_fdiv, post_wait_for_fsqrt,
+       post_wait_for_float): Likewise.
+       * profile.h (post_wait_for_FR, post_wait_for_FRdouble,
+       post_wait_for_ACC, post_wait_for_CCR, post_wait_for_SPR,
+       post_wait_for_fdiv, post_wait_for_fsqrt, post_wait_for_float,
+       post_wait_for_media): Likewise.
+
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * frv.c (frvbf_shift_left_arith_saturate): Add braces to if statement.
+       * profile-fr500.c (adjust_float_register_busy): Likewise.
+       * profile-fr550.c (adjust_float_register_busy): Likewise.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interrupts.c: Include sim-signal.h.
+       * traps.c: Likewise.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim/callback.h.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * sim-if.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * cache.h (frv_cache_unlock): New prototype.
+       * frv-sim.h (frvbf_media_average): Likewise.
+       (frv_queue_data_access_exception_interrupt): Likewise.
+       (frv_queue_division_exception_interrupt): Likewise.
+       (frvbf_check_acc_range): Likewise.
+       (frvbf_check_swap_address): Likewise.
+       (frvbf_*_multiple_*): Rename prototypes to ...
+       (frvbf_*_quad_*): ... these.
+       * profile-fr500.c (use_is_cc_complex): Put #if 0 around.
+       * profile-fr550.c (use_is_ccr_complex): Likewise.
+       * profile.h (frv_ref_SI): New prototype.
+       * registers.h (frv_check_spr_read_access): Likewise.
+       (frv_check_spr_write_access): Likewise.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * cache.c (non_cache_access): Add parentheses.
+       * memory.c (fr500_check_data_read_address): Likewise.
+       (fr550_check_data_read_address): Likewise.
+       (fr500_check_readwrite_address): Likewise.
+       (fr550_check_readwrite_address): Likewise.
+       (fr500_check_insn_read_address): Likewise.
+       (fr500_check_write_address): Likewise.
+       (fr550_check_write_address): Likewise.
+       * traps.c (frv_mtrap): Likewise.
+       (frvbf_commit): Likewise.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cache.c, frv.c, interrupts.c, memory.c, options.c, pipeline.c,
+       profile-fr400.c, profile-fr450.c, profile-fr500.c, profile-fr550.c,
+       profile.c, registers.c, reset.c, sim-if.c, traps.c: Include defs.h.
+       * sim-main.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete arguments.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (arch.o, devices.o, frv.o, traps.o, pipeline.o)
+       (interrupts.o, memory.o, cache.o, options.o, reset.o)
+       (registers.o, profile.o, profile-fr400.o, profile-fr450.o)
+       (profile-fr500.o, profile-fr550.o, sim-if.o, mloop.o, cpu.o)
+       (decode.o, sem.o, model.o): Remove.
+       (SIM_EXTRA_DEPS): Add eng.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * traps.c (frvbf_check_acc_range): Add missing return value.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * traps.c: Include stdlib.h.
+       * registers.c: Include stdlib.h.
+       * profile.c: Include stdlib.h.
+       * memory.c: Include stdlib.h.
+       * interrupts.c: Include stdlib.h.
+       * frv.c: Include stdlib.h.
+       * cache.c: Include stdlib.h.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * sim-if.c (sim_open, frv_sim_close, sim_create_inferior): Use
+       new-style declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * options.c, sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
+       HAVE_STDLIB_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (frvbf_init_idesc_table): Use ARRAY_SIZE.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * TODO: Delete file.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+       * frv.c (frvbf_h_fr_double_get_handler): Change
+       CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+       (frvbf_h_fr_double_set_handler): Likewise.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.h (TARGET_BIG_ENDIAN): Delete.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+       * frv.c (frvbf_h_fr_double_get_handler): Change LITTLE_ENDIAN to
+       BFD_ENDIAN_LITTLE.
+       (frvbf_h_fr_double_set_handler): Likewise.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * reset.c (frv_term): Change current_state to sd.
+       * sim-if.c (current_state): Delete.
+       (sim_open): Delete current_state assignment.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c: Delete file.
+       * frv-sim.h (MCCR_ADDR, MCCR_CP, MCCR_CM0, MCCR_CM1, frv_devices,
+       struct _device): Delete.
+       * Makefile.in (SIM_OBJS): Delete devices.o.
+       * sim-if.c (sim_open): Delete #if 0 code.
+       * tconfig.h: Delete file.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+       * tconfig.h (SIM_HAVE_MODEL): Delete.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c: Rename MACH to SIM_MACH.
+       * cpuall.h: Likewise.
+       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_SCACHE_PBB): Move from ...
+       * tconfig.h (WITH_SCACHE_PBB): ... here.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
+       SIM_BREAKPOINT_SIZE): Delete.
+       * traps.c [SIM_HAVE_BREAKPOINTS] (frv_itrap): Delete sim breakpoint
+       code.
+       [SIM_HAVE_BREAKPOINTS] (frv_break): Likewise.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (WITH_WATCHPOINTS): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Rename to ...
+       (frv_sim_close): ... this.  Delete calls to frv_cgen_cpu_close and
+       sim_module_uninstall.
+       * sim-main.h (frv_sim_close): Declare.
+       (SIM_CLOSE_HOOK): Define.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_ARG_ENABLE(sim-trapdump)): Call AS_HELP_STRING.
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (frvbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
+       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
+       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_TRACE): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (USING_SIM_BASE_H): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+       (frv_sim_engine_halt_hook): Move below includes.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+       * traps.c (frv_sim_engine_halt_hook): Change CIA_SET to CPU_PC_SET.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c: Delete dv-sockser.h include.
+       (device_io_read_buffer): Delete uart code.
+       (device_io_write_buffer): Likewise.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Default simulator hardware to off again.  Remove
+       dead frv_extra_objs substitution.
+       * configure: Regenerate.
+       * Makefile.in: Remove unused frv_extra_objs.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
+           Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add frv_extra_objs. Change simulator hardware
+       from always on to defaulting to yes it is enabled.
+       * Makefile.in: Conditionalize reference to dv-sockser.o.
+       * configure: Regenerated.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Fail if dv-sockser.o not available.
+       Error when --disable-sim-hardware is specified.
+       * configure: Regenerated.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_do_command): Delete.
+
+2010-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * profile.c (sim_profile_print_bar): Add cpu argument.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Add const to message.
+
+2010-02-12  Doug Evans  <dje@sebabeach.org>
+
+       * decode.c, * decode.h: Regenerate.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h, * decode.c, * model.c, * sem.c: Regenerate.
+
+2010-01-24  Doug Evans  <dje@sebabeach.org>
+
+       * sem.c: Regenerate.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
+       * decode.h, * model.c, * sem.c: Regenerate, update copyright year.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+
+2009-11-03  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+       * sem.c: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sem.c: Regenerate.
+
+2008-12-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h, decode.c, decode.h,
+       model.c, sem.c: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-10-28  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+       Contribute the following changes:
+       2003-09-29  Dave Brolley  <brolley@redhat.com>
+
+       * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
+       CGEN_ATTR_VALUE_TYPE.
+       * mloop.in: Ditto.
+       * pipeline.c: Ditto.
+       * traps.c: Ditto.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.
+       * cpuall.h, model.c, sem.c: Regenerated.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (SIM_OBJS): Add profile-fr450.o.
+       (profile-fr450.o): New dependency.
+       (stamp-cpu): Add fr450 to the list of machs.
+       * sim-frv.h (SPR_IS_ACC): New macro.
+       (H_SPR_ACC4, H_SPR_ACC63, H_SPR_ACCG4, H_SPR_ACCG63): Delete.
+       * cache.c (frv_cache_init, non_cache_access): Handle bfd_mach_fr450.
+       * frv.c (check_register_alignment, check_fr_register_alignment)
+       (check_memory_alignment, do_media_average): Likewise.
+       (frvbf_clear_accumulators): Likewise.  Use a mask of valid registers
+       rather than a consecutive range.
+       * interrupts.c (frv_queue_illegal_instruction_interrupt)
+       (frv_queue_non_implemented_instruction_interrupt): Handle
+       bfd_mach_fr450.
+       * memory.c (check_data_read_address, check_readwrite_address)
+       (check_insn_read_address, check_write_address): Likewise.
+       * mloop.in (@cpu@_simulate_insn_prefetch): Likewise.
+       * profile.c (reset_gr_flags, reset_fr_flags, reset_acc_flags)
+       (frvbf_model_insn_before, frvbf_model_insn_after): Likewise.
+       * profile-fr450.c: New file.
+       * registers.c (fr450_spr): New array.
+       (frv_register_control_init): Check its size.  Use it for fr450.
+       (frv_check_register_access): Handle bfd_mach_fr450.
+       (frv_check_spr_read_access): Likewise. Generalize accumulator check.
+       * traps.c (frv_core_signal, frvbf_media_cr_not_aligned): Likewise.
+       (frvbf_media_acc_not_aligned): Likewise.
+       (frvbf_media_register_not_aligned): Likewise.
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * cache.c (frv_cache_init): Change fr400 cache statistics to match
+       the fr405.
+       (non_cache_access): Add missing breaks.
+       * interrupts.c (set_exception_status_registers): Always set EAR15
+       for data_access_errors.
+       * memory.c (fr400_check_write_address): Remove redundant alignment
+       check.
+       * model.c: Regenerate.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * frv.c (frvbf_iacc_cut): Rework, taking rounding into account.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * decode.c, decode.h, model.c, sem.c: Regenerate.
+
+2003-11-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
+       (SPR_REGNUM_MAX): Delete.
+       * frv.c (gdb/sim-frv.h): Include.
+       (frvbf_fetch_register, frvbf_store_register): Use register number
+       constants from gdb/sim-frv.h.  Check availability of general
+       purpose and float registers.
+
+2003-11-03  Dave Brolley  <brolley@redhat.com>
+
+       * cache.c (address_interference): Check for higher priority requests
+       in the same pipeline.
+
+2003-10-31  Dave Brolley  <brolley@redhat.com>
+
+       * frv-sim.h (LR_REGNUM): Removed.
+       (SPR_REGNUM_MIN,SPR_REGNUM_MAX): New macros.
+       * frv.c (frvbf_fetch_register): Fetch SPR registers based on
+       SPR_REGNUM_MIN and SPR_REGNUM_MAX. Check whether SPRs are implemented.
+       Return 0 for an unimplemented register. Return the length of the data
+       for an implemented register.
+       (frvbf_store_register): Ditto.
+
+2003-10-30  Andrew Cagney  <cagney@redhat.com>
+
+       * traps.c: Replace "struct symbol_cache_entry" with "struct
+       bfd_symbol".
+
+2003-10-10  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h, sem.c: Regenerate.
+
+2003-10-06  Dave Brolley  <brolley@redhat.com>
+
+       * profile-fr550.[ch]: New files.
+       * configure.in: Move frv handling to alphabetically correct placement.
+       * Makefile.in: Add fr550 support.
+       * frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c,
+       profile.[ch],registers.c,traps.c: Add fr550 support.
+       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
+       Regenerate.
+
+2003-09-25  Dave Brolley  <brolley@redhat.com>
+
+       * reset.c (frv_initialize): Call frv_register_control_init first.
+
+2003-09-24  Dave Brolley  <brolley@redhat.com>
+
+       * profile.h (update_FR_ptime): New prototype.
+       (update_FRdouble_ptime): Ditto.
+       (update_SPR_ptime): Ditto.
+       (increase_ACC_busy): Ditto.
+       (enforce_full_acc_latency): Ditto.
+       (post_wait_for_SPR): Ditto.
+       * profile.c (update_FR_ptime): Moved here from profile-fr500.c.
+       (update_FRdouble_ptime): Ditto.
+       (update_SPR_ptime): New function.
+       (increase_ACC_busy): Ditto.
+       (enforce_full_acc_latency): Ditto.
+       (vliw_wait_for_fdiv_resource): Correct resource name.
+       (vliw_wait_for_fsqrt_resource): Ditto.
+       (post_wait_for_SPR): New function.
+       * profile-fr500.c (frvbf_model_fr500_u_commit): New function.
+       (frvbf_model_fr500_u_gr2fr): Pass out_FRk as output register to
+       adjust_float_register_busy.
+       (frvbf_model_fr500_u_gr_load): Record latency of SPR registers.
+       (frvbf_model_fr500_u_fr_load): Wait for and record latency of SPR
+       registers.
+       (frvbf_model_fr500_u_float_arith): Ditto.
+       (frvbf_model_fr500_u_float_dual_arith): Ditto.
+       (frvbf_model_fr500_u_float_div): Ditto.
+       (frvbf_model_fr500_u_float_sqrt): Ditto.
+       (frvbf_model_fr500_u_float_convert): Ditto.
+       (update_FR_ptime): Moved to profile.c
+       (update_FRdouble_ptime): Moved to profile.c
+       * profile-fr400.c (update_FR_ptime): Removed. Identical to functions
+       for other machines.
+       (update_FRdouble_ptime): Ditto.
+       * arch.h,cpu.h,sem.c,decode.[ch],model.c,sem.c: Regenerated.
+
+2003-09-12  Dave Brolley  <brolley@redhat.com>
+
+       * registers.c (frv_check_spr_read_access): Check for access to
+       ACC4-ACC63 and ACCG4-ACCG63.
+       * profile.h (frv-desc.h): #include it.
+       (spr_busy): New member of FRV_PROFILE_STATE.
+       (spr_latency): Ditto.
+       (GNER_FOR_GR): New macro.
+       (FNER_FOR_FR): New maccro.
+       (update_SPR_latency): New function.
+       (vliw_wait_for_SPR): New function.
+       * profile.c (update_latencies): Update SPR latencies.
+       (update_target_latencies): Ditto.
+       (update_SPR_latency): New function.
+       (vliw_wait_for_SPR): New function.
+       * profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency.
+       (frvbf_model_fr500_u_trap): Removed unused variable, ps.
+       (frvbf_model_fr500_u_check): Ditto.
+       (frvbf_model_fr500_u_clrgr): New unit modeller for fr500.
+       (frvbf_model_fr500_u_clrfr): Ditto.
+       (frvbf_model_fr500_u_spr2gr): Wait for SPR.
+       (frvbf_model_fr500_u_gr2spr): Ditto.
+       * frv-sim.h (H_SPR_ACC4): New macro.
+       (H_SPR_ACCG4): New macro;
+       (H_SPR_ACC0): Removed.
+       (H_SPR_ACCG0): Removed.
+       * arch.h,model.c,sem[ch],decode.[ch]: Regenerated.
+
+2003-09-10  Dave Brolley  <brolley@redhat.com>
+
+       * profile.c (slot_names): FM1 was listed twice. Changed first
+       instance to FM0. Added IALL, FMALL and FMLOW.
+       (print_parallel): Don't examine slots with no insns.
+
+2003-09-09  Dave Brolley  <brolley@redhat.com>
+
+       * frv.c (do_media_average): Select machine using a switch.
+
+2003-09-08  Dave Brolley  <brolley@redhat.com>
+
+       On behalf of Doug Evans <dje@sebabeach.org>
+       * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen.
+       Remove copying of .cpu file to cgen/cpu, no longer needed.
+
+2003-09-03  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
+
+2003-08-29  Dave Brolley  <brolley@redhat.com>
+
+       * Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu
+       temporarily when regenerating files.
+       (stamp-cpu): Ditto.
+
+2003-08-20  Micheal Snyder  <msnyder@redhat.com>
+
+       * All generated files: Regenerate.
+
+2001-10-11  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h,decode.c,decode.h,sem.c: Regenerate.
+
+2001-10-09  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_rett): Halt if PSR.S and PSR.ET are both set or both
+       not set.
+       * reset.c (frv_hardware_reset): Invalidate both caches.
+       * registers.c: Update init, reset and read-only masks for all registers
+       on all machines.
+       * profile.h (cur_gr_complex): New field of FRV_PROFILE_STATE
+       (prev_gr_complex): New field of FRV_PROFILE_STATE
+       (set_use_is_gr_complex): New function.
+       (set_use_not_gr_complex): New function.
+       (use_is_gr_complex): New function.
+       (decrease_GR_busy): New function.
+       * profile.c (reset_gr_flags): New function.
+       (reset_cc_flags): New function.
+       (set_use_is_gr_complex): New function.
+       (set_use_not_gr_complex): New function.
+       (use_is_gr_complex): New function.
+       (update_latencies): Reset gr and cc flags when latency reaches 0.
+       (decrease_GR_busy): New function.
+       * profile-fr400.h (fr500_reset_acc_flags): Removed.
+       (fr500_reset_cc_flags): New function.
+       * profile-fr500.c (frvbf_model_fr400_u_*): Reflect latencies from fr500
+       LSI version 1.41.
+       * profile-fr400.h (fr400_reset_gr_flags): New function.
+       (fr400_reset_fr_flags): New function.
+       (fr400_reset_acc_flags): New function.
+       * profile-fr400.c (set_use_not_media_p4): New function.
+       (set_use_not_media_p6): New function.
+       (set_acc_use_not_media_p2): New function.
+       (set_acc_use_not_media_p4): New function.
+       (fr400_reset_gr_flags): New function.
+       (fr400_reset_fr_flags): New function.
+       (fr400_reset_acc_flags): New function.
+       (frvbf_model_fr400_u_*): Reflect latencies from fr400 LSI version 1.1.
+       (frvbf_model_fr400_u_media_hilo): New function.
+       * pipeline.c (frv_vliw_setup_insn): Don't clear MSR0.MTT.
+       * memory.c (fr400_check_data_read_address): Check address range only
+       for double word loads. Don't check alignment here.
+       (fr400_check_readwrite_address): New function.
+       (fr500_check_readwrite_address): New function.
+       (check_readwrite_address): New function.
+       (fr500_check_insn_read_address): Correct address ranges.
+       (frvbf_read_mem_*): Check address range here.
+       (frv_address_forbidden): Removed.
+       (fr400_check_write_address): New function.
+       (check_write_address): New function.
+       (frvbf_write_mem_*): Don't check address range here.
+       (frvbf_mem_set_*): Check address range here.
+       * interrupts.c (frv_queue_data_access_error_interrupt): Now takes an
+       address as second argument.
+       (frv_queue_data_access_exception_interrupt): New function.
+       (frv_queue_illegal_instruction_interrupt): Generate fp_exception for
+       media insns on fr400.
+       (frv_queue_non_implemented_instruction_interrupt): Generate mp_exception
+       for media insns on fr400.
+       (frv_detect_insn_access_interrupts): Don't check for illegal addresses
+       of insns here.  Check for MTRAP insn if PSR.EM is not set.
+       (frv_set_mp_exception_registers): Only set MSR0.MTT if it is not already
+       set.
+       (set_exception_status_registers): Do not always set EPCR. Set EAR for
+       data_acess_error only if not fr400.
+       * frv.c (do_media_average): New function.
+       (frvbf_media_average): New function.
+       (frvbf_insn_cache_invalidate): Check for illegal invocation.
+       (frvbf_data_cache_invalidate): Ditto.
+       (frvbf_data_cache_flush): Ditto.
+       * frv-sim.h (GET_FSR_QNE): New macro.
+       (frv_msr_mtt): Remove MTT_SEQUENCE_ERROR.
+       (GET_MSR_SRDAV): New macro.
+       (GET_MSR_RDAV): New macro.
+       (GET_MSR_RD): New macro.
+       (frv_queue_data_access_error_interrupt): Now takes an address as second
+       argument.
+       (frv_address_forbidden): Removed.
+       * cache.c (non_cache_access): Correct address ranges. Now takes cache
+       as first argument.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2001-08-20  Dave Brolley  <brolley@redhat.com>
+
+       * sim-main.h (_sim_cpu): New field 'elf_flags'.
+       * sim-if.c (sim_open): Extract the elf_flags from the input file and
+       save them with each cpu.
+       * mloop.in (main loop): Pass elf flags to frv_vliw_reset.  Set
+       last_insn_p before executing the insn.
+       * cache.c (frv_cache_invalidate): Flush scache if this is the cpu's
+       insn cache.
+       (frv_cache_invalidate_all): Ditto.
+
+2001-08-20  Richard Sandiford  <rsandifo@redhat.com>
+
+       * traps.c (syscall_read_mem): Flush the data cache before reading.
+       (syscall_write_mem): Flush the data cache before writing.
+       Invalidate both caches.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+
+2001-05-23  Dave Brolley  <brolley@redhat.com>
+
+       * profile-fr400.c (acc_use_is_media_p2): New function.
+       (frvbf_model_fr400_u_media_2): Account for latency of output
+       accumulators.
+       (frvbf_model_fr400_u_media_2_quad): Ditto.
+       (frvbf_model_fr400_u_media_2_acc): New function.
+       (frvbf_model_fr400_u_media_2_acc_dual): New function.
+       (frvbf_model_fr400_u_media_2_add_sub): New function.
+       (frvbf_model_fr400_u_media_2_add_sub_dual): New function.
+       (frvbf_model_fr400_u_media_3_dual): New function.
+       (frvbf_model_fr400_u_media_4_acc_dual): New function.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2001-05-15  Dave Brolley  <brolley@redhat.com>
+
+       * registers.c (fr400_spr): Enable write access to HSR0.CBM.
+       * profile.h (FRV_PROFILE_STATE): New field 'all_cache_entries'.
+       * profile.c (CACHE_QUEUE_ELEMENT): New 'all' field.
+       (request_cache_flush): Save 'all' argument.
+       (request_cache_invalidate): Save all_cache_entries from profile state
+       to 'all' field of the request.
+       (submit_cache_request): Pass the 'all' field of the request to
+       frv_cache_request_invalidate.
+       * frv.c (frv_insn_cache_invalidate): Add new 'all' parameter. Perform
+       operation even if HSR0.ICE is not set.
+       (frv_data_cache_invalidate): Add new 'all' parameter. Perform
+       operation even if HSR0.DCE is not set.
+       (frv_data_cache_flush): Ditto.
+       * frv-sim.h (frv_insn_cache_invalidate): Add new 'all' parameter.
+       (frv_data_cache_invalidate): Add new 'all' parameter.
+       (frv_data_cache_flush): Add new 'all' parameter.
+       * cache.h (FRV_CACHE_INVALIDATE_REQUEST): Add new 'all' field.
+       (frv_cache_request_invalidate): Add new 'all' parameter.
+       * cache.c (frv_cache_request_invalidate): Add new 'all' parameter. Save
+       its value in the invalidate request.
+       (address_interference): Accept the value '-1' for the address argument
+       to mean 'any address'.
+       (handle_req_invalidate): Handle request to invalidate all cache lines.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2001-05-14  Dave Brolley  <brolley@redhat.com>
+
+       * profile.h (past_first_p): New field of profiling state.
+       (branch_penalty): Ditto.
+       (branch_hint): Ditto.
+       (update_branch_penalty): New function.
+       * profile.c (frvbf_model_insn_after): Reset past_first_p and
+       branch_address fields of the profiling state.
+       (frvbf_model_branch): New function.
+       (update_branch_penalty): New function.
+       * profile-fr500.c (frvbf_model_fr500_u_branch): Remove ICCi_3 and
+       FCCi_3 inputs.
+       (frvbf_model_fr500_u_trap): New function.
+       (frvbf_model_fr500_u_check): New function.
+       (frvbf_model_fr500_u_media_dual_htob): post-processing latency is 3
+       cycles.
+       * profile-fr400.c (frvbf_model_fr400_u_branch): Set branch penalties
+       as documented in the fr400 LSI. Remove ICCi_3 and FCCi_3 inputs.
+       (frvbf_model_fr400_u_media_dual_expand): Check resource usage as
+       documented in teh fr400 LSI.
+       (frvbf_model_fr400_u_media_dual_htob): Ditto.
+       (frvbf_model_fr400_u_media_dual_unpack): Removed.
+       (frvbf_model_fr500_u_trap): New function.
+       (frvbf_model_fr500_u_check): New function.
+       * mloop.in (simulate_dual_insn_prefetch): New function.
+       (@cpu@_simulate_insn_prefetch): Call simulate_dual_insn_prefetch with
+       arguments for each machine type.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2001-05-09  Dave Brolley  <brolley@redhat.com>
+
+       * Makefile.in (profile.o): Add profile-fr400.h as a dependency.
+       (profile-fr400.o): New target.
+       * profile.c: New file.
+       * profile.h: New file.
+       * profile-fr400.c: New file.
+       * profile-fr400.h: New file.
+       * profile-fr500.c: New file.
+       * profile-fr500.h: New file.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2001-05-02  Dave Brolley  <brolley@redhat.com>
+
+       * sim-main.h (profile.h): #include it.
+       (CPU_PROFILE_STATE): New macro.
+       (profile_state): New frv specific cpu field.
+       * reset.c (frv_initialize): insn_fetch_address and branch_address now
+       part of global profiling state.
+       * Makefile.in (SIM_OBJS): Add profile.o and profile-fr500.o.
+       (SIM_EXTRA_DEPS): Add profile.h.
+       (registers.o): Correct name of source file.
+       (profile.o): New target.
+       (profile-fr500.o): New target.
+       * frv-sim.h: Move profile related data structures to profile.h.
+       * frv.c: Move fr500 specific functions to profile-fr500.c.
+       * cpu.h: Regenerated.
+
+2001-04-27  Dave Brolley  <brolley@redhat.com>
+
+       * sim-main.h (CPU_PIPELINE): Renamed to CPU_VLIW.
+       * interrupts.c: Rename FRV_PIPELINE to FRV_VLIW.
+       Rename pipeline to vliw. Rename CPU_PIPELINE to CPU_VLIW.
+       Rename PIPE_* to UNIT_*.
+       (frv_queue_illegal_instruction_interrupt): Use
+       frv_is_float_insn and frv_is_media_insn.
+       (frv_queue_non_implemented_instruction_interrupt): Ditto.
+       (frv_detect_insn_access_interrupts): Ditto.
+       * frv.c: Rename FRV_PIPELINE to FRV_VLIW. Rename pipeline to vliw.
+       Rename CPU_PIPELINE to CPU_VLIW. Rename PIPE_* to UNIT_*.
+       * memory.c: Ditto.
+       * pipeline.c: Ditto.
+       * mloop.in: Ditto.
+       * frv-sim.h (frv_pipeline_setup_insn): Renamed to frv_vliw_setup_insn.
+       * cache.c: Rename PIPE_* to UNIT_*.
+
+2001-04-24  Dave Brolley  <brolley@redhat.com>
+
+       * frv.c (frvbf_load_quad_GR): Delete have_data and hsr0.
+       (frvbf_load_quad_FRint): Ditto.
+       (frvbf_load_quad_CPR): Ditto.
+       * cache.c (frv_cache_init): Initialize cache for fr400 vs other
+       machines.
+       (bfd.h): #include it.
+       (non_cache_access): Update for revised fr500 and for fr400.
+       * registers.c (frv_spr): Don't reset PSR.PS.
+       (fr500_spr): Ditto.
+       (frv_reset_spr): Set PSR.PS to the former value of PSR.S.
+
+2001-04-23  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_core_signal): On fr400, generate data_access_error.
+       (frvbf_media_cr_not_aligned): On fr400, generate illegal_instruction.
+       (frvbf_media_acc_not_aligned): Ditto.
+       (frvbf_media_register_not_aligned): Ditto.
+       (frvbf_division_exception): Use GET_ISR_EDE.
+       * registers.c (frv_check_spr_read_access): New function.
+       (frv_check_spr_write_access): New function.
+       (frv_check_spr_access): Deleted.
+       (frv_check_register_access): On fr400, generate illegal_instruction.
+       * memory.c (fr400_check_data_read_address): New function.
+       (fr500_check_data_read_address): Ditto.
+       (check_data_read_address): Ditto.
+       (fr400_check_insn_read_address): Ditto.
+       (fr500_check_insn_read_address): Ditto.
+       (check_insn_read_address): Ditto.
+       (frvbf_read_mem_QI): Call check_data_read_access.
+       (frvbf_read_mem_UQI): Ditto.
+       (frvbf_read_mem_HI): Ditto.
+       (frvbf_read_mem_UHI): Ditto.
+       (frvbf_read_mem_SI): Ditto.
+       (frvbf_read_mem_DI): Ditto.
+       (frvbf_read_mem_DF): Ditto.
+       (frvbf_read_imem_USI): Call check_insn_read_access.
+       (frv_address_forbidden): Now takes cpu as first argument. Check based
+       on machine type.
+       (fr400_mem_address_unaligned): New function.
+       (fr500_mem_address_unaligned): Ditto.
+       (check_write_address): Ditto.
+       (frvbf_mem_set_QI): Call check_write_address.
+       (frvbf_mem_set_HI): Ditto.
+       (frvbf_mem_set_SI): Ditto.
+       (frvbf_mem_set_DI): Ditto.
+       (frvbf_mem_set_DF): Ditto.
+       (frvbf_mem_set_XI): Ditto.
+       * interrupts.c (bfd.h): #include it.
+       (frv_queue_data_access_error_interrupt): New function.
+       (frv_queue_instruction_access_error_interrupt): New function.
+       (frv_queue_instruction_access_exception_interrupt): New function.
+       (frv_queue_illegal_instruction_interrupt): No fp_exception on fr400.
+       (frv_queue_non_implemented_instruction_interrupt): Ditto.
+       (frv_detect_insn_access_interrupts): Reorder tests to match priority
+       from the LSI manual.
+       (set_isr_exception_fields): Accumulate dtt bits.
+       * frv.c (check_register_alignment): New function.
+       (check_fr_register_alignment): New function.
+       (check_memory_alignment): New function.
+       (frvbf_h_gr_double_get_handler): Call check_register_alignment.
+       (frvbf_h_gr_double_set_handler): Ditto.
+       (frvbf_h_cpr_double_get_handler): Ditto.
+       (frvbf_h_cpr_double_set_handler): Ditto.
+       (frvbf_h_gr_quad_set_handler): Ditto.
+       (frvbf_h_cpr_quad_set_handler): Ditto.
+       (frvbf_h_fr_double_get_handler): Call check_fr_register_alignment.
+       (frvbf_h_fr_double_set_handler): Ditto.
+       (frvbf_h_fr_quad_set_handler): Ditto.
+       (frvbf_h_spr_get_handler): Call frv_check_spr_read_access.
+       (frvbf_h_spr_set_handler): Call frv_check_spr_write_access.
+       (frvbf_load_quad_GR): Call check_memory_aligment.
+       (frvbf_load_quad_FRint): Ditto.
+       (frvbf_load_quad_CPR): Ditto.
+       (frvbf_store_quad_GR): Call check_memory_aligment and
+       check_register_alignment.
+       (frvbf_store_quad_FRint): Ditto.
+       (frvbf_store_quad_CPR): Ditto.
+       (frvbf_signed_integer_divide: Use GET_ISR_EDEM.
+       * frv-sim.h (H_SPR_ACC0): New macro.
+       (H_SPR_ACC63): New macro.
+       (H_SPR_ACCG0): New macro.
+       (H_SPR_ACCG63): New macro.
+       (frv_dtt): New enumerator.
+       (GET_ISR_EDE): Renamed from GET_ISR_EDEM.
+       (GET_ISR_DTT): New macro.
+       (frv_queue_data_access_error_interrupt): New function.
+       (frv_queue_instruction_access_error_interrupt): New function.
+       (frv_queue_instruction_access_exception_interrupt): New function.
+       (frv_address_forbidden): Now takes cpu as first argument.
+       * cpu.h: Regenerate.
+
+2001-04-10  Dave Brolley  <brolley@redhat.com>
+
+       * registers.c (fr500_spr): Add new fields to fr500 PSR register.
+       (fr500_spr): Add STBAR and MMCR unimplemented registers for fr500.
+       (fr400_spr): Implement SPR registers for fr400.
+       (frv_register_control_init): Handle bfd_mach_fr400 properly.
+       * frv.c (spr_bpsr_get_handler): Mask field before shifting.
+       (spr_psr_get_handler): Ditto.
+       (spr_ccr_get_handler): Ditto.
+       (spr_cccr_get_handler): Ditto.
+       (frvbf_clear_accumulators): Only 4 accumulators on fr400.
+       * frv-sim.h: Update comment about MCCR_* macros.
+       * cpu.c,cpu.h: Regenerate.
+
+2001-04-05  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h,decode.c,model.c,sem.c: Regenerate.
+
+2001-04-05  Dave Brolley  <brolley@redhat.com>
+
+       * reset.c: Update copyright.
+       * registers.c (frv_register_control_init): Handle bfd_mach_fr400.
+       * frv.c (frvbf_model_fr400_u_exec): New function.
+       * Makefile.in (stamp-cpu): Add fr400 to list of machines.
+       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
+       Regenerate.
+
+2000-11-22  Dave Brolley  <brolley@redhat.com>
+
+       * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
+       Regenerate.
+
+2000-11-10  Dave Brolley  <brolley@redhat.com>
+
+       * decode.c: Regenerate.
+
+2000-09-12  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_sim_engine_halt_hook): New function.
+       (frv_itrap): Caches now invalidated in sim_engine_halt via
+       SIM_ENGINE_HALT_HOOK.
+       (frv_break): Ditto.
+       * sim-main.h (frv_sim_engine_halt_hook): New function.
+       (SIM_ENGINE_HALT_HOOK): New macro.
+       (SIM_ENGINE_RESTART_HOOK): New macro.
+       * interrupts.c: Call to frv_term now done within sim_engine_halt via
+       SIM_ENGINE_HALT_HOOK.
+
+2000-09-08  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_itrap): Invalidate and flush the data and insn caches
+       respectively when stopping for a breakpoint.
+       (frv_break): Ditto.
+       * cache.h (frv_cache_invalidate_all): New function.
+       * cache.c (frv_cache_invalidate_all): New function.
+
+2000-09-05  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_break): If SIM_HAVE_BREAKPOINTS, call
+       sim_handle_breakpoint. Otherwise if environment != operating call
+       sim_engine_halt. Otherwise handle normally.
+       * interrupts.c (frv_queue_break_interrupt): Don't handle debugger
+       breakpoints here. Moved to frv_break in traps.c.
+
+       * sem.c: Regenerate.
+
+2000-09-01  Dave Brolley  <brolley@redhat.com>
+
+       * interrupts.c (frv_queue_break_interrupt): Call sim_handle_breakpoint
+       before queuing an interrupt in order to allow 'break' to be used as
+       the breakpoint insn.
+
+2000-08-29  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_itrap): Invalidate the insn cache at a breakpoint.
+
+2000-07-27  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h,decode.c: Rebuild.
+
+2000-07-26  Dave Brolley  <brolley@redhat.com>
+
+       * frv.c (spr_cccr_get_handler): Change CRx to CCx.
+       (spr_cccr_set_handler): Change CRx to CCx.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+2000-07-24  Dave Brolley  <brolley@redhat.com>
+
+       * sem.c: Regenerate.
+       * frv.c (frvbf_unsigned_integer_divide): Queue a write for the result.
+       Don't write it directly.
+
+Thu Jul  6 13:51:12 2000  Dave Brolley  <brolley@topaz>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-07-05  Ben Elliston  <bje@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-06-28  Dave Brolley  <brolley@redhat.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+2000-06-21  Dave Brolley  <brolley@redhat.com>
+
+       * pipeline.c: All code except frv_pipeline_setup_insn moved to
+       frv.opc.
+       * mloop.in (main loop): frv_pipeline_add_insn broken up into
+       frv_pipeline_add_insn and frv_pipeline_setup_insn.
+       * frv-sim.h: Move pipeline status code to frv.opc.
+       * model.c: Regenerate.
+
+2000-06-12  Dave Brolley  <brolley@redhat.com>
+
+       * options.c (frv_option_handler): --profile-parallel implies
+       --profile-model.
+       * mloop.in (fetch_buffer): Removed.
+       (@cpu@_simulate_insn_prefetch): Monitoring of fetch buffer moved to
+       run_caches.  Use cache directly if not counting cycles.  Don't use
+       cache at all if not counting cycles and cache not enabled.
+       * frv.c (frv_insn_fetch_buffer): New global variable.
+       (run_caches): Monitor the status of insn prefetch requests.
+       * frv-sim.h (FRV_INSN_FETCH_BUFFER): New struct type.
+       (frv_insn_fetch_buffer): New global variable.
+
+2000-06-12  Dave Brolley  <brolley@redhat.com>
+
+       * mloop.in (fetch_buffer): New static struct.
+       (@cpu@_simulate_insn_prefetch): Rewritten.
+       * cache.c (frv_cache_request_invalidate): Don't invalidate return
+       buffer.
+       (address_interference): Defer to any WAR request in either pipeline.
+
+2000-06-09  Dave Brolley  <brolley@redhat.com>
+
+       * pipeline.c (insns_in_slot): New Array.
+       (frv_pipeline_add_insn): Call COUNT_INSNS_IN_SLOT.
+       * options.c (frv_options): Remove 'NONBLOCK' argument from data-cache
+       option.
+       (parse_cache_option): New function.
+       (frv_option_handler): Call parse_cache_option.
+       * frv.c (vliw_branch_taken): New variable.
+       (vliw_load_stall): New variable.
+       (handle_resource_wait): Update vliw_load_stall.
+       (frvbf_model_insn_before): Initialize vliw_branch_taken and
+       vliw_load_stall.
+       (frvbf_model_insn_after): Increment PROFILE_MODEL_LOAD_STALL_CYCLES.
+       (load_wait_for_FR): Update vliw_load_stall.
+       (load_wait_for_GR): Update vliw_load_stall.
+       (load_wait_for_FRdouble): Update vliw_load_stall.
+       (load_wait_for_GRdouble): Update vliw_load_stall.
+       (frvbf_model_fr500_u_branch): Count branches taken and not taken.
+       (slot_names): New static array.
+       (print_parallel): Now takes second argument 'verbose'. Print cycles per
+       VLIW insn and instructions per cycle. Also tabulate the number of insns
+       in each type of VLIW slot.
+       (frv_profile_info): Call print_parallel with new second argument.
+       * frv-sim.h (insn_in_slot): New array.
+       (COUNT_INSNS_IN_SLOT): New macro.
+       (INSNS_IN_SLOT): New macro.
+       * cache.c: Remove references to non_blocking_count. Remove references to
+       last_was_hit. Remove references to req_none.
+       (handle_req_store): Adjust statistics before requeuing the store
+       request.
+       (handle_req_WAR): Don't let the WAR request affect the cache statistics.
+       * cache.h: Remove references to non_blocking_count. Remove references to
+       last_was_hit. Remove references to req_none.
+       * model.c: Regenerate.
+
+2000-06-08  Dave Brolley  <brolley@redhat.com>
+
+       * frv.c (request_complete): Copy load data from the correct return
+       buffer.
+
+2000-06-07  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_core_signal): Call frv_term before exiting.
+       (frv_itrap): Call frv_term before exiting.
+       (next_available_nesr): Make sure NECR is implemented before reading it.
+       (next_valid_nesr): Ditto.
+       (frvbf_check_non_excepting_load): Ditto.
+       (frvbf_clear_ne_flags): Ditto.
+       (frvbf_commit): Ditto.
+       (frvbf_check_recovering_store): Delay cache operation if 'model_insn'.
+       * sim-main.h (_sim_cpu): Add load_address, load_length, load_flag and
+       store_flag members.
+       (CPU_LOAD_ADDRESS): New macro.
+       (CPU_LOAD_LENGTH): New macro.
+       (CPU_LOAD_SIGNED): New macro.
+       (CPU_LOAD_LOCK): New macro.
+       * reset.c (frv_term): New function.
+       (frv_power_on_reset): Use SETMEMSI if the cache is not enabled.
+       (frv_hardware_reset): Use SETMEMSI if the cache is not enabled.
+       (frv_software_reset): Use SETMEMSI if the cache is not enabled.
+       * mloop.in (execute): Call FRV_COUNT_CYCLES to decide whether to model
+       the insn. Model the insn in two passes. One before and one after
+       execution.
+       (cache_reqno): new static variable.
+       (@cpu@_simulate_insn_prefetch): Model fetch latency by waiting for the
+       cache rather than assuming a fixed latency.
+       (xinit): Turn on PROFILE_MODEL_P before each vliw insn if the timer is
+       enabled so that modeling data is collected by cgen during execution.
+       (full-exec): Restore PROFILE_MODEL_P after each vliw insn.
+       * memory.c (data_non_cache_access): Removed.
+       (insn_non_cache_access): Removed.
+       (frvbf_read_mem_QI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_UQI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_HI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_UHI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_SI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_DI): Delay read operation if 'model_insn'.
+       (frvbf_read_mem_DF): Delay read operation if 'model_insn'.
+       (frvbf_read_imem_USI): Read the cache or ememory passively.
+       (frvbf_write_mem_QI): Don't check for non-cache access here.
+       (frvbf_write_mem_UQI): Call frvbf_write_mem_QI.
+       (frvbf_write_mem_HI): Don't check for non-cache access here.
+       (frvbf_write_mem_UHI): Call frvbf_write_mem_QI.
+       (frvbf_write_mem_SI): Don't check for non-cache access here.
+       (frvbf_write_mem_DI): Don't check for non-cache access here.
+       (frvbf_write_mem_DF): Don't check for non-cache access here.
+       (frvbf_mem_set_QI): Use cycle-accurate cache write if 'model_insn'.
+       (frvbf_mem_set_HI): Use cycle-accurate cache write if 'model_insn'.
+       (frvbf_mem_set_SI): Use cycle-accurate cache write if 'model_insn'.
+       (frvbf_mem_set_DI): Use cycle-accurate cache write if 'model_insn'.
+       (frvbf_mem_set_DF): Use cycle-accurate cache write if 'model_insn'.
+       (frvbf_mem_set_XI): Use cycle-accurate cache write if 'model_insn'.
+       * interrupts.c (check_reset): Read the cache and memory passively.
+       (frv_program_or_software_interrupt): Call frv_term before calling
+       sim_engine_halt.
+       * frv.c (all modeling functions): Break into two passes. One before
+       execuetion and one after. call load_wait_for_* for all GR and FR
+       registers.
+       (frvbf_load_quad_GR): Delay performing the load if 'model_insn'.
+       (frvbf_load_quad_FRint): Delay performing the load if 'model_insn'.
+       (frvbf_load_quad_CPR): Delay performing the load if 'model_insn'.
+       (frvbf_insn_cache_preload): Delay cache operation if 'model_insn'.
+       (frvbf_data_cache_preload): Delay cache operation if 'model_insn'.
+       (frvbf_insn_cache_unlock): Delay cache operation if 'model_insn'.
+       (frvbf_data_cache_unlock): Delay cache operation if 'model_insn'.
+       (frvbf_insn_cache_invalidate): Delay cache operation if 'model_insn'.
+       (frvbf_data_cache_invalidate): Delay cache operation if 'model_insn'.
+       (frvbf_data_cache_flush): Delay cache operation if 'model_insn'.
+       (model_insn): New global variable.
+       (fr_ptime): New array.
+       (cache_request): New enumeration.
+       (CACHE_QUEUE_ELEMENT): New struct type.
+       (CACHE_QUEUE_SIZE): New macro.
+       (cache_queue): New static struct.
+       (request_cache_load): New function.
+       (request_cache_flush): New function.
+       (request_cache_invalidate): New function.
+       (request_cache_preload): New function.
+       (request_cache_unlock): New function.
+       (submit_cache_request): New function.
+       (activate_cache_requests): New function.
+       (load_pending_for_register): New function.
+       (flush_pending_for_address): New function.
+       (remove_cache_queue_element): New function.
+       (copy_load_data): New function.
+       (request_complete): New function.
+       (run_caches): New function.
+       (frv_model_trace_wait_cycles): New function.
+       (wait_for_flush): New function.
+       (frvbf_model_insn_before): Insn prefect wait now modeled in
+       frvbf_simulate_insn_prefetch. Incremement vliw_insns here. Call
+       wait_for_flush.
+       (frvbf_model_insn_after): Call activate_cache_requests. Don't increment
+       vliw_insns here anymore.
+       (update_FR_latency_for_load): New function.
+       (update_FRdouble_latency_for_load): New function.
+       (update_FR_ptime): New function.
+       (update_FRdouble_ptime): New function.
+       (update_GR_latency_for_swap): New function.
+       (load_wait_for_GR): New function.
+       (load_wait_for_FR): New function.
+       (load_wait_for_GRdouble): New function.
+       (load_wait_for_FRdouble): New function.
+       (frvbf_model_fr500_u_ici): New function.
+       (frvbf_model_fr500_u_dci): New function.
+       (frvbf_model_fr500_u_dcf): New function.
+       (frvbf_model_fr500_u_icpl): New function.
+       (frvbf_model_fr500_u_dcpl): New function.
+       (frvbf_model_fr500_u_icul): New function.
+       (frvbf_model_fr500_u_dcul): New function.
+       * frv-sim.h (frv_term): New function.
+       (insn_non_cache_access): Removed.
+       (FRV_COUNT_CYCLES): New macro.
+       (frv_save_peofile_model_p): New global variable.
+       (model_insn): New enumerated global variable.
+       (frv_model_advance_cycles): New function.
+       (frv_model_trace_wait_cycles): New function.
+       * cache.h (FRV_CACHE_REQUEST_KIND): New enumeration.
+       (FRV_CACHE_WAR_REQUEST): New struct type.
+       (FRV_CACHE_STORE_REQUEST): New struct type.
+       (FRV_CACHE_INVALIDATE_REQUEST): New struct type.
+       (FRV_CACHE_PRELOAD_REQUEST): New struct type.
+       (FRV_CACHE_REQUEST): New struct type.
+       (FRV_CACHE_RETURN_BUFFER): New struct type.
+       (FRV_CACHE_FLUSH_STATUS): New struct type.
+       (FRV_CACHE_STATUS): New struct type.
+       (FRV_CACHE_STAGE): New struct type.
+       (FRV_CACHE_STAGES): New enumeration.
+       (FRV_CACHE_WAR): New struct type.
+       (FRV_CACHE_PIPELINE): New struct type.
+       (FRV_CACHE_ARS): New struct type.
+       (FRV_CACHE_STATISTICS): New struct type.
+       (FRV_CACHE): Add pipeline, statistics, BARS and NARS.
+       (CACHE_RETURN_DATA): 'return_buffer' is now within 'status'.
+       (CACHE_RETURN_DATA_ADDRESS): New macro.
+       (frv_cache_read): Now takes pipe index as second argument.
+       (frv_cache_enabled): New function.
+       (frv_cache_request_load): New function.
+       (frv_cache_request_store): New function.
+       (frv_cache_request_invalidate): New function.
+       (frv_cache_request_preload): New function.
+       (frv_cache_request_unlock): New function.
+       (frv_cache_run): New function.
+       (frv_cache_read_passive_SI): New function.
+       (frv_cache_data_in_buffer): New function.
+       (frv_cache_data_flushed): New function.
+       * cache.c (frv_cache_init): Initialize pipelines and xARS registers.
+       (frv_cache_enabled): New function.
+       (non_cache_access): New function.
+       (write_data_to_memory): Count write accesses for each mode. Write to
+       memory using sim_core_write_unaligned_1;
+       (read_data_from_memory): New function.
+       (fill_line_from_memory): Use read_data_from_memory.
+       (copy_line_to_return_buffer): New function.
+       (copy_memory_to_return_buffer): New function.
+       (set_return_buffer_reqno): New function.
+       (frv_cache_read): Now takes pipe index as second argument. Check for
+       non-cache access.
+       (frv_cache_preload): Check for non-cache access.
+       (frv_cache_unlock): Check for non-cache access.
+       (invalidate_return_buffer): New function.
+       (frv_cache_invalidate): Check for non-cache access.
+       (convert_slot_to_index): New function.
+       (FREE_CHAIN_SIZE): New macro.
+       (frv_cache_request_free_chain): New static variable.
+       (frv_store_request_free_chain): New static variable.
+       (allocate_new_cache_requests): New function.
+       (new_cache_request): New function.
+       (free_cache_request): New function.
+       (new_store_request): New function.
+       (pipeline_remove_request): New function.
+       (pipeline_add_request): New function.
+       (pipeline_requeue_request): New function.
+       (next_priority): New function.
+       (add_WAR_request): New function.
+       (pipeline_next_request): New function.
+       (pipeline_stage_request): New function.
+       (advance_pipelines): New function.
+       (frv_cache_request_load): New function.
+       (frv_cache_request_store): New function.
+       (frv_cache_request_invalidate): New function.
+       (frv_cache_request_preload): New function.
+       (frv_cache_request_unlock): New function.
+       (address_interference): New function.
+       (wait_for_WAR): New function.
+       (wait_in_WAR): New function.
+       (handle_req_load): New function.
+       (handle_req_preload): New function.
+       (handle_req_store): New function.
+       (handle_req_invalidate): New function.
+       (handle_req_unlock): New function.
+       (handle_req_WAR): New function.
+       (arbitrate_requests): New function.
+       (move_ARS_to_WAR): New function.
+       (decrease_latencies): New function.
+       (frv_cache_run): New function.
+       (frv_cache_read_passive_SI): New function.
+       (frv_cache_data_in_buffer): New function.
+       (frv_cache_data_flushed): New function.
+       * arch.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+Wed May 24 14:40:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-05-19  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_rett): Check for exceptions in the order specified in the
+       architecture spec. Allow privileged_instruction interrrupt to be handled
+       normally.
+       * registers.c (frv_register_control_init): Handle bfd_mach_frvtomcat.
+       * frv.c (frvbf_signed_integer_divide): Use updated dtt to decide whether
+       to clear the NE flag.
+       (frvbf_model_tomcat_u_exec): New function.
+       * frv-sim.h (frvbf_division_exception): Now returns updated dtt.
+       * Makefile.in (stamp-cpu): Add 'tomcat' to 'mach' value.
+       * arch.c,arch.h,cpu.h,cpuall.h,model.h,decode.c,sem.c: Regenerate.
+
+2000-05-18  Dave Brolley  <brolley@redhat.com>
+
+       * sim-if.c (elf-bfd.h): #include it.
+       (sim_open): Set machine amd architecture based on elf flags.
+
+2000-04-04  Dave Brolley  <brolley@redhat.com>
+
+       * frv-sim.h (frv_h_psr_esr_set_handler): Removed.
+       Delete '#if 0' blocks.
+       * frv.c: Delete '#if 0' blocks.
+       (spr_psr_set_handler): Remove special handling for circular referencing of handlers for
+       PSR.S and PSR.ESR.
+       (frv_h_psr_esr_set_handler): Removed.
+       * interrupts.c: Delete '#if 0' blocks.
+       * memory.c: Delete '#if 0' blocks.
+       * cpu.c,cpu.h: Regenerate.
+
+2000-04-03  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frvbf_check_recovering_store): Invalidate data cache line
+       containing the target address.
+       (clear_nesr_neear): No longer takes hi_available and lo_available.
+       Remove bogus check for available GR registers.
+       (frvbf_clear_ne_flags): Update call to clear_nesr_neear.
+       (frvbf_commit): Update call to clear_nesr_neear.
+       * interrupts.c (next_available_esr): Removed.
+       (next_available_edr): Removed.
+       (next_available_fq): Removed.
+       * frv.c (frvbf_fetch_register): Remove "FIXME" comment.
+       (frvbf_store_register): Remove "FIXME" comment.
+       * frv-sim.h (UART_INCHAR_ADDR): Removed.
+       (UART_OUTCHAR_ADDR):  Removed.
+       (UART_STATUS_ADDR):  Removed.
+       (UART_INPUT_READY):  Removed.
+       (UART_OUTPUT_READY):  Removed.
+       (FRV_DEVICE_ADDR):  Removed.
+       (FRV_DEVICE_LEN):  Removed.
+       (SET_NESR): Call frvbf_force_update.
+       (SET_NEEAR): Call frvbf_force_update.
+       (SET_NE_FLAGS): Call frvbf_force_update.
+
+2000-03-30  Dave Brolley  <brolley@redhat.com>
+
+       * configure: Regenerated.
+
+2000-03-30  Dave Brolley  <brolley@redhat.com>
+
+       * registers.c (fr500_spr): Define ESR14-15 and EPCSR14-15 for fr500.
+       * memory.c (frvbf_write_mem_*): Save slot containing the insn
+       performing the write.
+       (frvbf_mem_set_*): Overwrite the slot information of the interrupt
+       queue element with the information in the interrupt state.
+       * interrupts.c (frv_queue_interrupt): Call frv_set_interrupt_queue_slot.
+       (frv_queue_fp_exception_interrupt): Initialize 'new_element'.
+       (frv_set_interrupt_queue_slot): New function.
+       (esr_for_data_access_exception): New function.
+       (set_edr_register): edr_index is now passed in.
+       (fq_for_exception): New function.
+       (set_fp_exception_registers): Call fq_for_exception. Interrupt queue
+       element now passed in.
+       (set_exception_status_registers): Obtain slot from interrupt queue
+       element. Call esr_for_data_access_exception. Use ESR14
+       for data_store_error. Use ESR15 for data_access_error. Use EDR0.
+       (frv_save_data_written_for_interrupts): Save slot containing the insn
+       performing the write.
+       * frv-sim.h (struct frv_fp_exception_info): Use frv_fsr_traps and
+       frv_fsr_ftt.
+       (struct frv_interrupt_state): Add 'slot' field.
+       (frv_set_interrupt_queue_slot): New function.
+       (frv_set_write_queue_slot): New function.
+
+2000-03-24  Dave Brolley  <brolley@redhat.com>
+
+       * mloop.in (_parallel_write_init): Initialize
+       frv_interrupt_state.imprecise_interrupt.
+       (_parallel_write_queued): After an imprecise interrupt, only perform
+       forced writes and floating point writes (for certain exceptions).
+       * interrupts.c (handle_interrupt): Set
+       frv_interrupt_state.imprecise_interrupt for writeback after an imprecise
+       interrupt.
+       (frv_process_interrupts): No need to clear f_ne_flags.
+       * frv.c (frvbf_signed_integer_divide): Queue writes to GR registers and
+       force them to happen even if there is an overflow exception.
+       (frvbf_force_update): New function.
+       * frv-sim.h (frvbf_force_update): New function.
+       (struct frv_interrupt_state): Add imprecise_interrupt.
+       (FRV_WRITE_QUEUE_FORCE_WRITE): New macro.
+       * sem.c: Regenerate.
+
+2000-03-23  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_rett): Queue FRV_ILLEGAL_INSTRUCTION directly.
+       * registers.c (frv_spr): MCIRL -> MCILR.
+       * interrupts.c (frv_queue_non_implemented_instruction_interrupt):
+       New function.
+       (frv_detect_insn_access_interrupts):
+       Call frv_queue_non_implemented_instruction_interrupt.
+       (frv_process_interrupts): Clear accumulated NE flags.
+       * frv.c (frvbf_media_cop): New function.
+       (frvbf_set_ne_index): Now takes (SIM_CPU *) as first argument.  Clear
+       the NE flag of the given target register.
+       (frvbf_model_fr500_u_float_arith): Account for FRdouble registers.
+       (frvbf_model_fr500_u_float_dual_arith): Account for FRdouble registers.
+       (frvbf_model_fr500_u_float_dual_sqrt): New function.
+       (frvbf_model_fr500_u_float_convert): Account for FRdouble registers.
+       (frvbf_model_fr500_u_float_dual_convert): New function.
+       * frv-sim.h (frvbf_media_cop): New function.
+       (GET_FQ): Use H_SPR_FQST0.
+       (SET_FQ): Use H_SPR_FQST0.
+       (SET_FQ_OPC): Use J_SPR_FQOP0.
+       (GET_MSR_EMCI): New macro.
+       (frv_queue_non_implemented_instruction_interrupt): New function.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2000-03-08  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_rett): Align new_pc.
+       * memory.c (frvbf_read_mem_HI): Align address.
+       (frvbf_read_mem_UHI): Align address.
+       (frvbf_read_mem_SI): Align address.
+       (frvbf_read_mem_DI): Align address.
+       (frvbf_read_mem_DF): Align address.
+       (frvbf_read_imem_USI): Align address.
+       (frvbf_mem_set_HI): Align address.
+       (frvbf_mem_set_SI): Align address.
+       (frvbf_mem_set_DI): Align address.
+       (frvbf_mem_set_DF): Align address.
+       (frvbf_mem_set_XI): Align address.
+       * registers.c (frv_spr): Initialize FSR0.NS to 1.
+       (fr500_spr): Initialize FSR0.NS to 1.
+       * interrupts.c (frv_queue_mem_address_not_aligned_interrupt): Check
+       whether the exception is masked.
+       * frv.c (frvbf_load_quad_GR): Align address.
+       (frvbf_store_quad_GR): Align address.
+       (frvbf_load_quad_FRint): Align address.
+       (frvbf_store_quad_FRint): Align address.
+       (frvbf_load_quad_CPR): Align address.
+       (frvbf_store_quad_CPR): Align address.
+       * frv-sim.h (GET_ISR_EMAM): New macro.
+
+2000-03-08  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frvbf_division_exception): Check for masked overflow and
+       set NE flags, if necessary.
+       (frvbf_check_recovering_store): Queue writes to the hardware.
+       (check_registers_available): Removed.
+       (which_registers_available): Call frv_{fr,gr}_registers_available.
+       (frvbf_clear_ne_flags): Call check_register_access.
+       (frvbf_commit): Call check_register_access.
+       * registers.h (frv_fr_registers_available): New function.
+       (frv_gr_registers_available): New function.
+       (frv_check_register_access): New function.
+       (frv_check_gr_access): New function.
+       (frv_check_fr_access): New function.
+       * registers.c (frv_spr): Correct initial value of ISR.
+       (fr500_spr): Correct initial value of ISR.
+       (frv_fr_registers_available): New function.
+       (frv_gr_registers_available): New function.
+       (frv_check_register_access): New function.
+       (frv_check_gr_access): New function.
+       (frv_check_fr_access): New function.
+       * interrupts.c (frv_queue_division_exception_interrupt): New function.
+       (set_isr_exception_fields): New function.
+       (set_exception_status_registers): Set ISR fields for division exception.
+       (frv_save_data_written_for_interrupts): Handle CGEN_FN_SF_WRITE.
+       * frv.c (frvbf_h_gr_get_handler): New function.
+       (frvbf_h_gr_set_handler): New function.
+       (frvbf_h_fr_get_handler): New function.
+       (frvbf_h_fr_set_handler): New function.
+       (frvbf_h_spr_get_handler): Remove special handling for ISR.
+       (frvbf_h_spr_set_handler): Remove special handling for ISR.
+       (spr_isr_get_handler): Removed.
+       (spr_isr_set_handler): Removed.
+       (frvbf_signed_integer_divide): New funciton.
+       (frvbf_unsigned_integer_divide): New funciton.
+       * frv-sim.h (frvbf_h_gr_get_handler): New function.
+       (frvbf_h_gr_set_handler): New function.
+       (frvbf_h_fr_get_handler): New function.
+       (frvbf_h_fr_set_handler): New function.
+       (frvbf_signed_integer_divide): New funciton.
+       (frvbf_unsigned_integer_divide): New funciton.
+       (frv_dtt): New enumeration.
+       (struct frv_interrupt_queue_element): Add dtt member.
+       (GET_ISR): New macro.
+       (SET_ISR): New macro.
+       (GET_ISR_EDEM): New macro.
+       (SET_ISR_DTT): New macro.
+       (SET_ISR_AEXC): New macro.
+       (frvbf_division_exception): Add 2 'int' arguments.
+       (frvbf_check_non_excepting_divide): Removed.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2000-02-29  Dave Brolley  <brolley@redhat.com>
+
+       * traps.c (frv_itrap): Use GET_H_GR, SET_H_GR, GET_H_FR.
+       (frv_rett): Use hardware access macros. Write PSR as a whole.
+       (next_available_nesr): Check that NECR is valid.
+       (next_valid_nesr): Check that NECR is valid.
+       (frvbf_check_non_excepting_load): User new NECR access macros. Don't
+       call hardware access functions. Use cover macros.
+       (check_registers_available): New function.
+       (clear_nesr_near): Check register availability.
+       (clear_ne_flags): Check register availability.
+       (frvbf_clear_ne_flags): Check register availability.
+       (frvbf_commit): Check register availability.
+       (which_registers_available): New function.
+       * sim-main.h (registers.h): #include it.
+       (register_control): New cpu field.
+       (CPU_REGISTER_CONTROL): New macro.
+       * reset.c (frv_initialize): Set HSR0 fields for cache here.
+       (frv_power_on_reset): Initialize SPR registers and RSTR.
+       (frv_hardware_reset): Initialize SPR registers and RSTR.
+       (frv_software_reset): Reset SPR registers and RSTR.
+       * options.c (frv_option_handler): Don't set HSR0 fields for cache here.
+       Call frv_cache_init.
+       * mloop.in (main loop): Check for insn access interrupts before
+       executing the insn.
+       * interrupts.c (frv_queue_external_interrupt): Use GET_H_PSR_ET.
+       (frv_detect_insn_access_interrupts): Don't call hardware access
+       functions directly. Use cover macros.
+       (check_reset): Don't reset RSTR here.
+       (next_available_esr): ESFR -> ESFR_FLAG.
+       (next_available_edr): ESFR -> ESFR_FLAG.
+       (clear_exception_status_registers): Use GET_ESFR and SET_ESFR.
+       ESFR -> ESFR_FLAG.
+       (frv_break_interrupt): Don't call hardware access functions directly.
+       Use cover macros.
+       (frv_program_or_software_interrupt): Ditto.
+       (frv_external_interrupt): Ditto.
+       * frv.c (frvbf_fetch_register): Don't call 'get' functions directly.
+       (frvbf_store_register): Don't call 'set' functions directly.
+       (frvbf_h_gr_double_get_handler): Use GET_H_GR.
+       (frvbf_h_gr_double_set_handler): Use SET_H_GR.
+       (frvbf_h_fr_double_get_handler): Use GET_H_FR.
+       (frvbf_h_fr_double_set_handler): Use SET_H_FR.
+       (frvbf_h_fr_int_get_handler): Use GET_H_FR.
+       (frvbf_h_fr_int_set_handler): Use SET_H_FR.
+       (frvbf_h_cpr_double_get_handler): Use GET_H_CPR.
+       (frvbf_h_cpr_double_set_handler): Use SET_H_CPR.
+       (frvbf_h_gr_quad_set_handler): Use SET_H_GR.
+       (frvbf_h_fr_quad_set_handler): Use SET_H_FR.
+       (frvbf_h_spr_get_handler): Check SPR access. Call renamed functions.
+       Support shadow registers.
+       (frvbf_h_spr_set_handler): Check SPR access. Call renamed functions.
+       Support shadow registers.
+       (spr_psr_get_handler): Renamed from frvbf_h_psr_get_handler.
+       (spr_psr_set_handler): Renamed from frvbf_h_psr_set_handler.
+       (spr_tbr_get_handler): Renamed from frvbf_h_tbr_get_handler.
+       (spr_tbr_set_handler): Renamed from frvbf_h_tbr_set_handler.
+       (spr_bpsr_get_handler): Renamed from frvbf_h_bpsr_get_handler.
+       (spr_bpsr_set_handler): Renamed from frvbf_h_bpsr_set_handler.
+       (spr_ccr_get_handler): Renamed from frvbf_h_ccr_get_handler.
+       (spr_ccr_set_handler): Renamed from frvbf_h_ccr_set_handler.
+       (spr_lr_get_handler): Renamed from frvbf_h_lr_get_handler.
+       (spr_lr_set_handler): Renamed from frvbf_h_lr_set_handler.
+       (spr_cccr_get_handler): Renamed from frvbf_h_cccr_get_handler.
+       (spr_cccr_set_handler): Renamed from frvbf_h_cccr_set_handler.
+       (spr_isr_get_handler): Renamed from frvbf_h_isr_get_handler.
+       (spr_isr_set_handler): Renamed from frvbf_h_isr_set_handler.
+       (spr_sr_get_handler): Renamed from frvbf_h_sr_get_handler.
+       (spr_sr_set_handler): Renamed from frvbf_h_sr_set_handler.
+       (frvbf_h_psr_esr_set_handler): Update to conform to FRV architecture
+       version 1.3a.
+       (spr_ccr_get_handler): Don't reference the hardware directly.
+       (spr_ccr_set_handler): Don't reference the hardware directly.
+       (spr_cccr_get_handler): Don't reference the hardware directly.
+       (spr_cccr_set_handler): Don't reference the hardware directly.
+       (spr_sr_get_handler): New function.
+       (spr_sr_set_handler): New function.
+       (frvbf_switch_supervisor_user_context): Temporarily switch to
+       supervisor mode.
+       (frvbf_store_quad_GR): Don't call handler directly.
+       (frvbf_store_quad_FRint): Don't call handler directly.
+       (frvbf_store_quad_CPR): Don't call handler directly.
+       (frvbf_clear_all_accumulators): Removed.
+       (frvbf_clear_accumulators): New function.
+       (frvbf_model_fr500_u_media): Expand busy_adjustment to 8 members.
+       Account for in_ACCGi and out_ACCGk.
+       * frv-sim.h (RSTR_HARDWARE_RESET): New macro.
+       (RSTR_SOFTWARE_RESET): New macro.
+       (spr_psr_get_handler): Renamed from frvbf_h_psr_get_handler.
+       (spr_psr_set_handler): Renamed from frvbf_h_psr_set_handler.
+       (spr_tbr_get_handler): Renamed from frvbf_h_tbr_get_handler.
+       (spr_tbr_set_handler): Renamed from frvbf_h_tbr_set_handler.
+       (spr_bpsr_get_handler): Renamed from frvbf_h_bpsr_get_handler.
+       (spr_bpsr_set_handler): Renamed from frvbf_h_bpsr_set_handler.
+       (spr_ccr_get_handler): Renamed from frvbf_h_ccr_get_handler.
+       (spr_ccr_set_handler): Renamed from frvbf_h_ccr_set_handler.
+       (spr_lr_get_handler): Renamed from frvbf_h_lr_get_handler.
+       (spr_lr_set_handler): Renamed from frvbf_h_lr_set_handler.
+       (spr_cccr_get_handler): Renamed from frvbf_h_cccr_get_handler.
+       (spr_cccr_set_handler): Renamed from frvbf_h_cccr_set_handler.
+       (spr_isr_get_handler): Renamed from frvbf_h_isr_get_handler.
+       (spr_isr_set_handler): Renamed from frvbf_h_isr_set_handler.
+       (spr_sr_get_handler): Renamed from frvbf_h_sr_get_handler.
+       (spr_sr_set_handler): Renamed from frvbf_h_sr_set_handler.
+       (frvbf_clear_all_accumulators): Removed.
+       (frvbf_clear_accumulators): New function.
+       (GET_HSR0): Use GET_H_SPR.
+       (SET_HSR0): Use SET_H_SPR.
+       (CLEAR_HSR0_ICE): New macro.
+       (CLEAR_HSR0_DCE): New macro.
+       (GET_IHSR8): Use GET_H_SPR.
+       (GET_PSR): New macro.
+       (SET_PSR_ET): New macro.
+       (GET_PSR_PS): New macro.
+       (SET_PSR_S): New macro.
+       (GET_ESFR): Changed to reference entire register.
+       (SET_ESFR): Changed to reference entire register.
+       (GET_ESFR_FLAG): New macro.
+       (SET_ESFR_FLAG): New macro.
+       (NECR_ELOS): Removed.
+       (NECR_NEN): Removed.
+       (NECR_VALID): Removed.
+       (GET_NECR): New macro.
+       (GET_NECR_ELOS): New macro.
+       (GET_NECR_NEN): New macro.
+       (GET_NECR_VALID): New macro.
+       (NESR_RANGE): Removed.
+       (GET_NESR): Use GET_H_SPR.
+       (GET_NE_FLAGS): Use GET_H_SPR.
+       * cache.h (CACHE_INITIALIZED): New macro.
+       * Makefile.in (SIM_OBJS): Add registers.o.
+       (SIM_EXTRA_DEPS): Add registers.h.
+       (registers.o): New target.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+2000-02-17  Dave Brolley  <brolley@redhat.com>
+
+       * interrupts.c (frv_interrupt_table): Update priority order and handler
+       offsets to conform to the architecture version 1.3a.
+       * frv-sim.h (frv_interrupt_kind): Update priority order to conform
+       to the architecture version 1.3a.
+
+2000-02-17  Dave Brolley  <brolley@redhat.com>
+
+       * interrupts.c (frv_interrupt_table): Update priority order and handler
+       offsets to conform to the latest specifications.
+       (frv_queue_interrupt): Correct comment. Identical interrupts can be
+       queued. New variable 'iclass' used to test for external interrupts.
+       * frv-sim.h (frv_interrupt_kind): Update priority order to conform
+       to the latest specifications.
+
+2000-01-20  Dave Brolley  <brolley@redhat.com>
+
+       * sim-if.c (sim_open): Move frv-specific initialization to
+       frv_initialize in reset.c.
+       * interrupts.c (check_reset): Use RSTR_ADDRESS. Check and reset RSTR
+       status bits for hardware vs software reset.
+       * reset.c: New file.
+       * frv-sim.h (frv_initialize): New function.
+       (frv_power_on_reset): New function.
+       (frv_hardware_reset): New function.
+       (frv_software_reset): New function.
+       (RSTR_ADDRESS): New macro.
+       (RSTR_INITIAL_VALUE): New macro.
+       (GET_RSTR_HR): New macro.
+       (GET_RSTR_SR): New macro.
+       (SET_RSTR_H): New macro.
+       (SET_RSTR_S): New macro.
+       (CLEAR_RSTR_P): New macro.
+       (CLEAR_RSTR_H): New macro.
+       (CLEAR_RSTR_S): New macro.
+       (CLEAR_RSTR_HR): New macro.
+       (CLEAR_RSTR_SR): New macro.
+
+2000-01-03  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in (execute): Only call modeling function if the pointer is not
+       NULL.
+       * frv.c (frvbf_model_insn_after): Only access FR500_MODEL_DATA for
+       fr500.
+
+2000-01-03  Dave Brolley  <brolley@cygnus.com>
+
+       * options.c (OPTION_FRV_MEMORY_LATENCY): New enumerator.
+       (frv_options): Add --memory-latency.
+       (frv_option_handler): Handle FRV_OPTION_MEMORY_LATENCY.
+       * mloop.in (@cpu@_simulate_insn_prefetch): Use cache memory_latency.
+       * frv.c (SET_ACC_USE_IS_MEDIA_P1): operate on d->curr_acc_p1
+       (SET_ACC_USE_NOT_MEDIA_P1): operate on d->curr_acc_p1
+       (SET_ACC_USE_IS_MEDIA_P2): operate on d->curr_acc_p1
+       (SET_ACC_USE_NOT_MEDIA_P2): operate on d->curr_acc_p1
+       (update_latencies): Only clear usage flags if the register has no
+       target latency.
+       (frvbf_model_insn_before): Update cur_acc_p1 and cur_acc_p2. Use | (or)
+       not |= (or assgnment).
+       (frvbf_model_insn_after): Print post processing wait for all insns.
+       Update prev_acc_p1 and prev_acc_p2.
+       (frvbf_model_fr500_u_gr_load_store): Use cache memory_latency.
+       (frvbf_model_fr500_u_fr_load_store): Use cache memory_latency.
+       (frvbf_model_fr500_u_swap): Use cache memory_latency.
+       (frvbf_model_fr500_u_media): Use busy_adjustment[4] for out_ACC40Sk.
+       (frvbf_model_fr500_u_media): Use busy_adjustment[5] for out_ACC40Uk.
+       (frvbf_model_fr500_u_media_quad_arith): New function.
+       (frvbf_model_fr500_u_media_dual_mul): New function.
+       (frvbf_model_fr500_u_media_quad_mul): New function.
+       (frvbf_model_fr500_u_media_quad_complex): New function.
+       (frvbf_model_fr500_u_media_dual_expand): New function.
+       (frvbf_model_fr500_u_media_dual_unpack): New function.
+       (frvbf_model_fr500_u_media_dual_btoh): New function.
+       (frvbf_model_fr500_u_media_dual_htob): New function.
+       (frvbf_model_fr500_u_media_dual_btohe): New function.
+       (frv_ref_SI): New function.
+       * cache.h (FRV_CACHE): Add memory_latency field.
+       * cache.c (frv_cache_init): Initialize memory_latency.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-12-17  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-if.c (sim_open): Initialize insn prefetch and reset register.
+       * options.c (OPTIONS_FRV_PROFILE_CACHE): New enumeration.
+       (OPTIONS_FRV_PROFILE_PARALLEL): New enumeration.
+       (OPTIONS_FRV_TIMER): New enumeration.
+       (frv_options): Add --profile-cache, --profile-parallel, --timer.
+       (frv_option_handler): Override common implementation of -p. Handle
+       --profile-cache, --profile-parallel, --timer.
+       * mloop.in (execute): Call profiling functions if the timer interrupt
+       is enabled.
+       (@cpu@_simulate_insn_prefetch): New function.
+       (main loop): Call @cpu@_simulate_insn_prefetch.
+       * interrupts.c (frv_queue_interrupt): Don't queue two external
+       interrupts of the same priority.
+       (frv_queue_external_interrupt): New function.
+       (frv_external_interrupt): New function.
+       (handle_interrupt): Handle external interrupts.
+       (check_reset): New function.
+       (frv_process_interrupts): Call check_reset.
+       * frv.c: Include "bfd.h"
+       (frvbf_h_psr_get_handler): Set the PIL field.
+       (frvbf_h_psr_set_handler): Get the PIL field.
+       (DUAL_REG): New macro.
+       (DUAL_DOUBLE): New macro.
+       (SET_USE_IS_FPOP): New macro.
+       (SET_USE_NOT_FPOP): New macro.
+       (USE_IS_FPOP): New macro.
+       (SET_USE_IS_MEDIA): New macro.
+       (SET_USE_NOT_MEDIA): New macro.
+       (USE_IS_MEDIA_P1): New macro.
+       (SET_USE_IS_MEDIA_P1): New macro.
+       (SET_USE_NOT_MEDIA_P1): New macro.
+       (SET_USE_IS_MEDIA_P2): New macro.
+       (SET_USE_NOT_MEDIA_P2): New macro.
+       (USE_IS_MEDIA_P2): New macro.
+       (SET_ACC_USE_IS_MEDIA_P1): New macro.
+       (SET_ACC_USE_NOT_MEDIA_P1): New macro.
+       (ACC_USE_IS_MEDIA_P1): New macro.
+       (SET_ACC_USE_IS_MEDIA_P2): New macro.
+       (SET_ACC_USE_NOT_MEDIA_P2): New macro.
+       (ACC_USE_IS_MEDIA_P2): New macro.
+       (RESOURCE_IDIV): New macro.
+       (RESOURCE_FDIV): New macro.
+       (RESOURCE_SQRT): New macro.
+       (fr_busy_adjust): New array.
+       (acc_busy_adjust): New array.
+       (apply_latency_adjustments): New function.
+       (update_latencies): New function.
+       (handle_wait_cycles): New function.
+       (handle_resource_wait): New function.
+       (update_target_latencies): New function.
+       (frvbf_model_insn_before): Add resource latency to cycle counts.
+       (frvbf_model_insn_after): Add resource latency to cycle counts.
+       (update_GR_latency): New function.
+       (update_GRdouble_latency): New function.
+       (update_FR_latency): New function.
+       (update_FRdouble_latency): New function.
+       (decrease_ACC_busy): New function.
+       (decrease_FR_busy): New function.
+       (increase_FR_busy): New function.
+       (update_ACC_latency): New function.
+       (update_CCR_latency): New function.
+       (update_idiv_resource_latency): New function.
+       (update_fdiv_resource_latency): New function.
+       (update_fsqrt_resource_latency): New function.
+       (vliw_wait_for_GR): New function.
+       (vliw_wait_for_GRdouble): New function.
+       (vliw_wait_for_FR): New function.
+       (vliw_wait_for_FRdouble): New function.
+       (vliw_wait_for_CCR): New function.
+       (vliw_wait_for_ACC): New function.
+       (vliw_wait_for_idiv_resource): New function.
+       (vliw_wait_for_fdiv_resource): New function.
+       (vliw_wait_for_fsqrt_resource): New function.
+       (enforce_full_fr_latency): New function.
+       (frvbf_model_fr500_u_exec): New function.
+       (frvbf_model_fr500_u_integer): New function.
+       (frvbf_model_fr500_u_imul): New function.
+       (frvbf_model_fr500_u_idiv): New function.
+       (frvbf_model_fr500_u_branch): New function.
+       (frvbf_model_fr500_u_set_hilo): New function.
+       (frvbf_model_fr500_u_gr_load_store): New function.
+       (frvbf_model_fr500_u_fr_load_store): New function.
+       (frvbf_model_fr500_u_swap): New function.
+       (frvbf_model_fr500_u_fr2fr): New function.
+       (frvbf_model_fr500_u_fr2gr): New function.
+       (frvbf_model_fr500_u_spr2gr): New function.
+       (frvbf_model_fr500_u_gr2fr): New function.
+       (frvbf_model_fr500_u_gr2spr): New function.
+       (post_wait_for_FR): New function.
+       (post_wait_for_FRdouble): New function.
+       (post_wait_for_ACC): New function.
+       (post_wait_for_CCR): New function.
+       (post_wait_for_fdiv): New function.
+       (post_wait_for_fsqrt): New function.
+       (adjust_float_register_busy): New function.
+       (adjust_double_register_busy): New function.
+       (restore_float_register_busy): New function.
+       (restore_double_register_busy): New function.
+       (frvbf_model_fr500_u_float_arith): New function.
+       (frvbf_model_fr500_u_float_dual_arith): New function.
+       (frvbf_model_fr500_u_float_div): New function.
+       (frvbf_model_fr500_u_float_sqrt): New function.
+       (frvbf_model_fr500_u_float_compare): New function.
+       (frvbf_model_fr500_u_float_dual_compare): New function.
+       (frvbf_model_fr500_u_float_convert): New function.
+       (frvbf_model_fr500_u_media): New function.
+       (frvbf_model_fr500_u_barrier): New function.
+       (frvbf_model_fr500_u_membar): New function.
+       * frv-sim.h (LEUINT): New macro.
+       (GET_HSR0_SA): New macro.
+       (struct frv_interrupt_timer): New struct.
+       (struct frv_interrupt_state): Add timer fiield.
+       (frv_queue_external_interrupt): New function.
+       (frv_external_interrupt): New function.
+       (frv_profile_info): New function.
+       (PROFILE_CACHE_IDX): New enumerator.
+       (PROFILE_PARALLEL_IDX): New enumerator.
+       (PROFILE_cache): New macro.
+       (PROFILE_parallel): New macro.
+       (WITH_PROFILE_CACHE_P): New macro.
+       (WITH_PROFILE_PARALLEL_P): New macro.
+       * cache.h (FRV_CACHE): Add last_was_hit field.
+       * cache.c (get_tag): Use new last_was_hit field.
+       (frv_cache_read): Ditto.
+       (frv_cache_write): Ditto.
+       * arch.h,cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-12-13  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_h_spr_set_handler): Handle accumulator guards.
+       (frvbf_clear_all_accumulators): Pass frvbf_h_acc40S_set to
+       sim_queue_fn_di_write.
+       (frvbf_media_cut_ss): New function.
+       * frv-sim.h (frvbf_media_cut_ss): New function.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-12-13  Dave Brolley  <brolley@cygnus.com>
+
+       * pipeline.c (check_insn_major_constraints): F-4, F-8 and M-8 have
+       no constraints.
+       * interrupts.c (frv_queue_illegal_instruction_interrupt): Use
+       FRV_IS_FLOAT_INSN and FRV_IS_MEDIA_INSN.
+       (frv_detect_insn_access_interrupts): Use FRV_IS_FLOAT_INSN and
+       FRV_IS_MEDIA_INSN.
+       * frv.c (frvbf_model_simple_u_exec): New function.
+       * frv-sim.h (FRV_IS_FLOAT_INSN): Range includes F-8.
+       (FRV_IS_MEDIA_INSN): Range includes M-8.
+
+       * Makefile.in (stamp-cpu): add 'simple' to the list of machines.
+       * arch.c,arch.h,cpu.h,cpuall.h,decode.c,decode.h,model.c,sem.c:
+       Regenerate.
+
+1999-12-10  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (check_registers_available): New function.
+       (clear_ne_flags): Generate register_exception if register(s) not
+       available.
+       (frvbf_commit): Generate register_exception if register(s) not
+       available.
+       * interrupts.c (frv_program_or_software_interrupt): No need to copy
+       GR4-GR7 to SR0-SR4.
+       * frv.c (frvbf_h_psr_set_handler): Special handling for PSR.S and
+       PSR.ESR.
+       (frvbf_h_psr_s_set_handler): New function.
+       (frvbf_h_psr_esr_set_handler): New function.
+       (frvbf_switch_supervisor_user_context): New function.
+       (frvbf_scan_result): Reflect latest ISA.
+       * frv-sim.h (frvbf_h_psr_s_set_handler): New function.
+       (frvbf_h_psr_esr_set_handler): New function.
+       (frvbf_switch_supervisor_user_context): New function.
+       (GET_HSR0_FRN): New Macro.
+       (GET_HSR0_GRN): New Macro.
+       (GET_HSR0_FRHE): New Macro.
+       (GET_HSR0_FRLE): New Macro.
+       (GET_HSR0_GRHE): New Macro.
+       (GET_HSR0_GRLE): New Macro.
+       (frv_ec): New value for FRV_EC_COMMIT_EXCEPTION.
+       (GET_ESFR): New bit ordering.
+       (SET_ESFR): New bit ordering.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-12-10  Michael Meissner  <meissner@cygnus.com>
+
+       * Makefile.in (sim-if.o): Add eng.h dependency.
+
+1999-12-09  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in (execute): Pass sc->first_insn_p to @cpu@_model_insn_before.
+       Pass sc->last_insn_p to @cpu@_model_insn_before.
+       (main loop): Compute sc->first_insn_p.
+       * frv.c (frvbf_model_insn_before): Set state variables.
+       (frvbf_model_insn_after): Count basic cycles. Set state variables.
+       (frvbf_model_fr500_u_integer): Remove.
+       * arch.h,cpu.h,decode.h,model.c: Regenerate.
+
+1999-12-07  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-main.h (cache.h): Include it.
+       (insn_cache): New member.
+       (data_cache): New member.
+       (CPU_INSN_CACHE): New macro.
+       (CPU_DATA_CACHE): New macro.
+       * sim-if.c (WANT_CPU): New macro.
+       (WANT_CPU_FRVBF): New macro.
+       (sim_open): Call sim_add_option_table. Call frv_cache_init for the
+       data and insn caches for each cpu.
+       (sim_close): Call frv_cache_term for the insn and data caches of each
+       cpu.
+       * mloop.in (extract): Read insn from the cache.
+       (main loop): Access the insn cache in order to maintain stats.
+       * memory.c (data_non_cache_access): New function.
+       (insn_non_cache_access): New function.
+       (frvbf_read_mem_QI): Attempt to read from the cache first.
+       (frvbf_read_mem_UQI): Ditto.
+       (frvbf_read_mem_HI): Ditto.
+       (frvbf_read_mem_UHI): Ditto.
+       (frvbf_read_mem_SI): Ditto.
+       (frvbf_read_mem_DI): Ditto.
+       (frvbf_read_mem_DF): Ditto.
+       (frvbf_read_imem_USI): New function.
+       (frvbf_write_mem_QI): Write through the cache is it is enabled.
+       (frvbf_write_mem_UQI): Ditto.
+       (frvbf_write_mem_HI): Ditto.
+       (frvbf_write_mem_UHI): Ditto.
+       (frvbf_write_mem_SI): Ditto.
+       (frvbf_write_mem_DI): Ditto.
+       (frvbf_write_mem_DF): Ditto.
+       (frvbf_mem_set_QI): New function.
+       (frvbf_mem_set_HI): New function.
+       (frvbf_mem_set_SI): New function.
+       (frvbf_mem_set_DI): New function.
+       (frvbf_mem_set_DF): New function.
+       (frvbf_mem_set_XI): New function.
+       * interrupts.c (frv_save_data_written_for_interrupts): Handle
+       CGEN_FN_MEM_QI_WRITE,
+       CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
+       CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
+       * frv.c (frvbf_load_quad_GR): Call frvbf_read_mem_SI.
+       Call sim_queue_fn_mem_xi_write.
+       (frvbf_load_quad_FRint): Call frvbf_read_mem_SI.
+       Call sim_queue_fn_mem_xi_write.
+       (frvbf_load_quad_CPR): Call frvbf_read_mem_SI.
+       Call sim_queue_fn_mem_xi_write.
+       (frvbf_insn_cache_preload): New function.
+       (frvbf_data_cache_preload): New function.
+       (frvbf_insn_cache_unlock): New function.
+       (frvbf_data_cache_unlock): New function.
+       (frvbf_insn_cache_invalidate): New function.
+       (frvbf_data_cache_invalidate): New function.
+       (frvbf_data_cache_flush): New function.
+       * frv-sim.h (sim-options.h): Include it.
+       (GET_HSR0): New macro.
+       (SET_HSR0): New macro.
+       (GET_HSR0_ICE): New macro.
+       (SET_HSR0_ICE): New macro.
+       (GET_HSR0_DCE): New macro.
+       (SET_HSR0_DCE): New macro.
+       (GET_HSR0_CBM): New macro.
+       (GET_HSR0_RME): New macro.
+       (GET_IHSR8): New macro.
+       (GET_IHSR8_NBC): New macro.
+       (frvbf_insn_cache_preload): New function.
+       (frvbf_data_cache_preload): New function.
+       (frvbf_insn_cache_unlock): New function.
+       (frvbf_data_cache_unlock): New function.
+       (frvbf_insn_cache_invalidate): New function.
+       (frvbf_data_cache_invalidate): New function.
+       (frvbf_data_cache_flush): New function.
+       (insn_non_cache_access): New function.
+       (frvbf_read_imem_USI): New function.
+       (frvbf_mem_set_QI): New function.
+       (frvbf_mem_set_HI): New function.
+       (frvbf_mem_set_SI): New function.
+       (frvbf_mem_set_DI): New function.
+       (frvbf_mem_set_DF): New function.
+       (frvbf_mem_set_XI): New function.
+       (frv_options): FRV specific command line options.
+       * Makefile.in (SIM_OBJS): Add options.o and cache.o.
+       (SIM_EXTRA_DEPS): Add $(sim-options_h).
+       (cache.o): New target.
+       (options.o): New target.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+       * cache.h: New file.
+       * cache.c: New file.
+       * options.c: New file.
+
+1999-11-29  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_check_non_excepting_load): Use new NE_FLAG macros.
+       (frvbf_check_non_excepting_divide): Ditto.
+       (clear_ne_flags): Ditto
+       (frvbf_commit): Ditto.
+       * pipeline.c (frv_pipeline_add_insn): Clear the NE index for all insns.
+       * mloop.in (_parallel_write_init): Clear NE flags here.
+       * interrupts.c (frv_queue_fp_exception_interrupt): Set NE flags here
+       for non excepting insns. Also check for masked interrupts here.
+       (frv_process_interrupts): Write NE flags here.
+       (set_fp_exception_registers): No longer check for masked interrupts
+       here.
+       (check_for_compound_interrupt): No need to worry about masked
+       interrupts.
+       * frv-sim.h (frv_interrupt_state): Add f_ne_flags member.
+       (GET_NE_FLAGS): New macro.
+       (SET_NE_FLAGS): New macro.
+       (GET_NE_FLAG): Operate on accumulated argument.
+       (SET_NE_FLAG): Operate on accumulated argument.
+       (CLEAR_NE_FLAG): Operate on accumulated argument.
+       * Makefile.in (FRVBF_INCLUDE_DEPS): Add $(SIM_EXTRA_DEPS)
+       (frv.o): Correct dependencies.
+       (traps.o): Ditto.
+       (pipeline.o): Ditto.
+       (interrupts.o): Ditto.
+       (memory.o): Ditto.
+       * sem.c: Regenerate.
+
+1999-11-26  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_fpu_error): Only call frv_queue_fp_exception if
+       there is an exception indicated in the mask.
+       * pipeline.c (frv_pipeline_add_insn): Clear ne_index in the interrupt
+       state when adding a floating point insn to the pipeline.
+       * interrupts.c (set_fp_exception_registers): Set NE flag for
+       non-excepting insns.
+       * frv-sim.h (frvbf_h_fr_double_get_handler): Mode of data is DF.
+       (frvbf_h_fr_double_set_handler): Mode of data is DF.
+       (frvbf_h_fr_int_get_handler): New function.
+       (frvbf_h_fr_int_set_handler): New function.
+       (frvbf_set_ne_index): New function.
+       (NE_NOFLAG): New macro.
+       (frv_interrupt_state): Add ne_index member.
+       * frv.c (frvbf_h_fr_double_get_handler): Mode of data is DF.
+       (frvbf_h_fr_double_set_handler): Mode of data is DF.
+       (frvbf_h_fr_int_get_handler): New function.
+       (frvbf_h_fr_int_set_handler): New function.
+       (frvbf_set_ne_index): New function.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-24  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-23  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_media_cut): New function.
+       * frv.c (frvbf_media_cut): New function.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-22  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_clear_all_accumulators): New function.
+       * frv.c.h (frvbf_clear_all_accumulators): New function.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-18  Dave Brolley  <brolley@cygnus.com>
+
+       * pipeline.c (frv_pipeline_add_insn): Only clear MSR0 and FSR0 fields
+       if this is the first insn of its class in the pipeline.
+       * frv-sim.h (frvbf_media_register_not_aligned): New function.
+       * traps.c (frvbf_media_register_not_aligned): New function.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-17  Dave Brolley  <brolley@cygnus.com>
+
+       * pipeline.c (frv_pipeline_add_insn): Clear MSRx.SIE fields.
+       * frv-sim.h (OR_MSR_SIE): New macro.
+       (CLEAR_MSR_SIE): New macro.
+       (frvbf_media_overflow): Now takes sie argument.
+       (frv_set_mp_exception_registers): Now takes sie argument.
+       * interrupts.c (frv_set_mp_exception_registers): Now takes sie argument.
+       Set MSRx.SIE field.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-15  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frv_mtrap): New function.
+       (frvbf_media_cr_not_aligned): New function.
+       (frvbf_media_acc_not_aligned): New function.
+       (frvbf_media_overflow): New function.
+       * pipeline.c (frv_pipeline_add_insn): Clear MSR fields.
+       * interrupts.c: Call frv_set_mp_exception_registers.
+       (frv_set_mp_exception_registers): New function.
+       * frv-sim.h (frv_msr_mtt): New enumeration.
+       (GET_MSR): New macro.
+       (SET_MSR): New macro.
+       (GET_MSR_AOVF): New macro.
+       (SET_MSR_AOVF): New macro.
+       (GET_MSR_OVF): New macro.
+       (SET_MSR_OVF): New macro.
+       (CLEAR_MSR_OVF): New macro.
+       (GET_MSR_MTT): New macro.
+       (SET_MSR_MTT): New macro.
+       (frv_set_mp_exception_registers): New function.
+       (frv_mtrap): New function.
+       (FRV_IS_MEDIA_INSN): New macro.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-10  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-main.h (_sim_cpu): Add debug_state member.
+       * mloop.in (_parallel_write_queued): Clear data_written.length.
+       * interrupts.c (frv_interrupt_table): Offset of BREAK_EXCEPTION
+       handler is 0xff.
+       (frv_queue_break_interrupt): New function.
+       (frv_break_interrupt): New function.
+       (handle_interrupt): Handle break_interrupt.
+       (frv_non_operating_interrupt): Now takes interrupt_kind.
+       * frv-sim.h (frv_queue_break_interrupt): New function.
+       (frv_break_interrupt): New function.
+       (frv_break): New function.
+       (frv_non_operating_interrupt): Now takes interrupt_kind.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-11-09  Dave Brolley  <brolley@cygnus.com>
+
+       * pipeline.c (frv_pipeline_add_insn): Clear FSR0.FTT when adding
+       a floating point insn.
+       * traps.c (frvbf_fpu_error): Map fpu status to frv interrupts.
+       * interrupts.c (frv_queue_illegal_instruction_interrupt): Call
+       frv_queue_fp_exception_interrupt.
+       (frv_queue_fp_exception_interrupt): New function.
+       (next_available_fq): New function.
+       (set_fp_exception_registers): New function.
+       (set_exception_status_registers): Now returns 1 if interrupt not masked.
+       (check_for_compound_interrupt): Now returns NULL if interrupt masked.
+       (frv_program_interrupt): Don't process interrupt if it is masked.
+       * frv.c (frvbf_h_fr_double_get_handler): Call
+       frv_queue_fp_exception_interrupt.
+       (frvbf_h_fr_double_set_handler): Call frv_queue_fp_exception_interrupt.
+       (frvbf_h_fr_quad_set_handler): Call frv_queue_fp_exception_interrupt.
+       (frvbf_store_quad_FRint): Call frv_queue_fp_exception_interrupt.
+       * frv-sim.h: Get/set hardware directly in GET/SET macros.
+       (frv_fp_exception_info): New struct type.
+       (frv_interrupt_queue_element): Add fp_info member.
+       (frv_fsr_traps): New enumeration.
+       (frv_fsr_ftt): New enumeration.
+       (frv_sie): New enumeration.
+       (frv_miv): New enumeration.
+       (GET_FSR): New macro.
+       (SET_FSR): New macro.
+       (GET_FSR_TEM): New macro.
+       (SET_FSR_QNE): New macro.
+       (SET_FSR_FTT): New macro.
+       (GET_FSR_AEXC): New macro.
+       (SET_FSR_AEXC): New macro.
+       (GET_FQ): New macro.
+       (SET_FQ): New macro.
+       (SET_FQ_OPC): New macro.
+       (SET_FQ_MIV): New macro.
+       (SET_FQ_SIE): New macro.
+       (SET_FQ_FTT): New macro.
+       (SET_FQ_CEXC): New macro.
+       (GET_FQ_VALID): New macro.
+       (SET_FQ_VALID): New macro.
+       (frv_queue_fp_exception_interrupt): New function.
+       (FRV_IS_FLOAT_INSN): New macro.
+
+1999-11-04  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_fpu_error): No floating point errors need to be
+       detected.
+       * interrupts.c (clear_exception_status_registers): Clear 'valid' fields
+       of the ESR registers too.
+       (set_exception_status_registers): Don't set EAR for any precise
+       interrupts. Register index should be 1 for insns in PIPE_I1. Clear
+       ESR.EAV and ESR.EDV if not setting them. Set ESR.VALID.
+       (non_operating_interrupt): No need for return code.
+       (frv_program_or_software_interrupt): Process interrupt regardless
+       of operating mode. If PSR.ET was not set at the start of processing,
+       then stop the simulation with a message.
+       (frv_save_data_written_for_interrupts): Handle CGEN_FN_XI_WRITE and
+       CGEN_MEM_XI_WRITE.
+       * frv.c (frvbf_h_gr_quad_set_handler): New function.
+       (frvbf_h_fr_quad_set_handler): New function.
+       (frvbf_h_cpr_quad_set_handler): New function.
+       (frvbf_load_quad_GR): Renamed from frvbf_load_multiple_GR. Use new
+       sim_queue_fn_xi_write.
+       (frvbf_load_quad_FRint): Renamed from frvbf_load_multiple_GR. Use new
+       sim_queue_fn_xi_write.
+       (frvbf_load_quad_CPR): Renamed from frvbf_load_multiple_GR. Use new
+       sim_queue_fn_xi_write.
+       (frvbf_store_quad_GR): Renamed from frvbf_store_multiple_GR. Use new
+       sim_queue_mem_xi_write.
+       (frvbf_store_quad_FRint): Renamed from frvbf_store_multiple_GR. Use new
+       sim_queue_mem_xi_write.
+       (frvbf_store_quad_CPR): Renamed from frvbf_store_multiple_GR. Use new
+       sim_queue_mem_xi_write.
+       * frv-sim.h (frvbf_h_gr_quad_set_handler): New function.
+       (frvbf_h_fr_quad_set_handler): New function.
+       (frvbf_h_cpr_quad_set_handler): New function.
+       (SET_ESR_VALID): New macro.
+       (CLEAR_ESR_VALID): New macro.
+       (CLEAR_ESR_EAV): New macro.
+       (CLEAR_ESR_EDV): New macro.
+       * sem.c: Regenerate.
+
+1999-11-02  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frv_core_signal): Call
+       frv_queue_mem_address_not_aligned_interrupt.
+       * mloop.in (_parallel_write_queued): Call
+       frv_save_data_written_for_interrupts.
+       * frv.c (frvbf_h_gr_double_get_handler): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_h_cpr_double_get_handler): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_h_cpr_double_set_handler): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_load_multiple_GR): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_store_multiple_GR): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_load_multiple_CPR): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_store_multiple_CPR): Call
+       frv_queue_register_exception_interrupt.
+       (frvbf_h_tbr_get_handler): Fix TBR.TBA mask.
+       * interrupts.c (frv_queue_software_interrupt): Now returns interrupt
+       queue element.
+       (frv_queue_program_interrupt): Now returns interrupt queue element.
+       (frv_queue_illegal_instruction_interrupt): Now returns interrupt queue
+       element.
+       (frv_queue_interrupt): Now returns interrupt queue element.
+       (frv_queue_register_exception_interrupt): New function.
+       (frv_queue_mem_address_not_aligned_interrupt): New function.
+       (frv_save_data_written_for_interrupts): New function.
+       (next_available_edr): EDR registers available in blocks of 4.
+       (clear_exception_status_registers): New function.
+       (set_exception_status_registers): Pass esr to SET_ESR* macros.
+
+       * frv-sim.h (struct frv_data_written): New struct type.
+       (frv_interrupt_queue_element): Add data_written member.
+       (frv_queue_software_interrupt): Now returns interrupt queue element.
+       (frv_queue_program_interrupt): Now returns interrupt queue element.
+       (frv_queue_illegal_instruction_interrupt): Now returns interrupt queue
+       element.
+       (frv_queue_interrupt): Now returns interrupt queue element.
+       (frv_queue_register_exception_interrupt): New function.
+       (frv_queue_mem_address_not_aligned_interrupt): New function.
+       (frv_save_data_written_for_interrupts): New function.
+
+1999-10-27  Dave Brolley  <brolley@cygnus.com>
+
+       * interrupts.c (ITABLE_ENTRY): New macro.
+       (frv_interrupt_table): Add exception codes.
+       (next_available_esr): New function.
+       (next_available_edr): New function.
+       (set_edr_register): New function.
+       (set_exception_status_registers): New function.
+       (check_for_compound_interrupt): Record information on all interrupts
+       found.
+       (frv_program_interrupt): Always call check_for_compound_interrupt.
+       * frv.c (frvbf_h_pc_set_handler): Removed.
+       (frvbf_h_spr_get_handler): Handle LR register.
+       (frvbf_h_spr_set_handler): Handle LR register.
+       (frvbf_h_lr_get_handler): New function.
+       (frvbf_h_lr_set_handler): New function.
+       * frv-sim.h (frvbf_h_lr_get_handler): New function.
+       (frvbf_h_lr_set_handler): New function.
+       (frv_ec): New enumeration.
+       (frv_interrupt): Add frv_ec field.
+       (frv_rec): New enumeration.
+       (frv_daec): New enumeration.
+       (frv_interrupt_queue_element): Add eaddress, rec, iaec, daec fields.
+       (SET_ESR_EC): New macro.
+       (SET_ESR_REC): New macro.
+       (SET_ESR_IAEC): New macro.
+       (SET_ESR_DAEC): New macro.
+       (SET_ESR_EAV): New macro.
+       (GET_ESR_EDV): New macro.
+       (SET_ESR_EDV): New macro.
+       (GET_ESR_EDN): New macro.
+       (SET_ESR_EDN): New macro.
+       (GET_ESR): New macro.
+       (SET_ESR): New macro.
+       (SET_EPCR): New macro.
+       (SET_EAR): New macro.
+       (SET_EDR): New macro.
+       (GET_ESFR): New macro.
+       (SET_ESFR): New macro.
+       * cpu.c,cpu.h,sem.c: Rebuild.
+
+1999-10-26  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_check_non_excepting_load): Only set NESR, NECR, NEEAR
+       if mach is frv.
+       (clear_nesr_neear): Only execute if mach is frv.
+
+1999-10-22  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-main.h (sim_cpu): Add pipeline.
+       (CPU_PIPELINE): New macro.
+       * mloop.in (_parallel_write_queued): Maintain pc in cpu during writes.
+       (main loop): Maintain pc in cpu.
+       * frv-sim.h (frv_queue_software_interrupt): New interface.
+       (frv_queue_program_interrupt): New interface.
+       (frv_queue_illegal_instruction_interrupt: New interface.
+       (frv_queue_interrupt): New interface.
+       (frv_detect_insn_access_interrupts): New interface.
+       (frv_process_interrupts): New interface.
+       (frv_program_interrupt): New interface.
+       (frv_software_interrupt): New interface.
+       (frv_program_or_software_interrupt): New interface.
+       (FRV_PIPELINE): Moved from pipline.c.
+       (frv_pipeline_reset): New interface.
+       (frv_pipeline_add_insn): New interface.
+       * interrupts.c (frv_queue_software_interrupt): New interface.
+       (frv_queue_program_interrupt): New interface.
+       (frv_queue_illegal_instruction_interrupt: New interface.
+       (frv_queue_interrupt): New interface.
+       (frv_detect_insn_access_interrupts): New interface.
+       (frv_process_interrupts): New interface.
+       (frv_program_interrupt): New interface.
+       (frv_software_interrupt): New interface.
+       (frv_program_or_software_interrupt): New interface.
+       * frv.c: Use new interfaces.
+       * pipeline.c: Use new interfaces.
+       * traps.c: Use new interfaces.
+       * memory.c: Use new interfaces.
+       (frv_address_forbidden): No longer static.
+
+1999-10-19  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_check_non_excepting_load): Set NESR.DAEC, NESR.REC and
+       NESR.EC.
+       * mloop.in (_parallel_write_queued): Handle CGEN_FN_PC_WRITE.
+       * frv.c (frvbf_h_pc_set_handler): New function.
+       * interrupts.c (frv_detect_data_interrupt): Removed.
+       (address_forbidden): Removed.
+       * frv-sim.h (frv_detect_data_interrupt): Removed.
+       (NESR_MEM_ADDRESS_NOT_ALIGNED): New macro.
+       (NESR_REGISTER_NOT_ALIGNED): New macro.
+       (NESR_UQI_SIZE): New macro.
+       (NESR_QI_SIZE): New macro.
+       (NESR_UHI_SIZE): New macro.
+       (NESR_HI_SIZE): New macro.
+       (NESR_SI_SIZE): New macro.
+       (NESR_DI_SIZE): New macro.
+       (NESR_XI_SIZE): New macro.
+       (GET_NESR_DAEC): New macro.
+       (SET_NESR_DAEC): New macro.
+       (GET_NESR_REC): New macro.
+       (SET_NESR_REC): New macro.
+       (GET_NESR_EC): New macro.
+       (SET_NESR_EC): New macro.
+       (frvbf_read_mem_QI): New function.
+       (frvbf_read_mem_UQI): New function.
+       (frvbf_read_mem_HI): New function.
+       (frvbf_read_mem_UHI): New function.
+       (frvbf_read_mem_SI): New function.
+       (frvbf_read_mem_WI): New function.
+       (frvbf_read_mem_DI): New function.
+       (frvbf_read_mem_DF): New function.
+       (frvbf_write_mem_QI): New function.
+       (frvbf_write_mem_UQI): New function.
+       (frvbf_write_mem_HI): New function.
+       (frvbf_write_mem_UHI): New function.
+       (frvbf_write_mem_SI): New function.
+       (frvbf_write_mem_WI): New function.
+       (frvbf_write_mem_DI): New function.
+       (frvbf_write_mem_DF): New function.
+       * Makefile.in (SIM_OBJS): Add memory.o.
+       * cpu.c,cpu.h,sem.c: Rebuild.
+
+1999-10-18  Dave Brolley  <brolley@cygnus.com>
+
+       * sim-if.c (sim_open): Use a real fpu error function.
+       * pipeline.c (frv_pipeline_add_insn): Don't add invalid insns.
+       * mloop.in (_parallel_write_queued): Clear queue after writing.
+       * interrupts.c (check_for_compound_interrupt): New function.
+       (non_operating_interrupt): New function.
+       * frv-sim.h (frvbf_h_gr_double_get_handler): New function.
+       (frvbf_h_gr_double_set_handler): New function.
+       (frvbf_h_fr_double_get_handler): New function.
+       (frvbf_h_fr_double_set_handler): New function.
+       (frvbf_h_cpr_double_get_handler): New function.
+       (frvbf_h_cpr_double_set_handler): New function.
+       (frv_interrupt_queue_element): New struct type.
+       (frv_queue_program_interrupt): Now takes pc.
+       (frv_queue_illegal_instruction_interrupt): Now takes pc.
+       (frv_queue_interrupt): Now takes pc.
+       (frv_program_interrupt): Now takes frv_interrupt_queue_element.
+       (frv_software_interrupt): Now takes frv_interrupt_queue_element.
+       (frvbf_division_exception): New function.
+       (frvbf_fpu_error): New function.
+       (frvbf_load_multiple_GR): New function.
+       (frvbf_load_multiple_FR): New function.
+       (frvbf_load_multiple_CPR): New function.
+       * frv.c (frvbf_h_gr_double_get_handler): New function.
+       (frvbf_h_gr_double_set_handler): New function.
+       (frvbf_h_fr_double_get_handler): New function.
+       (frvbf_h_fr_double_set_handler): New function.
+       (frvbf_h_cpr_double_get_handler): New function.
+       (frvbf_h_cpr_double_set_handler): New function.
+       (frv_interrupt_queue_element): New struct type.
+       (frv_queue_program_interrupt): Now takes pc.
+       (frv_queue_illegal_instruction_interrupt): Now takes pc.
+       (frv_queue_interrupt): Now takes pc.
+       (frv_program_interrupt): Now takes frv_interrupt_queue_element.
+       (frv_software_interrupt): Now takes frv_interrupt_queue_element.
+       (frvbf_fpu_error): New function.
+       (frvbf_load_multiple_GR): New function.
+       (frvbf_load_multiple_FR): New function.
+       (frvbf_load_multiple_CPR): New function.
+       * traps.c (frvbf_division_exception): New function.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-10-12  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in (new_vpc): New variable.
+       (main loop): Call frv_detect_insn_access_interrupts. Call
+       frv_detect_data_interrupts.
+       * interrupts.c (access_queued_to): New function.
+       (frv_detect_data_interrupts): New function.
+       (frv_detect_insn_access_interrupts): New function.
+       (frv_program_or_software_interrupt): Set PSR.S.
+       * frv-sim.h (frv_detect_data_interrupts): New function.
+       (frv_detect_insn_interrupts): New function.
+
+1999-10-07  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_h_gr_hi_get_handler): New function.
+       (frvbf_h_gr_hi_set_handler): New function.
+       (frvbf_h_gr_lo_get_handler): New function.
+       (frvbf_h_gr_lo.set_handler): New function.
+       * frv.c (frvbf_h_gr_hi_get_handler): New function.
+       (frvbf_h_gr_hi_set_handler): New function.
+       (frvbf_h_gr_lo_get_handler): New function.
+       (frvbf_h_gr_lo.set_handler): New function.
+       (frvbf_model_fr500_u_integer): New function.
+       * arch.h,cpu.h,cpu.c,decode.h,decode.c,model.c,sem.c: Rebuild.
+
+1999-10-04  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c: Use sim_engine_abort.
+       * pipeline.c (frv_pipeline): Add field for insn major.
+       (add_next_to_pipe): Return address of matching pipeline.
+       (find_major_in_pipeline): New function.
+       (check_insn_major_constraints: New function.
+       (frv_pipeline_add_insn): Add checks for insn major constraints.
+       * interrupts.c (frv_process_interrupts): Use sim_engine_abort.
+       * frv.c (frvbf_h_spr_get_handler): No need to abort.
+
+Thu Sep 30 18:10:25 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * pipeline.c: New file.
+       * mloop.in (main loop): Call frv_pipeline_reset.
+       Call frv_pipeline_add_insn.
+       * frv-sim.h (frv_pipeline_reset): New function.
+       (frv_pipeline_add_insn): New function.
+       * Makefile.in (SIM_OBJS): Add pipeline.o
+
+1999-09-29  Doug Evans  <devans@casey.cygnus.com>
+
+       * sem.c: Rebuild.
+       * traps.c (sim_engine_invalid_insn): New arg `vpc'.  Change type of
+       result to SEM_PC.  Return vpc.
+
+Wed Sep 29 16:01:52 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * interrupts.c (frv_interrupt_table): DATA_STORE_ERROR is imprecise.
+       (frv_queue_interrupt): Don't detect identical interrupts here.
+
+Wed Sep 29 14:49:52 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * interrupts.c: New file.
+       * traps.c (sim_engine_invalid_insn): Return PC of next insn.
+       (frv_software_interrupt): Moved to interrupts.c.
+       (frv_itrap): New interface. Call frv_queue_software_interrupt.
+       * mloop.in (@cpu@_parallel_write_init): set previous_vliw_pc.
+       (@cpu@_perform_writeback): New function.
+       (main loop): Call frv_process_interrupts.
+       * frv-sim.h (frvbf_write_next_vliw_addr_to_PCSR): Removed.
+       (frv_itrap): New interface.
+       (frv_interrupt_class): New enumeration.
+       (frv_interrupt_kind): New enumeration.
+       (struct frv_interrupt): New struct type.
+       (frv_interrupt_table): New table of interrupt information.
+       (FRV_INTERRUPT_QUEUE_SIZE): New macro.
+       (struct frv_interrupt_state): New struct type.
+       (frv_interrupt_state): New global variable.
+       (previous_vliw_pc): New global variable.
+       (frv_queue_software_interrupt): New function.
+       (frv_queue_program_interrupt): New function.
+       (frv_queue_interrupt): New function.
+       (frv_process_interrupts): New function.
+       (frv_program_interrupt): New function.
+       (frv_software_interrupt): New function.
+       (frv_program_or_software_interrupt): New function.
+       (frv_clear_interrupt_classes): New function.
+       * frv.c (frvbf_write_next_vliw_addr_to_PCSR): Removed.
+       * Makefile.in (SIM_OBJS): Add interrupts.o
+       * sem.c: Rebuild.
+
+1999-09-25  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,cpuall.h,decode.c,sem.c: Rebuild.
+
+Tue Sep 21 17:16:47 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in (main loop): Determine last insn from scache entry.
+       * cpu.h: Rebuild.
+       * cpuall.h: Rebuild.
+
+Tue Sep 14 14:21:31 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_write_next_vliw_addr_to_PCSR): New flag.
+       (NECR_ELOS): Define as unshifted value.
+       (NECR_NEN): Define as unshifted value.
+       (NECR_VALID): Define as unshifted value.
+       (SET_NESR): Rewite to use post-write queue.
+       (SET_NESR_VALID): Rewite to operate on argument.
+       (SET_NESR_EAV): Rewite to operate on argument.
+       (SET_NESR_FR): Rewite to operate on argument.
+       (CLEAR_NESR_FR): Rewite to operate on argument.
+       (SET_NESR_DRN): Rewite to operate on argument.
+       (SET_NESR_SIZE): Rewite to operate on argument.
+       (SET_NESR_NEAN): Rewite to operate on argument.
+       (SET_NEEAR): Rewite to use post-write queue.
+       (SET_NE_FLAG): Rewite to use post-write queue.
+       (CLEAR_NE_FLAG): Rewite to use post-write queue.
+       * traps.c (frv_software_interrupt): Rewite to use post-write queue.
+       (frv_rett): Rewite to use post-write queue.
+       (next_available_nesr): Rewrite to use new macro interfaces.
+       (next_valid_nesr): Ditto.
+       (frvbf_check_non_excepting_load): Ditto.
+       (frvbf_check_recovering_store): Ditto.
+       (clear_nesr_neear): Ditto.
+       (clear_ne_flags): Ditto.
+       * mloop.in (main loop): Update PCSR with address of next VLIW insn
+       when flag is set.
+       * frv.c (frvbf_h_spr_get_handler): Shift register fields here now.
+       (frvbf_store_multiple_GR): Rewite to use post-write queue.
+       (frvbf_store_multiple_FRint): Rewite to use post-write queue.
+       (frvbf_store_multiple_CPR): Rewite to use post-write queue.
+       * Makefile.in (frv.o): Depend on cgen-par.h.
+
+Fri Sep 10 17:03:15 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_set_write_next_vliw_addr_to_LR): New function.
+       (frvbf_write_next_vliw_addr_to_LR): New flag.
+       * frv.c (frvbf_set_write_next_vliw_addr_to_LR): New function.
+       * mloop.in: Only take the first branch in a VLIW insn. Set LR to the
+       address of the next VLIW insn if flag is set.
+       * cpu.h,decode.c,sem.c: Rebuild.
+
+Tue Sep  7 13:44:23 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in: Limit parallel insns to MAX_PARALLEL_INSNS.
+       * sem.c: Rebuild.
+
+1999-09-02  Doug Evans  <devans@casey.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-09-01  Doug Evans  <devans@casey.cygnus.com>
+
+       * decode.c: Rebuild.
+
+Mon Aug 30 17:54:57 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frv_rett): New function.
+       * frv.c (frvbf_h_spr_get_handler): Handle bpsr.
+       (frvbf_h_spr_set_handler): Handle bpsr.
+       (frvbf_h_bpsr_get_handler): New function.
+       (frvbf_h_bpsr_set_handler): New function.
+       * frv-sim.h (frv_rett): New function.
+       (frvbf_h_bpsr_get_handler): New function.
+       (frvbf_h_bpsr_set_handler): New function.
+       * mloop.in: Read actual packing bit.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+Tue Aug 31 16:04:37 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (WANT_CPU): New macro.
+       (WANT_CPU_FRVBF): New macro.
+       (frvbf_check_recovering_store): Use registers for source and queue
+       writes.
+       * mloop.in: New main loop for parallel support.
+       (@cpu@_parallel_write_init): New function.
+       (@cpu@_parallel_write_queued): New function.
+       * frv-sim.h (set_icc_for_shift_left): New interface.
+       (set_icc_for_shift_right): New interface.
+       (frvbf_check_recovering_store): New interface.
+       * frv.c (set_icc_for_shift_left): Pass and return icc value.
+       (set_icc_for_shift_right): Pass and return icc value.
+       (frvbf_check_recovering_store): New interface.
+       * Makefile.in (FRV_OBJS): Add cgen-par.o.
+       (stamp-mloop): Add cgen parallel options.
+       (stamp-arch): Remove with-profile option.
+       (stamp-cpu): Add cgen parallel options.
+       * arch.h,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-08-28  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,sem.c: Rebuild.
+
+Wed Aug 25 12:25:04 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * arch.h,cpu.h,decode.h,model.c,sem.c: Rebuild.
+
+Thu Aug 19 17:59:00 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * configure.in: fr500 now the default model.
+       * configure: Regenerate.
+       * frv.c: Change frv-1 to frv-gen.
+       (frvbf_model_fr500_u_exec): New function.
+       * Makefile.in (stamp-cpu): Use 'mach=frv,fr500' to build decoder.
+       * mloop.in: Fix typos in comments.
+       * arch.c,arch.h,cpu.h,cpuall.h,decode.h,model.c,sem.c: Rebuild.
+
+1999-08-17  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-08-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-08-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,cpuall.h,decode.c,model.c,sem.c: Rebuild.
+
+Fri Jul 16 14:50:15 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_fetch_register): Use GDB register number macros.
+       (frvbf_store_register): Use GDB register number macros.
+       (frvbf_cut): New function.
+       * frv-sim.h (GR_REGNUM_MAX): New macro.
+       (FR_REGNUM_MAX): New macro.
+       (PC_REGNUM): New macro.
+       (LR_REGNUM): New macro.
+       (frvbf_cut): New function.
+       * cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
+
+1999-07-15  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * frv.c (frvbf_fetch_register): Add ability to get LR register,
+       add default for unhandled registers.
+       (frvbf_store_register): Add ability to set LR register.
+
+1999-07-14  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * frv.c (frvbf_fetch_register, frvbf_store_register): Fill in.
+       (decode_gdb_dr_regnum): Remove, not used.
+
+1999-07-13  Michael Meissner  <meissner@cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_FLAGS): Incorporate @sim_trapdump@.
+
+       * configure.in (--enable-sim-trapdump): New switch to make unknown
+       traps dump the register contents, instead of doing the trap thing.
+       * configure: Regenerate.
+
+       * frv-sim.h (TRAP_BREAKPOINT): Define as 81, so it can be used.
+       (TRAP_REGDUMP{1,2}): Define to provide register dumping support
+       temporarily.
+
+       * traps.h (toplevel): Include bfd.h, libiberity.h.
+       (frv_itrap): Add support for --enable-sim-trapdump and traps 2,3
+       dumping the registers.
+
+Thu Jul  8 10:57:39 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_LIBS): Removed. libm no longer needed.
+
+Wed Jul  7 17:01:12 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.c,cpu.h,decode.c,model.c,sem.c: Rebuild.
+
+Tue Jul  6 16:12:18 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_square_root_SF): Removed.
+       (frvbf_square_root_DF): Removed.
+       (frvbf_h_fr_double_get_handler): Removed.
+       (frvbf_h_fr_double_set_handler): Removed.
+       (frvbf_h_fr_int_get_handler): Removed.
+       (frvbf_h_fr_int_set_handler): Removed.
+       * frv-sim.h (frvbf_square_root_SF): Removed.
+       (frvbf_square_root_DF): Removed.
+       (frvbf_h_fr_double_get_handler): Removed.
+       (frvbf_h_fr_double_set_handler): Removed.
+       (frvbf_h_fr_int_get_handler): Removed.
+       (frvbf_h_fr_int_set_handler): Removed.
+       * decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-07-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add cgen-fpu.o, cgen-accfp.o.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Rebuild.
+       * sim-if.c (sim_open): Initialize fpu.
+       * frv-sim.h (SETMEMSF,SETMEMDF): Delete.
+       * frv.c (frvbf_store_multiple_FRint): Replace frvbf_h_fr_int_get
+       with frvbf_h_fr_get.
+
+Wed Jun 30 15:56:56 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (NESR_RANGE): New macro.
+       (NO_NESR): New macro.
+       (GET_NESR_VALID): New macro.
+       (next_ne_index): Removed.
+       * traps.c (next_available_nesr): New function.
+       (next_valid_nesr): New function.
+       (frvbf_check_non_excepting_load): Use next_available_nesr.
+       (frvbf_check_recovering_store): Use next_available_nesr and
+       next_valid_nesr.
+       (clear_nesr_neear): Use next_available_nesr and next_valid_nesr.
+       (frvbf_check_recovering_store): Only consider one matching register.
+       * sem.c: Rebuild.
+
+Tue Jun 29 16:54:32 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_square_root_SF): New function.
+       (frvbf_square_root_DF): New function.
+       (frvbf_h_fr_double_get_handler): New function.
+       (frvbf_h_fr_double_set_handler): New function.
+       * frv-sim.h (frvbf_square_root_SF): New function.
+       (frvbf_square_root_DF): New function.
+       (frvbf_h_fr_double_get_handler): New function.
+       (frvbf_h_fr_double_set_handler): New function.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c: Rebuild.
+
+1999-06-28  Dave Brolley  <brolley@cygnus.com>
+
+       * decode.c,decode.h,model.c,sem.c: Regenerate.
+
+Thu Jun 24 17:26:32 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_LIBS): Add -lm.
+       * frv-sim.h (frvbf_h_fr_int_get_handler): New function.
+       (frvbf_h_fr_int_set_handler): New function.
+       (frvbf_store_multiple_FRint): New function.
+       (frvbf_square_root_SF): New function.
+       * frv.c (frvbf_h_fr_int_get_handler): New function.
+       (frvbf_h_fr_int_set_handler): New function.
+       (frvbf_store_multiple_FRint): New function.
+       (frvbf_square_root_SF): New function.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-06-23  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (stamp-mloop): Delete -fast -pbb -switch args
+       to genmloop.sh.  Pass -scache instead.
+       (mloop.o): Delete sem-switch.c dependency.
+       (sem-switch.c): Delete rule.
+       (stamp-cpu): Don't build sem-switch.c.
+       * sem-switch.c: Delete.
+       * mloop.in (xfull-exec-*): Fix call to execute.
+       * tconfig.in (WITH_SCACHE_PBB): Define as 0.
+
+       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+
+Tue Jun 22 16:23:57 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,sem.c,sem-switch.c: Regenerate.
+
+Mon Jun 21 17:34:10 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * mloop.in (execute): Force gr0 to zero before each insn.
+       * cpu.h,cpu.c,decode.c,sem.c,sem-switch.c: Regenerate.
+
+1999-06-18  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+
+Fri Jun 18 17:49:23 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_h_gr_get_handler): New function.
+       (frvbf_h_gr_set_handler): New function:
+       (frvbf_store-multiple_GR): New function:
+       (frvbf_store-multiple_FR): New function:
+       (frvbf_store-multiple_CPR): New function:
+       * frv-sim.h (frvbf_h_gr_get_handler): New function.
+       (frvbf_h_gr_set_handler): New function:
+       (frvbf_store-multiple_GR): New function:
+       (frvbf_store-multiple_FR): New function:
+       (frvbf_store-multiple_CPR): New function:
+       * traps.c (frv_itrap): Implement proper syscalls interface.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Fri Jun 18 14:36:23 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frvbf_check_non_excepting_divide): New function.
+       (frvbf_check_recovering_store): New function.
+       (clear_nesr_neear): New function.
+       (clear_ne_flags): New function.
+       (frvbf_commit): New function.
+
+       * frv-sim.h (frvbf_check_non_excepting_divide): New function.
+       (frvbf_check_recovering_store): New function.
+       (clear_nesr_neear): New function.
+       (clear_ne_flags): New function.
+       (frvbf_commit): New function.
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-06-16  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_h_spr_get_handler): Handle SPR_NECR.
+       (frvbf_h_spr_set_handler): Handle SPR_NECR.
+       * traps.c (next_ne_index): New variable.
+       (frvbf_check_non_excepting_load): New function.
+       * frv-sim.h (NECR_ELOS): New macro.
+       (NECR_NEN): New macro.
+       (NECR_VALID): New macro.
+       (SET_NESR_VALID): New macro.
+       (SET_NESR_EAV): New macro.
+       (SET_NESR_FR): New macro.
+       (CLEAR_NESR_FR): New macro.
+       (SET_NESR_DRN): New macro.
+       (SET_NESR_SIZE): New macro.
+       (SET_NESR_NEAN): New macro.
+       (SET_NEEAR): New macro.
+       (GET_NE_FLAG): New macro.
+       (SET_NE_FLAG): New macro.
+       (CLEAR_NE_FLAG): New macro.
+       (frvbf_check_non_excepting_load): New function:
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Wed Jun  9 18:12:49 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+Tue Jun  8 18:13:51 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (cr_logic): Correct andcr, nandcr, andncr and nandncr.
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Mon Jun  7 17:09:15 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-06-07  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu Jun  3 17:33:31 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Wed Jun  2 17:50:21 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Tue Jun  1 17:58:53 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+Mon May 31 17:57:25 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frv_software_interrupt): Pass current_cpu to
+       frvbf_h_psr_esr_get.
+       (frv_software_interrupt): Calculate the new PC based on TBR.
+       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-05-31  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu May 27 17:42:00 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_h_cccr_get_handler): New function.
+       (frvbf_h_cccr_set_handler): New function.
+       (frvbf_scan_result): New function.
+       (frvbf_cr_logic): New function.
+       * frv.c (frvbf_h_cccr_get_handler): New function.
+       (frvbf_h_cccr_set_handler): New function.
+       (frvbf_scan_result): New function.
+       (frvbf_cr_logic): New function.
+       (cr_ops,cr_result,cr_logic): New table.
+       * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-05-25  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_h_spr_get_handler): Add support for TBR and PSR.
+       (frvbf_h_spr_set_handler): Add support for TBR and PSR.
+       (frv_psr_get_handler): New function.
+       (frv_psr_set_handler): New function.
+       (frv_tbr_get_handler): New function.
+       (frv_tbr_set_handler): New function.
+       (frvbf_h_ccr_get_handler): Add support for fCC.
+       (frvbf_h_ccr_set_handler): Add support for fCC.
+       * frv-sim.h (frv_psr_get_handler): New function.
+       (frv_psr_set_handler): New function.
+       (frv_tbr_get_handler): New function.
+       (frv_tbr_set_handler): New function.
+       * traps.c (frv_software_interrupt): Implement.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu May 20 16:39:27 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-05-18  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c: (frvbf_set_icc_for_shift_left): New function.
+       (frvbf_set_icc_for_shift_right): New function.
+       * frv-sim.h (frvbf_set_icc_for_shift_left): New function.
+       (frvbf_set_icc_for_shift_right): New function.
+       (SETMEMSF): New Macro.
+       (SETMEMDF): New Macro.
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu May 13 17:14:49 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv.c (frvbf_h_ccr_get_handler): New function.
+       (frvbf_h_ccr_set_handler): New function.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Tue May 11 16:13:15 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * frv-sim.h (frvbf_h_spr_get_handler,frvbf_h_spr_set_handler,
+       frvbf_h_isr_get_handler, frvbf_h_isr_set_handler): New functions.
+       * frv.c: Likewise.
+       * cpu.h,cpu.c,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+1999-05-10  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,cpu.c,decode.c,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu May  6 16:48:21 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,sem.c,sem-switch.c: Regenerate.
+       * frv-sim.h (TRAP_SYSCALL): Define as 0x80.
+
+Wed May  5 11:52:24 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (frv_software_interrupt): New function.
+       (frv_itrap): New function.
+       * frv-sim.h (TRAP_SYSCALL): define as 0.
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Mon May  3 13:49:21 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem.c,sem-switch.c: Regenerate.
+
+Thu Apr 29 17:37:06 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * Directory created.
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
deleted file mode 100644 (file)
index 0540927..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-11-01  James Bowman  <james.bowman@ftdichip.com>
-
-       * interp.c (step_once): Add ft32 shortcode decoder.
-
-2017-10-12  James Bowman  <james.bowman@ftdichip.com>
-
-       * interp.c (step_once): Replace FT32_FLD_K8 with K15.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Update comment and argv check.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete objects listed in
-       SIM_NEW_COMMON_OBJS.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-09-29  James Bowman  <james.bowman@ftdichip.com>
-
-       * interp.c (step_once): Correct length for MEMSET and MEMCPY
-       instructions.
-
-2015-09-29  James Bowman  <james.bowman@ftdichip.com>
-
-       * interp.c (cpu_mem_write): Do no write PM when locked.
-
-2015-09-22  James Bowman  <james.bowman@ftdichip.com>
-
-       * ft32/interp.c (cpu_mem_read): Call getchar when ea is 0x10000.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (ft32_read_item): Change CIA_GET to CPU_PC_GET.
-       (ft32_write_item): Likewise.
-       (step_once): Likewise.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (ft32_pc_get): Return the pc value.
-
-2015-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_read, sim_write): Delete.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * Makefile.in: New file, FT32 sim Makefile.
-       * configure.ac: New file, FT32 sim config.
-       * ft32-sim.h: New file, FT32 sim CPU object.
-       * interp.c: New file, FT32 simulator.
-       * sim-main.h: New file, FT32 simulator wrapper.
-       * aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/ft32/ChangeLog-2021 b/sim/ft32/ChangeLog-2021
new file mode 100644 (file)
index 0000000..0540927
--- /dev/null
@@ -0,0 +1,355 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-11-01  James Bowman  <james.bowman@ftdichip.com>
+
+       * interp.c (step_once): Add ft32 shortcode decoder.
+
+2017-10-12  James Bowman  <james.bowman@ftdichip.com>
+
+       * interp.c (step_once): Replace FT32_FLD_K8 with K15.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Update comment and argv check.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete objects listed in
+       SIM_NEW_COMMON_OBJS.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-09-29  James Bowman  <james.bowman@ftdichip.com>
+
+       * interp.c (step_once): Correct length for MEMSET and MEMCPY
+       instructions.
+
+2015-09-29  James Bowman  <james.bowman@ftdichip.com>
+
+       * interp.c (cpu_mem_write): Do no write PM when locked.
+
+2015-09-22  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32/interp.c (cpu_mem_read): Call getchar when ea is 0x10000.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (ft32_read_item): Change CIA_GET to CPU_PC_GET.
+       (ft32_write_item): Likewise.
+       (step_once): Likewise.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (ft32_pc_get): Return the pc value.
+
+2015-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_read, sim_write): Delete.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.in: New file, FT32 sim Makefile.
+       * configure.ac: New file, FT32 sim config.
+       * ft32-sim.h: New file, FT32 sim CPU object.
+       * interp.c: New file, FT32 simulator.
+       * sim-main.h: New file, FT32 simulator wrapper.
+       * aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
deleted file mode 100644 (file)
index 3ce64e4..0000000
+++ /dev/null
@@ -1,1499 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_open): Set current_target_byte_order.
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c: Include sim/callback.h.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
-       * config.in, configure: Regenerate.
-
-2021-05-28  Yoshinori Sato  <ysato@users.sourceforge.jp>
-
-       * sim-main.h (h8_typecodes): Add operand type OP_REG_DEC, OP_REG_INC.
-       * compile.c (decode): Rewrite oprand type for specific case.
-       (fetch_1): Add handling OP_REG_DEC and OP_REG_INC.
-       (step_once): Fix operand fetch order.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (h8_get_state): Change sd to H8300_SIM_STATE.
-       (h8_set_state): Likewise.
-       (h8_get_stats): Likewise.
-       (h8_increment_stats): Likewise.
-       (init_pointers): Likewise.
-       (step_once): Likewise.
-       (sim_info): Likewise.
-       (sim_open): Likewise.
-       (sim_load): Likewise.
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-       (struct h8300_sim_state): New struct.
-       (H8300_SIM_STATE): Define.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c: Replace config.h include with defs.h.
-       * sim-main.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (h8_set_macS): Disable with #if 0.
-       (step_once): Set trace & intMask to 0.
-       (set_h8300h): Mark static.
-       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * compile.c (init_pointers): Fix sequence point warning.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * compile.c (cmdline_location): Use new-style declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (memory_size): Move definition to top of file.
-       (h8_get_memory, h8_set_memory): Assert access is within memory_size.
-       (h8_get_eightbit_buf): Delete.
-       h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
-       (GET_MEMORY_L): Delete eightbit references.
-       (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
-       SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
-       (sim_write): Likewise.  Return i instead of size.
-       (sim_read): Check addr is within memory_size.
-       * sim-main.h (struct h8300_cpu_state): Delete eightbit.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
-       h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
-       h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
-       set_simcache_size): Delete.
-       (init_pointers): Delete calls to h8_get_cache_idx_buf,
-       h8_set_cache_idx_buf, and set_simcache_size.
-       (step_once): Replace call to h8_get_cache_idx with decode.  Delete
-       case 0 handling and call to compile.
-       (sim_write): Delete call to h8_set_cache_idx.
-       (sim_info): Delete call to h8_get_compiles & sim_cache_size.
-       (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
-       * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
-       cache_top, and compiles.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_state_initialize): Delete.
-       (sim_open): Replace sim_state_initialize call with SBR_REGNUM
-       assignment.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (h8300_reg_store): Delete sd.  Change init_pointers to
-       use CPU_STATE (cpu).  Change h8_set_pc to cpu->pc.  Return -1 and
-       drop the printf if the default case.  Change all the set func calls
-       to use cpu->regs[rn] instead.
-       (h8300_reg_store): Delete sd.  Change init_pointers to
-       use CPU_STATE (cpu).  Change h8_get_pc to cpu->pc.  Return -1 and
-       drop the printf if the default case.  Change all the get func calls
-       to use cpu->regs[rn] instead.  Add ZERO_REGNUM case.  Return 2 and
-       4 instead of -1 at the end.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (lvalue): Change sim_engine_set_run_state calls to
-       sim_engine_halt.  Declare local cpu.
-       (fetch_1): Likewise.
-       (store_1): Likewise.
-       (sim_resume): Rename to ...
-       (step_once): ... this.  Declare init1, poll_count, reason, and
-       sigrc variables.  Delete step checking.  Change
-       sim_engine_set_run_state calls to sim_engine_halt.  Delete poll
-       logic.  Change while(1) loop to while(0).
-       (sim_engine_run): New function.
-       * Makefile.in (SIM_OBJS): Add sim-resume.o.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_open): Delete current_alignment and
-       current_target_byte_order assignments.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN and
-       SIM_AC_OPTION_ALIGNMENT.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_store_register): Rename to ...
-       (h8300_reg_store): ... this.  Declare sd.
-       (sim_fetch_register): Rename to ...
-       (h8300_reg_fetch): ... this.  Declare sd.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (lreg): Delete.
-       (init_pointers): Delete lreg assignments.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * inst.h: Delete file.
-       * Makefile.in (compile.o): Delete rule.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
-       (h8300_option_handler): New func from common/sim-options.c.
-       (h8300_options): New options from common/sim-options.c.
-       (sim_open): Call sim_add_option_table.
-       * tconfig.h: Delete file.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_callback, sim_kind, myname): Delete.
-       (init_pointers, sim_store_register, sim_fetch_register, sim_info):
-       Change sim_callback->printf_filtered calls to sim_io_printf.
-       (sim_resume): Likewise.  Declare sim_callback.
-       (sim_open): Delete sim_callback, sim_kind, and myname assignment.
-       (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
-       * compile.c (sim_stop, sim_stop_reason): Delete.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-load.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_close): Delete.
-
-2015-11-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (littleendian): Delete.
-       (init_pointers): Delete littleendian usage.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (h8300_pc_get, h8300_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
-       CPU_PC_STORE for all cpus.
-       * sim-main.h (SIM_CPU): Define.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c: Include sim-options.h.
-       (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
-       * tconfig.h (SIM_HAVE_PROFILE): Delete.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
-       * aclocal.m4, configure: Regenerate.
-
-2014-12-03  Joel Brobecker  <brobecker@adacore.com>
-
-       * compile.c (sim_resume):  Adjust calls to "stat" and "fstat"
-       callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
-       following renaming in callback.h.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_load): Add const to prog.
-
-2014-02-17  Mike Frysinger  <vapier@gentoo.org>
-
-       PR gdb/16450
-       * compile.c (control_c_sim_desc): Delete.
-       (control_c): Likewise.
-       (sim_resume): Delete signal(SIGINT) handling.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * compile.c: Include config.h before system header files.
-       * sim-main.h: Likewise.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_do_command): Delete.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * compile.c (sim_store_register): Update return value to
-       match new API.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_write): Add const to buffer arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-12-09  Yoshinori Sato <ysato@users.sourceforge.jp>
-       * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
-       Index registers not masked memory areas.
-       Only simply increment or decrement.
-       * compile.c(store_1): Ditto.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * compile.c: Add const to remove warning.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2007-07-03  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * compile.c (sim_resume): Fix the last byte of ARGV for
-       SYS_CMDLINE.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-07-13  Yoshinori Sato <ysato@users.sourceforge.jp>
-
-       * compile.c (OBITOP): Bit address mask low three bit.
-       * compile.c (decode): Fix warning.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-06-28  Alexandre Oliva  <aoliva@redhat.com>
-
-       2003-07-23  Richard Sandiford  <rsandifo@redhat.com>
-       * compile.c (sim_resume): Make sure that dst.reg refers to the
-       right register byte in mova/sz.l @(dd,RnL),ERn.
-       2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
-       * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
-       mulxs, divs and divxs.
-
-       * compile.c (sim_load): Update sd->memory_size.
-
-2004-06-10  Michael Snyder  <msnyder@redhat.com>
-
-       Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
-       * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
-
-2004-01-05  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_load): Don't pass a type to bfd_openr.
-
-2003-12-16  Michael Snyder  <msnyder@redhat.com>
-
-       Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
-       * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
-
-2003-12-11  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
-
-       * compile.c (set_h8300h): Initialize globals to zero.
-
-2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
-
-       * compile.c (h8300_normal_mode): New.
-       (SP): Handle normal mode.
-       (bitfrom): Use normal mode flag to return suitable value.
-       (lvalue): Use normal mode flag to return command line location.
-       (decode): Decode instruction correctly for normal mode.
-       (init_pointers): Initialise memory correctly for normal mode.
-       (sim_resume): Handle cases for normal mode using h8300_normal_mode
-       flag.
-       (sim_store_register): Handle 2 byte PC for normal mode.
-       (sim_fetch_register): Handle 2 byte PC for normal mode.
-       (set_h8300h): Set normal mode flag as per architechture.
-       (sim_load): Allocate 64K for normal mode instead of bigger memory.
-
-2003-07-18  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (decode): Enhancements for mova.
-       Initialize cst, reg, and rdisp inside the loop, for each
-       new instruction.  Defer correction of the disp2 values until
-       later, and then adjust them by the size of the first operand,
-       rather than the size of the instruction.
-       (sim_resume): For mova, adjust the size of the second operand
-       according to the type of the first operand (INDEXB vs. INDEXW).
-       In cases where there is only one operand, the other two must
-       both be composed on the fly.
-
-2003-07-22  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_resume): Revert 6-24 change, it does not
-       work with gdb breakpoints.
-
-2003-07-17  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
-       (decode): IMM16 is always zero-extended.
-
-2003-06-24  Michael Snyder  <msnyder@redhat.com>
-
-       * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
-       * compile.c (sim_resume): Use the above to return stop signal.
-
-2003-06-18  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c: Replace "Hitachi" with "Renesas".
-       (decode): Distinguish AV_H8S from AV_H8H.
-       (sim_resume): H8SX can use any register for TAS.
-       (decode): Add support for VECIND.
-       (sim_resume): Implement rte/l and rts/l.
-       (GETSR): New macro (actually old macro reincarnated).
-       (decode): Add handling for IMM2.
-       (sim_resume): Drop extra block around jmp, jsr, rts.
-       Add handling for trapa and rte.
-       For divxu.b, change 0xffff mask to 0xff.
-       (set_h8300h): Add bfd_mach_h8300sxn machine.
-
-2003-06-18  Corinna Vinschen  <vinschen@redhat.com>
-
-       * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
-       and SBR, VBR.
-
-2003-06-05  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
-       (sim_store_register): Ditto.
-
-2003-06-04  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_info): Fix typo in output.
-
-       * compile.c (set_h8300h): Replace 'flag' arguments
-       with a bfd_machine argument, and decode it inline.
-       Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
-
-2003-06-03  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c: Add h8300sx insns and addressing modes.
-       * sim-main.h: Replaces h8300/inst.h.
-       * Makefile.in: Tweak to bring in some sim/common stuff.
-
-2003-04-13  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
-
-2003-03-20  D.Venkatasubramanian  <dvenkat@noida.hcltech.com>
-
-       * compile.c (cmdline_location): Added function to
-       return the location of 8-bit (256 locations) where the
-       Command Line arguments would be stored.
-       (decode): Added a TRAP to 0xcc for Commandline
-       processing using pseudo opcode O_SYS_CMDLINE.
-       (sim_resume): Added handling of O_SYS_CMDLINE Trap.
-       (sim_create_inferior): Setting a pointer to
-       Commandline Args array.
-       * inst.h: Added a new variable ptr_command_line for
-       storing pointer to Commandline array.
-
-2003-03-14  D.Venkatasubramanian <dvenkat@noida.hcltech.com>
-
-       * compile.c (decode): Added code for some more magic traps.
-       * compile.c (sim_resume): Added support for File I/O system
-       calls through callback to host_system.
-       System calls provided support for :
-       open, read, write, lseek, close, stat, fstat
-       Only basic support for stat and fstat.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2003-02-05  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * compile.c (init_pointers): Abort if wreg never gets initialized.
-       (sim_resume): Fix the handling of exts.w and extu.w.
-
-2003-01-31  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * compile.c (sim_resume): Fix the handling of bxor.
-
-2003-01-16  Michael Snyder  <msnyder@redhat.com>
-
-       * compile.c: Change K&R function definitions to ISO.
-       (fetch): Make static, and eliminate unused parameter 'n'.
-
-2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * compile.c: Fix formatting.
-       * inst.h: Likewise.
-
-2002-07-29  Andrey Volkov  <avolkov@transas.com>
-
-       * compile.c: Include "gdb/sim-h8300.h"
-       * Makefile.in: Add dependences on "inst.h",
-       "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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.
-
-2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
-
-       * compile.c: Fix formatting.
-
-2002-05-17  Andrey Volkov  (avolkov@transas.com)
-
-       * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
-
-2002-05-17  Andrey Volkov  (avolkov@transas.com)
-
-       * compile.c: Add support of EXR register
-       * inst.h: Ditto.
-
-2002-05-17  Andrey Volkov  (avolkov@transas.com)
-
-       * compile.c: Made h8300s as new target, not h8300h alias.
-       * inst.h: Ditto.
-
-2002-05-17  Andrey Volkov  (avolkov@transas.com)
-
-       * compile.c: Add additional CCR flags (I,UI,H,U)
-
-2002-05-17  Andrey Volkov  (avolkov@transas.com)
-
-       * compile.c: Change literal regnumbers to REGNUMS.
-       Fix instruction and cycles counting
-
-2001-12-20  Kazu Hirata  <kazu@hxi.com>
-
-       * compile.c: Fix formatting.
-
-2001-12-20  Kazu Hirata  <kazu@hxi.com>
-
-       * compile.c: Fix comment typos.
-
-2000-08-10  Kazu Hirata  <kazu@hxi.com>
-
-       * compile.c (decode): Clean up the code.
-
-2000-06-15  Kazu Hirata  <kazu@hxi.com>
-
-       * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
-       correctly.
-
-2000-06-20  Frank Ch. Eigler  <fche@redhat.com>
-
-       * compile.c: Don't include "wait.h".
-       (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
-       instead of WIF* from host.
-
-2000-06-13  Frank Ch. Eigler  <fche@redhat.com>
-
-       * compile.c, writecode.c: Correct typo.
-
-2000-06-13  Kazu Hirata  <kazu@hxi.com>
-
-       * compile.c: Fix formatting.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
-       frequency at which the poll_quit callback is used.
-       (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:14 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:46 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Feb 17 12:42:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Nov 11 16:52:07 1997  Angela Marie Thomas (angela@cygnus.com)
-
-       * compile.c: #include stdio.h for definition of NULL on
-       some platforms.
-
-Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_load): Pass lma_p and sim_write args to
-       sim_load_file.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 17 12:00:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (compile.o): Depend on config.h in local directory.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep  9 22:17:26 1997  Felix Lee  <flee@cygnus.com>
-
-       * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
-       with sim/common.
-       * configure.in: check for sys/param.h
-       * compile.c: #ifdef HAVE_SYS_PARAM_H.
-       #define SIGTRAP for wingdb.
-       (sim_resume): poll keyboard at least once per call.
-       (sim_resume): use host_callback instead of printf for syscall
-       output.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:38:43 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-       (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
-       the sim_load code should be moved to sim_open.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 15:47:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_open): Add ABFD argument.
-
-Tue May 20 10:16:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Delete SIM_DESC argument.
-
-Wed Apr 30 10:22:29 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * compile.c (sim_load): Call bfd_get_mach instead of examining
-       bfd fields directly.
-       * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 18 14:30:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * compile.c (sim_resume): Use poll_quit callback.
-       (sim_stop): New function.
-
-Thu Apr 17 03:06:39 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * compile.c (sim_kind, myname): New static locals.
-       (sim_open): Set sim_kind, myname.
-       (sim_load): Return SIM_RC.  New arg abfd.  Update test for h8300h.
-       Call sim_load_file to load file into simulator.  Set start address
-       from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * compile.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 12:48:05 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * compile.c (sim_open): New SIM_DESC result.  Argument is now in
-       argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Tue Feb  4 13:36:29 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Wed Nov 20 01:39:12 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
-       (SIM_OBJS): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       * configure: Regenerated.
-       * inst.h (enum sim_state): Define.
-       (cpu_state_type): New member `state'.  Set it whenever `exception'
-       is set.
-       * compile.c (sim_callback): New global.
-       (sim_set_simcache_size): Renamed from sim_csize.
-       (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
-       'cus it can't work.  Change main loop exit test to use cpu.state.
-       (sim_trace): New function.
-       (sim_stop_reason): Add right way to set results, but #if 0 out.
-       (sim_size): New function.
-       (sim_info): Redirect calls to printf_filtered through callback.
-       (sim_set_callbacks): Record callback.
-       * run.c: Deleted, using one in ../common now.
-       * tconfig.in: New file.
-
-Thu Oct  3 16:13:18 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (mostlyclean): Don't remove config.log here.
-
-Fri Aug  9 22:59:11 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): rts, sleep, bpt and nop have
-       no associated "size".
-
-Tue Jul  9 22:15:39 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
-
-Tue Jul  2 23:08:45 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * run.c (main): Don't "load" sections which don't have
-       SEC_LOAD set.
-       * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
-       of OSHIFTS.
-       (ONOT): Define.
-       (sim_resume, shift/rotate cases): Add support for shift/rotate
-       by two bits.
-       (OSHIFTS): Corresponding changes.
-
-Tue Jul  2 01:37:27 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
-
-Wed Jun 26 08:58:53 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (h8300smode): Declare.
-
-Wed Jun 26 12:20:56 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Tue Jun 18 16:31:10 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
-
-       * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
-       * run.c (main): Treat the H8/S like the H8/300H for now.
-
-Fri May 24 10:35:25 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (SEXTCHAR): Clear upper bits when sign
-       bit is clear.
-
-Wed May 22 22:23:37 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Correctly handle divu.
-
-Tue May  7 02:13:05 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Never allow the PC to have an
-       odd value.
-
-Fri Apr 12 16:50:37 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * inst.h: Expand on comments regarding H8300H_MSIZE.  Note
-       separate memory is allocate for the 8-bit area.
-       (struct cpu_state_type): Add new "eightbit' field.
-       * compile.c (GET_MEMORY_L): Handle access into the 8-bit
-       area.
-       (GET_MEMORY_W, GET_MEMORY_B): Likewise.
-       (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
-       (init_pointers): Initialize space for the 8-bit area.
-       (sim_write): Handle writing into the 8-bit area.
-       (sim_read): Handle reading from the 8-bit area.
-       (sim_load): Reallocate space for the 8-bit area.
-
-       * compile.c (sim_load): Re-allocate memory for the simulator
-       here.
-
-Fri Apr 12 09:39:56 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Fix and simplify overflow and carry
-       handling for 32bit ALU insns.
-
-Mon Apr  8 23:58:49 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (sim_resume): Fix overflow checks for ALU insns.
-
-Fri Apr  5 17:20:59 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (decode): Use "bit" to hold L_3 immediates instead
-       of holding them in "abs".  Handle ABS8MEM memory references aka
-       8-bit area.  Replace ABSMOV references with ABS8MEM.
-
-Wed Mar 13 17:43:56 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * compile.c (fetch): Handle accesses to the exception/function
-       vectors.
-
-Mon Mar 11 09:53:25 1996  Doug Evans  <dje@charmed.cygnus.com>
-
-       * compile.c: #include "wait.h".
-       (sim_resume, sleep insn): Check program exit status in r0.
-       (sim_resume, shift insns): Fix setting of overflow flag for shal.
-       * run.c: #include <signal.h>.
-       (main): Abort if program got SIGILL.
-       Print error message if argument is invalid.
-       (usage): Improve text.
-
-Wed Feb 21 12:15:00 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.7.
-
-Thu Jan  4 11:52:53 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * inst.h (MPOWER,MSIZE): Deleted.
-       (H8300{,H}_MSIZE): Define.
-       * compile.c (memory_size): New static global.
-       (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
-       (sim_write,sim_read): Use memory_size.
-
-Fri Oct 13 15:03:19 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * compile.c (sim_set_callbacks): New.
-
-Tue Oct 10 11:11:26 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (BISON): Remove macro.
-
-Wed Sep 20 13:35:02 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (maintainer-clean): New synonym for realclean.
-
-Fri Sep  8 12:18:53 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (install): Don't install in $(tooldir).
-
-       * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
-       bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
-       AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES and AR.
-       Call AC_CHECK_HEADERS for stdlib.h and time.h.  Touch stamp.h if
-       creating config.h.
-       * configure: Rebuild.
-       * config.in: New file, created by autoheader.
-       * Makefile.in (AR): Define as @AR@.
-       (CC): New variable, defined as @CC@.
-       (CFLAGS): Define as @CFLAGS@.
-       (RANLIB): Define as @RANLIB@.
-       (HDEFINES, TDEFINES): New variables.
-       (@host_makefile_frag@): Remove.
-       (compile.o, run.o): Depend upon config.h.
-       (mostlyclean): Make the same as clean, not distclean.
-       (clean): Remove config.log.
-       (distclean): Remove config.h and stamp-h.
-       (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
-       invoking config.status.
-       (config.h, stamp-h): New targets.
-       * compile.c: Include "config.h".  Don't include <sys/times.h>.
-       Include <time.h> and <stdlib.h> if they exist.  Don't include
-       "sysdep.h".
-       (get_now): Remove unused local b.
-       * run.c: Include "config.h".  Include <stdlib.h> if it exists.
-       Don't include "sysdep.h".
-       * writecode.c: Don't include "bfd.h" or "sysdep.h".  Include
-       <stdio.h>.
-
-Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Update all FSF addresses except those in COPYING* files.
-
-Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * Makefile.in (clean): Remove run.
-       (distclean): Remove Makefile.
-
-       * h8300.mt: Removed.
-
-       * Makefile.in, configure.in: converted to autoconf.
-       * configure: New file, generated with autconf 2.4.
-
-Fri Jun 30 16:50:24 1995  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * compile.c (sim_do_command): New function.
-
-Tue Jun 20 16:18:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * compile.c (get_now): Don't do if win32.
-       (sim_resume): Poll in win32 too.
-
-Wed May 24 16:31:38 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * configure.in: Fix typo in last change.
-
-Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * run.c: parse arguments with getopt().
-
-Tue Feb 28 17:30:08 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Use ../../bfd/hosts/std-host.h if specific
-       host unavailable.
-
-Sun Jan 22 12:35:43 1995  Steve Chamberlain  <sac@splat>
-
-       * compile.c (sim_resume): Initialize cpu.mask.
-
-Thu Sep  8 16:53:00 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
-
-Wed May 18 13:47:58 1994  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c: #include "bfd.h".
-       (sim_*): Set result type to void where there isn't one.
-       (sim_resume, default case): Set cpu.exception to SIGILL.
-       (sim_trace): Delete.
-       (sim_set_pc): Delete.
-       (sim_info): Delete printf_fn arg, all callers changed.
-       Call printf_filtered.
-       (set_h8300h): New arg `flag', all callers changed.
-       (sim_close): New function.
-       (sim_load): New function.
-       (sim_create_inferior): Renamed from sim_set_args, all callers changed.
-       * run.c: #include <varargs.h>, "remote-sim.h".
-       (printf_filtered): New function.
-
-Fri May 13 18:32:27 1994  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c (decode): Fix typo (16 bit branches).
-       (*): Some white space clean up.
-
-Fri May  6 13:44:01 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * compile.c (decode): Compile 16bit branches properly.
-
-Sat Dec 11 16:32:36 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
-       andc.  Poll for interrupts.
-
-Thu Oct 28 19:29:34 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c: #include "ansidecl.h" for remote-sim.h.
-
-Tue Oct 26 09:43:36 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
-       * compile.c: #include "remote-sim.h".
-       (sim_resume): New arg siggnal.
-       (sim_write): Use SIM_ADDR for type of arg addr.
-       Always return a value.
-       (sim_read): Ditto.
-       (sim_store_register): Result is type int.
-       (sim_fetch_register): Ditto.
-       (sim_stop_reason): Renamed from sim_stop_signal.
-       (sim_set_pc): Use SIM_ADDR for type of arg pc.
-       (sim_info): int result, new arg printf_fn.
-       (sim_kill): int result.
-       (sim_open): int result, new arg name.
-       * run.c (main): Use sim_set_pc to set pc.
-       Update call to sim_info.
-
-Sat Oct 23 15:01:18 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c (sim_stop_signal): Result is now enum sim_stop.
-
-Fri Oct 15 23:49:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
-
-       * compile.c (sim_kill, sim_open, sim_set_args): New functions.
-
-Thu Oct  7 16:24:10 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * compile.c (sim_set_pc): Write to the pc direcly.
-       (sim_store_register): Now value is passed by reference. (sim_read,
-       sim_write): Return number of bytes copied.
-
-Tue Aug 17 07:16:15 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * compile.c (mop): New function to do multiplies.
-
-Fri Jul 16 13:53:53 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c (sim_resume): Add support for nop insn.
-
-Thu Jul 15 09:59:01 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c: Reset HMODE back to zero (accidently set it to 1).
-
-       * run.c (main): If h8/300h binary detected, call set_h8300h.
-       * compile.c (sim_resume): Fix O_NEG insn.
-
-Fri Jul  9 14:36:48 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * run.c (main): Add -h flag to enable h8/300h emulation.
-       * compile.c: Rename Hmode to HMODE (consistency with gdb).
-       (set_h8300h): New function.
-       (sim_resume): Add support for extu,exts insns.
-       (sim_resume): Fix logical right shifting.
-       (sim_resume, label alu32): Fix setting of carry flag.
-
-Sun Jul  4 00:35:41 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * compile.c (sim_csize): Initialize cpu.cache.
-
-Fri Jul  2 17:42:59 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * Makefile.in: Add -I../../bfd to pick up bfd.h.
-
-Thu Jun 24 13:40:12 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * run.c (main): Fix parsing of args.
-
-       * compile.c (sim_resume): Fix shll insn.
-
-Tue Jun  8 14:16:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * compile.c: New file, supports H8/300H.
-       * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
-
-Tue Jun  1 11:14:59 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * run.c (main): Add -v to print info.
-       * p3.c (sim_info):  New function.
-
-Mon Mar 15 15:48:31 1993  Ian Lance Taylor  (ian@cygnus.com)
-
-       * h8300.mt (DO_INSTALL): Renamed from INSTALL.
-
-Wed Mar  3 15:06:53 1993  Steve Chamberlain  (sac@poseidon.cygnus.com)
-
-       * Makefile.in: Don't use cb or indent
-       * p1.c, state.h, writecode.c: lint
-
-Mon Feb  1 16:44:58 1993  John Gilmore  (gnu@cygnus.com)
-
-       * Makefile.in:  Make SunOS halfdone VPATH work.
-       * p1.c:  Lint picked up by HP native compiler.
-
-Mon Jan  4 12:32:35 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
-
-       * p1.c (sim_resume): when running on dos, any character typed to
-       the keyboard will cause a simulated exception.
-
-Sun Jan  3 14:15:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
-       running
-
-Tue Dec 22 13:56:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * new
diff --git a/sim/h8300/ChangeLog-2021 b/sim/h8300/ChangeLog-2021
new file mode 100644 (file)
index 0000000..3ce64e4
--- /dev/null
@@ -0,0 +1,1499 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_open): Set current_target_byte_order.
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c: Include sim/callback.h.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
+       * config.in, configure: Regenerate.
+
+2021-05-28  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * sim-main.h (h8_typecodes): Add operand type OP_REG_DEC, OP_REG_INC.
+       * compile.c (decode): Rewrite oprand type for specific case.
+       (fetch_1): Add handling OP_REG_DEC and OP_REG_INC.
+       (step_once): Fix operand fetch order.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (h8_get_state): Change sd to H8300_SIM_STATE.
+       (h8_set_state): Likewise.
+       (h8_get_stats): Likewise.
+       (h8_increment_stats): Likewise.
+       (init_pointers): Likewise.
+       (step_once): Likewise.
+       (sim_info): Likewise.
+       (sim_open): Likewise.
+       (sim_load): Likewise.
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+       (struct h8300_sim_state): New struct.
+       (H8300_SIM_STATE): Define.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c: Replace config.h include with defs.h.
+       * sim-main.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (h8_set_macS): Disable with #if 0.
+       (step_once): Set trace & intMask to 0.
+       (set_h8300h): Mark static.
+       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * compile.c (init_pointers): Fix sequence point warning.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * compile.c (cmdline_location): Use new-style declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (memory_size): Move definition to top of file.
+       (h8_get_memory, h8_set_memory): Assert access is within memory_size.
+       (h8_get_eightbit_buf): Delete.
+       h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
+       (GET_MEMORY_L): Delete eightbit references.
+       (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
+       SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
+       (sim_write): Likewise.  Return i instead of size.
+       (sim_read): Check addr is within memory_size.
+       * sim-main.h (struct h8300_cpu_state): Delete eightbit.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
+       h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
+       h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
+       set_simcache_size): Delete.
+       (init_pointers): Delete calls to h8_get_cache_idx_buf,
+       h8_set_cache_idx_buf, and set_simcache_size.
+       (step_once): Replace call to h8_get_cache_idx with decode.  Delete
+       case 0 handling and call to compile.
+       (sim_write): Delete call to h8_set_cache_idx.
+       (sim_info): Delete call to h8_get_compiles & sim_cache_size.
+       (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
+       * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
+       cache_top, and compiles.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_state_initialize): Delete.
+       (sim_open): Replace sim_state_initialize call with SBR_REGNUM
+       assignment.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (h8300_reg_store): Delete sd.  Change init_pointers to
+       use CPU_STATE (cpu).  Change h8_set_pc to cpu->pc.  Return -1 and
+       drop the printf if the default case.  Change all the set func calls
+       to use cpu->regs[rn] instead.
+       (h8300_reg_store): Delete sd.  Change init_pointers to
+       use CPU_STATE (cpu).  Change h8_get_pc to cpu->pc.  Return -1 and
+       drop the printf if the default case.  Change all the get func calls
+       to use cpu->regs[rn] instead.  Add ZERO_REGNUM case.  Return 2 and
+       4 instead of -1 at the end.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (lvalue): Change sim_engine_set_run_state calls to
+       sim_engine_halt.  Declare local cpu.
+       (fetch_1): Likewise.
+       (store_1): Likewise.
+       (sim_resume): Rename to ...
+       (step_once): ... this.  Declare init1, poll_count, reason, and
+       sigrc variables.  Delete step checking.  Change
+       sim_engine_set_run_state calls to sim_engine_halt.  Delete poll
+       logic.  Change while(1) loop to while(0).
+       (sim_engine_run): New function.
+       * Makefile.in (SIM_OBJS): Add sim-resume.o.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_open): Delete current_alignment and
+       current_target_byte_order assignments.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN and
+       SIM_AC_OPTION_ALIGNMENT.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_store_register): Rename to ...
+       (h8300_reg_store): ... this.  Declare sd.
+       (sim_fetch_register): Rename to ...
+       (h8300_reg_fetch): ... this.  Declare sd.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (lreg): Delete.
+       (init_pointers): Delete lreg assignments.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * inst.h: Delete file.
+       * Makefile.in (compile.o): Delete rule.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
+       (h8300_option_handler): New func from common/sim-options.c.
+       (h8300_options): New options from common/sim-options.c.
+       (sim_open): Call sim_add_option_table.
+       * tconfig.h: Delete file.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_callback, sim_kind, myname): Delete.
+       (init_pointers, sim_store_register, sim_fetch_register, sim_info):
+       Change sim_callback->printf_filtered calls to sim_io_printf.
+       (sim_resume): Likewise.  Declare sim_callback.
+       (sim_open): Delete sim_callback, sim_kind, and myname assignment.
+       (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
+       * compile.c (sim_stop, sim_stop_reason): Delete.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-load.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_close): Delete.
+
+2015-11-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (littleendian): Delete.
+       (init_pointers): Delete littleendian usage.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (h8300_pc_get, h8300_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
+       CPU_PC_STORE for all cpus.
+       * sim-main.h (SIM_CPU): Define.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c: Include sim-options.h.
+       (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
+       * tconfig.h (SIM_HAVE_PROFILE): Delete.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
+       * aclocal.m4, configure: Regenerate.
+
+2014-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * compile.c (sim_resume):  Adjust calls to "stat" and "fstat"
+       callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
+       following renaming in callback.h.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_load): Add const to prog.
+
+2014-02-17  Mike Frysinger  <vapier@gentoo.org>
+
+       PR gdb/16450
+       * compile.c (control_c_sim_desc): Delete.
+       (control_c): Likewise.
+       (sim_resume): Delete signal(SIGINT) handling.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * compile.c: Include config.h before system header files.
+       * sim-main.h: Likewise.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_do_command): Delete.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * compile.c (sim_store_register): Update return value to
+       match new API.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_write): Add const to buffer arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-12-09  Yoshinori Sato <ysato@users.sourceforge.jp>
+       * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
+       Index registers not masked memory areas.
+       Only simply increment or decrement.
+       * compile.c(store_1): Ditto.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * compile.c: Add const to remove warning.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2007-07-03  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * compile.c (sim_resume): Fix the last byte of ARGV for
+       SYS_CMDLINE.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-07-13  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * compile.c (OBITOP): Bit address mask low three bit.
+       * compile.c (decode): Fix warning.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-06-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       2003-07-23  Richard Sandiford  <rsandifo@redhat.com>
+       * compile.c (sim_resume): Make sure that dst.reg refers to the
+       right register byte in mova/sz.l @(dd,RnL),ERn.
+       2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
+       * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
+       mulxs, divs and divxs.
+
+       * compile.c (sim_load): Update sd->memory_size.
+
+2004-06-10  Michael Snyder  <msnyder@redhat.com>
+
+       Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
+       * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
+
+2004-01-05  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_load): Don't pass a type to bfd_openr.
+
+2003-12-16  Michael Snyder  <msnyder@redhat.com>
+
+       Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
+       * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
+
+2003-12-11  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
+
+       * compile.c (set_h8300h): Initialize globals to zero.
+
+2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
+
+       * compile.c (h8300_normal_mode): New.
+       (SP): Handle normal mode.
+       (bitfrom): Use normal mode flag to return suitable value.
+       (lvalue): Use normal mode flag to return command line location.
+       (decode): Decode instruction correctly for normal mode.
+       (init_pointers): Initialise memory correctly for normal mode.
+       (sim_resume): Handle cases for normal mode using h8300_normal_mode
+       flag.
+       (sim_store_register): Handle 2 byte PC for normal mode.
+       (sim_fetch_register): Handle 2 byte PC for normal mode.
+       (set_h8300h): Set normal mode flag as per architechture.
+       (sim_load): Allocate 64K for normal mode instead of bigger memory.
+
+2003-07-18  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (decode): Enhancements for mova.
+       Initialize cst, reg, and rdisp inside the loop, for each
+       new instruction.  Defer correction of the disp2 values until
+       later, and then adjust them by the size of the first operand,
+       rather than the size of the instruction.
+       (sim_resume): For mova, adjust the size of the second operand
+       according to the type of the first operand (INDEXB vs. INDEXW).
+       In cases where there is only one operand, the other two must
+       both be composed on the fly.
+
+2003-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_resume): Revert 6-24 change, it does not
+       work with gdb breakpoints.
+
+2003-07-17  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
+       (decode): IMM16 is always zero-extended.
+
+2003-06-24  Michael Snyder  <msnyder@redhat.com>
+
+       * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
+       * compile.c (sim_resume): Use the above to return stop signal.
+
+2003-06-18  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c: Replace "Hitachi" with "Renesas".
+       (decode): Distinguish AV_H8S from AV_H8H.
+       (sim_resume): H8SX can use any register for TAS.
+       (decode): Add support for VECIND.
+       (sim_resume): Implement rte/l and rts/l.
+       (GETSR): New macro (actually old macro reincarnated).
+       (decode): Add handling for IMM2.
+       (sim_resume): Drop extra block around jmp, jsr, rts.
+       Add handling for trapa and rte.
+       For divxu.b, change 0xffff mask to 0xff.
+       (set_h8300h): Add bfd_mach_h8300sxn machine.
+
+2003-06-18  Corinna Vinschen  <vinschen@redhat.com>
+
+       * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
+       and SBR, VBR.
+
+2003-06-05  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
+       (sim_store_register): Ditto.
+
+2003-06-04  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_info): Fix typo in output.
+
+       * compile.c (set_h8300h): Replace 'flag' arguments
+       with a bfd_machine argument, and decode it inline.
+       Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
+
+2003-06-03  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c: Add h8300sx insns and addressing modes.
+       * sim-main.h: Replaces h8300/inst.h.
+       * Makefile.in: Tweak to bring in some sim/common stuff.
+
+2003-04-13  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
+
+2003-03-20  D.Venkatasubramanian  <dvenkat@noida.hcltech.com>
+
+       * compile.c (cmdline_location): Added function to
+       return the location of 8-bit (256 locations) where the
+       Command Line arguments would be stored.
+       (decode): Added a TRAP to 0xcc for Commandline
+       processing using pseudo opcode O_SYS_CMDLINE.
+       (sim_resume): Added handling of O_SYS_CMDLINE Trap.
+       (sim_create_inferior): Setting a pointer to
+       Commandline Args array.
+       * inst.h: Added a new variable ptr_command_line for
+       storing pointer to Commandline array.
+
+2003-03-14  D.Venkatasubramanian <dvenkat@noida.hcltech.com>
+
+       * compile.c (decode): Added code for some more magic traps.
+       * compile.c (sim_resume): Added support for File I/O system
+       calls through callback to host_system.
+       System calls provided support for :
+       open, read, write, lseek, close, stat, fstat
+       Only basic support for stat and fstat.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2003-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * compile.c (init_pointers): Abort if wreg never gets initialized.
+       (sim_resume): Fix the handling of exts.w and extu.w.
+
+2003-01-31  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * compile.c (sim_resume): Fix the handling of bxor.
+
+2003-01-16  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c: Change K&R function definitions to ISO.
+       (fetch): Make static, and eliminate unused parameter 'n'.
+
+2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * compile.c: Fix formatting.
+       * inst.h: Likewise.
+
+2002-07-29  Andrey Volkov  <avolkov@transas.com>
+
+       * compile.c: Include "gdb/sim-h8300.h"
+       * Makefile.in: Add dependences on "inst.h",
+       "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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.
+
+2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * compile.c: Fix formatting.
+
+2002-05-17  Andrey Volkov  (avolkov@transas.com)
+
+       * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
+
+2002-05-17  Andrey Volkov  (avolkov@transas.com)
+
+       * compile.c: Add support of EXR register
+       * inst.h: Ditto.
+
+2002-05-17  Andrey Volkov  (avolkov@transas.com)
+
+       * compile.c: Made h8300s as new target, not h8300h alias.
+       * inst.h: Ditto.
+
+2002-05-17  Andrey Volkov  (avolkov@transas.com)
+
+       * compile.c: Add additional CCR flags (I,UI,H,U)
+
+2002-05-17  Andrey Volkov  (avolkov@transas.com)
+
+       * compile.c: Change literal regnumbers to REGNUMS.
+       Fix instruction and cycles counting
+
+2001-12-20  Kazu Hirata  <kazu@hxi.com>
+
+       * compile.c: Fix formatting.
+
+2001-12-20  Kazu Hirata  <kazu@hxi.com>
+
+       * compile.c: Fix comment typos.
+
+2000-08-10  Kazu Hirata  <kazu@hxi.com>
+
+       * compile.c (decode): Clean up the code.
+
+2000-06-15  Kazu Hirata  <kazu@hxi.com>
+
+       * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
+       correctly.
+
+2000-06-20  Frank Ch. Eigler  <fche@redhat.com>
+
+       * compile.c: Don't include "wait.h".
+       (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
+       instead of WIF* from host.
+
+2000-06-13  Frank Ch. Eigler  <fche@redhat.com>
+
+       * compile.c, writecode.c: Correct typo.
+
+2000-06-13  Kazu Hirata  <kazu@hxi.com>
+
+       * compile.c: Fix formatting.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
+       frequency at which the poll_quit callback is used.
+       (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:14 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:46 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Feb 17 12:42:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Nov 11 16:52:07 1997  Angela Marie Thomas (angela@cygnus.com)
+
+       * compile.c: #include stdio.h for definition of NULL on
+       some platforms.
+
+Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_load): Pass lma_p and sim_write args to
+       sim_load_file.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 17 12:00:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (compile.o): Depend on config.h in local directory.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep  9 22:17:26 1997  Felix Lee  <flee@cygnus.com>
+
+       * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
+       with sim/common.
+       * configure.in: check for sys/param.h
+       * compile.c: #ifdef HAVE_SYS_PARAM_H.
+       #define SIGTRAP for wingdb.
+       (sim_resume): poll keyboard at least once per call.
+       (sim_resume): use host_callback instead of printf for syscall
+       output.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:38:43 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+       (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
+       the sim_load code should be moved to sim_open.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 15:47:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_open): Add ABFD argument.
+
+Tue May 20 10:16:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Delete SIM_DESC argument.
+
+Wed Apr 30 10:22:29 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * compile.c (sim_load): Call bfd_get_mach instead of examining
+       bfd fields directly.
+       * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 18 14:30:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * compile.c (sim_resume): Use poll_quit callback.
+       (sim_stop): New function.
+
+Thu Apr 17 03:06:39 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * compile.c (sim_kind, myname): New static locals.
+       (sim_open): Set sim_kind, myname.
+       (sim_load): Return SIM_RC.  New arg abfd.  Update test for h8300h.
+       Call sim_load_file to load file into simulator.  Set start address
+       from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * compile.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 12:48:05 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * compile.c (sim_open): New SIM_DESC result.  Argument is now in
+       argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Tue Feb  4 13:36:29 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Wed Nov 20 01:39:12 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
+       (SIM_OBJS): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       * configure: Regenerated.
+       * inst.h (enum sim_state): Define.
+       (cpu_state_type): New member `state'.  Set it whenever `exception'
+       is set.
+       * compile.c (sim_callback): New global.
+       (sim_set_simcache_size): Renamed from sim_csize.
+       (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
+       'cus it can't work.  Change main loop exit test to use cpu.state.
+       (sim_trace): New function.
+       (sim_stop_reason): Add right way to set results, but #if 0 out.
+       (sim_size): New function.
+       (sim_info): Redirect calls to printf_filtered through callback.
+       (sim_set_callbacks): Record callback.
+       * run.c: Deleted, using one in ../common now.
+       * tconfig.in: New file.
+
+Thu Oct  3 16:13:18 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (mostlyclean): Don't remove config.log here.
+
+Fri Aug  9 22:59:11 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): rts, sleep, bpt and nop have
+       no associated "size".
+
+Tue Jul  9 22:15:39 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
+
+Tue Jul  2 23:08:45 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * run.c (main): Don't "load" sections which don't have
+       SEC_LOAD set.
+       * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
+       of OSHIFTS.
+       (ONOT): Define.
+       (sim_resume, shift/rotate cases): Add support for shift/rotate
+       by two bits.
+       (OSHIFTS): Corresponding changes.
+
+Tue Jul  2 01:37:27 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
+
+Wed Jun 26 08:58:53 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (h8300smode): Declare.
+
+Wed Jun 26 12:20:56 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Tue Jun 18 16:31:10 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
+       * run.c (main): Treat the H8/S like the H8/300H for now.
+
+Fri May 24 10:35:25 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (SEXTCHAR): Clear upper bits when sign
+       bit is clear.
+
+Wed May 22 22:23:37 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Correctly handle divu.
+
+Tue May  7 02:13:05 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Never allow the PC to have an
+       odd value.
+
+Fri Apr 12 16:50:37 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * inst.h: Expand on comments regarding H8300H_MSIZE.  Note
+       separate memory is allocate for the 8-bit area.
+       (struct cpu_state_type): Add new "eightbit' field.
+       * compile.c (GET_MEMORY_L): Handle access into the 8-bit
+       area.
+       (GET_MEMORY_W, GET_MEMORY_B): Likewise.
+       (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
+       (init_pointers): Initialize space for the 8-bit area.
+       (sim_write): Handle writing into the 8-bit area.
+       (sim_read): Handle reading from the 8-bit area.
+       (sim_load): Reallocate space for the 8-bit area.
+
+       * compile.c (sim_load): Re-allocate memory for the simulator
+       here.
+
+Fri Apr 12 09:39:56 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Fix and simplify overflow and carry
+       handling for 32bit ALU insns.
+
+Mon Apr  8 23:58:49 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (sim_resume): Fix overflow checks for ALU insns.
+
+Fri Apr  5 17:20:59 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (decode): Use "bit" to hold L_3 immediates instead
+       of holding them in "abs".  Handle ABS8MEM memory references aka
+       8-bit area.  Replace ABSMOV references with ABS8MEM.
+
+Wed Mar 13 17:43:56 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * compile.c (fetch): Handle accesses to the exception/function
+       vectors.
+
+Mon Mar 11 09:53:25 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * compile.c: #include "wait.h".
+       (sim_resume, sleep insn): Check program exit status in r0.
+       (sim_resume, shift insns): Fix setting of overflow flag for shal.
+       * run.c: #include <signal.h>.
+       (main): Abort if program got SIGILL.
+       Print error message if argument is invalid.
+       (usage): Improve text.
+
+Wed Feb 21 12:15:00 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.7.
+
+Thu Jan  4 11:52:53 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * inst.h (MPOWER,MSIZE): Deleted.
+       (H8300{,H}_MSIZE): Define.
+       * compile.c (memory_size): New static global.
+       (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
+       (sim_write,sim_read): Use memory_size.
+
+Fri Oct 13 15:03:19 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * compile.c (sim_set_callbacks): New.
+
+Tue Oct 10 11:11:26 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (BISON): Remove macro.
+
+Wed Sep 20 13:35:02 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New synonym for realclean.
+
+Fri Sep  8 12:18:53 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (install): Don't install in $(tooldir).
+
+       * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
+       bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
+       AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES and AR.
+       Call AC_CHECK_HEADERS for stdlib.h and time.h.  Touch stamp.h if
+       creating config.h.
+       * configure: Rebuild.
+       * config.in: New file, created by autoheader.
+       * Makefile.in (AR): Define as @AR@.
+       (CC): New variable, defined as @CC@.
+       (CFLAGS): Define as @CFLAGS@.
+       (RANLIB): Define as @RANLIB@.
+       (HDEFINES, TDEFINES): New variables.
+       (@host_makefile_frag@): Remove.
+       (compile.o, run.o): Depend upon config.h.
+       (mostlyclean): Make the same as clean, not distclean.
+       (clean): Remove config.log.
+       (distclean): Remove config.h and stamp-h.
+       (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
+       invoking config.status.
+       (config.h, stamp-h): New targets.
+       * compile.c: Include "config.h".  Don't include <sys/times.h>.
+       Include <time.h> and <stdlib.h> if they exist.  Don't include
+       "sysdep.h".
+       (get_now): Remove unused local b.
+       * run.c: Include "config.h".  Include <stdlib.h> if it exists.
+       Don't include "sysdep.h".
+       * writecode.c: Don't include "bfd.h" or "sysdep.h".  Include
+       <stdio.h>.
+
+Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Update all FSF addresses except those in COPYING* files.
+
+Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (clean): Remove run.
+       (distclean): Remove Makefile.
+
+       * h8300.mt: Removed.
+
+       * Makefile.in, configure.in: converted to autoconf.
+       * configure: New file, generated with autconf 2.4.
+
+Fri Jun 30 16:50:24 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * compile.c (sim_do_command): New function.
+
+Tue Jun 20 16:18:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * compile.c (get_now): Don't do if win32.
+       (sim_resume): Poll in win32 too.
+
+Wed May 24 16:31:38 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * configure.in: Fix typo in last change.
+
+Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * run.c: parse arguments with getopt().
+
+Tue Feb 28 17:30:08 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Use ../../bfd/hosts/std-host.h if specific
+       host unavailable.
+
+Sun Jan 22 12:35:43 1995  Steve Chamberlain  <sac@splat>
+
+       * compile.c (sim_resume): Initialize cpu.mask.
+
+Thu Sep  8 16:53:00 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
+
+Wed May 18 13:47:58 1994  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c: #include "bfd.h".
+       (sim_*): Set result type to void where there isn't one.
+       (sim_resume, default case): Set cpu.exception to SIGILL.
+       (sim_trace): Delete.
+       (sim_set_pc): Delete.
+       (sim_info): Delete printf_fn arg, all callers changed.
+       Call printf_filtered.
+       (set_h8300h): New arg `flag', all callers changed.
+       (sim_close): New function.
+       (sim_load): New function.
+       (sim_create_inferior): Renamed from sim_set_args, all callers changed.
+       * run.c: #include <varargs.h>, "remote-sim.h".
+       (printf_filtered): New function.
+
+Fri May 13 18:32:27 1994  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c (decode): Fix typo (16 bit branches).
+       (*): Some white space clean up.
+
+Fri May  6 13:44:01 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * compile.c (decode): Compile 16bit branches properly.
+
+Sat Dec 11 16:32:36 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
+       andc.  Poll for interrupts.
+
+Thu Oct 28 19:29:34 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c: #include "ansidecl.h" for remote-sim.h.
+
+Tue Oct 26 09:43:36 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
+       * compile.c: #include "remote-sim.h".
+       (sim_resume): New arg siggnal.
+       (sim_write): Use SIM_ADDR for type of arg addr.
+       Always return a value.
+       (sim_read): Ditto.
+       (sim_store_register): Result is type int.
+       (sim_fetch_register): Ditto.
+       (sim_stop_reason): Renamed from sim_stop_signal.
+       (sim_set_pc): Use SIM_ADDR for type of arg pc.
+       (sim_info): int result, new arg printf_fn.
+       (sim_kill): int result.
+       (sim_open): int result, new arg name.
+       * run.c (main): Use sim_set_pc to set pc.
+       Update call to sim_info.
+
+Sat Oct 23 15:01:18 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c (sim_stop_signal): Result is now enum sim_stop.
+
+Fri Oct 15 23:49:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * compile.c (sim_kill, sim_open, sim_set_args): New functions.
+
+Thu Oct  7 16:24:10 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * compile.c (sim_set_pc): Write to the pc direcly.
+       (sim_store_register): Now value is passed by reference. (sim_read,
+       sim_write): Return number of bytes copied.
+
+Tue Aug 17 07:16:15 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * compile.c (mop): New function to do multiplies.
+
+Fri Jul 16 13:53:53 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c (sim_resume): Add support for nop insn.
+
+Thu Jul 15 09:59:01 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c: Reset HMODE back to zero (accidently set it to 1).
+
+       * run.c (main): If h8/300h binary detected, call set_h8300h.
+       * compile.c (sim_resume): Fix O_NEG insn.
+
+Fri Jul  9 14:36:48 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * run.c (main): Add -h flag to enable h8/300h emulation.
+       * compile.c: Rename Hmode to HMODE (consistency with gdb).
+       (set_h8300h): New function.
+       (sim_resume): Add support for extu,exts insns.
+       (sim_resume): Fix logical right shifting.
+       (sim_resume, label alu32): Fix setting of carry flag.
+
+Sun Jul  4 00:35:41 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * compile.c (sim_csize): Initialize cpu.cache.
+
+Fri Jul  2 17:42:59 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * Makefile.in: Add -I../../bfd to pick up bfd.h.
+
+Thu Jun 24 13:40:12 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * run.c (main): Fix parsing of args.
+
+       * compile.c (sim_resume): Fix shll insn.
+
+Tue Jun  8 14:16:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * compile.c: New file, supports H8/300H.
+       * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
+
+Tue Jun  1 11:14:59 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * run.c (main): Add -v to print info.
+       * p3.c (sim_info):  New function.
+
+Mon Mar 15 15:48:31 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * h8300.mt (DO_INSTALL): Renamed from INSTALL.
+
+Wed Mar  3 15:06:53 1993  Steve Chamberlain  (sac@poseidon.cygnus.com)
+
+       * Makefile.in: Don't use cb or indent
+       * p1.c, state.h, writecode.c: lint
+
+Mon Feb  1 16:44:58 1993  John Gilmore  (gnu@cygnus.com)
+
+       * Makefile.in:  Make SunOS halfdone VPATH work.
+       * p1.c:  Lint picked up by HP native compiler.
+
+Mon Jan  4 12:32:35 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
+
+       * p1.c (sim_resume): when running on dos, any character typed to
+       the keyboard will cause a simulated exception.
+
+Sun Jan  3 14:15:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
+       running
+
+Tue Dec 22 13:56:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * new
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
deleted file mode 100644 (file)
index 22efdf3..0000000
+++ /dev/null
@@ -1,1397 +0,0 @@
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * gen-itable.c (NULL): Delete.
-       * gen-model.c (NULL): Likewise.
-       * ld-cache.c (NULL): Likewise.
-       * ld-decode.c (NULL): Likewise.
-
-2021-06-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * local.mk (all-recursive): Delete rule.
-       (SIM_ALL_RECURSIVE_DEPS): Append.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * local.mk (igen/libigen.a): New target.
-
-2021-05-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * lf.h: Include ansidecl.h.
-       (lf_printf): Change __attribute__((printf)) to ATTRIBUTE_PRINTF.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * local.mk: New file.
-       * aclocal.m4, Makefile.in, configure.ac, configure: Removed.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_TOOLCHAIN and AC_CONFIG_FILES.
-       (AC_PROG_INSTALL, AC_PROG_CC, AC_CANONICAL_SYSTEM, CC_FOR_BUILD,
-       CFLAGS_FOR_BUILD): Delete.
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (LDFLAGS_FOR_BUILD): Define.
-       (BUILD_LDFLAGS): Delete.
-       (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD.
-       * configure.ac (LDFLAGS_FOR_BUILD): Define.
-       * configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
-       (.c.o, igen.o): Call COMPILE_FOR_BUILD.
-       (igen, tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn,
-       tmp-gen): Call LINK_FOR_BUILD.
-
-2021-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache,
-       tmp-ld-insn, tmp-gen): Delete $(BUILD_LIBS).
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * gen.c (main): Delete options arg to INIT_OPTIONS.
-       * ld-decode.c (main): Likewise.
-       * ld-insn.c (main): Likewise.
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (check): Define.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (filter_filename.o): Delete unused target.
-       (distclean): Remove config.h.
-       (config.h, stamp-h): Delete targets.
-       * configure.ac (AC_CONFIG_HEADER): Delete call.
-       (AC_CHECK_HEADERS, AC_HEADER_DIRENT): Likewise.
-       (AC_OUTPUT): Remove 2nd arg.
-       * filter.c: Remove config.h include.
-       * filter_host.c, igen.c, lf.c, misc.c, misc.h: Likewise.
-       * table.c: Likewise.  Remove HAVE_UNISTD_H check.
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (program_transform_name, AR, RANLIB): Delete.
-       * configure.ac (AC_ARG_PROGRAM, AC_PROG_RANLIB): Delete calls.
-       (AC_SUBST): Delete AR & CFLAGS calls.
-       * configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (AR_FOR_BUILD, AR_FLAGS_FOR_BUILD,
-       RANLIB_FOR_BUILD): Delete.
-       * configure.ac: Likewise.
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (LIBIBERTY_LIB): Delete.
-       (igen): Delete $(LIBIBERTY_LIB).
-       * configure.ac (LIBIBERTY_LIB): Delete.
-       * configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete bfd/configure.host sourcing.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h, string.h, and
-       strings.h.
-       * configure, configure.ac: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * filter.c, if.c, misc.c, misc.h, table.c: Delete HAVE_STRING_H,
-       HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * gen-icache.c, igen.c: Include stdlib.h.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-07-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
-
-       PR sim/26194
-       * lf.h (lf_get_file_type): Declare.
-       * lf.c (lf_get_file_type): Define.
-       * gen-idecode.c (print_idecode_issue_function_header): Use
-       lf_get_file_type() to issue an extern variable declaration in
-       case of header files.
-
-2019-12-19  Tom Tromey  <tromey@adacore.com>
-
-       PR build/24572:
-       * Makefile.in (install-strip): New target.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-24  David Binderman  <dcb314@hotmail.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * misc.c (a2i): Fix typos checking for uppercase letters.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * gen-engine.c (print_run_body): Change CIA_GET to CPU_PC_GET and
-       CIA_SET to CPU_PC_SET.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2014-11-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * igen/ld-cache.h, igen/table.h: Change immediatly to immediately.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-11-25  Steve Ellcey  <sellcey@mips.com>
-
-       * igen/Makefile.in (igen): Use BUILD_CFLAGS in link.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * ld-insn.c (print_insn_words): For fields, print conditionals.
-
-       Correct handling of constant named fields.
-       * gen.c (insn_field_cmp): Tweak comment about neither field
-       being an insn_field_string with a cond_eq-to-value condition.
-       (insns_bit_useless) <case insn_field_string, case
-       decode_find_mixed>: Handle cond_eq-to-value fields as
-       insn_field_int.
-       * gen-idecode.c (print_idecode_validate): Handle
-       insn_field_string cond-equal-to-value fields as insn_field_int.
-       * gen-icache.c (print_icache_body): Add comment why constant
-       string fields are handled.
-
-       Remove all #if 0'd code.
-       * filter.c: Remove #if 0'd function it_is.
-       (main): Remove #if 0'd code.
-       * gen-engine.c: Remove #if 0'd functions print_jump,
-       print_jump_insn, print_jump_definition,
-       print_jump_internal_function, print_jump_body.
-       (gen_engine_c): Remove #if 0'd code.
-       * gen-idecode.c: Remove #if 0'd functions print_jump print_jump,
-       print_jump_insn, print_jump_definition,
-       print_jump_internal_function, print_jump_until_stop_body.
-       * gen-model.c: Remove #if 0'd functions model_c_or_h_data,
-       model_c_or_h_function, gen_model_h, model_c_insn,
-       model_c_function, gen_model_c and types model_c_passed_data
-       and struct _model_c_passed_data.
-       * gen.c: Remove #if 0'd type constant_field_types and function
-       insn_field_is_constant.
-       (gen_entry_find_opcode_field): Remove #if 0'd code.
-       * ld-insn.c (parse_insn_model_record): Remove #if 0'd code.
-       * misc.h (STRDUP, STRNDUP): Remove #if 0'd macros.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * table.c (table_push): Change zfree to free.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in (datarootdir): New variable.
-
-2008-08-28  Joel Brobecker  <brobecker@adacore.com>
-
-       * compare_igen_models: Change license to GPL version 3.
-
-2007-08-27  Joel Brobecker  <brobecker@adacore.com>
-
-       * lf.c (lf_print__gnu_copyleft): Change license to GPL version 3.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure.ac: Delete AC_CONFIG_AUX_DIR.
-       * configure: Re-generate.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2003-05-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * compare_igen_models: Tweak attribution slightly.
-
-2002-11-22  Andrew Cagney  <cagney@redhat.com>
-
-       * gen.c (name_cmp): Rename format_name_cmp.
-       (insn_list_insert): When a merge, compare the format name and
-       instruction name.  Add trace messages.
-
-2002-11-21  Andrew Cagney  <ac131313@redhat.com>
-
-       * filter.c: Re-indent.
-       * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto.
-       * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto.
-       * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto.
-       * gen-model.c, gen-model.h, gen-semantics.c: Ditto.
-       * gen-semantics.h, gen-support.c, gen-support.h: Ditto.
-       * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
-       * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
-       * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
-
-2002-11-21  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in: Update copyright.  IGEN contributed to the FSF.
-       * filter.c, filter.h, filter_host.c, filter_host.h: Ditto.
-       * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto.
-       * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto.
-       * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto.
-       * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto.
-       * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
-       * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
-       * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
-
-2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
-
-       * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
-       global prefix to ENGINE_ISSUE_PREFIX_HOOK.
-       (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
-
-2002-08-28  Dave Brolley  <brolley@redhat.com>
-
-       * gen-support.c (gen_support_h): Generate
-       '#define semantic_illegal <PREFIX>_semantic_illegal'.
-
-2002-08-22  Chris Demetriou  <cgd@broadcom.com>
-
-       * compare_igen_models: New script.
-
-2002-06-17  Andrew Cagney  <cagney@redhat.com>
-
-       * gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and
-       ``t'' to NULL.
-       * igen.c (main): Add default case to switch.
-       * gen-icache.c (print_icache_extraction): Ditto.
-
-2002-06-17  Andrew Cagney  <cagney@redhat.com>
-
-       * Makefile.in (BUILD_CFLAGS): Remove -O0.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2002-06-03  Richard Henderson  <rth@redhat.com>
-
-       * gen-engine.c (print_run_body): Avoid multi-line strings.
-       * lf.c (lf_print__gnu_copyleft): Likewise.
-
-2002-05-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * igen.c: Use 'deprecated' rather than 'depreciated.'
-
-2002-03-23  Andrew Cagney  <ac131313@redhat.com>
-
-       * gen.c (format_name_cmp): New function.
-       (insn_list_insert): Use the instruction field name as an
-       additional key.  Different field names indicate different
-       semantics.
-
-2002-03-07  Chris Demetriou  <cgd@broadcom.com>
-
-       * igen.c (print_itrace_format): Add support for a new "%#lx" format.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-04-12  Frank Ch. Eigler  <fche@redhat.com>
-
-       * gen-semantics.c (print_semantic_body): Use GPR_CLEAR(N) instead
-       of GPR_SET(N,0) for gen-zero-rN.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_WARNINGS): Replace this with.
-       (IGEN_WERROR_CFLAGS, IGEN_WARN_CFLAGS, WERROR_CFLAGS,
-       WARN_CFLAGS): With these.
-       (BUILD_CFLAGS): Update.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Dec  4 15:14:09 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (main): Fix -Pitable=.
-
-       * gen-engine.c (print_run_body): Prefix instruction_address.
-
-Wed Oct 28 18:12:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_WARNINGS): Update to match ../common/aclocal.m4
-       changes.
-
-Wed Aug 12 10:55:28 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * gen-icache.c (print_icache_extraction): #undef a generated
-       symbol before #define'ing it, to remove conflict with system
-       macros.
-
-Wed Jul 29 10:07:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen.c (gen_entry_expand_opcode): For conditional, fields.  Fix
-       the extraction of the value from its source - both table and bit
-       cases were wrong.
-
-Tue Jul 28 11:19:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_insn_word): For constant conditional strings,
-       encode their bit value.
-
-       * ld-insn.c (parse_insn_word, parse_insn_words): Allow conditional
-       operands to refer to fields in earlier instruction words.
-
-       * gen.c (sub_val): Replace field argument with val_last_pos.
-       (gen_entry_expand_opcode): Look in previous tables for a value for
-       a conditional field as well as the bits from the current table.
-       (insn_list_insert): Add sort key of instructions where
-       their operand fields have different conditionals.
-       (insn_field_cmp): New function.
-
-Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:08 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:33 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Fri Apr 24 19:45:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-icache.c (print_icache_extraction): Do not type cast
-       pointers.
-
-       * ld-insn.c (load_insn_table): Terminate error with NL.
-
-       * gen.c (insns_bit_useless): Perform unsigned bit comparisons.
-
-       * filter.c (is_filtered_out, filter_parse): Pacify GCC, len is
-       unsigned.
-
-Wed Apr 22 14:27:39 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Reconfigure to pick up ../common/aclocal.m4 changes
-       to suppress inlining by default.
-
-Tue Apr 21 01:37:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-icache.c (print_icache_extraction): When generating #define
-       force the expression to the correct type.
-
-Thu Apr 16 08:50:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * misc.c (name2i): strlen returns an unsigned.
-
-Tue Apr 14 19:04:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.h (struct igen_warn_options): Add unimplemented option.
-       * igen.c (main): Update
-
-       * ld-insn.c (load_insn_table): Report unimplemented functions.
-
-Tue Apr 14 10:57:26 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_insn_word): Treat `!' and `=' as valid
-       separator tokens when parsing a conditional.
-
-       * igen.h (main): Add option -S so that suffix can be specified.
-
-Tue Apr 14 08:44:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.h (struct igen_trace_options): Add members insn_expansion
-       and insn_insertion.
-
-       * igen.c (main): Add options -Gtrace-insn-expansion,
-       -Gtrace-insn-insertion and -Gtrace-all.
-
-       * gen.c (gen_entry_expand_insns): Trace each instruction as it is
-       selected for expansion.
-       (gen_entry_expand_opcode): Trace each expanded instruction as it
-       is inserted into the table.
-
-Mon Apr 13 19:21:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_insn_word): Parse conditional operators.
-       (parse_insn_word): Verify field conditionals.
-
-       * ld-insn.h: Extend syntax to allow macros and field equality.
-       (struct insn_field_cond): Rename insn_field_exclusion, add type.
-
-       * gen.c (gen_entry_expand_opcode): Check type of conditional.
-       (insns_bit_useless): Ditto.
-
-       * ld-insn.c (parse_macro_record): New function.
-
-Mon Apr 13 22:37:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.h (enum insn_field_type): Add insn_field_invalid.
-
-       * ld-insn.c (parse_insn_word): Check instruction field type
-       correctly initialized.
-       (print_insn_words): Ditto.
-       (insn_field_type_to_str): Ditto.
-       (dump_insn_field): Ditto.
-
-       * gen.c (insns_bit_useless): Ditto.
-
-Fri Apr  3 18:08:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen.h, igen.c (print_include_inline, print_includes,
-       print_includes): New functions.  Generate include list.  For for
-       semantics et.al. generate CPP code to inline when
-       C_REVEALS_MODULE_P.
-
-       * igen.c (gen_semantics_c): Call print_includes.
-       * gen-engine.c (gen_engine_c): Ditto.
-
-Sat Apr  4 21:09:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.h: (struct _igen_name_option): Replace with struct
-       igen_module_option. Contains both module prefix and suffix.
-       (INIT_OPTIONS): Initialize.
-
-       * igen.c (main): Update -P option to fill in full module info.
-       (gen-engine.c, gen-icache.c, gen-itable.c, gen-semantics.c,
-       gen-support.c): Update.
-
-Sat Apr  4 02:15:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace): Use TRACE_ANY_P macro to determine if any
-       tracing is needed.
-
-Thu Mar 26 20:51:23 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * table.c (table_push):  Redo, using stdio.  Fixes NT native
-       problem with <CRLF>=><LF> translation...
-
-Tue Mar 24 23:30:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-engine.c (print_run_body): Re-extract the CIA after
-       processing any events.
-
-Tue Mar 24 17:46:08 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * Makefile.in:  Get SHELL from configure.
-       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
-       NT native builds.
-
-Mon Mar 16 12:51:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c: Pass sim_cia to trace_prefix.
-
-Thu Feb 26 19:25:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_function_record): Check models are valid.
-       (parse_function_record): Only discard function when no model is
-       common.
-
-Tue Feb 24 01:42:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-engine.c (print_run_body): Always wrap generated idecode
-       body in ENGINE_ISSUE_PREFIX_HOOK / ENGINE_ISSUE_POSTFIX_HOOK.
-
-Fri Feb 20 16:22:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
-       discarded function warning.
-
-       * igen.c (main): Clarify -Wnodiscard.
-
-       * ld-insn.c (parse_function_record): For functions, allow use of
-       instruction style function model records
-
-       * ld-insn.h (nr_function_model_fields): Define.
-
-Tue Feb 17 16:36:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace_prefix): Generate call to trace_prefix
-       instead of trace_one_insn.
-       (print_itrace): Generate trace_prefix call if any tracing enabled,
-       (print_itrace): Nest generated call to trace_generic inside
-       conditional for any tracing enabled.
-       (print_itrace_prefix): Do not pass PHASE to trace_prefix.
-
-Tue Feb  3 14:00:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-engine.c (print_run_body): Add bitsize suffix to IMEM macro.
-       * gen-icache.c (print_icache_body): Ditto.
-       * gen-idecode.c (print_idecode_ifetch): Ditto.
-
-       * gen-icache.c (print_icache_body): Mark successive instruction
-       words as unused.
-
-       * ld-insn.c (parse_insn_word): Only report insn-width problems
-       when warning enabled.
-
-       * igen.h: Add flag for warning about invalid instruction widths.
-       * igen.c: Parse -Wwidth option.
-
-       * gen-support.c (gen_support_h): Map instruction_word onto
-       <PREFIX>_instruction_word when needed.
-       (print_support_function_name): Use support prefix.
-       (gen_support_h): Ditto for <PREFIX>_idecode_issue.
-
-Sun Feb  1 11:08:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-support.c (gen_support_h): Generate new macro CPU_.
-
-Sat Jan 31 14:50:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-engine.c (gen_engine_h): Don't assume a model is present.
-       (gen_engine_c): Ditto.
-
-       * igen.c (gen_run_c): Ditto.
-
-       * gen-engine.c (print_run_body): Use CIA_GET & CIA_SET instead of
-       CPU_CIA.  Parameterize with CPU argument.
-
-Fri Jan 30 09:09:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen.h (struct _gen_list): Replace processor with model.
-
-       * igen.c (gen_idecode_h): Update.
-       (gen_run_c): For generated switch, use model->full_name.
-
-       * gen.c (print_gen_entry_path): Ditto.
-       (make_table):  Ditto.
-       (gen_entry_expand_insns):  Ditto.
-       (make_gen_tables):  Ditto.
-
-       * igen.c (gen_run_c): Add extra argument `nr_cpus' to generated
-       function sim_engine_run.  Pass argument on to engine_run.
-
-       * gen-engine.c (print_engine_run_function_header): Add extra
-       argument `nr_cpus' to generated function engine_run.
-       (print_run_body): Fix SMP case.
-
-       * gen-support.c (support_c_function): Call sim_engine_abort when
-       internal function fails to long jump.
-
-Wed Jan 21 18:00:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Use GPR_SET to zero
-       hardwired register.
-
-Wed Dec 17 14:49:03 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * gen-semantics.c (print_semantic_body): Fix handling of
-       hardwired zero register.
-
-Tue Dec  9 12:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.h (struct _igen_gen_options): Add member default_model.
-
-       * igen.c (gen_run_c): Default to the first machine in the
-       multi-sim list.
-       (main): Add MODEL parameter to gen-multi-sim option.
-
-       * gen.h (function_decl_type): Declare enum.
-
-       * gen-engine.c (print_engine_run_function_header), gen-engine.h:
-       Make global, pass function_decl_type as argument.
-       (gen_engine_h, gen_engine_c): Update call.
-
-       * gen-idecode.c (print_idecode_issue_function_header),
-       gen-idecode.h: Pass function_decl_type as argument.
-
-       * igen.c (gen_idecode_h): For multi-sim, delcare global variable
-       idecode_issue.
-
-       * igen.c (gen_run_c): For multi-sim, initialize globals
-       idecode_issue and engine_run.
-
-Fri Nov 14 10:51:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (parse_insn_model_record): Allow multiple model names
-       to be specified in a single instruction model record.
-       (dump_insn_model_entry): Update.
-
-       * ld-insn.h (struct _insn_model_entry): Replace member name with
-       the filter names.  Document syntax change.
-
-Wed Nov 12 15:45:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-engine.c (print_run_body): Add hooks for adding code before
-       and after an instruction has been issued.
-
-1997-11-04  Brendan Kehoe  <brendan@lisa.cygnus.com>
-
-       * gen-idecode.c (print_jump_until_stop_body): Use `#if 0' instead of
-       `#ifdef 0' around this.
-
-Tue Nov  4 08:18:29 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * ld-decode.c (load_decode_table): Don't assume NULL is an integer
-       constant.
-
-Wed Oct 29 13:17:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.h: Document mnemonic string format.
-
-Tue Oct 28 10:50:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-icache.c (print_icache_extraction): Force result of atol to
-       unsigned.
-
-       * ld-insn.c (parse_function_record): Separate handling of old and
-       ney fynction records.
-       (load_insn_table): For %s record, hack function name & type after
-       it has been parsed.
-
-       * filter.h (filter_is_subset): Reverse argument names, wrong
-       order.
-
-       * ld-insn.c (load_insn_table): Move include code to.
-       (parse_include_record): New function.  Check for filtering of
-       include statement by both flags and models.
-       (load_insn_table): Check for model filtering of cache and model
-       records.
-       (parse_model_data_record): Check for model & flag filtering of
-       model data records.
-       (parse_function_record): Check for model & flag filtering of
-       function records.
-
-       * ld-insn.h: Define record_filter_models_field.  Add filter-models
-       field to all but instruction records.
-       (struct _function_entry, struct _cache_entry): Add models field.
-       (nr_function_fields): Make parm field mandatory.
-
-Mon Oct 27 15:14:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (main): Change -I option to -I<directory>.  Add optional
-       size to -Ggen-icache option.  Add -Gno-... support.
-
-       * igen.h (struct _igen_options): Add include field.
-
-       * ld-insn.c (enum insn_record_type, insn_type_map): Add
-       include_record.
-       (load_insn_table): Call table_push when include record.
-
-       * table.c (struct _open table, struct table): Make table object an
-       indirect ptr to the current table file.
-       (current_line, new_table_entry, next_line): Make file arg type
-       open_table.
-       (table_open): Use table_push.
-       (table_read): Point variable file at current table, at eof, pop
-       last open table.
-
-       * table.h, table.c (table_push): New function.
-
-Thu Oct 16 11:03:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Use CIA not
-       cia.ip. Escape newlines at end of generated call to
-       sim_engine_abort.
-
-Tue Oct 14 11:13:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace): Output line-ref to igen source file when
-       generating trace statements.
-       (print_itrace_prefix, print_itrace_format): Escape newline at end
-       of each line of generated call to trace function.
-
-Mon Oct 13 11:27:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-support.c (gen_support_h): Generate #define NIA. Definition
-       dependant on gen-delayed-branch mode.
-
-       * ld-insn.c (parse_insn_mnemonic_record): Check for opening and
-       closing double quote in mnemonic field.
-       (parse_option_record): Add gen-delayed-branch option.
-
-Wed Oct  8 13:10:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen.c (insn_list_insert): Missing \n in warning.
-
-       * ld-insn.c (load_insn_table): Only notify of discarded
-       instrctions when warn.discard enabled.
-
-       * igen.h: Add option.warn.discard, default enabled.
-
-       * igen.c (main): Add -Wnodiscard option.
-
-       * ld-insn.c (record_type): For old record type, check the number
-       of fields is correct.
-       (load_insn_table): Allow insn assembler and insn model records to
-       appear in any order.
-       (parse_insn_model_record): Rename from parse_insn_model_records.
-       Parse only one record.
-       (parse_insn_mnemonic_record): Rename from
-       parse_insn_mnemonic_records.  Parse only one record.
-
-Tue Sep 23 15:52:06 1997  Felix Lee  <flee@yin.cygnus.com>
-
-       * gen-itable.c (gen_itable_h): [nr_itable_* + 1] to avoid
-       illegal zero-sized array.
-       (itable_print_set): likewise, avoid empty initializers.
-
-Mon Sep 22 18:49:07 1997  Felix Lee  <flee@cygnus.com>
-
-       * configure.in: i386-windows is a cross, so don't expect
-       libiberty to be there.
-       * configure: updated.
-
-Fri Sep 19 10:36:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_function_name): Put the format name after the
-       function / instruction name, not before.
-       (print_itrace): Better format trace code.
-
-Tue Sep 16 11:01:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen.c (insns_bit_useless): Don't treat string fields restricted
-       to a range of values as useless.
-
-Mon Sep 15 15:47:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (gen_run_c): Handle non-multi-sim case.
-
-       * gen-support.c (gen_support_h): Define SD_ - to replace _SD.
-       Define CIA from cia.
-
-Thu Sep 11 10:27:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Trace the instruction
-       after it has been validated.
-       (print_semantic_body): Count the instruction using sim-profile.
-
-Wed Sep 10 13:35:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-itable.c (gen_itable_h): Collect summary info on instruction
-       table when traversing it.
-       (gen_itable_h): Output an enum defining the max size of each of
-       the itable string members.
-
-Tue Sep  9 03:30:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (gen_run_c): New function. Generate sim_engine_run that
-       looks at the currently selected architecture.
-
-       * gen-engine.c, gen-idecode.c: Add multi-sim support - generate
-       one engine per model.
-
-       * gen-semantics.c, gen-icache.c gen-support.c:
-       Update.
-
-       * ld-insn.h, ld-insn-h (load_insn_table): Rewrite.  table.h only
-       returns a line at a time.  Parse multi-word instructions.  Add
-       multi-sim support.
-
-       * table.h, table.c: Simplify.  Only parse a single line at a time.
-       ld-insn can handle the rest.
-
-       * filter.h, filter.c (filter_parse, filter_add, filter_is_subset,
-       filter_is_common, filter_is_member, filter_next): New filter
-       operations.
-       (dump_filter): Ditto.
-
-       * gen.h, gen.c: New file.  Takes the insn table and turns it into
-       a set of decode tables and semantic functions.
-
-       * ld-insn.c: Copy generator code from here.
-       * gen.c: To here.
-
-Fri Aug  8 11:43:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * misc.h (NZALLOC): Allocate an N element array of TYPE.
-
-       * table.h, table.c: Simplify table parser so that it only
-       understands colon delimited lines and code blocks.
-       (table_read): Parse '{' ... '}' as a code block.
-       (table_print_code): New function, print out a code block to file.
-       (main): Add suport for standalone testing.
-
-       * ld-insn.h, ld-insn.c:
-
-
-Mon Sep  1 11:41:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-idecode.c (error_leaf_contains_multiple_insn): Make static.
-       (print_jump_definition, print_jump, print_jump_internal_function,
-       print_jump_insn, print_jump_until_stop_body): Delete, moved to
-       sim-engine.c
-
-       * igen.c (print_itrace_format): Delete unused variable chp.
-       (gen-engine.h): Include.
-
-       * table.c (current_file_name, current_line_entry,
-       current_line_entry): Make static.
-
-Wed Aug  6 12:31:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Define AR_FOR_BUILD, AR_FLAGS_FOR_BUILD,
-       RANLIB_FOR_BUILD and CFLAGS_FOR_BUILD.
-       * configure.in: Include simulator common/aclocal.m4.
-       * configure.in: Add --enable-sim-warnings option.
-       * configure: Re-generate.
-
-       * Makefile.in: Use.
-
-       * Makefile.in (tmp-filter): New rule.
-       (igen.o, tmp-table, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn,
-       ld-decode.o, ld-cache.o, ld-insn.o): Fix dependencies.
-
-       * gen.h, gen.c: New files.
-
-       * Makefile.in (gen.o, tmp-gen): New rules, update all
-       dependencies.
-
-Tue Jun 24 11:46:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (load_insn_table): Accept %s as a function type.
-
-Thu Jun  5 17:14:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace_prefix): Move printing of insn prefix to
-       here.
-       (print_itrace_format): Drop printing of MY_NAME in instruction
-       trace.  Printing of insn prefix moved.
-       (print_itrace): Ditto.
-
-Fri May 30 11:27:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-icache.c (print_icache_function_header): Pass
-       table_line_entry instead of separate file and line.
-
-       * table.c (table_entry_read): Set assembler source file/line-nr to
-       the current not initial file.
-       (table_entry_read): Fix line numbering of source files.
-
-       table.h (table_line_entry): New structure.  Exactly specifies a
-       source file/line-nr.
-       (table_*_entry): Add this to all.
-
-       table.c (table_entry_print_cpp_line_nr): Change to use values from
-       a table_line_entry struct.
-       (table_entry_read): Save table_line_entry in all structures read.
-
-       gen-icache.c, gen-support.c, gen-idecode.c, gen-semantics.c,
-       gen-model.c: Update all references.
-
-Thu May 29 10:29:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_my_defines): Define MY_NAME - a string.  For
-       MY_PREFIX, undefine the name of the function incase some dumb
-       header defined it.  it.
-       (print_itrace): Use MY_NAME not MY_PREFIX.
-
-       * lf.c (lf_write): New function write an N character buffer to the
-       file.
-
-       * igen.c (print_itrace): When available, use the assembler to
-       print the insn-trace.
-       (print_itrace_prefix): New function, print first part of call to
-       print_one_insn.
-       (print_itrace_format): New function, print fmt argument for
-       print_one_insn.
-
-       * table.c (table_entry_read): Save any assembler lines instead of
-       discarding them.
-
-Wed May 28 09:55:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-icache.c (print_icache_body): Process immeds.
-
-       * gen-semantics.c (print_semantic_body): When computing NIA, skip
-       any immed words that follow the instruction word.
-
-       * ld-insn.c (parse_insn_format): Parse immeds appended to an
-       instruction.
-
-       * igen.c (main): Allow any register to be specified as the zero
-       register.
-       (semantic_zero_reg): Global, index to zero register.
-
-       * gen-semantics.c (print_semantic_body): Zero selected register.
-
-Tue May 27 14:12:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.h: Stop options and code gen type bit masks overlaping.
-
-Fri May 23 12:01:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Incorrect test for
-       zero-r0 code.
-
-Fri May 16 14:32:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Use common sim-engine
-       interface.
-
-Fri May 16 11:48:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-semantics.c (print_semantic_body): Add code to clear r0.
-
-       * igen.c (main): Add new option zero-r0, which adds code to clear
-       GPR(0) each cycle.
-
-Wed May  7 12:31:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace): Fix so line-nr is passed to trace
-       function.
-
-       * gen-idecode.c (print_idecode_validate): Correct FP code.
-
-       * gen-support.c (gen_support_h): Always pass MY_INDEX to support
-       functions.
-       (print_support_function_name): Ditto.
-
-Tue May  6 06:12:04 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * igen.c (print_itrace): Call trace_one_insn to trace
-       instructions, rather than doing it directly.
-
-Mon May  5 14:11:46 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * gen-engine.c (engine_switch_leaf): Remove extra %s.
-       (print_engine_floating_point_unavailable): Wrap in #ifdef
-       UNUSED/#endif, until somebody uses it.
-
-       * gen-idecode.c (error_leaf_contains_multiple_insn): Remove unused
-       variable.
-       (print_jump_until_stop_body): Wrap in #ifdef UNUSED/#endif, until
-       somebody uses it.
-       (print_idecode_validate): Use long formats to print long values.
-
-       * gen-semantics.c (print_idecode_invalid): Set name to "unknown"
-       if we get an unexpected type.
-
-Fri May  2 13:28:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_itrace): Pass SD as well as CPU to calls to
-       trace_printf.
-
-       * gen-support.c (gen_support_h): Always pass sim_cia cia to
-       support functions.
-       (print_support_function_name): Ditto.
-
-Wed Apr 30 17:35:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gen-support.c (support_c_function): Remove unnecessary memset of
-       cia.
-       * gen-semantics.c (print_semantic_body): Wasn't closing
-       generated comment.
-
-Tue Apr 29 11:11:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (load_insn_table): Report instructions that do not
-       have at least a format and name.
-       (insn_table_find_opcode_field): Check progress is being made.
-
-       * gen-support.c (support_c_function): Report empty function body.
-
-Thu Apr 24 11:43:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ld-insn.c (insn_table_expand_opcode): Allow reserved fields to
-       be broken up.
-       (insn_table_expand_insns): Allow special rules to apply to groups
-       of instructions when all members of the group match the special
-       mask/value.
-
-       * gen-semantics.c (print_c_semantic): Ditto.
-       * igen.c (print_semantic_function_formal): Ditto.
-       (print_semantic_function_type): Ditto.
-       * igen.c (print_icache_function_formal): Ditto.
-       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
-
-       * gen-idecode.c (gen_idecode_h): Prepend the global_prefix to the
-       instruction_address type.
-
-       * gen-semantics.c (print_semantic_body): Call cpu_error when an
-       unimplemented instruction is encountered - gives the interpreter
-       the chance to stop correctly.
-
-Wed Apr 23 20:06:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (print_function_name): Allow dot's in instruction names.
-
-Tue Apr 22 21:46:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * igen.c (main), igen.h: Support new option - delayed-branch -
-       generate code to drive a delayed branch processor.
-
-       * gen-idecode.c (gen_idecode_h): Define instruction_address type.
-
-       * igen.c (print_icache_function_formal): Replace address_word with
-       instruction_address.
-       (print_semantic_function_formal): Ditto.
-       (print_semantic_function_type): Ditto.
-       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
-
-       * gen-semantics.c (print_semantic_body): Ditto.
-       (print_c_semantic): Ditto.
-
-       * gen-support.c (support_c_function): Return a zeroed CIA instead
-       of just zero - works with any cia type.
-
-       * igen.c (print_itrace): For delayed branch case, print just the
-       current instruction.
-
-Thu Apr 17 07:02:33 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * igen.c (print_itrace): Use TRACE_FOO_P and trace_printf.
-
-Tue Apr 15 15:20:31 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (INSTALL): Set to @INSTALL@.
-       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
-
-Mon Apr 14 16:29:34 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (INSTALL): Change install.sh to install-sh.
-
-Wed Apr  2 18:51:20 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
-       * gen-idecode.c (gen_idecode_c): Likewise.
-       * igen.c (gen_semantics_c): Likewise.
-
-Mon Mar 24 10:10:08 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * gen-icache.c (print_icache_body): No longer define cpu/sd,
-       support.h now defines CPU/SD globally.
-
-       * gen-model.c (gen_model_h): Ditto.
-
-       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
-       (print_jump): Ditto.
-       (print_jump_until_stop_body): Ditto.
-       (print_idecode_validate): Ditto.
-
-       * gen-icache.c (print_icache_body): Ditto.
-
-       * gen-semantics.c (print_semantic_body): Ditto.
-
-       * igen.c (print_semantic_function_formal): Rename cpu to sim_cpu,
-       processor to cpu.
-       (print_icache_function_formal): Ditto.
-
-       * gen-support.c (print_support_function_name): Include sd/cpu arg
-       in support function argument list.
-       (support_c_function): Generate code to cpu/sd from sd/cpu.
-       (gen_support_h): Define _SD the argument prefix for all support
-       functions.  Define SD/CPU to determine sd/cpu from value of _SD
-       macro.
-
-Tue Mar 18 15:52:24 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * gen-support.c (gen_support_c): Update for renaming of engine to
-       sim-state.
-
-       * igen.c: Ditto.
-       * gen-idecode.c (gen_idecode_c): Ditto.
-
-Mon Mar 17 15:17:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * ld-decode.c (load_decode_table): Rename slash to reserved.
-       (dump_decode_rule): Ditto.
-
-       * ld-insn.c (parse_insn_format): Differentiate between a `/' -
-       reserved bit - and a `*' - wild card.
-       (parse_insn_format): Change is_slash to more informative reserved.
-       (dump_insn_field): Ditto.
-       (insn_field_is_constant): Ditto.
-       (insn_table_expand_opcode): Ditto.
-
-       * gen-idecode.c (print_idecode_validate): Make check_mask and
-       check_val the correct integer size.
-       (print_idecode_validate): Fix reserved bit check for 64 bit
-       targets.
-
-Fri Mar 14 11:24:06 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * ld-insn.c (parse_insn_format): Accept '*' as an alternative of
-       `/' in bit fields.  `/' denotes a wild bit.
-
-Fri Mar  7 18:20:38 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * igen.h, igen.c (main): New options. Control generation of
-       conditional issue and slot verification code.
-
-Fri Mar  7 18:17:25 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * gen-support.c (print_support_function_name): Prepend the global
-       name prefix when applicable.  Provide #define to map the user
-       specified name the generated globaly unique one.
-
-Fri Mar  7 18:07:45 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * gen-idecode.c (print_idecode_validate): Wrap each of the checks
-       - reserved bits, floating point and slot validation - with a
-       #ifdef so that they are optional.
-
-Fri Mar  7 16:35:13 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * gen-idecode.c (error_leaf_contains_multiple_insn): New function
-       - report the error of a leaf node in the decision tree containing
-       several instructions.
-       (print_idecode_table_leaf): Detect a leaf with multiple instructions.
-       (print_idecode_switch_leaf): Ditto.
-
-       * gen-semantics.h, gen-semantics.c (print_idecode_illegal,
-       print_idecode_invalid): Rename former to latter.  Add argument so
-       that one function can generate all invalid instruction cases -
-       illegal, fp-unavailable, wrong-slot.
-       * gen-engine.c: Update.
-
-       * gen-idecode.c: Use print_idecode_invalid to generate a function
-       call for cases when fp-unavailable and the slot is wrong.
-
-       * gen-idecode.c (print_idecode_validate): New check, generate code
-       to verify that the instruction slot is correct.
-
-       * igen.c (main): Simplify options.
-
-Wed Mar  5 09:55:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * igen.c (print_itrace): Remove source line reference for trace
-       code - let the user see the generated file.
-       (print_itrace): Print the trace code rather than reference a
-       macro.
-
-Tue Mar  4 17:31:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * igen.c (print_semantic_function_actual): Pass either the
-       processor - smp - or the engine - mono - into semantic functions.
-       Don't pass in both.
-
-       * gen-icache.c (print_icache_body): Dependant on smp, derive
-       processor from engine or engine from processor, and hence ensuring
-       that both are defined in all semantic functions.
-
-Mon Mar  3 17:11:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * ld-insn.c (parse_insn_format): Make the width field optional.
-       If missing assume that the number of characters in the value
-       determines the number of bits in the field.
-
-Thu Feb 27 11:27:48 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * ld-insn.c (insn_table_expand_opcode): Replace assertion with
-       more useful error message.
-
-Tue Feb 25 16:43:27 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * misc.c (error): Output errors on stderr.
-
-       * ld-insn.c (parse_insn_format): Skip any leading spaces.
-       Verify the width of instructions being parsed.
-
-       * table.c (table_entry_read): Parse CPP's convention for
-       specifying original file name/line-nr.
-
-Wed Feb 19 12:30:28 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * ld-insn.c (parse_insn_format): Allow trailing spaces in
-       instruction fields.
-
-       * Makefile.in: Create using ../ppc/Makefile.in as a starting
-       point.
-       * configure.in: Ditto vis ../ppc/configure.in
-
-Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * gen-support.c (gen_support_c): Always include engine.h instead
-       of cpu.h
-       * gen-idecode.c (gen_idecode_c): Ditto.
-
-       * words.h (instruction_word): Remove instruction_word - now
-       generated by igen.
-       (address_word): New.  Used by igen.
-
-       * lf.c (lf_print_function_type_function): New, pass a function to
-       print out the type instead of a constant string.
-
-       * igen.h, igen.c (print_semantic_function_formal,
-       SEMANTIC_FUNCTION_FORMAL): Relace macro with function.
-       (print_semantic_function_actual, SEMANTIC_FUNCTION_ACTUAL): Ditto.
-       (print_semantic_function_type, SEMANTIC_FUNCTION_TYPE): Ditto.
-       (print_icache_function_type, ICACHE_FUNCTION_TYPE): Ditto.
-       (print_icache_function_formal, ICACHE_FUNCTION_FORMAL): Ditto.
-       (print_icache_function_actual, ICACHE_FUNCTION_ACTUAL): Ditto.
-       * gen-idecode.c (print_idecode_table): Update.
-       (idecode_switch_leaf): Update.
-       (print_idecode_switch_function_header): Ditto.
-       (print_idecode_floating_point_unavailable): Ditto.
-       (print_idecode_issue_function_header): Ditto.
-       * igen.c (gen_icache_h): Ditto.
-       * gen-engine.c (print_engine_table): Ditto.
-       (engine_switch_leaf): Ditto.
-       * gen-support.c (print_support_function_name): Ditto.
-       * gen-semantics.c (print_semantic_function_header): Update.
-       Update.
-       * gen-icache.c (print_icache_function_header): Update.
-       (print_icache_function): Update.
-       (print_icache_internal_function_declaration): Update.
-       (print_icache_internal_function_definition): Update.
-
-       * gen-idecode.c (gen_idecode_h): Drop including of idecode_*.h
-       files, will at some stage need to move it into support.
-
-       * igen.h, igen.c (main): New option -e <engine> - generate a full
-       simulation engine.  Previously this was the -d <idecode-file>
-       option.
-       * gen-engine.h, gen-engine.c: Copies of gen-idecode.*.  Will need
-       to clean these up so that that call upon the updated gen-idecode
-       code.
-
-       * gen-idecode.h, gen-idecode.c: Prune out any code not relevant to
-       generating a decode table.
-
-       * Makefile.in (igen): Add dependencies for new gen-engine.* files.
-
-       * igen.h, igen.c (main): New option -M - Control what is returned
-       by semantic functions - -1/NIA vs CIA+N/NIA.  Add
-       generate_semantic_returning_modified_nia_only to igen_code enum.
-       * gen-semantics.c (print_semantic_body): As an alternative, make
-       NIA == -1 instead of CIA+insn_size by default.
-
-       * igen.h, igen.c (main, global_name_prefix, global_uname_prefix):
-       New option -P <prefix> - Prepend all generated functions with the
-       specified prefix.
-       (gen_idecode_c): Adjust.
-       * gen-icache.c (print_icache_struct): Ditto.
-       * gen-support.c (gen_support_c): Ditto.
-
-Sun Feb 16 15:23:15 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * igen.c (main): Correct usage. Missleading message about ucase
-       options dumping internal tables.  -F now includes rather then
-       excludes instructions.
-
-       * misc.h, misc.c (a2i): Make 64bit.
-
-       * ld-insn.h (max_insn_bit_size, default_insn_bit_size): Increase
-       max to 64bits, expect trouble.  Make the default 32 bits.
-       * gen-idecode.c (print_idecode_table): Change EXTRACTED*
-       et.al. macro's to use the insn_bit_size instead of assuming 32
-       bits.
-       * gen-icache.c (print_icache_extraction): Ditto.
-       * gen-idecode.c (idecode_switch_start): Ditto.
-       * gen-idecode.c (gen_idecode_c): Ditto
-
-       * igen.h (insn_specifying_widths), igen.c (main): New option -W.
-       Indicates that the instruction field of the table is specifying
-       bit widths instead of bit offsets.
-       * ld-insn.c (parse_insn_format): Parse instruction fields
-       specifying widths.
-
-       * misc.c (a2i): Allow binary numbers to be specified using the
-       syntax 0bNNNN.
-       * ld-insn.c: Allow such numbers to appear in the instruction
-       format.
-
-       * table.c (table_entry_read): Make // a valid comment character.
-       (table_entry_read): Skip lines containing a leading " - these may
-       eventually be used in a disasembler.
-
-Fri Feb 14 15:23:15 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * filter.c, filter.h, gen-engine.c, gen-engine.h, gen-icache.c,
-       gen-icache.h, gen-idecode.c, gen-idecode.h, gen-itable.c,
-       gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c,
-       gen-semantics.h, gen-support.c, gen-support.h, igen.c, igen.h,
-       ld-cache.c, ld-cache.h, ld-decode.c, ld-decode.h, ld-insn.c,
-       ld-insn.h, lf.c, lf.h, misc.c, misc.h, table.c, table.h: Copy in
-       from the ../ppc directory.
-
-       * filter_host.c, filter_host.h: Copy in from the ../ppc directory
-       renaming from filter_filename.[hc]
diff --git a/sim/igen/ChangeLog-2021 b/sim/igen/ChangeLog-2021
new file mode 100644 (file)
index 0000000..22efdf3
--- /dev/null
@@ -0,0 +1,1397 @@
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * gen-itable.c (NULL): Delete.
+       * gen-model.c (NULL): Likewise.
+       * ld-cache.c (NULL): Likewise.
+       * ld-decode.c (NULL): Likewise.
+
+2021-06-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * local.mk (all-recursive): Delete rule.
+       (SIM_ALL_RECURSIVE_DEPS): Append.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * local.mk (igen/libigen.a): New target.
+
+2021-05-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * lf.h: Include ansidecl.h.
+       (lf_printf): Change __attribute__((printf)) to ATTRIBUTE_PRINTF.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * local.mk: New file.
+       * aclocal.m4, Makefile.in, configure.ac, configure: Removed.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_TOOLCHAIN and AC_CONFIG_FILES.
+       (AC_PROG_INSTALL, AC_PROG_CC, AC_CANONICAL_SYSTEM, CC_FOR_BUILD,
+       CFLAGS_FOR_BUILD): Delete.
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (LDFLAGS_FOR_BUILD): Define.
+       (BUILD_LDFLAGS): Delete.
+       (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD.
+       * configure.ac (LDFLAGS_FOR_BUILD): Define.
+       * configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
+       (.c.o, igen.o): Call COMPILE_FOR_BUILD.
+       (igen, tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn,
+       tmp-gen): Call LINK_FOR_BUILD.
+
+2021-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache,
+       tmp-ld-insn, tmp-gen): Delete $(BUILD_LIBS).
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * gen.c (main): Delete options arg to INIT_OPTIONS.
+       * ld-decode.c (main): Likewise.
+       * ld-insn.c (main): Likewise.
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (check): Define.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (filter_filename.o): Delete unused target.
+       (distclean): Remove config.h.
+       (config.h, stamp-h): Delete targets.
+       * configure.ac (AC_CONFIG_HEADER): Delete call.
+       (AC_CHECK_HEADERS, AC_HEADER_DIRENT): Likewise.
+       (AC_OUTPUT): Remove 2nd arg.
+       * filter.c: Remove config.h include.
+       * filter_host.c, igen.c, lf.c, misc.c, misc.h: Likewise.
+       * table.c: Likewise.  Remove HAVE_UNISTD_H check.
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (program_transform_name, AR, RANLIB): Delete.
+       * configure.ac (AC_ARG_PROGRAM, AC_PROG_RANLIB): Delete calls.
+       (AC_SUBST): Delete AR & CFLAGS calls.
+       * configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (AR_FOR_BUILD, AR_FLAGS_FOR_BUILD,
+       RANLIB_FOR_BUILD): Delete.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (LIBIBERTY_LIB): Delete.
+       (igen): Delete $(LIBIBERTY_LIB).
+       * configure.ac (LIBIBERTY_LIB): Delete.
+       * configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete bfd/configure.host sourcing.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h, string.h, and
+       strings.h.
+       * configure, configure.ac: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * filter.c, if.c, misc.c, misc.h, table.c: Delete HAVE_STRING_H,
+       HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * gen-icache.c, igen.c: Include stdlib.h.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-07-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       PR sim/26194
+       * lf.h (lf_get_file_type): Declare.
+       * lf.c (lf_get_file_type): Define.
+       * gen-idecode.c (print_idecode_issue_function_header): Use
+       lf_get_file_type() to issue an extern variable declaration in
+       case of header files.
+
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24572:
+       * Makefile.in (install-strip): New target.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-24  David Binderman  <dcb314@hotmail.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * misc.c (a2i): Fix typos checking for uppercase letters.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * gen-engine.c (print_run_body): Change CIA_GET to CPU_PC_GET and
+       CIA_SET to CPU_PC_SET.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2014-11-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * igen/ld-cache.h, igen/table.h: Change immediatly to immediately.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-11-25  Steve Ellcey  <sellcey@mips.com>
+
+       * igen/Makefile.in (igen): Use BUILD_CFLAGS in link.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * ld-insn.c (print_insn_words): For fields, print conditionals.
+
+       Correct handling of constant named fields.
+       * gen.c (insn_field_cmp): Tweak comment about neither field
+       being an insn_field_string with a cond_eq-to-value condition.
+       (insns_bit_useless) <case insn_field_string, case
+       decode_find_mixed>: Handle cond_eq-to-value fields as
+       insn_field_int.
+       * gen-idecode.c (print_idecode_validate): Handle
+       insn_field_string cond-equal-to-value fields as insn_field_int.
+       * gen-icache.c (print_icache_body): Add comment why constant
+       string fields are handled.
+
+       Remove all #if 0'd code.
+       * filter.c: Remove #if 0'd function it_is.
+       (main): Remove #if 0'd code.
+       * gen-engine.c: Remove #if 0'd functions print_jump,
+       print_jump_insn, print_jump_definition,
+       print_jump_internal_function, print_jump_body.
+       (gen_engine_c): Remove #if 0'd code.
+       * gen-idecode.c: Remove #if 0'd functions print_jump print_jump,
+       print_jump_insn, print_jump_definition,
+       print_jump_internal_function, print_jump_until_stop_body.
+       * gen-model.c: Remove #if 0'd functions model_c_or_h_data,
+       model_c_or_h_function, gen_model_h, model_c_insn,
+       model_c_function, gen_model_c and types model_c_passed_data
+       and struct _model_c_passed_data.
+       * gen.c: Remove #if 0'd type constant_field_types and function
+       insn_field_is_constant.
+       (gen_entry_find_opcode_field): Remove #if 0'd code.
+       * ld-insn.c (parse_insn_model_record): Remove #if 0'd code.
+       * misc.h (STRDUP, STRNDUP): Remove #if 0'd macros.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * table.c (table_push): Change zfree to free.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (datarootdir): New variable.
+
+2008-08-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * compare_igen_models: Change license to GPL version 3.
+
+2007-08-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * lf.c (lf_print__gnu_copyleft): Change license to GPL version 3.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure.ac: Delete AC_CONFIG_AUX_DIR.
+       * configure: Re-generate.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2003-05-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * compare_igen_models: Tweak attribution slightly.
+
+2002-11-22  Andrew Cagney  <cagney@redhat.com>
+
+       * gen.c (name_cmp): Rename format_name_cmp.
+       (insn_list_insert): When a merge, compare the format name and
+       instruction name.  Add trace messages.
+
+2002-11-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * filter.c: Re-indent.
+       * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto.
+       * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto.
+       * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto.
+       * gen-model.c, gen-model.h, gen-semantics.c: Ditto.
+       * gen-semantics.h, gen-support.c, gen-support.h: Ditto.
+       * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
+       * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
+       * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
+
+2002-11-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Update copyright.  IGEN contributed to the FSF.
+       * filter.c, filter.h, filter_host.c, filter_host.h: Ditto.
+       * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto.
+       * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto.
+       * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto.
+       * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto.
+       * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto.
+       * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto.
+       * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
+
+2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
+       global prefix to ENGINE_ISSUE_PREFIX_HOOK.
+       (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
+
+2002-08-28  Dave Brolley  <brolley@redhat.com>
+
+       * gen-support.c (gen_support_h): Generate
+       '#define semantic_illegal <PREFIX>_semantic_illegal'.
+
+2002-08-22  Chris Demetriou  <cgd@broadcom.com>
+
+       * compare_igen_models: New script.
+
+2002-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and
+       ``t'' to NULL.
+       * igen.c (main): Add default case to switch.
+       * gen-icache.c (print_icache_extraction): Ditto.
+
+2002-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (BUILD_CFLAGS): Remove -O0.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-03  Richard Henderson  <rth@redhat.com>
+
+       * gen-engine.c (print_run_body): Avoid multi-line strings.
+       * lf.c (lf_print__gnu_copyleft): Likewise.
+
+2002-05-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * igen.c: Use 'deprecated' rather than 'depreciated.'
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * gen.c (format_name_cmp): New function.
+       (insn_list_insert): Use the instruction field name as an
+       additional key.  Different field names indicate different
+       semantics.
+
+2002-03-07  Chris Demetriou  <cgd@broadcom.com>
+
+       * igen.c (print_itrace_format): Add support for a new "%#lx" format.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-04-12  Frank Ch. Eigler  <fche@redhat.com>
+
+       * gen-semantics.c (print_semantic_body): Use GPR_CLEAR(N) instead
+       of GPR_SET(N,0) for gen-zero-rN.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_WARNINGS): Replace this with.
+       (IGEN_WERROR_CFLAGS, IGEN_WARN_CFLAGS, WERROR_CFLAGS,
+       WARN_CFLAGS): With these.
+       (BUILD_CFLAGS): Update.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Dec  4 15:14:09 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (main): Fix -Pitable=.
+
+       * gen-engine.c (print_run_body): Prefix instruction_address.
+
+Wed Oct 28 18:12:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_WARNINGS): Update to match ../common/aclocal.m4
+       changes.
+
+Wed Aug 12 10:55:28 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * gen-icache.c (print_icache_extraction): #undef a generated
+       symbol before #define'ing it, to remove conflict with system
+       macros.
+
+Wed Jul 29 10:07:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen.c (gen_entry_expand_opcode): For conditional, fields.  Fix
+       the extraction of the value from its source - both table and bit
+       cases were wrong.
+
+Tue Jul 28 11:19:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_insn_word): For constant conditional strings,
+       encode their bit value.
+
+       * ld-insn.c (parse_insn_word, parse_insn_words): Allow conditional
+       operands to refer to fields in earlier instruction words.
+
+       * gen.c (sub_val): Replace field argument with val_last_pos.
+       (gen_entry_expand_opcode): Look in previous tables for a value for
+       a conditional field as well as the bits from the current table.
+       (insn_list_insert): Add sort key of instructions where
+       their operand fields have different conditionals.
+       (insn_field_cmp): New function.
+
+Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:08 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:33 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Fri Apr 24 19:45:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-icache.c (print_icache_extraction): Do not type cast
+       pointers.
+
+       * ld-insn.c (load_insn_table): Terminate error with NL.
+
+       * gen.c (insns_bit_useless): Perform unsigned bit comparisons.
+
+       * filter.c (is_filtered_out, filter_parse): Pacify GCC, len is
+       unsigned.
+
+Wed Apr 22 14:27:39 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Reconfigure to pick up ../common/aclocal.m4 changes
+       to suppress inlining by default.
+
+Tue Apr 21 01:37:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-icache.c (print_icache_extraction): When generating #define
+       force the expression to the correct type.
+
+Thu Apr 16 08:50:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * misc.c (name2i): strlen returns an unsigned.
+
+Tue Apr 14 19:04:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.h (struct igen_warn_options): Add unimplemented option.
+       * igen.c (main): Update
+
+       * ld-insn.c (load_insn_table): Report unimplemented functions.
+
+Tue Apr 14 10:57:26 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_insn_word): Treat `!' and `=' as valid
+       separator tokens when parsing a conditional.
+
+       * igen.h (main): Add option -S so that suffix can be specified.
+
+Tue Apr 14 08:44:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.h (struct igen_trace_options): Add members insn_expansion
+       and insn_insertion.
+
+       * igen.c (main): Add options -Gtrace-insn-expansion,
+       -Gtrace-insn-insertion and -Gtrace-all.
+
+       * gen.c (gen_entry_expand_insns): Trace each instruction as it is
+       selected for expansion.
+       (gen_entry_expand_opcode): Trace each expanded instruction as it
+       is inserted into the table.
+
+Mon Apr 13 19:21:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_insn_word): Parse conditional operators.
+       (parse_insn_word): Verify field conditionals.
+
+       * ld-insn.h: Extend syntax to allow macros and field equality.
+       (struct insn_field_cond): Rename insn_field_exclusion, add type.
+
+       * gen.c (gen_entry_expand_opcode): Check type of conditional.
+       (insns_bit_useless): Ditto.
+
+       * ld-insn.c (parse_macro_record): New function.
+
+Mon Apr 13 22:37:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.h (enum insn_field_type): Add insn_field_invalid.
+
+       * ld-insn.c (parse_insn_word): Check instruction field type
+       correctly initialized.
+       (print_insn_words): Ditto.
+       (insn_field_type_to_str): Ditto.
+       (dump_insn_field): Ditto.
+
+       * gen.c (insns_bit_useless): Ditto.
+
+Fri Apr  3 18:08:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen.h, igen.c (print_include_inline, print_includes,
+       print_includes): New functions.  Generate include list.  For for
+       semantics et.al. generate CPP code to inline when
+       C_REVEALS_MODULE_P.
+
+       * igen.c (gen_semantics_c): Call print_includes.
+       * gen-engine.c (gen_engine_c): Ditto.
+
+Sat Apr  4 21:09:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.h: (struct _igen_name_option): Replace with struct
+       igen_module_option. Contains both module prefix and suffix.
+       (INIT_OPTIONS): Initialize.
+
+       * igen.c (main): Update -P option to fill in full module info.
+       (gen-engine.c, gen-icache.c, gen-itable.c, gen-semantics.c,
+       gen-support.c): Update.
+
+Sat Apr  4 02:15:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace): Use TRACE_ANY_P macro to determine if any
+       tracing is needed.
+
+Thu Mar 26 20:51:23 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * table.c (table_push):  Redo, using stdio.  Fixes NT native
+       problem with <CRLF>=><LF> translation...
+
+Tue Mar 24 23:30:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-engine.c (print_run_body): Re-extract the CIA after
+       processing any events.
+
+Tue Mar 24 17:46:08 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * Makefile.in:  Get SHELL from configure.
+       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
+       NT native builds.
+
+Mon Mar 16 12:51:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c: Pass sim_cia to trace_prefix.
+
+Thu Feb 26 19:25:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_function_record): Check models are valid.
+       (parse_function_record): Only discard function when no model is
+       common.
+
+Tue Feb 24 01:42:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-engine.c (print_run_body): Always wrap generated idecode
+       body in ENGINE_ISSUE_PREFIX_HOOK / ENGINE_ISSUE_POSTFIX_HOOK.
+
+Fri Feb 20 16:22:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
+       discarded function warning.
+
+       * igen.c (main): Clarify -Wnodiscard.
+
+       * ld-insn.c (parse_function_record): For functions, allow use of
+       instruction style function model records
+
+       * ld-insn.h (nr_function_model_fields): Define.
+
+Tue Feb 17 16:36:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace_prefix): Generate call to trace_prefix
+       instead of trace_one_insn.
+       (print_itrace): Generate trace_prefix call if any tracing enabled,
+       (print_itrace): Nest generated call to trace_generic inside
+       conditional for any tracing enabled.
+       (print_itrace_prefix): Do not pass PHASE to trace_prefix.
+
+Tue Feb  3 14:00:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-engine.c (print_run_body): Add bitsize suffix to IMEM macro.
+       * gen-icache.c (print_icache_body): Ditto.
+       * gen-idecode.c (print_idecode_ifetch): Ditto.
+
+       * gen-icache.c (print_icache_body): Mark successive instruction
+       words as unused.
+
+       * ld-insn.c (parse_insn_word): Only report insn-width problems
+       when warning enabled.
+
+       * igen.h: Add flag for warning about invalid instruction widths.
+       * igen.c: Parse -Wwidth option.
+
+       * gen-support.c (gen_support_h): Map instruction_word onto
+       <PREFIX>_instruction_word when needed.
+       (print_support_function_name): Use support prefix.
+       (gen_support_h): Ditto for <PREFIX>_idecode_issue.
+
+Sun Feb  1 11:08:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-support.c (gen_support_h): Generate new macro CPU_.
+
+Sat Jan 31 14:50:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-engine.c (gen_engine_h): Don't assume a model is present.
+       (gen_engine_c): Ditto.
+
+       * igen.c (gen_run_c): Ditto.
+
+       * gen-engine.c (print_run_body): Use CIA_GET & CIA_SET instead of
+       CPU_CIA.  Parameterize with CPU argument.
+
+Fri Jan 30 09:09:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen.h (struct _gen_list): Replace processor with model.
+
+       * igen.c (gen_idecode_h): Update.
+       (gen_run_c): For generated switch, use model->full_name.
+
+       * gen.c (print_gen_entry_path): Ditto.
+       (make_table):  Ditto.
+       (gen_entry_expand_insns):  Ditto.
+       (make_gen_tables):  Ditto.
+
+       * igen.c (gen_run_c): Add extra argument `nr_cpus' to generated
+       function sim_engine_run.  Pass argument on to engine_run.
+
+       * gen-engine.c (print_engine_run_function_header): Add extra
+       argument `nr_cpus' to generated function engine_run.
+       (print_run_body): Fix SMP case.
+
+       * gen-support.c (support_c_function): Call sim_engine_abort when
+       internal function fails to long jump.
+
+Wed Jan 21 18:00:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Use GPR_SET to zero
+       hardwired register.
+
+Wed Dec 17 14:49:03 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * gen-semantics.c (print_semantic_body): Fix handling of
+       hardwired zero register.
+
+Tue Dec  9 12:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.h (struct _igen_gen_options): Add member default_model.
+
+       * igen.c (gen_run_c): Default to the first machine in the
+       multi-sim list.
+       (main): Add MODEL parameter to gen-multi-sim option.
+
+       * gen.h (function_decl_type): Declare enum.
+
+       * gen-engine.c (print_engine_run_function_header), gen-engine.h:
+       Make global, pass function_decl_type as argument.
+       (gen_engine_h, gen_engine_c): Update call.
+
+       * gen-idecode.c (print_idecode_issue_function_header),
+       gen-idecode.h: Pass function_decl_type as argument.
+
+       * igen.c (gen_idecode_h): For multi-sim, delcare global variable
+       idecode_issue.
+
+       * igen.c (gen_run_c): For multi-sim, initialize globals
+       idecode_issue and engine_run.
+
+Fri Nov 14 10:51:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (parse_insn_model_record): Allow multiple model names
+       to be specified in a single instruction model record.
+       (dump_insn_model_entry): Update.
+
+       * ld-insn.h (struct _insn_model_entry): Replace member name with
+       the filter names.  Document syntax change.
+
+Wed Nov 12 15:45:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-engine.c (print_run_body): Add hooks for adding code before
+       and after an instruction has been issued.
+
+1997-11-04  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * gen-idecode.c (print_jump_until_stop_body): Use `#if 0' instead of
+       `#ifdef 0' around this.
+
+Tue Nov  4 08:18:29 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * ld-decode.c (load_decode_table): Don't assume NULL is an integer
+       constant.
+
+Wed Oct 29 13:17:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.h: Document mnemonic string format.
+
+Tue Oct 28 10:50:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-icache.c (print_icache_extraction): Force result of atol to
+       unsigned.
+
+       * ld-insn.c (parse_function_record): Separate handling of old and
+       ney fynction records.
+       (load_insn_table): For %s record, hack function name & type after
+       it has been parsed.
+
+       * filter.h (filter_is_subset): Reverse argument names, wrong
+       order.
+
+       * ld-insn.c (load_insn_table): Move include code to.
+       (parse_include_record): New function.  Check for filtering of
+       include statement by both flags and models.
+       (load_insn_table): Check for model filtering of cache and model
+       records.
+       (parse_model_data_record): Check for model & flag filtering of
+       model data records.
+       (parse_function_record): Check for model & flag filtering of
+       function records.
+
+       * ld-insn.h: Define record_filter_models_field.  Add filter-models
+       field to all but instruction records.
+       (struct _function_entry, struct _cache_entry): Add models field.
+       (nr_function_fields): Make parm field mandatory.
+
+Mon Oct 27 15:14:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (main): Change -I option to -I<directory>.  Add optional
+       size to -Ggen-icache option.  Add -Gno-... support.
+
+       * igen.h (struct _igen_options): Add include field.
+
+       * ld-insn.c (enum insn_record_type, insn_type_map): Add
+       include_record.
+       (load_insn_table): Call table_push when include record.
+
+       * table.c (struct _open table, struct table): Make table object an
+       indirect ptr to the current table file.
+       (current_line, new_table_entry, next_line): Make file arg type
+       open_table.
+       (table_open): Use table_push.
+       (table_read): Point variable file at current table, at eof, pop
+       last open table.
+
+       * table.h, table.c (table_push): New function.
+
+Thu Oct 16 11:03:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Use CIA not
+       cia.ip. Escape newlines at end of generated call to
+       sim_engine_abort.
+
+Tue Oct 14 11:13:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace): Output line-ref to igen source file when
+       generating trace statements.
+       (print_itrace_prefix, print_itrace_format): Escape newline at end
+       of each line of generated call to trace function.
+
+Mon Oct 13 11:27:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-support.c (gen_support_h): Generate #define NIA. Definition
+       dependant on gen-delayed-branch mode.
+
+       * ld-insn.c (parse_insn_mnemonic_record): Check for opening and
+       closing double quote in mnemonic field.
+       (parse_option_record): Add gen-delayed-branch option.
+
+Wed Oct  8 13:10:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen.c (insn_list_insert): Missing \n in warning.
+
+       * ld-insn.c (load_insn_table): Only notify of discarded
+       instrctions when warn.discard enabled.
+
+       * igen.h: Add option.warn.discard, default enabled.
+
+       * igen.c (main): Add -Wnodiscard option.
+
+       * ld-insn.c (record_type): For old record type, check the number
+       of fields is correct.
+       (load_insn_table): Allow insn assembler and insn model records to
+       appear in any order.
+       (parse_insn_model_record): Rename from parse_insn_model_records.
+       Parse only one record.
+       (parse_insn_mnemonic_record): Rename from
+       parse_insn_mnemonic_records.  Parse only one record.
+
+Tue Sep 23 15:52:06 1997  Felix Lee  <flee@yin.cygnus.com>
+
+       * gen-itable.c (gen_itable_h): [nr_itable_* + 1] to avoid
+       illegal zero-sized array.
+       (itable_print_set): likewise, avoid empty initializers.
+
+Mon Sep 22 18:49:07 1997  Felix Lee  <flee@cygnus.com>
+
+       * configure.in: i386-windows is a cross, so don't expect
+       libiberty to be there.
+       * configure: updated.
+
+Fri Sep 19 10:36:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_function_name): Put the format name after the
+       function / instruction name, not before.
+       (print_itrace): Better format trace code.
+
+Tue Sep 16 11:01:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen.c (insns_bit_useless): Don't treat string fields restricted
+       to a range of values as useless.
+
+Mon Sep 15 15:47:21 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (gen_run_c): Handle non-multi-sim case.
+
+       * gen-support.c (gen_support_h): Define SD_ - to replace _SD.
+       Define CIA from cia.
+
+Thu Sep 11 10:27:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Trace the instruction
+       after it has been validated.
+       (print_semantic_body): Count the instruction using sim-profile.
+
+Wed Sep 10 13:35:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-itable.c (gen_itable_h): Collect summary info on instruction
+       table when traversing it.
+       (gen_itable_h): Output an enum defining the max size of each of
+       the itable string members.
+
+Tue Sep  9 03:30:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (gen_run_c): New function. Generate sim_engine_run that
+       looks at the currently selected architecture.
+
+       * gen-engine.c, gen-idecode.c: Add multi-sim support - generate
+       one engine per model.
+
+       * gen-semantics.c, gen-icache.c gen-support.c:
+       Update.
+
+       * ld-insn.h, ld-insn-h (load_insn_table): Rewrite.  table.h only
+       returns a line at a time.  Parse multi-word instructions.  Add
+       multi-sim support.
+
+       * table.h, table.c: Simplify.  Only parse a single line at a time.
+       ld-insn can handle the rest.
+
+       * filter.h, filter.c (filter_parse, filter_add, filter_is_subset,
+       filter_is_common, filter_is_member, filter_next): New filter
+       operations.
+       (dump_filter): Ditto.
+
+       * gen.h, gen.c: New file.  Takes the insn table and turns it into
+       a set of decode tables and semantic functions.
+
+       * ld-insn.c: Copy generator code from here.
+       * gen.c: To here.
+
+Fri Aug  8 11:43:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * misc.h (NZALLOC): Allocate an N element array of TYPE.
+
+       * table.h, table.c: Simplify table parser so that it only
+       understands colon delimited lines and code blocks.
+       (table_read): Parse '{' ... '}' as a code block.
+       (table_print_code): New function, print out a code block to file.
+       (main): Add suport for standalone testing.
+
+       * ld-insn.h, ld-insn.c:
+
+
+Mon Sep  1 11:41:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-idecode.c (error_leaf_contains_multiple_insn): Make static.
+       (print_jump_definition, print_jump, print_jump_internal_function,
+       print_jump_insn, print_jump_until_stop_body): Delete, moved to
+       sim-engine.c
+
+       * igen.c (print_itrace_format): Delete unused variable chp.
+       (gen-engine.h): Include.
+
+       * table.c (current_file_name, current_line_entry,
+       current_line_entry): Make static.
+
+Wed Aug  6 12:31:17 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Define AR_FOR_BUILD, AR_FLAGS_FOR_BUILD,
+       RANLIB_FOR_BUILD and CFLAGS_FOR_BUILD.
+       * configure.in: Include simulator common/aclocal.m4.
+       * configure.in: Add --enable-sim-warnings option.
+       * configure: Re-generate.
+
+       * Makefile.in: Use.
+
+       * Makefile.in (tmp-filter): New rule.
+       (igen.o, tmp-table, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn,
+       ld-decode.o, ld-cache.o, ld-insn.o): Fix dependencies.
+
+       * gen.h, gen.c: New files.
+
+       * Makefile.in (gen.o, tmp-gen): New rules, update all
+       dependencies.
+
+Tue Jun 24 11:46:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (load_insn_table): Accept %s as a function type.
+
+Thu Jun  5 17:14:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace_prefix): Move printing of insn prefix to
+       here.
+       (print_itrace_format): Drop printing of MY_NAME in instruction
+       trace.  Printing of insn prefix moved.
+       (print_itrace): Ditto.
+
+Fri May 30 11:27:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-icache.c (print_icache_function_header): Pass
+       table_line_entry instead of separate file and line.
+
+       * table.c (table_entry_read): Set assembler source file/line-nr to
+       the current not initial file.
+       (table_entry_read): Fix line numbering of source files.
+
+       table.h (table_line_entry): New structure.  Exactly specifies a
+       source file/line-nr.
+       (table_*_entry): Add this to all.
+
+       table.c (table_entry_print_cpp_line_nr): Change to use values from
+       a table_line_entry struct.
+       (table_entry_read): Save table_line_entry in all structures read.
+
+       gen-icache.c, gen-support.c, gen-idecode.c, gen-semantics.c,
+       gen-model.c: Update all references.
+
+Thu May 29 10:29:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_my_defines): Define MY_NAME - a string.  For
+       MY_PREFIX, undefine the name of the function incase some dumb
+       header defined it.  it.
+       (print_itrace): Use MY_NAME not MY_PREFIX.
+
+       * lf.c (lf_write): New function write an N character buffer to the
+       file.
+
+       * igen.c (print_itrace): When available, use the assembler to
+       print the insn-trace.
+       (print_itrace_prefix): New function, print first part of call to
+       print_one_insn.
+       (print_itrace_format): New function, print fmt argument for
+       print_one_insn.
+
+       * table.c (table_entry_read): Save any assembler lines instead of
+       discarding them.
+
+Wed May 28 09:55:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-icache.c (print_icache_body): Process immeds.
+
+       * gen-semantics.c (print_semantic_body): When computing NIA, skip
+       any immed words that follow the instruction word.
+
+       * ld-insn.c (parse_insn_format): Parse immeds appended to an
+       instruction.
+
+       * igen.c (main): Allow any register to be specified as the zero
+       register.
+       (semantic_zero_reg): Global, index to zero register.
+
+       * gen-semantics.c (print_semantic_body): Zero selected register.
+
+Tue May 27 14:12:32 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.h: Stop options and code gen type bit masks overlaping.
+
+Fri May 23 12:01:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Incorrect test for
+       zero-r0 code.
+
+Fri May 16 14:32:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Use common sim-engine
+       interface.
+
+Fri May 16 11:48:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-semantics.c (print_semantic_body): Add code to clear r0.
+
+       * igen.c (main): Add new option zero-r0, which adds code to clear
+       GPR(0) each cycle.
+
+Wed May  7 12:31:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace): Fix so line-nr is passed to trace
+       function.
+
+       * gen-idecode.c (print_idecode_validate): Correct FP code.
+
+       * gen-support.c (gen_support_h): Always pass MY_INDEX to support
+       functions.
+       (print_support_function_name): Ditto.
+
+Tue May  6 06:12:04 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * igen.c (print_itrace): Call trace_one_insn to trace
+       instructions, rather than doing it directly.
+
+Mon May  5 14:11:46 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * gen-engine.c (engine_switch_leaf): Remove extra %s.
+       (print_engine_floating_point_unavailable): Wrap in #ifdef
+       UNUSED/#endif, until somebody uses it.
+
+       * gen-idecode.c (error_leaf_contains_multiple_insn): Remove unused
+       variable.
+       (print_jump_until_stop_body): Wrap in #ifdef UNUSED/#endif, until
+       somebody uses it.
+       (print_idecode_validate): Use long formats to print long values.
+
+       * gen-semantics.c (print_idecode_invalid): Set name to "unknown"
+       if we get an unexpected type.
+
+Fri May  2 13:28:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_itrace): Pass SD as well as CPU to calls to
+       trace_printf.
+
+       * gen-support.c (gen_support_h): Always pass sim_cia cia to
+       support functions.
+       (print_support_function_name): Ditto.
+
+Wed Apr 30 17:35:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gen-support.c (support_c_function): Remove unnecessary memset of
+       cia.
+       * gen-semantics.c (print_semantic_body): Wasn't closing
+       generated comment.
+
+Tue Apr 29 11:11:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (load_insn_table): Report instructions that do not
+       have at least a format and name.
+       (insn_table_find_opcode_field): Check progress is being made.
+
+       * gen-support.c (support_c_function): Report empty function body.
+
+Thu Apr 24 11:43:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ld-insn.c (insn_table_expand_opcode): Allow reserved fields to
+       be broken up.
+       (insn_table_expand_insns): Allow special rules to apply to groups
+       of instructions when all members of the group match the special
+       mask/value.
+
+       * gen-semantics.c (print_c_semantic): Ditto.
+       * igen.c (print_semantic_function_formal): Ditto.
+       (print_semantic_function_type): Ditto.
+       * igen.c (print_icache_function_formal): Ditto.
+       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
+
+       * gen-idecode.c (gen_idecode_h): Prepend the global_prefix to the
+       instruction_address type.
+
+       * gen-semantics.c (print_semantic_body): Call cpu_error when an
+       unimplemented instruction is encountered - gives the interpreter
+       the chance to stop correctly.
+
+Wed Apr 23 20:06:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (print_function_name): Allow dot's in instruction names.
+
+Tue Apr 22 21:46:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * igen.c (main), igen.h: Support new option - delayed-branch -
+       generate code to drive a delayed branch processor.
+
+       * gen-idecode.c (gen_idecode_h): Define instruction_address type.
+
+       * igen.c (print_icache_function_formal): Replace address_word with
+       instruction_address.
+       (print_semantic_function_formal): Ditto.
+       (print_semantic_function_type): Ditto.
+       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
+
+       * gen-semantics.c (print_semantic_body): Ditto.
+       (print_c_semantic): Ditto.
+
+       * gen-support.c (support_c_function): Return a zeroed CIA instead
+       of just zero - works with any cia type.
+
+       * igen.c (print_itrace): For delayed branch case, print just the
+       current instruction.
+
+Thu Apr 17 07:02:33 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * igen.c (print_itrace): Use TRACE_FOO_P and trace_printf.
+
+Tue Apr 15 15:20:31 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (INSTALL): Set to @INSTALL@.
+       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+
+Mon Apr 14 16:29:34 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (INSTALL): Change install.sh to install-sh.
+
+Wed Apr  2 18:51:20 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
+       * gen-idecode.c (gen_idecode_c): Likewise.
+       * igen.c (gen_semantics_c): Likewise.
+
+Mon Mar 24 10:10:08 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * gen-icache.c (print_icache_body): No longer define cpu/sd,
+       support.h now defines CPU/SD globally.
+
+       * gen-model.c (gen_model_h): Ditto.
+
+       * gen-idecode.c (print_idecode_issue_function_body): Ditto.
+       (print_jump): Ditto.
+       (print_jump_until_stop_body): Ditto.
+       (print_idecode_validate): Ditto.
+
+       * gen-icache.c (print_icache_body): Ditto.
+
+       * gen-semantics.c (print_semantic_body): Ditto.
+
+       * igen.c (print_semantic_function_formal): Rename cpu to sim_cpu,
+       processor to cpu.
+       (print_icache_function_formal): Ditto.
+
+       * gen-support.c (print_support_function_name): Include sd/cpu arg
+       in support function argument list.
+       (support_c_function): Generate code to cpu/sd from sd/cpu.
+       (gen_support_h): Define _SD the argument prefix for all support
+       functions.  Define SD/CPU to determine sd/cpu from value of _SD
+       macro.
+
+Tue Mar 18 15:52:24 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * gen-support.c (gen_support_c): Update for renaming of engine to
+       sim-state.
+
+       * igen.c: Ditto.
+       * gen-idecode.c (gen_idecode_c): Ditto.
+
+Mon Mar 17 15:17:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * ld-decode.c (load_decode_table): Rename slash to reserved.
+       (dump_decode_rule): Ditto.
+
+       * ld-insn.c (parse_insn_format): Differentiate between a `/' -
+       reserved bit - and a `*' - wild card.
+       (parse_insn_format): Change is_slash to more informative reserved.
+       (dump_insn_field): Ditto.
+       (insn_field_is_constant): Ditto.
+       (insn_table_expand_opcode): Ditto.
+
+       * gen-idecode.c (print_idecode_validate): Make check_mask and
+       check_val the correct integer size.
+       (print_idecode_validate): Fix reserved bit check for 64 bit
+       targets.
+
+Fri Mar 14 11:24:06 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * ld-insn.c (parse_insn_format): Accept '*' as an alternative of
+       `/' in bit fields.  `/' denotes a wild bit.
+
+Fri Mar  7 18:20:38 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * igen.h, igen.c (main): New options. Control generation of
+       conditional issue and slot verification code.
+
+Fri Mar  7 18:17:25 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * gen-support.c (print_support_function_name): Prepend the global
+       name prefix when applicable.  Provide #define to map the user
+       specified name the generated globaly unique one.
+
+Fri Mar  7 18:07:45 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * gen-idecode.c (print_idecode_validate): Wrap each of the checks
+       - reserved bits, floating point and slot validation - with a
+       #ifdef so that they are optional.
+
+Fri Mar  7 16:35:13 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * gen-idecode.c (error_leaf_contains_multiple_insn): New function
+       - report the error of a leaf node in the decision tree containing
+       several instructions.
+       (print_idecode_table_leaf): Detect a leaf with multiple instructions.
+       (print_idecode_switch_leaf): Ditto.
+
+       * gen-semantics.h, gen-semantics.c (print_idecode_illegal,
+       print_idecode_invalid): Rename former to latter.  Add argument so
+       that one function can generate all invalid instruction cases -
+       illegal, fp-unavailable, wrong-slot.
+       * gen-engine.c: Update.
+
+       * gen-idecode.c: Use print_idecode_invalid to generate a function
+       call for cases when fp-unavailable and the slot is wrong.
+
+       * gen-idecode.c (print_idecode_validate): New check, generate code
+       to verify that the instruction slot is correct.
+
+       * igen.c (main): Simplify options.
+
+Wed Mar  5 09:55:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * igen.c (print_itrace): Remove source line reference for trace
+       code - let the user see the generated file.
+       (print_itrace): Print the trace code rather than reference a
+       macro.
+
+Tue Mar  4 17:31:55 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * igen.c (print_semantic_function_actual): Pass either the
+       processor - smp - or the engine - mono - into semantic functions.
+       Don't pass in both.
+
+       * gen-icache.c (print_icache_body): Dependant on smp, derive
+       processor from engine or engine from processor, and hence ensuring
+       that both are defined in all semantic functions.
+
+Mon Mar  3 17:11:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * ld-insn.c (parse_insn_format): Make the width field optional.
+       If missing assume that the number of characters in the value
+       determines the number of bits in the field.
+
+Thu Feb 27 11:27:48 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * ld-insn.c (insn_table_expand_opcode): Replace assertion with
+       more useful error message.
+
+Tue Feb 25 16:43:27 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * misc.c (error): Output errors on stderr.
+
+       * ld-insn.c (parse_insn_format): Skip any leading spaces.
+       Verify the width of instructions being parsed.
+
+       * table.c (table_entry_read): Parse CPP's convention for
+       specifying original file name/line-nr.
+
+Wed Feb 19 12:30:28 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * ld-insn.c (parse_insn_format): Allow trailing spaces in
+       instruction fields.
+
+       * Makefile.in: Create using ../ppc/Makefile.in as a starting
+       point.
+       * configure.in: Ditto vis ../ppc/configure.in
+
+Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * gen-support.c (gen_support_c): Always include engine.h instead
+       of cpu.h
+       * gen-idecode.c (gen_idecode_c): Ditto.
+
+       * words.h (instruction_word): Remove instruction_word - now
+       generated by igen.
+       (address_word): New.  Used by igen.
+
+       * lf.c (lf_print_function_type_function): New, pass a function to
+       print out the type instead of a constant string.
+
+       * igen.h, igen.c (print_semantic_function_formal,
+       SEMANTIC_FUNCTION_FORMAL): Relace macro with function.
+       (print_semantic_function_actual, SEMANTIC_FUNCTION_ACTUAL): Ditto.
+       (print_semantic_function_type, SEMANTIC_FUNCTION_TYPE): Ditto.
+       (print_icache_function_type, ICACHE_FUNCTION_TYPE): Ditto.
+       (print_icache_function_formal, ICACHE_FUNCTION_FORMAL): Ditto.
+       (print_icache_function_actual, ICACHE_FUNCTION_ACTUAL): Ditto.
+       * gen-idecode.c (print_idecode_table): Update.
+       (idecode_switch_leaf): Update.
+       (print_idecode_switch_function_header): Ditto.
+       (print_idecode_floating_point_unavailable): Ditto.
+       (print_idecode_issue_function_header): Ditto.
+       * igen.c (gen_icache_h): Ditto.
+       * gen-engine.c (print_engine_table): Ditto.
+       (engine_switch_leaf): Ditto.
+       * gen-support.c (print_support_function_name): Ditto.
+       * gen-semantics.c (print_semantic_function_header): Update.
+       Update.
+       * gen-icache.c (print_icache_function_header): Update.
+       (print_icache_function): Update.
+       (print_icache_internal_function_declaration): Update.
+       (print_icache_internal_function_definition): Update.
+
+       * gen-idecode.c (gen_idecode_h): Drop including of idecode_*.h
+       files, will at some stage need to move it into support.
+
+       * igen.h, igen.c (main): New option -e <engine> - generate a full
+       simulation engine.  Previously this was the -d <idecode-file>
+       option.
+       * gen-engine.h, gen-engine.c: Copies of gen-idecode.*.  Will need
+       to clean these up so that that call upon the updated gen-idecode
+       code.
+
+       * gen-idecode.h, gen-idecode.c: Prune out any code not relevant to
+       generating a decode table.
+
+       * Makefile.in (igen): Add dependencies for new gen-engine.* files.
+
+       * igen.h, igen.c (main): New option -M - Control what is returned
+       by semantic functions - -1/NIA vs CIA+N/NIA.  Add
+       generate_semantic_returning_modified_nia_only to igen_code enum.
+       * gen-semantics.c (print_semantic_body): As an alternative, make
+       NIA == -1 instead of CIA+insn_size by default.
+
+       * igen.h, igen.c (main, global_name_prefix, global_uname_prefix):
+       New option -P <prefix> - Prepend all generated functions with the
+       specified prefix.
+       (gen_idecode_c): Adjust.
+       * gen-icache.c (print_icache_struct): Ditto.
+       * gen-support.c (gen_support_c): Ditto.
+
+Sun Feb 16 15:23:15 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * igen.c (main): Correct usage. Missleading message about ucase
+       options dumping internal tables.  -F now includes rather then
+       excludes instructions.
+
+       * misc.h, misc.c (a2i): Make 64bit.
+
+       * ld-insn.h (max_insn_bit_size, default_insn_bit_size): Increase
+       max to 64bits, expect trouble.  Make the default 32 bits.
+       * gen-idecode.c (print_idecode_table): Change EXTRACTED*
+       et.al. macro's to use the insn_bit_size instead of assuming 32
+       bits.
+       * gen-icache.c (print_icache_extraction): Ditto.
+       * gen-idecode.c (idecode_switch_start): Ditto.
+       * gen-idecode.c (gen_idecode_c): Ditto
+
+       * igen.h (insn_specifying_widths), igen.c (main): New option -W.
+       Indicates that the instruction field of the table is specifying
+       bit widths instead of bit offsets.
+       * ld-insn.c (parse_insn_format): Parse instruction fields
+       specifying widths.
+
+       * misc.c (a2i): Allow binary numbers to be specified using the
+       syntax 0bNNNN.
+       * ld-insn.c: Allow such numbers to appear in the instruction
+       format.
+
+       * table.c (table_entry_read): Make // a valid comment character.
+       (table_entry_read): Skip lines containing a leading " - these may
+       eventually be used in a disasembler.
+
+Fri Feb 14 15:23:15 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * filter.c, filter.h, gen-engine.c, gen-engine.h, gen-icache.c,
+       gen-icache.h, gen-idecode.c, gen-idecode.h, gen-itable.c,
+       gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c,
+       gen-semantics.h, gen-support.c, gen-support.h, igen.c, igen.h,
+       ld-cache.c, ld-cache.h, ld-decode.c, ld-decode.h, ld-insn.c,
+       ld-insn.h, lf.c, lf.h, misc.c, misc.h, table.c, table.h: Copy in
+       from the ../ppc directory.
+
+       * filter_host.c, filter_host.h: Copy in from the ../ppc directory
+       renaming from filter_filename.[hc]
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
deleted file mode 100644 (file)
index 8110c35..0000000
+++ /dev/null
@@ -1,836 +0,0 @@
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (iq2000_sim_machs): ... this.
-       * sim-if.c (iq2000_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (iq2000bf_record_trace_results): Delete function.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * iq2000.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * sim-if.c (sim_open):
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * iq2000.c, sim-if.c: Include defs.h.
-       * sim-main.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * mloop.in: Include <stdlib.h>.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete arguments.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (sim-if.o): Remove.
-       (arch.o): Use COMPILE and POSTCOMPILE.
-       (devices.o, iq2000.o, mloop.o, cpu.o, decode.o, sem.o, model.o):
-       Remove.
-       (SIM_EXTRA_DEPS): Add eng.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       * iq2000.c: Include targ-vals.h.
-       (libgloss_syscall): Delete.
-       (do_syscall): Add TARGET_ prefix to all SYS_ constants.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * iq2000.c: Include stdlib.h.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * sim-if.c (sim_open, sim_create_inferior): Use new-style
-       declaration.
-       * iq2000.c (fetch_str): Use new-style declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * sim-if.c: Delete HAVE_STDLIB_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (iq2000bf_init_idesc_table): Use ARRAY_SIZE.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * iq2000-sim.h: Delete file.
-       * Makefile.in (SIM_EXTRA_DEPS): Delete iq2000-sim.h.
-       * sim-main.h: Delete iq2000-sim.h include.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.h (TARGET_BIG_ENDIAN): Delete.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (current_state): Delete.
-       (sim_open): Delete current_state assignment.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-       * tconfig.h: Delete file.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c: Rename MACH to SIM_MACH.
-       * cpuall.h: Likewise.
-       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_SCACHE_PBB): Move from ...
-       * tconfig.h (WITH_SCACHE_PBB): ... here.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
-       SIM_BREAKPOINT_SIZE): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (WITH_WATCHPOINTS): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (frvbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
-       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
-       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
-       * sem-switch.c: Likewise.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (USING_SIM_BASE_H): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CONFIG_DEVICES): Delete.
-       (SIM_OBJS): Delete CONFIG_DEVICES.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Default simulator hardware to off again
-       without emitting errors when off or dv-sockser.o unavailable.
-       * configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Fail if dv-sockser.o not available.
-       Error when --disable-sim-hardware is specified.
-       * configure: Regenerated.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_do_command): Delete.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * iq2000.c (do_syscall): Change zfree to free.
-
-2010-02-11  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h, * decode.c, * model.c, * sem-switch.c, * sem.c: Regenerate.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2010-01-02  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
-       * decode.h, * model.c, * sem-switch.c, * sem.c: Regenerate, update
-       copyright year.
-
-2010-01-01  Doug Evans  <dje@sebabeach.org>
-
-       * mloop.in: Fix copyright year update snafu.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-
-2009-11-03  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-12  Doug Evans  <dje@sebabeach.org>
-
-       * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
-       (stamp-cpu): Ditto.
-
-2009-07-07  Doug Evans  <dje@sebabeach.org>
-
-       * Makefile.in (stamp-arch): Pass archfile to cgen-arch.
-       (stamp-cpu): Pass archfile to cgen-cpu-decode.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-02-21  Corinna Vinschen  <vinschen@redhat.com>
-
-       * iq2000.c: Eliminate need to include gdb/sim-iq2000.h.
-
-2005-02-18  Corinna Vinschen  <vinschen@redhat.com>
-
-       * configure.ac: Rename from configure.in and pull up to autoconf 2.59.
-       * configure: Regenerate.
-
-2002-03-18  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * sem-switch.c: Regenerated.
-       * sem.c: Ditto.
-
-2002-01-28  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * arch.c: Regenerated.
-       * arch.h: Ditto.
-       * cpu.c: Ditto.
-       * cpu.h: Ditto.
-       * cpuall.h: Ditto.
-       * decode.c: Ditto.
-       * decode.h: Ditto.
-       * model.c: Ditto.
-       * sem-switch.c: Ditto.
-       * sem.c: Ditto.
-
-2001-11-16  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * decode.c: Regenerated after putting orui into machine-specific
-       files.
-       * decode.h: Ditto.
-       * model.c: Ditto.
-       * sem-switch.c: Ditto.
-       * sem.c: Ditto.
-
-2001-11-13  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * cpu.h: Regenerated after changing jump and branch operands
-       so that no bit masking is performed.
-       * decode.c: Ditto.
-       * iq2000.c (get_h_pc): Change to return h_pc directly.
-       (set_h_pc): Change to always set the insn mask bit.
-       * sim-if.c (iq2000bf_disassemble_insn): Change to pass the
-       pc untouched.
-       (sim_create_inferior): Changed so starting address is taken
-       directly from link.  If not specified, start address is
-       0 with insn mask set on.
-
-2001-11-08  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * cpu.h: Regenerated after making jump operand UINT.
-       * decode.c: Ditto.
-
-2001-10-31  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * sem-switch.c: Regenerated after fixing lb, lbu, lh, lw,
-       sb, sh, and sw insns handling of offset operand.
-       * sem.c: Ditto.
-
-2001-10-30  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * cpu.c: Regenerated.
-       * cpu.h: Ditto.
-       * decode.c: Ditto.
-       * sem-switch.c: Ditto.
-       * sem.c: Ditto.
-       * iq2000.c (get_h_pc): New routine.
-       (set_h_pc): Ditto.
-       (fetch_str): Translate cpu data addresses to data area.
-       (do_syscall): Ditto.
-       (iq2000bf_fetch_register): Use get_h_pc.
-       (iq2000bf_store_register): Use set_h_pc.
-       * mloop.in: Change all calls to GETIMEMxxx to use CPU2INSN
-       on the pc value passed first.
-       * sim-if.c (iq2000bf_disassemble_insn): New function.
-       (sim_open): Add extra memory region for insn memory vs data memory.
-       Also change disassembler to be iq2000bf_disassemble_insn.
-       (sim_create_inferior): Translate start address using INSN2CPU macro.
-       * sim-main.h (CPU2INSN, CPU2DATA, INSN2CPU, DATA2CPU): New macros
-       to translate between Harvard and cpu addresses.
-
-2001-10-26  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * sem-switch.c: Regenerated after reverting addiu
-       change.
-       * sem.c: Ditto.
-
-2001-10-25  Jeff Johnston  <jjohnstn@redhat.com>
-
-       * Makefile.in: Add -UHAVE_CPU_IQ10 for time-being until
-       iq10 simulator merged here.
-       * cpu.h: Regenerated after fixing addiu insn.
-       * cpuall.h: Ditto.
-       * decode.c: Ditto.
-       * decode.h: Ditto.
-       * model.c: Ditto.
-       * sem-switch.c: Ditto.
-       * sem.c: Ditto.
-
-2001-09-12  Stan Cox  <scox@redhat.com>
-
-       * iq2000/{cpu.c, cpu.h, decode.c, decode.h, model.c, sem-switch.c,
-       sem.c}: Regen'd.
-       * iq2000.c (do_syscall): Support system traps.
-
-2001-07-05  Ben Elliston  <bje@redhat.com>
-
-       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
-       (stamp-cpu): Likewise.
-
-2001-04-02  Ben Elliston  <bje@redhat.com>
-
-       * arch.c, arch.h: Regnerate to track recent cgen improvements.
-       * cpu.c, cpu.h, cpuall.h, decode.c, decode.h: Likewise.
-       * model.c, sem-switch.c, sem.c: Likewise.
-
-2001-01-22  Ben Elliston  <bje@redhat.com>
-
-       * cpu.h, decode.c, decode.h, model.c: Regenerate.
-       * sem.c, sem-switch.c: Likewise.
-
-       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h: Regenerate.
-       * decode.c, decode.h, model.c, sem.c, sem-switch.c: Likewise.
-
-2000-07-05  Ben Elliston  <bje@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-07-04  Ben Elliston  <bje@redhat.com>
-
-       * sem.c, sem-switch.c: Regenerate.
-
-       * iq2000.c (do_break): Use sim_engine_halt ().
-       * arch.c, decode.c, decode.h, sem.c, sem-switch.c: Regenerate.
-
-2000-07-03  Ben Elliston  <bje@redhat.com>
-
-       * iq2000.c (do_syscall): Examine syscall register (nominally %11).
-       (do_break): Handle breakpoints.
-       * tconfig.in (SIM_HAVE_BREAKPOINTS): Define.
-       (SIM_BREAKPOINT, SIM_BREAKPOINT_SIZE): Likewise.
-
-2000-06-29  Andrew Cagney  <cagney@redhat.com>
-
-       * iq2000.c (iq2000bf_fetch_register): Implement.
-       (iq2000bf_store_register): Ditto.
-
-2000-05-17  Ben Elliston  <bje@redhat.com>
-
-       * mloop.in (extract-simple, extract-scache): Use SEM_SKIP_COMPILE
-       to set the skip count for the (skip ..) rtx.
-       (extract-pbb): Likewise.
-       (extract-pbb): Include the delay slot instruction of all CTI
-       instructions in the pbb, not just those that may nullify their
-       delay slot (eg. likely branches).
-
-       * sem.c, sem-switch.c: Regenerate.
-
-2000-05-16  Ben Elliston  <bje@redhat.com>
-
-       * arch.c, cpu.c, cpu.h, decode.c, decode.h: Regenerate.
-       * sem.c, sem-switch.c: Likewise.
-       * mloop.in (extract-pbb): Prohibit branch instructions in the
-       delay slot of branch likely instructions.
-
-2000-05-16  Ben Elliston  <bje@redhat.com>
-
-       * Makefile.in: New file.
-       * configure.in: Ditto.
-       * acconfig.h: Ditto.
-       * config.in, configure: Generate.
-       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h: Ditto.
-       * decode.c, decode.h: Ditto.
-       * model.c, sem-switch.c, sem.c: Ditto.
-       * mloop.in: New file.
-       * iq2000.c: Ditto.
-       * iq2000-sim.h: Ditto.
-       * sim-if.c: Ditto.
-       * sim-main.h: Ditto.
-       * tconfig.in: Ditto
diff --git a/sim/iq2000/ChangeLog-2021 b/sim/iq2000/ChangeLog-2021
new file mode 100644 (file)
index 0000000..8110c35
--- /dev/null
@@ -0,0 +1,836 @@
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (iq2000_sim_machs): ... this.
+       * sim-if.c (iq2000_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (iq2000bf_record_trace_results): Delete function.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * iq2000.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * sim-if.c (sim_open):
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * iq2000.c, sim-if.c: Include defs.h.
+       * sim-main.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * mloop.in: Include <stdlib.h>.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete arguments.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (sim-if.o): Remove.
+       (arch.o): Use COMPILE and POSTCOMPILE.
+       (devices.o, iq2000.o, mloop.o, cpu.o, decode.o, sem.o, model.o):
+       Remove.
+       (SIM_EXTRA_DEPS): Add eng.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       * iq2000.c: Include targ-vals.h.
+       (libgloss_syscall): Delete.
+       (do_syscall): Add TARGET_ prefix to all SYS_ constants.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * iq2000.c: Include stdlib.h.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * sim-if.c (sim_open, sim_create_inferior): Use new-style
+       declaration.
+       * iq2000.c (fetch_str): Use new-style declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * sim-if.c: Delete HAVE_STDLIB_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (iq2000bf_init_idesc_table): Use ARRAY_SIZE.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * iq2000-sim.h: Delete file.
+       * Makefile.in (SIM_EXTRA_DEPS): Delete iq2000-sim.h.
+       * sim-main.h: Delete iq2000-sim.h include.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.h (TARGET_BIG_ENDIAN): Delete.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (current_state): Delete.
+       (sim_open): Delete current_state assignment.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+       * tconfig.h: Delete file.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c: Rename MACH to SIM_MACH.
+       * cpuall.h: Likewise.
+       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_SCACHE_PBB): Move from ...
+       * tconfig.h (WITH_SCACHE_PBB): ... here.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
+       SIM_BREAKPOINT_SIZE): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (WITH_WATCHPOINTS): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (frvbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
+       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
+       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
+       * sem-switch.c: Likewise.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (USING_SIM_BASE_H): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CONFIG_DEVICES): Delete.
+       (SIM_OBJS): Delete CONFIG_DEVICES.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Default simulator hardware to off again
+       without emitting errors when off or dv-sockser.o unavailable.
+       * configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Fail if dv-sockser.o not available.
+       Error when --disable-sim-hardware is specified.
+       * configure: Regenerated.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_do_command): Delete.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * iq2000.c (do_syscall): Change zfree to free.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h, * decode.c, * model.c, * sem-switch.c, * sem.c: Regenerate.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
+       * decode.h, * model.c, * sem-switch.c, * sem.c: Regenerate, update
+       copyright year.
+
+2010-01-01  Doug Evans  <dje@sebabeach.org>
+
+       * mloop.in: Fix copyright year update snafu.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+
+2009-11-03  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-12  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
+       (stamp-cpu): Ditto.
+
+2009-07-07  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (stamp-arch): Pass archfile to cgen-arch.
+       (stamp-cpu): Pass archfile to cgen-cpu-decode.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-02-21  Corinna Vinschen  <vinschen@redhat.com>
+
+       * iq2000.c: Eliminate need to include gdb/sim-iq2000.h.
+
+2005-02-18  Corinna Vinschen  <vinschen@redhat.com>
+
+       * configure.ac: Rename from configure.in and pull up to autoconf 2.59.
+       * configure: Regenerate.
+
+2002-03-18  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * sem-switch.c: Regenerated.
+       * sem.c: Ditto.
+
+2002-01-28  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * arch.c: Regenerated.
+       * arch.h: Ditto.
+       * cpu.c: Ditto.
+       * cpu.h: Ditto.
+       * cpuall.h: Ditto.
+       * decode.c: Ditto.
+       * decode.h: Ditto.
+       * model.c: Ditto.
+       * sem-switch.c: Ditto.
+       * sem.c: Ditto.
+
+2001-11-16  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * decode.c: Regenerated after putting orui into machine-specific
+       files.
+       * decode.h: Ditto.
+       * model.c: Ditto.
+       * sem-switch.c: Ditto.
+       * sem.c: Ditto.
+
+2001-11-13  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * cpu.h: Regenerated after changing jump and branch operands
+       so that no bit masking is performed.
+       * decode.c: Ditto.
+       * iq2000.c (get_h_pc): Change to return h_pc directly.
+       (set_h_pc): Change to always set the insn mask bit.
+       * sim-if.c (iq2000bf_disassemble_insn): Change to pass the
+       pc untouched.
+       (sim_create_inferior): Changed so starting address is taken
+       directly from link.  If not specified, start address is
+       0 with insn mask set on.
+
+2001-11-08  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * cpu.h: Regenerated after making jump operand UINT.
+       * decode.c: Ditto.
+
+2001-10-31  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * sem-switch.c: Regenerated after fixing lb, lbu, lh, lw,
+       sb, sh, and sw insns handling of offset operand.
+       * sem.c: Ditto.
+
+2001-10-30  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * cpu.c: Regenerated.
+       * cpu.h: Ditto.
+       * decode.c: Ditto.
+       * sem-switch.c: Ditto.
+       * sem.c: Ditto.
+       * iq2000.c (get_h_pc): New routine.
+       (set_h_pc): Ditto.
+       (fetch_str): Translate cpu data addresses to data area.
+       (do_syscall): Ditto.
+       (iq2000bf_fetch_register): Use get_h_pc.
+       (iq2000bf_store_register): Use set_h_pc.
+       * mloop.in: Change all calls to GETIMEMxxx to use CPU2INSN
+       on the pc value passed first.
+       * sim-if.c (iq2000bf_disassemble_insn): New function.
+       (sim_open): Add extra memory region for insn memory vs data memory.
+       Also change disassembler to be iq2000bf_disassemble_insn.
+       (sim_create_inferior): Translate start address using INSN2CPU macro.
+       * sim-main.h (CPU2INSN, CPU2DATA, INSN2CPU, DATA2CPU): New macros
+       to translate between Harvard and cpu addresses.
+
+2001-10-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * sem-switch.c: Regenerated after reverting addiu
+       change.
+       * sem.c: Ditto.
+
+2001-10-25  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * Makefile.in: Add -UHAVE_CPU_IQ10 for time-being until
+       iq10 simulator merged here.
+       * cpu.h: Regenerated after fixing addiu insn.
+       * cpuall.h: Ditto.
+       * decode.c: Ditto.
+       * decode.h: Ditto.
+       * model.c: Ditto.
+       * sem-switch.c: Ditto.
+       * sem.c: Ditto.
+
+2001-09-12  Stan Cox  <scox@redhat.com>
+
+       * iq2000/{cpu.c, cpu.h, decode.c, decode.h, model.c, sem-switch.c,
+       sem.c}: Regen'd.
+       * iq2000.c (do_syscall): Support system traps.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+
+2001-04-02  Ben Elliston  <bje@redhat.com>
+
+       * arch.c, arch.h: Regnerate to track recent cgen improvements.
+       * cpu.c, cpu.h, cpuall.h, decode.c, decode.h: Likewise.
+       * model.c, sem-switch.c, sem.c: Likewise.
+
+2001-01-22  Ben Elliston  <bje@redhat.com>
+
+       * cpu.h, decode.c, decode.h, model.c: Regenerate.
+       * sem.c, sem-switch.c: Likewise.
+
+       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h: Regenerate.
+       * decode.c, decode.h, model.c, sem.c, sem-switch.c: Likewise.
+
+2000-07-05  Ben Elliston  <bje@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-07-04  Ben Elliston  <bje@redhat.com>
+
+       * sem.c, sem-switch.c: Regenerate.
+
+       * iq2000.c (do_break): Use sim_engine_halt ().
+       * arch.c, decode.c, decode.h, sem.c, sem-switch.c: Regenerate.
+
+2000-07-03  Ben Elliston  <bje@redhat.com>
+
+       * iq2000.c (do_syscall): Examine syscall register (nominally %11).
+       (do_break): Handle breakpoints.
+       * tconfig.in (SIM_HAVE_BREAKPOINTS): Define.
+       (SIM_BREAKPOINT, SIM_BREAKPOINT_SIZE): Likewise.
+
+2000-06-29  Andrew Cagney  <cagney@redhat.com>
+
+       * iq2000.c (iq2000bf_fetch_register): Implement.
+       (iq2000bf_store_register): Ditto.
+
+2000-05-17  Ben Elliston  <bje@redhat.com>
+
+       * mloop.in (extract-simple, extract-scache): Use SEM_SKIP_COMPILE
+       to set the skip count for the (skip ..) rtx.
+       (extract-pbb): Likewise.
+       (extract-pbb): Include the delay slot instruction of all CTI
+       instructions in the pbb, not just those that may nullify their
+       delay slot (eg. likely branches).
+
+       * sem.c, sem-switch.c: Regenerate.
+
+2000-05-16  Ben Elliston  <bje@redhat.com>
+
+       * arch.c, cpu.c, cpu.h, decode.c, decode.h: Regenerate.
+       * sem.c, sem-switch.c: Likewise.
+       * mloop.in (extract-pbb): Prohibit branch instructions in the
+       delay slot of branch likely instructions.
+
+2000-05-16  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in: New file.
+       * configure.in: Ditto.
+       * acconfig.h: Ditto.
+       * config.in, configure: Generate.
+       * arch.c, arch.h, cpu.c, cpu.h, cpuall.h: Ditto.
+       * decode.c, decode.h: Ditto.
+       * model.c, sem-switch.c, sem.c: Ditto.
+       * mloop.in: New file.
+       * iq2000.c: Ditto.
+       * iq2000-sim.h: Ditto.
+       * sim-if.c: Ditto.
+       * sim-main.h: Ditto.
+       * tconfig.in: Ditto
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
deleted file mode 100644 (file)
index 64510e3..0000000
+++ /dev/null
@@ -1,625 +0,0 @@
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (lm32_sim_machs): ... this.
-       * sim-if.c (lm32_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (lm32bf_record_trace_results): Delete function.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-lm32uart.c: Include sys/select.h.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * sim-if.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-lm32cpu.c, dv-lm32timer.c, dv-lm32uart.c, lm32.c, sim-if.c,
-       traps.c, user.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * mloop.in: Include <stdlib.h>.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (arch.o, traps.o, sim-if.o, lm32.o, mloop.o)
-       (cpu.o, decode.o, sem.o, model.o): Remove.
-       (SIM_EXTRA_DEPS): Add eng.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-15  John Baldwin  <jhb@FreeBSD.org>
-
-       * Makefile.in: Pass -shell to genmloop.sh.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * sim-if.c (sim_open, sim_create_inferior): Use new-style
-       declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * sim-if.c: Delete HAVE_STDLIB_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (lm32bf_init_idesc_table): Use ARRAY_SIZE.
-
-2016-08-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (find_limit): Change prototype to take a SIM_DESC.
-       Replace symbol lookup code with a call to trace_sym_value.
-       (sim_open): Update find_limit call.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.h (TARGET_BIG_ENDIAN): Delete.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (free_state, print_lm32_misc_cpu): Delete prototypes.
-       (lm32_option_handler, OPTION_ENDIAN, lm32_options): Delete.
-       (sim_open): Delete sim_add_option_table call.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (current_state): Delete.
-       (sim_open): Delete current_state assignment.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c: Rename MACH to SIM_MACH.
-       * cpuall.h: Likewise.
-       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_SCACHE_PBB): Move from ...
-       * tconfig.h (WITH_SCACHE_PBB): ... here.  Delete file.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-signal.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (lm32bf_scall_insn): Replace call to cb_syscall with
-       sim_syscall_multi.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (lm32bf_scall_insn): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (lm32bf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
-       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
-       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
-       * sem-switch.c: Likewise.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (USING_SIM_BASE_H): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-lm32cpu.c (deliver_lm32cpu_interrupt): Change CIA_GET to
-       CPU_PC_GET.
-       (lm32cpu_port_event): Likewise.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-       * traps.c (lm32_core_signal): Change CIA_SET to CPU_PC_SET.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * Makefile.in (SIM_OBJS): Delete @SIM_DV_SOCKSER_O@.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2013-12-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * ChangeLog: Remove +x file mode.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_do_command): Delete.
-
-2010-02-11  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h, * decode.c, * model.c, * sem-switch.c, * sem.c: Regenerate.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2010-01-05  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h: Regenerate.
-       * decode.c: Regenerate.
-
-2010-01-02  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
-       * decode.h, * model.c, * sem-switch.c, * sem.c: Regenerate, update
-       copyright year.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-
-2009-11-03  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-
-2009-10-27  Doug Evans  <dje@sebabeach.org>
-
-       * Makefile.in (stamp-arch): Update path to lm32.cpu.
-       (stamp-cpu): Ditto.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-07  Doug Evans  <dje@sebabeach.org>
-
-       * Makefile.in (traps.o): Add dependency on targ-vals.h to fix
-       parallel makes.
-
-2009-05-18  Jon Beniston <jon@beniston.com>
-
-       * Makefile.in: New file.
-       * arch.c: New file.
-       * arch.h: New file.
-       * config.in: New file.
-       * configure: New file.
-       * configure.ac: New file.
-       * cpu.c: New file.
-       * cpu.h: New file.
-       * cpuall.h: New file.
-       * decode.c: New file.
-       * decode.h: New file.
-       * dv-lm32cpu.c: New file.
-       * dv-lm32timer.c: New file.
-       * dv-lm32uart.c: New file.
-       * lm32.c: New file.
-       * lm32-sim.h: New file.
-       * mloop.in: New file.
-       * model.c: New file.
-       * sem.c: New file.
-       * sem-switch.c: New file.
-       * sim-if.c: New file.
-       * sim-main.c: New file.
-       * tconfig.in: New file.
-       * traps.c: New file.
-       * user.c: New file.
diff --git a/sim/lm32/ChangeLog-2021 b/sim/lm32/ChangeLog-2021
new file mode 100644 (file)
index 0000000..64510e3
--- /dev/null
@@ -0,0 +1,625 @@
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (lm32_sim_machs): ... this.
+       * sim-if.c (lm32_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (lm32bf_record_trace_results): Delete function.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-lm32uart.c: Include sys/select.h.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * sim-if.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-lm32cpu.c, dv-lm32timer.c, dv-lm32uart.c, lm32.c, sim-if.c,
+       traps.c, user.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * mloop.in: Include <stdlib.h>.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (arch.o, traps.o, sim-if.o, lm32.o, mloop.o)
+       (cpu.o, decode.o, sem.o, model.o): Remove.
+       (SIM_EXTRA_DEPS): Add eng.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * Makefile.in: Pass -shell to genmloop.sh.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * sim-if.c (sim_open, sim_create_inferior): Use new-style
+       declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * sim-if.c: Delete HAVE_STDLIB_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (lm32bf_init_idesc_table): Use ARRAY_SIZE.
+
+2016-08-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (find_limit): Change prototype to take a SIM_DESC.
+       Replace symbol lookup code with a call to trace_sym_value.
+       (sim_open): Update find_limit call.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.h (TARGET_BIG_ENDIAN): Delete.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (free_state, print_lm32_misc_cpu): Delete prototypes.
+       (lm32_option_handler, OPTION_ENDIAN, lm32_options): Delete.
+       (sim_open): Delete sim_add_option_table call.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (current_state): Delete.
+       (sim_open): Delete current_state assignment.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c: Rename MACH to SIM_MACH.
+       * cpuall.h: Likewise.
+       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_SCACHE_PBB): Move from ...
+       * tconfig.h (WITH_SCACHE_PBB): ... here.  Delete file.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-signal.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (lm32bf_scall_insn): Replace call to cb_syscall with
+       sim_syscall_multi.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (lm32bf_scall_insn): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (lm32bf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
+       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
+       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
+       * sem-switch.c: Likewise.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (USING_SIM_BASE_H): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-lm32cpu.c (deliver_lm32cpu_interrupt): Change CIA_GET to
+       CPU_PC_GET.
+       (lm32cpu_port_event): Likewise.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+       * traps.c (lm32_core_signal): Change CIA_SET to CPU_PC_SET.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * Makefile.in (SIM_OBJS): Delete @SIM_DV_SOCKSER_O@.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * ChangeLog: Remove +x file mode.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_do_command): Delete.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h, * decode.c, * model.c, * sem-switch.c, * sem.c: Regenerate.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2010-01-05  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h: Regenerate.
+       * decode.c: Regenerate.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode.c,
+       * decode.h, * model.c, * sem-switch.c, * sem.c: Regenerate, update
+       copyright year.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+
+2009-11-03  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+
+2009-10-27  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (stamp-arch): Update path to lm32.cpu.
+       (stamp-cpu): Ditto.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-07  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (traps.o): Add dependency on targ-vals.h to fix
+       parallel makes.
+
+2009-05-18  Jon Beniston <jon@beniston.com>
+
+       * Makefile.in: New file.
+       * arch.c: New file.
+       * arch.h: New file.
+       * config.in: New file.
+       * configure: New file.
+       * configure.ac: New file.
+       * cpu.c: New file.
+       * cpu.h: New file.
+       * cpuall.h: New file.
+       * decode.c: New file.
+       * decode.h: New file.
+       * dv-lm32cpu.c: New file.
+       * dv-lm32timer.c: New file.
+       * dv-lm32uart.c: New file.
+       * lm32.c: New file.
+       * lm32-sim.h: New file.
+       * mloop.in: New file.
+       * model.c: New file.
+       * sem.c: New file.
+       * sem-switch.c: New file.
+       * sim-if.c: New file.
+       * sim-main.c: New file.
+       * tconfig.in: New file.
+       * traps.c: New file.
+       * user.c: New file.
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
deleted file mode 100644 (file)
index 31375f6..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * mem.c: Delete HAVE_SYS_SELECT_H.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
-       * config.in, configure: Regenerate.
-
-2021-06-02  John Baldwin  <jhb@FreeBSD.org>
-
-       * m32c.opc: Include defs.h.
-       * r8c.opc: Likewise.
-
-2021-05-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (open): Rename to ...
-       (is_open): ... this.
-       (sim_open, sim_close): Rename open to is_open.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * int.c, misc.c, opc2c.c, reg.c, srcdest.c: Include defs.h.
-       * gdb-if.c, load.c, main.c, mem.c, syscalls.c, trace.c: Replace
-       config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c: Update include path.
-       * syscalls.c: Likewise.
-
-2021-05-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * mem.c: Include errno.h.
-       (mem_put_byte): Print a warning when the write call fails.
-       (mem_put_blk): Declare local buf pointer and use it.
-       (mem_get_byte): Return 0 when the read call fails.
-       (mem_get_blk): Declare local buf pointer and use it.
-       * trace.c (load_file_and_line): Declare ret.
-       Assign fread to ret and use to index f->data.
-       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
-       * configure: Regenerate.
-
-2021-05-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * m32c.opc: Add scope braces around a few segments.
-       * r8c.opc: Likewise.
-
-2021-05-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete safe-fgets.
-       * opc2c.c: Delete safe-fgets.h include.
-       (main): Replace safe_fgets with getline.
-       * safe-fgets.c, safe-fgets.h: Removed.
-
-2021-05-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c: Include libiberty.h.
-       (sim_do_command): Rewrite to use buildargv.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * load.c (m32c_load): Use BFD_VMA_FMT and drop casts.
-
-2021-05-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * m32c.opc: Include ansidecl.h.
-       (AU): Delete.
-       * opc2c.c (dump_lines): Change AU to ATTRIBUTE_UNUSED.
-       * r8c.opc: Include ansidecl.h.
-       (AU): Delete.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (LIBS): Remove
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       * syscalls.c: Change syscall.h include to targ-vals.h.
-       (m32c_syscall): Add TARGET_ prefix to all SYS_ constants.
-       * syscall.h: Removed.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * Makefile.in: Set ASAN_OPTIONS when running opc2c.
-
-2021-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * opc2c.c (main): Remove vlist variable.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (opc2c.o, safe-fgets.o): Call COMPILE_FOR_BUILD.
-       (opc2c): Call LINK_FOR_BUILD.
-
-2021-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (opc2c): Delete $(BUILD_LIBS).
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_memory_map): Define.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * srcdest.c: Include libiberty.h.
-       (decode_sd23): Use ARRAY_SIZE.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (sample.x, sample.mot, sample2.x, sample2.o, gloss.o):
-       Delete targets.
-       * blinky.S: Moved to ../testsuite/sim/m32c/.
-       * gloss.S, sample.ld, sample.S, sample2.c: Likewise.
-
-2015-11-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete redundant dependency info.
-
-2015-08-05  Nick Clifton  <nickc@redhat.com>
-
-       * gdb-if.c (sim_info): Stub function to allow GDB to be built
-       with this simulator.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-       * cpu.h (decode_opcode, decode_r8c, decode_m32c,
-       trace_register_changes): Convert old style prototypes.
-       (m32c_dump_all_registers): New prototype.
-       * gdb-if.c: Include stdlib.h.
-       (sim_info): Delete.
-       (siggnal, handle_step): Mark static.
-       (sim_resume): Move rc decl to top of scope.
-       * load.c: Include load.h.
-       (decode_opcode); Convert old style prototype.
-       (m32c_load): Move base decl to top of scope.
-       * load.h (m32c_set_mach): Change mach type to unsigned long.
-       * m32c.opc (getbyte, decode_m32c): Convert old style prototypes.
-       (prefix): Convert old style prototype and mark static.
-       * mem.c (mem_ptr, mem_usage_stats, e, mem_get_pc, stdin_ready,
-       m32c_sim_restore_console, update_timer_a): Convert old style
-       prototypes.
-       (mem_put_byte): Mark static.
-       * mem.h (mem_get_pc, m32c_sim_restore_console): Convert old style
-       prototypes.
-       * r8c.opc (getbyte, IMM, decode_r8c): Convert old style prototypes.
-       * reg.c (stack_heap_stats, trace_register_changes,
-       m32c_dump_all_registers): Convert old style prototypes.
-       (put_reg): Move b decl to top of scope.
-       * sample2.c (start): Convert old style prototype.
-       * srcdest.c (disp8, disp16, disp24, disp20): Convert old style
-       prototypes.
-       (decode_srcdest4, decode_jumpdest): Move sd init below decls.
-       * timer_a.h (update_timer_a): Convert old style prototype.
-       * trace.c: Include trace.h.
-       (load_file_and_line): Move file decl to top of scope.
-       (sim_disasm_one): Convert old style prototype.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
-       to top and add const.  Call strdup on cmd and free at end.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_load): Add const to prog.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * gdb-if.c: Include config.h before system header files.
-       * load.c: Likewise.
-       * syscalls.c: Likewise.
-       * trace.c: Likewise.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-01-02  Joel Brobecker  <brobecker@adacore.com>
-
-       * blinky.S, gloss.S, sample.S: Reformat copyright header.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Rename from configure.in.
-
-2011-07-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.in: Add "dnl" before copyright notice.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_complete_command): New stub function.
-
-2011-01-11  Andrew Burgess <aburgess@broadcom.com>
-
-       * gdb-if.c (sim_store_register): Update return value to
-       match new API.
-
-2010-12-04  Masaki Muranaka  <monaka@monami-software.com>
-
-       * Makefile.in: Use CC_FOR_BUILD to build opc2c.
-
-2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
-
-       * main.c (setup_tcp_console): Check error return from socket() call
-       by its equality to -1 not by it being negative.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_write): Add const to buf arg.
-       * mem.h (mem_put_blk): Add const to bufptr arg.
-       * mem.c (mem_put_blk): Likewise, and add const to cast.
-
-2010-01-20  DJ Delorie  <dj@redhat.com>
-
-       * m32c.opc (MATH_OP): When doing subtraction, also set carry if
-       the result is zero.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-08-14  DJ Delorie  <dj@redhat.com>
-
-       * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
-       netinet/in.h, and netinet/tcp.h.
-       * configure: Regenerate.
-       * config.in: Add those headers.
-       * main.c: Check for them.
-       (setup_tcp_console): Disable if no networking.
-       (main): Note missing networking or termios.
-       * mem.c: Check for those headers.
-       (stdin_ready): Disable if no termios.
-       (m32c_sim_restore_console): Disable if no termios.
-       (mem_get_byte): Disable console input if no termios.
-
-2009-05-08  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (m32c_signal_to_host): Rename to
-       m32c_signal_to_target.  Change signal return values from SIGILL,
-       SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
-       TARGET_SIGNAL_SEGV, etc.  Fix all callers.
-
-2009-01-06  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * r8c.opc, m32c.opc: Add parentheses to remove warnings.
-
-2008-10-01  DJ Delorie  <dj@redhat.com>
-
-       * int.c (trigger_peripheral_interrupt): Clear interrupt pending
-       bit when peripheral interrupts are serviced.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-16  DJ Delorie  <dj@redhat.com>
-
-       * m32c.opc (BRK, GDBBRK): Remove debug logic.
-       * main.c (main): Add option to set raw console.
-       * mem.h (m32c_use_raw_console): Declare.
-       * mem.c (m32c_sim_restore_console): Only restore console if it's
-       been previously set.
-       (m32c_use_raw_console): Define.
-       (mem_get_byte): Set raw console if m32c_use_raw_console is set.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2008-06-06  DJ Delorie  <dj@redhat.com>
-
-       * Makefile.in: Add Timer A support.
-       * cpu.h (m32c_opcode_pc): New.
-       (in_gdb): New.
-       * gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
-       console.
-       * int.c (trigger_interrupt): Manage the U flag properly.
-       (trigger_based_interrupt): Likewise.
-       (trigger_fixed_interrupt): New.
-       (trigger_peripheral_interrupt): New.
-       * int.h (trigger_peripheral_interrupt): New.
-       * m32c.opc: Use m32c_opcode_pc throughout, as needed.
-       (decode_m32c): Detect jump-to-zero with traceback.
-       (BRK): Try to do the right thing, keeping track of whether we're
-       in gdb or not, and if the user has provided a handler or not.
-       (GBRK): Alternate break opcode for gdb, in case the user's app
-       needs to use BRK for itself.
-       (BRK2): Implement.
-       * main.c: Add Timer A support.  Support TCP-based console.
-       (setup_tcp_console): New.
-       (main): Add Timer A support.  Support TCP-based console.
-       * mem.h (m32c_sim_restore_console): New.
-       * mem.c: Add Timer A support.  Support TCP-based console.
-       (mem_ptr): Enhance NULL pointer detection.
-       (stdin_ready): New.
-       (m32c_sim_restore_console): New.
-       (mem_get_byte): Check for console input ready.
-       (update_timer_a): New.
-       * r8c.opc (SSTR): Use r0l, not r0h.
-       (REIT): Fix return frame logic.
-       * reg.c (print_flags): New.
-       (trace_register_changes): Use it.
-       (m32c_dump_all_registers): New.
-       * timer_a.h: New.
-
-       * load.c: Fix indentation.
-       * trace.c: Fix indentation.
-       * trace.h: Fix indentation.
-
-2006-06-26  DJ Delorie  <dj@redhat.com>
-
-       * r8c.opc (decode_r8c): Don't bother reading the destination
-       before moving a constant into it.  Fix borrow comparison for SUB.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-03-13  DJ Delorie  <dj@redhat.com>
-
-       * mem.c (mem_put_byte): Hook simulated UART to stdout.
-       (mem_put_hi): Hook in simulated trace port.
-       (mem_get_byte): Hook in simulated uart control port.
-       * opc2c: Be more picky about matching special comments.
-       * r8c.opc (shift_op): Limit shift counts to -16..16.
-       (BMcnd): Map conditional codes.
-       * reg.c (condition_true): Mask condition code to 4 bits.
-       * syscalls.c: Include local syscall.h.
-       * syscall.h: New, copied from libgloss.
-
-2005-10-06  Jim Blandy  <jimb@redhat.com>
-
-       Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
-       with further work from Jim Blandy <jimb@redhat.com> and
-       Kevin Buettner <kevinb@redhat.com>.
-
-       * ChangeLog: New.
-       * Makefile.in: New.
-       * blinky.S: New.
-       * config.in: New.
-       * configure: New.
-       * configure.in: New.
-       * cpu.h: New.
-       * gdb-if.c: New.
-       * gloss.S: New.
-       * int.c: New.
-       * int.h: New.
-       * load.c: New.
-       * load.h: New.
-       * m32c.opc: New.
-       * main.c: New.
-       * mem.c: New.
-       * mem.h: New.
-       * misc.c: New.
-       * misc.h: New.
-       * opc2c.c: New.
-       * r8c.opc: New.
-       * reg.c: New.
-       * safe-fgets.c: New.
-       * safe-fgets.h: New.
-       * sample.S: New.
-       * sample.ld: New.
-       * sample2.c: New.
-       * srcdest.c: New.
-       * syscalls.c: New.
-       * syscalls.h: New.
-       * trace.c: New.
-       * trace.h: New.
diff --git a/sim/m32c/ChangeLog-2021 b/sim/m32c/ChangeLog-2021
new file mode 100644 (file)
index 0000000..31375f6
--- /dev/null
@@ -0,0 +1,666 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * mem.c: Delete HAVE_SYS_SELECT_H.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
+       * config.in, configure: Regenerate.
+
+2021-06-02  John Baldwin  <jhb@FreeBSD.org>
+
+       * m32c.opc: Include defs.h.
+       * r8c.opc: Likewise.
+
+2021-05-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (open): Rename to ...
+       (is_open): ... this.
+       (sim_open, sim_close): Rename open to is_open.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * int.c, misc.c, opc2c.c, reg.c, srcdest.c: Include defs.h.
+       * gdb-if.c, load.c, main.c, mem.c, syscalls.c, trace.c: Replace
+       config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c: Update include path.
+       * syscalls.c: Likewise.
+
+2021-05-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * mem.c: Include errno.h.
+       (mem_put_byte): Print a warning when the write call fails.
+       (mem_put_blk): Declare local buf pointer and use it.
+       (mem_get_byte): Return 0 when the read call fails.
+       (mem_get_blk): Declare local buf pointer and use it.
+       * trace.c (load_file_and_line): Declare ret.
+       Assign fread to ret and use to index f->data.
+       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
+       * configure: Regenerate.
+
+2021-05-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * m32c.opc: Add scope braces around a few segments.
+       * r8c.opc: Likewise.
+
+2021-05-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete safe-fgets.
+       * opc2c.c: Delete safe-fgets.h include.
+       (main): Replace safe_fgets with getline.
+       * safe-fgets.c, safe-fgets.h: Removed.
+
+2021-05-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c: Include libiberty.h.
+       (sim_do_command): Rewrite to use buildargv.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * load.c (m32c_load): Use BFD_VMA_FMT and drop casts.
+
+2021-05-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * m32c.opc: Include ansidecl.h.
+       (AU): Delete.
+       * opc2c.c (dump_lines): Change AU to ATTRIBUTE_UNUSED.
+       * r8c.opc: Include ansidecl.h.
+       (AU): Delete.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (LIBS): Remove
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       * syscalls.c: Change syscall.h include to targ-vals.h.
+       (m32c_syscall): Add TARGET_ prefix to all SYS_ constants.
+       * syscall.h: Removed.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Set ASAN_OPTIONS when running opc2c.
+
+2021-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * opc2c.c (main): Remove vlist variable.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (opc2c.o, safe-fgets.o): Call COMPILE_FOR_BUILD.
+       (opc2c): Call LINK_FOR_BUILD.
+
+2021-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (opc2c): Delete $(BUILD_LIBS).
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_memory_map): Define.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * srcdest.c: Include libiberty.h.
+       (decode_sd23): Use ARRAY_SIZE.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (sample.x, sample.mot, sample2.x, sample2.o, gloss.o):
+       Delete targets.
+       * blinky.S: Moved to ../testsuite/sim/m32c/.
+       * gloss.S, sample.ld, sample.S, sample2.c: Likewise.
+
+2015-11-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete redundant dependency info.
+
+2015-08-05  Nick Clifton  <nickc@redhat.com>
+
+       * gdb-if.c (sim_info): Stub function to allow GDB to be built
+       with this simulator.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+       * cpu.h (decode_opcode, decode_r8c, decode_m32c,
+       trace_register_changes): Convert old style prototypes.
+       (m32c_dump_all_registers): New prototype.
+       * gdb-if.c: Include stdlib.h.
+       (sim_info): Delete.
+       (siggnal, handle_step): Mark static.
+       (sim_resume): Move rc decl to top of scope.
+       * load.c: Include load.h.
+       (decode_opcode); Convert old style prototype.
+       (m32c_load): Move base decl to top of scope.
+       * load.h (m32c_set_mach): Change mach type to unsigned long.
+       * m32c.opc (getbyte, decode_m32c): Convert old style prototypes.
+       (prefix): Convert old style prototype and mark static.
+       * mem.c (mem_ptr, mem_usage_stats, e, mem_get_pc, stdin_ready,
+       m32c_sim_restore_console, update_timer_a): Convert old style
+       prototypes.
+       (mem_put_byte): Mark static.
+       * mem.h (mem_get_pc, m32c_sim_restore_console): Convert old style
+       prototypes.
+       * r8c.opc (getbyte, IMM, decode_r8c): Convert old style prototypes.
+       * reg.c (stack_heap_stats, trace_register_changes,
+       m32c_dump_all_registers): Convert old style prototypes.
+       (put_reg): Move b decl to top of scope.
+       * sample2.c (start): Convert old style prototype.
+       * srcdest.c (disp8, disp16, disp24, disp20): Convert old style
+       prototypes.
+       (decode_srcdest4, decode_jumpdest): Move sd init below decls.
+       * timer_a.h (update_timer_a): Convert old style prototype.
+       * trace.c: Include trace.h.
+       (load_file_and_line): Move file decl to top of scope.
+       (sim_disasm_one): Convert old style prototype.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
+       to top and add const.  Call strdup on cmd and free at end.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_load): Add const to prog.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * gdb-if.c: Include config.h before system header files.
+       * load.c: Likewise.
+       * syscalls.c: Likewise.
+       * trace.c: Likewise.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * blinky.S, gloss.S, sample.S: Reformat copyright header.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Rename from configure.in.
+
+2011-07-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.in: Add "dnl" before copyright notice.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_complete_command): New stub function.
+
+2011-01-11  Andrew Burgess <aburgess@broadcom.com>
+
+       * gdb-if.c (sim_store_register): Update return value to
+       match new API.
+
+2010-12-04  Masaki Muranaka  <monaka@monami-software.com>
+
+       * Makefile.in: Use CC_FOR_BUILD to build opc2c.
+
+2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * main.c (setup_tcp_console): Check error return from socket() call
+       by its equality to -1 not by it being negative.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_write): Add const to buf arg.
+       * mem.h (mem_put_blk): Add const to bufptr arg.
+       * mem.c (mem_put_blk): Likewise, and add const to cast.
+
+2010-01-20  DJ Delorie  <dj@redhat.com>
+
+       * m32c.opc (MATH_OP): When doing subtraction, also set carry if
+       the result is zero.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-08-14  DJ Delorie  <dj@redhat.com>
+
+       * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
+       netinet/in.h, and netinet/tcp.h.
+       * configure: Regenerate.
+       * config.in: Add those headers.
+       * main.c: Check for them.
+       (setup_tcp_console): Disable if no networking.
+       (main): Note missing networking or termios.
+       * mem.c: Check for those headers.
+       (stdin_ready): Disable if no termios.
+       (m32c_sim_restore_console): Disable if no termios.
+       (mem_get_byte): Disable console input if no termios.
+
+2009-05-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (m32c_signal_to_host): Rename to
+       m32c_signal_to_target.  Change signal return values from SIGILL,
+       SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
+       TARGET_SIGNAL_SEGV, etc.  Fix all callers.
+
+2009-01-06  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * r8c.opc, m32c.opc: Add parentheses to remove warnings.
+
+2008-10-01  DJ Delorie  <dj@redhat.com>
+
+       * int.c (trigger_peripheral_interrupt): Clear interrupt pending
+       bit when peripheral interrupts are serviced.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-16  DJ Delorie  <dj@redhat.com>
+
+       * m32c.opc (BRK, GDBBRK): Remove debug logic.
+       * main.c (main): Add option to set raw console.
+       * mem.h (m32c_use_raw_console): Declare.
+       * mem.c (m32c_sim_restore_console): Only restore console if it's
+       been previously set.
+       (m32c_use_raw_console): Define.
+       (mem_get_byte): Set raw console if m32c_use_raw_console is set.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2008-06-06  DJ Delorie  <dj@redhat.com>
+
+       * Makefile.in: Add Timer A support.
+       * cpu.h (m32c_opcode_pc): New.
+       (in_gdb): New.
+       * gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
+       console.
+       * int.c (trigger_interrupt): Manage the U flag properly.
+       (trigger_based_interrupt): Likewise.
+       (trigger_fixed_interrupt): New.
+       (trigger_peripheral_interrupt): New.
+       * int.h (trigger_peripheral_interrupt): New.
+       * m32c.opc: Use m32c_opcode_pc throughout, as needed.
+       (decode_m32c): Detect jump-to-zero with traceback.
+       (BRK): Try to do the right thing, keeping track of whether we're
+       in gdb or not, and if the user has provided a handler or not.
+       (GBRK): Alternate break opcode for gdb, in case the user's app
+       needs to use BRK for itself.
+       (BRK2): Implement.
+       * main.c: Add Timer A support.  Support TCP-based console.
+       (setup_tcp_console): New.
+       (main): Add Timer A support.  Support TCP-based console.
+       * mem.h (m32c_sim_restore_console): New.
+       * mem.c: Add Timer A support.  Support TCP-based console.
+       (mem_ptr): Enhance NULL pointer detection.
+       (stdin_ready): New.
+       (m32c_sim_restore_console): New.
+       (mem_get_byte): Check for console input ready.
+       (update_timer_a): New.
+       * r8c.opc (SSTR): Use r0l, not r0h.
+       (REIT): Fix return frame logic.
+       * reg.c (print_flags): New.
+       (trace_register_changes): Use it.
+       (m32c_dump_all_registers): New.
+       * timer_a.h: New.
+
+       * load.c: Fix indentation.
+       * trace.c: Fix indentation.
+       * trace.h: Fix indentation.
+
+2006-06-26  DJ Delorie  <dj@redhat.com>
+
+       * r8c.opc (decode_r8c): Don't bother reading the destination
+       before moving a constant into it.  Fix borrow comparison for SUB.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-03-13  DJ Delorie  <dj@redhat.com>
+
+       * mem.c (mem_put_byte): Hook simulated UART to stdout.
+       (mem_put_hi): Hook in simulated trace port.
+       (mem_get_byte): Hook in simulated uart control port.
+       * opc2c: Be more picky about matching special comments.
+       * r8c.opc (shift_op): Limit shift counts to -16..16.
+       (BMcnd): Map conditional codes.
+       * reg.c (condition_true): Mask condition code to 4 bits.
+       * syscalls.c: Include local syscall.h.
+       * syscall.h: New, copied from libgloss.
+
+2005-10-06  Jim Blandy  <jimb@redhat.com>
+
+       Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
+       with further work from Jim Blandy <jimb@redhat.com> and
+       Kevin Buettner <kevinb@redhat.com>.
+
+       * ChangeLog: New.
+       * Makefile.in: New.
+       * blinky.S: New.
+       * config.in: New.
+       * configure: New.
+       * configure.in: New.
+       * cpu.h: New.
+       * gdb-if.c: New.
+       * gloss.S: New.
+       * int.c: New.
+       * int.h: New.
+       * load.c: New.
+       * load.h: New.
+       * m32c.opc: New.
+       * main.c: New.
+       * mem.c: New.
+       * mem.h: New.
+       * misc.c: New.
+       * misc.h: New.
+       * opc2c.c: New.
+       * r8c.opc: New.
+       * reg.c: New.
+       * safe-fgets.c: New.
+       * safe-fgets.h: New.
+       * sample.S: New.
+       * sample.ld: New.
+       * sample2.c: New.
+       * srcdest.c: New.
+       * syscalls.c: New.
+       * syscalls.h: New.
+       * trace.c: New.
+       * trace.h: New.
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
deleted file mode 100644 (file)
index 9f0244c..0000000
+++ /dev/null
@@ -1,2297 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (m32r_trap): Reformat indentation to GNU style.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (TRAPS_OBJ, SIM_EXTRA_CFLAGS): Delete.
-       * configure.ac (traps_obj, sim_extra_cflags): Delete.
-       * sim-if.c (M32R_DEFAULT_MEM_SIZE): New define.
-       (sim_create_inferior): Replace M32R_LINUX with STATE_ENVIRONMENT
-       check.
-       * sim-main.h (M32R_DEFAULT_MEM_SIZE): Delete.
-       * traps-linux.c: Merge with ...
-       * traps.c: ... this file.
-       * configure: Regenerate.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c (conv_endian, conv_endian16,
-       translate_endian): Delete.
-       (translate_endian_h2t): New host-to-target function.
-       (translate_endian_t2h): New target-to-host function.
-       (m32r_trap): Replace conv_endian with H2T_4 & T2H_4, conv_endian16
-       with H2T_2 & T2H_2, and translate_endian with translate_endian_h2t
-       & translate_endian_t2h.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c (m32r_trap): Change OPERATING_ENVIRONMENT check to
-       !USER_ENVIRONMENT.  Jump to default switch case.
-
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * syscall.h: Change __NR_ prefix on all symbols to TARGET_LINUX_SYS_.
-       * traps-linux.c: Likewise.  Include sim/callback.h & stdlib.h.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (m32r_sim_machs): ... this.
-       * sim-if.c (m32r_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (m32rbf_record_trace_results): Delete function.
-       * cpu2.c (m32r2f_record_trace_results): Likewise.
-       * cpux.c (m32rxf_record_trace_results): Likewise.
-
-2021-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c (m32r_trap): Set s.arg4, s.arg5, s.arg6, and s.arg7.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c: Include sim-signal.h.
-       * traps.c:
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c: Include portability.h.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * sim-if.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m32r_cache.c, dv-m32r_uart.c: Replace config.h include with
-       defs.h.
-       * m32r.c, m32r2.c, m32rx.c, sim-if.c, traps-linux.c,
-       traps.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * mloop.in: Include <stdlib.h>.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (sim-if.o, arch.o, traps.o, traps-linux.o)
-       (devices.o, m32r.o, mloop.o, cpu.o, decode.o, sem.o, model.o)
-       (m32rx.o, mloopx.o, cpux.o, decodex.o, semx.o, modelx.o)
-       (m32r2.o, mloop2.o, cpu2.o, decode2.o, sem2.o, model2.o): Remove.
-       (SIM_EXTRA_DEPS): Add eng.h, engx.h, eng2.h.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * traps.c: Include stdlib.h.
-       * m32r.c: Include stdlib.h.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * sim-if.c (sim_open, sim_create_inferior): Use new-style
-       declaration.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
-       and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-11-12  Nick Clifton  <nickc@redhat.com>
-
-       * m32r-sim.h (m32rbf_h_accum_get_handler): Always provide a
-       prototype for this function.
-       (m32rbf_h_accum_set_handler): Likewise.
-       (m32r2f_h_accums_get_handler): Prototype.
-       (m32r2f_h_accums_set_handler): Prototype.
-
-2020-09-18  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * m32r.c (m32rbf_register_size): New function.
-       (m32rbf_fetch_register): Use new function.
-       (m32rbf_store_register): Likewise.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (m32rbf_init_idesc_table): Use ARRAY_SIZE.
-       * decode2.c (m32r2f_init_idesc_table): Likewise.
-       * decodex.c (m32rxf_init_idesc_table): Likewise.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * TODO: Delete file.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-       * traps-linux.c (conv_endian): Change CURRENT_HOST_BYTE_ORDER
-       to HOST_BYTE_ORDER.
-       (conv_endian16): Likewise.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.h (TARGET_BIG_ENDIAN): Delete.
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-       * traps-linux.c (conv_endian): Change LITTLE_ENDIAN to
-       BFD_ENDIAN_LITTLE.
-       (conv_endian16): Likewise.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (current_state): Delete.
-       (sim_open): Delete current_state assignment.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Add m32r_cache & m32r_uart.
-       * configure: Regenerate.
-       * devices.c: Delete file.
-       * dv-m32r_cache.c, dv-m32r_cache.h: New cache model with logic from
-       devices.c.
-       * dv-m32r_uart.c, dv-m32r_uart.h: New uart model with logic from
-       devices.c.
-       * m32r-sim.h: Move cache defines to dv-m32r_cache.h and uart defines
-       to dv-m32r_uart.h.
-       * Makefile.in (SIM_OBJS): Delete devices.o.
-       * sim-if.c: Include dv-m32r_uart.h.
-       (sim_open): Replace sim_core_attach call with sim_hw_parse calls.
-       * tconfig.h: Delete file.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-model.o.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c: Rename MACH to SIM_MACH.
-       * cpuall.h: Likewise.
-       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
-       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
-       * model2.c, modelx.c: Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_SCACHE_PBB): Move from ...
-       * tconfig.h (WITH_SCACHE_PBB): ... here.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
-       SIM_BREAKPOINT_SIZE): Delete.
-       * traps-linux.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Delete sim
-       breakpoint code.
-       * traps.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Likewise.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (WITH_WATCHPOINTS): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (m32r_trap): Replace call to cb_syscall with
-       sim_syscall_multi.
-       * traps-linux.c (m32r_trap): Likewise.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (m32r_trap): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-       * traps.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (m32r_trap): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (m32rbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
-       * decode2.c (m32r2f_decode): Likewise.
-       * decodex.c (m32rxf_decode): Likewise.
-       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
-       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
-       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
-       * sem-switch.c: Likewise.
-       * sem-switch2.c: Likewise.
-       * sem-switchx.c: Likewise.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (USING_SIM_BASE_H): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Handle WITH_SMP.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete dv_sockser_install call.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Default simulator hardware to off again.  Remove
-       dead m32r_extra_objs substitution.
-       * configure: Regenerate.
-       * Makefile.in: Remove unused m32r_extra_objs.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-03-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
-           Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Add m32r_extra_objs. Change simulator hardware
-       from always on to defaulting to yes it is enabled.
-       * Makefile.in: Conditionalize reference to dv-sockser.o.
-       * tconfig.in: Delete HAVE_DV_SOCKSER logic that was under "#if 0".
-       * configure: Regenerated.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Fail if dv-sockser.o not available.
-       Error when --disable-sim-hardware is specified.
-       * configure: Regenerated.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps-linux.c (sim_core_trans_addr): Delete prototype.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_do_command): Delete.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * devices.c (device_error): Add const to message.
-
-2010-02-11  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h, * cpu2.h, * cpux.h, * decode.c, * decode2.c, * decodex.c,
-       * model.c, * model2.c, * modelx.c,
-       * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2010-01-02  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpu2.c, * cpu2.h, * cpuall.h,
-       * cpux.c, * cpux.h, * decode.c, * decode.h, * decode2.c, * decode2.h,
-       * decodex.c, * decodex.h, * model.c, * model2.c, * modelx.c,
-       * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate,
-       update copyright year.
-
-2009-11-22  Doug Evans  <dje@sebabeach.org>
-
-       * cpu.h: Regenerate.
-       * cpu2.h: Regenerate.
-       * cpux.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * decode2.c: Regenerate.
-       * decode2.h: Regenerate.
-       * decodex.c: Regenerate.
-       * decodex.h: Regenerate.
-
-2009-11-03  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpu2.c: Regenerate.
-       * cpu2.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * cpux.c: Regenerate.
-       * cpux.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * decode2.c: Regenerate.
-       * decode2.h: Regenerate.
-       * decodex.c: Regenerate.
-       * decodex.h: Regenerate.
-       * model.c: Regenerate.
-       * model2.c: Regenerate.
-       * modelx.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-       * sem2-switch.c: Regenerate.
-       * semx-switch.c: Regenerate.
-
-       * Makefile.in (mloop.c): Add @true to rule.
-       (mloopx.c, mloop2.c): Ditto.
-       (stamp-*): Add Makefile dependency.
-       (arch.c, arch.h, cpuall.h): Specify full path.
-       (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto.
-       (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto.
-       (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-12  Doug Evans  <dje@sebabeach.org>
-
-       * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
-       (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.
-
-2009-06-20  Doug Evans  <dje@sebabeach.org>
-
-       * mloop.in: Add missing # comment marker.
-       * mloop2.in: Ditto.
-       * mloopx.in: Ditto.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-09  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
-
-       Committed by Kei Sakamoto.
-       * traps-linux.c (m32r_trap): Add entries of the following dummy system
-       calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
-       __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
-       __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
-       __NR_getresgid32 and __NR_chown32.
-       * syscall.h: Add new definitions of system call number.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
-
-       Committed by Andrew Cagney.
-       * traps-linux.c: Don't include linux/module.h.
-       (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and
-       __NR_get_kernel_syms.
-
-2004-05-18  Daniel Jacobowitz  <dan@debian.org>
-
-       * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
-
-2004-02-04  Andrew Cagney  <cagney@redhat.com>
-
-       Committed by Andrew Cagney.
-       * mloopx.in: Update copyright.
-       (xextract-pbb): Fixed trap for system calls operation in parallel.
-       * mloop2.in (xextract-pbb): Ditto.
-
-2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
-
-       * configure.in: Changed for dummy simulator of m32r-linux.
-       * configure: Regenerate.
-       * Makefile.in: Added traps-linux.o for dummy simulator of m32r-linux.
-       * traps-linux.c: Added for dummy simulator of m32r-linux.
-       * syscall.h: Ditto.
-       * sim-if.c (sim_create_inferior): Changed to setup SP for dummy
-       simulator for m32r-linux.
-       * sim-main.h (M32R_DEFAULT_MEM_SIZE): Changed for dummy simulator of
-       m32r-linux.
-
-2003-12-11  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
-
-       * Makefile.in: Add support for new machine m32r2.
-       * cpu2.c: New file for m32r2 support.
-       * cpu2.h: Likewise.
-       * decode2.c: Likewise.
-       * decode2.h: Likewise.
-       * m32r2.c: Likewise.
-       * mloop2.in: Likewise.
-       * model2.c: Likewise.
-       * sem2-switch.c: Likewise.
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * arch.c: Regenerate.
-       * cpuall.c: Regenerate.
-       * cpux.c: Regenerate.
-       * cpux.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * decodex.c: Regenerate.
-       * decodex.h: Regenerate.
-       * model.c: Regenerate.
-       * modelx.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-       * semx-switch.c: Regenerate.
-       * m32r-sim.h: Add EVB register support.
-       * sim-if.c: Likewise.
-       * sim-main.h: Likewise.
-       * traps.c: Likewise.
-
-2003-09-08  Dave Brolley  <brolley@redhat.com>
-
-       On behalf of Doug Evans <dje@sebabeach.org>
-       * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-12-19  Doug Evans  <dje@sebabeach.org>
-
-       * arch.c,arch.h,cpuall.h: Regenerate.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
-       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2001-11-14  Dave Brolley  <brolley@redhat.com>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * cpux.c: Regenerate.
-       * cpux.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * decodex.c: Regenerate.
-       * decodex.h: Regenerate.
-       * model.c: Regenerate.
-       * modelx.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-       * semx-switch.c: Regenerate.
-
-2001-07-05  Ben Elliston  <bje@redhat.com>
-
-       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
-       (stamp-cpu): Likewise.
-       (stamp-xcpu): Likewise.
-
-2001-03-05  Dave Brolley  <brolley@redhat.com>
-
-       * arch.c: Regenerate.
-       * arch.h: Regenerate.
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * cpuall.h: Regenerate.
-       * cpux.c: Regenerate.
-       * cpux.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * decodex.c: Regenerate.
-       * decodex.h: Regenerate.
-       * model.c: Regenerate.
-       * modelx.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-       * semx-switch.c: Regenerate.
-
-2001-01-12  Frank Ch. Eigler  <fche@redhat.com>
-
-       * configure: Regenerated with sim_scache fix.
-
-2000-11-18  Greg McGary  <greg@mcgary.org>
-
-       * Makefile.in: remove `@true' commands for rules that have
-       $(CGEN_MAINT) as a prerequisite.
-
-2000-10-06  Dave Brolley  <brolley@redhat.com>
-
-       * sem.c: Regenerated.
-       * sem-switch.c: Regenerated.
-       * semx-switch.c: Regenerated.
-
-2000-08-28  Dave Brolley  <brolley@redhat.com>
-
-       * Makefile.in: Use of @true confuses VPATH. Remove it.
-       * cpu.h: Regenerated.
-       * cpux.h: Regenerated.
-       * decode.c: Regenerated.
-       * decodex.c: Regenerated.
-       * model.c: Regenerated.
-       * modelx.c: Regenerated.
-       * sem-switch.c: Regenerated.
-       * sem.c: Regenerated.
-       * semx-switch.c: Regenerated.
-
-2000-08-21  Frank Ch. Eigler  <fche@redhat.com>
-
-       * Makefile.in (m32r-clean): Add stamp-arch, stamp-cpu.
-       (stamp-arch, stamp-cpu): New targets.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-03-30  Dave Brolley  <brolley@redhat.com>
-
-       * configure: Regenerated.
-
-1999-10-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * arch.c,arch.h,cpuall.h: Rebuild.
-       * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
-
-1999-09-29  Doug Evans  <devans@casey.cygnus.com>
-
-       * mloop.in: Update call to sim_engine_invalid_insn.
-       * sem.c,sem-switch.c: Rebuild.
-       * traps.c (sim_engine_invalid_insn): New arg `vpc'.  Change type of
-       result to SEM_PC.  Return vpc.
-       * mloopx.in: Ditto.
-       * semx-switch.c: Rebuild.
-
-Wed Sep 29 14:47:20 1999  Dave Brolley  <brolley@cygnus.com>
-
-       * traps.c (sim_engine_invalid_insn): Return PC.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-09-01  Doug Evans  <devans@casey.cygnus.com>
-
-       * decodex.c: Rebuild.
-
-1999-08-28  Doug Evans  <devans@casey.cygnus.com>
-
-       * sem.c: Rebuild
-
-       * cpux.h: Rebuild.
-
-1999-08-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
-       * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
-
-1999-08-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * m32r-sim.h (SEM_SKIP_INSN): Delete.
-       * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
-       * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
-       * mloopx.in (emit_parallel): Call SEM_SKIP_COMPILE.
-       (emit_full_parallel): Ditto.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 16 16:47:43 1999  Doug Evans  <devans@charmed.cygnus.com>
-
-       * devices.c (device_io_read_buffer): New arg `sd'.
-       (device_io_write_buffer): New arg `sd'.
-       (device_error): Give proper arg spec.
-
-1999-04-10  Doug Evans  <devans@casey.cygnus.com>
-
-       * sem-switch.c,sem.c: Rebuild.
-       * cpux.h,semx-switch.c: Rebuild.
-
-1999-03-27  Doug Evans  <devans@casey.cygnus.com>
-
-       * decode.c: Rebuild.
-       * decodex.c: Rebuild.
-
-1999-03-26  Doug Evans  <devans@casey.cygnus.com>
-
-       * m32r-sim.h (M32R_DEVICE_LEN): Fix off by one error.
-
-1999-03-22  Doug Evans  <devans@casey.cygnus.com>
-
-       * arch.c,arch.h,model.c: Rebuild.
-       * modelx.c: Rebuild.
-       * m32r-sim.h (a_m32r_h_gr_get,a_m32r_h_gr_set): Declare.
-       (a_m32r_h_cr_get,a_m32r_h_cr_set): Declare.
-       * m32r.c (m32rbf_fetch_register): Replace calls to a_m32r_h_pc_get,
-       a_m32r_h_accum_get with appropriate calls to m32rbf_*.
-       (m32rbf_store_register): Ditto.
-       (a_m32r_h_gr_get,a_m32r_h_gr_set): New functions.
-       (a_m32r_h_cr_get,a_m32r_h_cr_set): Ditto.
-       * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
-       * traps.c (m32r_core_signal): Replace calls to a_m32r_h_*,
-       with appropriate calls to m32rbf_*.
-
-1999-03-11  Doug Evans  <devans@casey.cygnus.com>
-
-       * arch.c,arch.h,cpu.c,cpu.h,sem.c,sem-switch.c: Rebuild.
-       * cpux.c,cpux.h,semx-switch.c: Rebuild.
-       * m32r-sim.h (GET_H_*,SET_H_*, except GET_H_SM): Delete.
-       * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
-
-1999-02-25  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.c,cpu.h: Rebuild.
-
-1999-02-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h.
-       (stamp-xmloop): s/-parallel/-parallel-write/.
-       * configure.in (sim_link_files,sim_link_links): Delete.
-       * configure: Rebuild.
-       * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
-       * decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
-       * mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
-       * sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
-       m32r_cgen_opcode_open.  Set disassembler.
-       (sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
-       * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
-       m32r-desc.h,m32r-opc.h,m32r-sim.h.
-
-Thu Feb  4 16:04:26 1999  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
-
-1999-01-27  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
-       * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
-
-1999-01-15  Doug Evans  <devans@casey.cygnus.com>
-
-       * decode.h,model.c: Regenerate.
-       * decodex.h,modelx.c: Regenerate.
-
-1999-01-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * arch.c,arch.h,cpuall.h: Regenerate.
-       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
-       * traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
-       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
-
-1999-01-11  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (m32r-clean): rm eng.h.
-       * sim-main.h: Delete inclusion of ansidecl.h.
-       * cpu.h: Regenerate.
-       * cpux.h: Regenerate.
-
-1999-01-06  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h: Regenerate.
-       * cpux.h: Regenerate.
-
-1999-01-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (MAIN_INCLUDE_DEPS): Delete.
-       (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
-       (sim-if.o): Use SIM_MAIN_DEPS.
-       (arch.o,traps.o,devices.o): Ditto.
-       (M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
-       (m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
-       (m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto.
-       * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
-       * m32r-sim.h (m32rbf_h_cr_[gs]et_handler): Declare.
-       ([GS]ET_H_CR): Define.
-       (m32rbf_h_psw_[gs]et_handler): Declare.
-       ([GS]ET_H_PSW): Define.
-       (m32rbf_h_accum_[gs]et_handler): Declare.
-       ([GS]ET_H_ACCUM): Define.
-       (m32rxf_h_{cr,psw,accum}_[gs]et_handler): Declare.
-       (m32rxf_h_accums_[gs]et_handler): Declare.
-       ([GS]ET_H_ACCUMS): Define.
-       * sim-if.c (sim_open): Model probing code moved to sim-model.c.
-       * m32r.c (WANT_CPU): Define as m32rbf.
-       (all register access fns): Rename to ..._handler.
-       * cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate.
-       * m32rx.c (WANT_CPU): Define as m32rxf.
-       (all register access fns): Rename to ..._handler.
-
-1998-12-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * configure.in: --enable-cgen-maint support moved to common/aclocal.m4.
-       (SIM_AC_OPTION_ALIGNMENT): Make strict.
-       * configure: Regenerate.
-
-       * sem-switch.c,sem.c,semx-switch.c: Regenerate.
-       * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define.
-       * traps.c (m32r_core_signal): Handle --environment=operating.
-
-1998-12-09  Doug Evans  <devans@casey.cygnus.com>
-
-       * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
-       * cpux.h,decodex.c,semx-switch.c: Regenerate.
-
-       * sim-if.c: Include string.h or strings.h if present.
-
-1998-12-04  Doug Evans  <devans@casey.cygnus.com>
-
-       * configure.in: Call SIM_AC_OPTION_INLINE.
-       * configure: Regenerate.
-       * sim-main.h: Protect against multiple inclusion.
-       Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
-       Done by cgen-sim.h now.
-       * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
-       * cpuall.h: Regenerate.
-       * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
-       * mloop.in (extract16): Make static inline again.
-       Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
-       (extract32): Ditto.
-       Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
-       (execute): Test ARGBUF_PROFILE_P before profiling.
-       Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
-       * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
-       * mloopx.in: Rewrite.
-
-1998-11-22  Doug Evans  <devans@tobor.to.cygnus.com>
-
-       * devices.c (device_io_write_buffer): Fix typo.
-       * sim-if.c (sim_open): Hack in call to dv_sockser_install.
-       * tconfig.in (HAVE_DV_SOCKSER): Add but comment out.
-
-1998-11-18  Doug Evans  <devans@casey.cygnus.com>
-
-       * Makefile.in (M32R_OBJS): Delete extract.o.
-       (extract.o): Delete.
-       * cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
-       * mloop.in (extract16): Update type of `insn' arg.
-       Delete call to d->extract.
-       (extract32): Ditto.
-       * cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
-       * mloopx.in (extractx16): Update type of `insn' arg.
-       Delete call to d->extract.  Delete arg pbb_p.  All callers updated.
-       (extract-simple,full-exec-simple,fast-exec-simple): Delete.
-       (extractx32): Ditto.
-
-Wed Nov  4 23:55:37 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-main.h: Delete inclusion of config.h, include sim-basics.h
-       before cgen-types.h.
-       * tconfig.in: Guard against multiple inclusion.
-       * cpu.h: Delete decls moved to genmloop.sh.
-       * cpux.h: Ditto.
-
-Mon Oct 19 14:13:05 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-main.h: #include cpu-opc.h.
-       * arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate
-       to get #include cleanup.
-       * decodex.c,extractx.c,modelx.c: Ditto.
-
-       * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with
-       CGEN_INCLUDE_DEPS.
-       (M32RBF_INCLUDE_DEPS): Define.
-       (m32r .o's): Depend on it.
-       (mloop.c): Update call to genmloop.sh.
-       * cpu.h,cpuall.h: Regenerate.
-       * sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h.
-       #include cgen-scache.h,cgen-cpu.h.
-       * tconfig.in (WITH_FOO semantic macros): Delete.
-       * Makefile.in (M32RXF_INCLUDE_DEPS): Define.
-       (m32rx .o's): Depend on it.
-       (mloopx.c): Update call to genmloop.sh.
-       * cpux.h: Regenerate.
-
-Fri Oct 16 09:15:29 1998  Doug Evans  <devans@charmed.cygnus.com>
-
-       * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
-
-Fri Oct  9 16:11:58 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       Add pseudo-basic-block execution support.
-       * Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o.
-       (SIM_EXTRA_DEPS): Add include/opcode/cgen.h.
-       (INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h.
-       (mloop.c): Build pseudo-basic-block version.  Depend on stamp-cpu.
-       * arch.c,arch.h,cpuall.h: Regenerate.
-       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
-       * sem-switch.c,sem.c: Regenerate.
-       * m32r-sim.h (M32R_MISC_PROFILE): New members load_regs,
-       load_regs_pending.
-       * m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register.
-       (m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set,
-       m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get,
-       m32rbf_h_accum_set): Likewise.
-       (m32r_model_{init,update}_insn_cycles): Delete.
-       (m32rbf_model_insn_{before,after}): New fns.
-       (m32r_model_record_cti,m32r_model_record_cycles): Delete.
-       (m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete.
-       (m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete.
-       (check_load_stall): New fn.
-       (m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns.
-       (m32rbf_model_test_u_exec): New fn.
-       * mloop.in: Rewrite, use pbb support.
-       * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete.
-       (sim_fetch_register,sim_store_register): Delete.
-       * sim-main.h (CIA_GET,CIA_SET): Fix.
-       (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete.
-       * tconfig.in (WITH_SCACHE_PBB): Define.
-       (WITH_SCACHE_PBB_M32RBF): Define.
-       * traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_....
-       (m32r_trap): Pass pc to sim_engine_halt.
-       * configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384.
-       * configure: Regenerate.
-       * Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o.
-       (mloopx.c): Build pseudo-basic-block version.
-       (semx.o): Delete.
-       (extractx.o): Add.
-       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate.
-       * readx.c: Delete.
-       * semx.c: Delete.
-       * extractx.c: New file.
-       * semx-switch.c: New file.
-       * m32r-sim.h (BRANCH_NEW_PC): Delete.
-       (SEM_SKIP_INSN): New macro.
-       * m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register.
-       (m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set,
-       m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get,
-       m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise.
-       (m32rxf_model_insn_{before,after}): New fns.
-       (m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete.
-       (m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete.
-       (check_load_stall): New fn.
-       (m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns.
-       * mloopx.in: Rewrite, use pbb support.
-       * tconfig.in (WITH_SCACHE_PBB_M32RXF): Define.
-       (WITH_SEM_SWITCH_FULL): Change from 0 to 1.
-
-Wed Sep 16 18:22:27 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r-sim.h ({PSW,CBR,SPI,SPU,BPC,BBPSW,BBPC}_REGNUM): New macros.
-       ({ACC1L,ACC1H}_REGNUM): New macros.
-       (m32r_decode_gdb_ctrl_regnum): Add prototype.
-       * m32r.c (m32r_decode_gdb_ctrl_regnum): New function.
-       (m32r_fetch_register,m32r_store_register): Rewrite.
-       * m32rx.c (m32rx_fetch_register,m32rx_store_register): Rewrite.
-
-Tue Sep 15 15:01:14 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r-sim.h (GET_H_SM): New macro.
-       (UART params): Update to msa2000.
-       * devices.c (device_io_read_buffer): Update to msa2000.
-       * m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
-       (m32rb_h_psw_get,m32rb_h_psw_set): New functions.
-       * arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
-       * m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
-       (m32rx_h_psw_get,m32rx_h_psw_set): New functions.
-       * cpux.c,cpux.h,readx.c,semx.c: Regenerate.
-
-Wed Sep  9 15:29:36 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r-sim.h (m32r_trap): Update prototype.
-       * traps.c (m32r_trap): New arg `pc'.
-       * sem.c,sem-switch.c: Regenerated.
-       * cpux.h,readx.c,semx.c: Regenerated.
-
-Mon Aug  3 12:59:17 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       Rename cpu m32r to m32rb to distinguish from architecture name.
-       * Makefile.in (mloop.c): cpu m32r renamed to m32rb.
-       * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R.
-       * tconfig.in (WANT_CPU_M32RB): Ditto.
-       * m32r.c (WANT_CPU_M32RB): Ditto.
-       (*): m32r_ cpu fns renamed to m32rb_.
-       * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update.
-       * arch.h,arch.c: Regenerate.
-       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
-       * sem-switch.c,sem.c: Regenerate.
-
-       * sim-if.c (sim_open): Don't allocate memory on top of any user
-       specified memory.
-       (h_gr_get,h_gr_set): Delete.
-       * sim-main.h (h_gr_get,h_gr_set): Delete.
-       * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with
-       a_m32r_h_gr_[gs]et.
-
-       * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
-
-       * sim-if.c (sim_open): Open opcode table.
-       (sim_close): Close it.
-
-Tue Jul 28 13:06:19 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
-       accept an accumulator choice.
-       * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
-
-Fri Jul 24 13:00:29 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r.c: Include cgen-mem.h.
-       * traps.c (m32r_trap): Tweak for -Wall.
-       * m32rx.c: Include cgen-mem.h.
-       * semx.c: Regenerate, get -Wall cleanups.
-
-Tue Jul 21 16:53:10 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cpu.h,extract.c: Regenerate.  pc-rel calcs done on f_dispNN now.
-       * cpux.h,readx.c,semx.c: Ditto.
-
-Wed Jul  1 16:51:15 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in: cgen_maint -> CGEN_MAINT.
-       * configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
-       * configure: Regenerate.
-       * arch.c,arch.h,cpuall.h: Regenerate.
-       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
-       * sem-switch.c,sem.c: Regenerate.
-       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate.
-       * semx.c: Regenerate.
-       * mloopx.in (icount): Moved here from genmloop.sh.
-
-Sat Jun 13 07:49:23 1998  Doug Evans  <devans@fallis.cygnus.com>
-
-       * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
-       load_stall,biggest_cycles.
-       * m32r.c (m32r_model_mark_get_h_gr): Update.
-       (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
-       (m32r_model_record_cti,m32r_model_record_cycles): New functions.
-       * mloop.in: Call cycle init/update fns.
-       * model.c: Regenerate.
-       * m32rx.c (m32rx_model_mark_get_h_gr): Update.
-       * mloopx.in: Call cycle init/update fns.
-       * modelx.c: Regenerate.
-
-Wed Jun 10 17:39:29 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * traps.c: New file.  Trap support moved here from sim-if.c.
-       * Makefile.in (SIM_OBJS): Add traps.o
-       * sim-if.c: Don't include targ-vals.h.
-       (sim_engine_illegal_insn): Moved to traps.c
-       * sim-main.h (SIM_CORE_SIGNAL): Define.
-       (m32r_core_signal): Declare.
-       * m32r-sim.h (m32r_trap): Declare.
-
-       * devices.c (device_io_read_buffer): Handle cache purging via MCCR
-       register.
-
-       * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
-       (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
-       (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
-
-       * extract.c,sem-switch.c,sem.c: Regenerate.
-       * cpux.h,readx.c,semx.c: Regenerate.
-
-Wed May 20 00:10:40 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
-       * mloopx.in (extract): Set abuf.addr for proper fill nop counting.
-       (execute): Count parallel insns.
-       * sim-if.c (print_m32r_misc_cpu): Print count.
-       * sim-main.h (M32R_MISC_PROFILE): New member parallel_count.
-
-       Zero bottom two bits of pc in jmp,jl insns.
-       * sem.c,sem-switch.c: Regenerate.
-       * semx.c: Regenerate.
-
-Tue May 19 16:45:33 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-if.c (do_trap): Treat traps 2-15 as hardware does.
-
-Sat May 16 13:04:30 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
-       (sim_sync_stop): New function.
-
-Fri May 15 16:43:27 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in (devices.o): Add dependencies.
-
-       * arch.h,cpu.c,cpu.h,cpuall.h: Regenerate.
-       * sem-switch.c,sem.c: Regenerate.
-       * mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
-       * cpux.c,cpux.h,modelx.c,semx.c: Regenerate.
-       * m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions.
-       * mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
-       Fix pc value passed to TRACE_INSN for second parallel insn.
-
-Thu May  7 02:51:35 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
-
-Wed May  6 14:51:39 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * arch.h,arch.c,cpu.h,cpuall.h: Regenerate, tweaks mostly.
-       * model.c: Ditto.  Reorganize model/mach data.
-       * cpux.h: Ditto.
-       * modelx.c: Ditto.
-
-       * Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency.
-       (m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency.
-       * decode.c,decode.h: Regenerate, introduces IDESC table.
-       * mloop.in (extract16,extract32): Add IDESC support.
-       Update names of semantic handler member names.
-       (execute): Ditto.  Delete call to PROFILE_COUNT_INSN.
-       * decodex.c,decodex.h: Regenerate, introduces IDESC table.
-       * mloopx.in: Add IDESC support.
-       Update names of semantic handler member names.
-       Delete call to PROFILE_COUNT_INSN.
-
-       * sem-switch.c: Regenerate.  Redo computed goto label handling.
-       * sem.c: Regenerate.  Call PROFILE_COUNT_INSN.
-       * readx.c: Regenerate.  Redo computed goto label handling.
-       * semx.c: Regenerate.  Call PROFILE_COUNT_INSN.  Finish profiling
-       support.
-
-       * m32r.c (m32r_fetch_register): Change result type and args to
-       conform to sim_fetch_register interface.
-       (m32r_store_register): Ditto for sim_store_register interface.
-       * m32rx.c (m32rx_fetch_register): Change result type and args to
-       conform to sim_fetch_register interface.
-       (m32rx_store_register): Ditto for sim_store_register interface.
-
-       * sim-if.c (alloc_cpu): Delete.
-       (free_state): Uninstall modules here ...
-       (sim_open): ... and not here.  Call sim_cpu_alloc_all.
-       Set default architecture/model if not specified.
-       (sim_fetch_register,sim_store_register): Rewrite.
-
-       * sim-if.c (h_pc_get,h_pc_set): Delete.  Renamed to sim_pc_[gs]et
-       and moved to common/sim-cpu.c.
-       (sim_create_inferior): Update.
-       (do_trap): Update.
-       * sim-main.h (h_pc_get,h_pc_set): Delete.
-
-       * sim-main.h (sim_cia): Change to USI.
-       (sim_cpu): Move m32r_misc_profile before machine generated part.
-
-Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Apr 28 18:05:53 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * model.c: Rebuilt.
-       * modelx.c: Rebuilt.
-
-Mon Apr 27 15:36:30 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * cpu.h,model.c,sem-switch.c,sem.c: Regenerated.  Mostly comment
-       and variable renaming due to macro insn additions.
-       * mloop.in: Update to use CGEN_INSN_NUM.
-       * cpux.h,modelx.c,readx.c,semx.c: Regenerated.
-       * mloopx.in: Update to use CGEN_INSN_NUM.
-
-Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:05 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:26 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Mon Apr 20 16:12:35 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cpu.c,sem.c,sem-switch.c: Regenerate.  From
-       - cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
-       * m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
-       #include cgen-ops.h.
-       * cpux.c,readx.c,semx.c: Regenerate.
-       * m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
-       #include cgen-ops.h.  Delete inclusion of several unnecessary headers.
-       (m32r_h_accums_get): Sign extend top 8 bits.
-
-Tue Apr 14 14:04:07 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * semx.c: Regenerate.
-
-Fri Apr 10 18:22:41 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
-       * cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Mar 14 20:53:36 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * config.in (HAVE_FCNTL_H): Add.
-       * configure: Regenerate.
-       * Makefile.in (SIM_OBJS): Add devices.o.
-       * m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device.
-       (UART_*): Define m32r serial port parameters.
-       (M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define.
-       * m32r.c (device_io_{read,write}_buffer,device_error): Move from here,
-       * devices.c: To here.
-       * sim-if.c: Don't include signal.h,sim-core.h.
-       (sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call.
-       (sim_resume): Call sim_module_{resume,suspend}.
-       * m32r.c (m32r_h_cr_{get,set}): Use register number enums.
-
-       * tconfig.in (SIM_HANDLES_LMA): Define.
-
-       * sim-if.c (do_trap): Result is new pc.
-       Handle --environment=operating.
-       * sem-switch.c,sem.c: Regenerate.
-       * semx.c: Regenerate.
-
-Wed Mar 11 14:07:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (syscall_read_mem, syscall_write_mem): Replace
-       sim_core_*_map with read_map, write_map, exec_map resp.
-
-Wed Mar  4 11:36:51 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
-       (arch.o): Delete cpu-opc.h dependency.
-       (decode.o,model.o): Likewise.
-       (decodex.o,modelx.o): Likewise.
-
-       * cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
-       * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
-
-Thu Feb 26 18:38:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Initialize PROFILE_INFO_CPU_CALLBACK.
-
-       * sim-if.c (sim_info): Delete.
-
-Fri Feb 27 10:14:29 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * mloopx.in: Fix handling of branch in parallel with another insn.
-       * semx.c: Regenerate.
-
-Mon Feb 23 13:30:46 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * sim-main.h: #include symcat.h.
-       * m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg.
-       (NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
-       * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
-       * sem.c,sem-switch.c: Regenerate.
-       * m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
-       * mloopx.in: Rewrite.
-       * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
-
-Mon Feb 23 12:27:52 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
-       in the backup PC register.
-       * m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
-       in the backup PC register.
-
-Thu Feb 19 16:39:35 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r.c (do_lock,do_unlock): Delete.
-       * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
-       * sem.c,sem-switch.c: Regenerate.
-       * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
-
-Tue Feb 17 18:18:10 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in (M32R_OBJS): Add cpu.o.
-       (cpu.o): Add rule for.
-       (NL_TARGET): Define.
-       * configure.in: Add AC_CHECK_PROG(SCHEME).
-       * cpu.c: New file.
-       * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
-       * sem-switch.c,sem.c: Regenerate.
-       * mloop.in (execute): Update call to semantic fn.
-       (M32RX_OBJS): Add cpux.o.
-       (cpux.o): Add rule for.
-       cpux.c: New file.
-       * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
-       * m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
-       (m32rx_h_cr_{get,set}): New functions.
-       (m32rx_h_accums_{get,set}): New functions.
-       * mloopx.in: Rewrite main loop.
-
-       * m32r.c (do_trap): Move from here.
-       * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
-       (sim_create_inferior): Use h_pc_set.
-       (h_pc_{get,set}): New functions.
-       (h_gr_{get,set}): New functions.
-       (syscall_{read,write}_mem): New functions.
-       * sim-main.h (h_{gr,pc}_{get,set}): Declare.
-
-Tue Feb 17 12:44:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-       (sim_create_inferior): Pass 4 sim_store_register.
-
-Wed Feb 11 19:53:48 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.
-
-       * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
-       * cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.
-
-Mon Feb  9 19:41:54 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * decode.c, sem.c: Regenerate.
-       * cpux.h, decodex.c, readx.c, semx.c: Regenerate.
-       * m32rx.c (m32rx_h_accums_set): New function.
-       (m32rx_model_mark_[gs]et_h_gr): New function.
-       * mloopx.in: Rewrite.
-       * Makefile.in (mloopx.o): Build with -parallel.
-       * sim-main.h (_sim_cpu): Delete member `par_exec'.
-       * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx.
-
-Thu Feb  5 12:44:31 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in (m32r.o): Depend on cpu.h
-       (extract.o): Pass -DSCACHE_P.
-       * mloop.in (extract{16,32}): Update call to m32r_decode.
-       * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate.
-       * extract.c,model.c,sem-switch.c,sem.c: Regenerate.
-       * sim-main.h: #include "ansidecl.h".
-       Don't include cpu-opc.h, done by arch.h.
-       * Makefile.in (M32RX_OBJS): Build m32rx support now.
-       (m32rx.o): New rule.
-       * m32r-sim.h (m32rx_h_cr_[gs]et): Define.
-       * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC.
-       (m32rx_h_accums_get): New function.
-       * mloopx.in: Update call to m32rx_decode.  Rewrite exec loop.
-       * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Jan 29 11:22:00 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
-       * arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h.
-       * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
-
-Tue Jan 20 14:16:02 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * cpux.h: Fix duplicate definition of h_accums field for
-       fmt_53_sadd structure.
-
-Tue Jan 20 01:42:17 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * Makefile.in: Add m32rx objs, and rules to build them.
-       * cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files.
-       * m32rx.c, mloopx.in: New files.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 14:13:40 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * arch.c, arch.h, cpuall.h: New files.
-       * arch-defs.h: Deleted.
-       * mloop.in: Renamed from mainloop.in.
-       * Makefile.in: Update.
-       * sem-ops.h: Deleted.
-       * mem-ops.h: Deleted.
-       (arch): Renamed from CPU.
-       * cpu.h: New file.
-       * decode.c: Redone.
-       * decode.h: Redone.
-       * extract.c: Redone.
-       * model.c: Redone.
-       * sem-switch.c: Redone.
-       * sem.c: Renamed from semantics.c, and redone.
-       * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update.
-       (GETTWI,SETTWI,BRANCH_NEW_PC): Define.
-       * m32r.c (WANT_CPU,WANT_CPU_M32R): Define.
-       (m32r_{fetch,store}_register): New functions.
-       (model_mark_{get,set}_h_gr): Prefix with m32r_.
-       (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_.
-       (h_cr_{get,set}): Prefix with m32r_.
-       (do_trap): Fetch state from current_cpu, not current_state.
-       Call sim_engine_halt instead of engine_halt.
-       * sim-if.c (alloc_cpu): New function.
-       (free_state): New function.
-       (sim_open): Call sim_state_alloc, and malloc space for selected cpu
-       type.  Call sim_analyze_program.
-       (sim_create_inferior): Handle selected cpu type when setting PC.
-       (sim_resume): Handle m32rx.
-       (sim_stop_reason): Deleted.
-       (print_m32r_misc_cpu): Update.
-       (sim_{fetch,store}_register): Handle m32rx.
-       (sim_{read,write}): Deleted.
-       (sim_engine_illegal_insn): New function.
-       * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h.
-       Include arch.h,cpuall.h.  Include cpu.h,decode.h if m32r.
-       Include cpux.h,decodex.h if m32rx.
-       (_sim_cpu): Include member appropriate cpu_data member for the cpu.
-       (M32R_MISC_PROFILE): Renamed from M32R_PROFILE.
-       (sim_state): Delete members core,events,halt_jmp_buf.
-       Change `cpu' member to be a pointer to the cpu's struct, rather than
-       record inside the state struct.
-       * tconfig.in (WITH_DEVICES): Define here.
-       (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.
-
-Fri Jan 16 12:16:56 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * arch-defs.h (INSN_NAME): Fix typo.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * m32r-sim.h (MSPR_ADDR): New macro.
-       (m32r_mspr_device): Declare.
-       (struct _device): Define.
-       * m32r.c (m32r_mspr_device): New global.
-       (device_{io_{read,write}_buffer,error}): New functions.
-       * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
-       * sim-if.c: Delete redundant inclusion of cpu-sim.h.
-       (sim_open): Attach device to handle MSPR register.
-       * sim-main.h (WITH_DEVICES): Define as 1.
-       Include cpu-sim.h.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Dec  3 18:08:44 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
-       * configure: Regenerated.
-
-Wed Nov 19 12:17:08 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
-       * sim-if.c (sim_open): Call sim_config.
-       (sim_stop_reason): Update call to sim_signal_to_host.
-
-Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
-
-Fri Oct 31 18:46:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Delete dead call to sim_core_attach.
-
-Mon Oct 27 12:43:54 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * sem-ops.h (U{DIV,MOD}[BHSD]I): Use unsigned division.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_SCACHE,
-       SIM_DEFAULT_MODEL): Delete, moved to common.
-       (SIM_EXTRA_CFLAGS): Update.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (sim_link_links): Configure non-strict memory
-       alignment.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 17 17:44:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Allocate memory under sim-memopt module
-       using sim_do_commandf.
-       (sim_open): Set magic-number at the start.
-       (sim_do_command): Implement.
-
-       * sim-main.h (sim_engine_halt): Map onto engine_halt.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep  5 10:21:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
-
-Thu Sep  4 10:30:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Pass zero modulo arg to sim_core_attach.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:39:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-       (sim_load): Delete, use sim-hload.c instead.
-
-       * Makefile.in (SIM_OBJS): Add sim-hload.o module.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 15:54:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Add ABFD argument.
-
-Tue Jul 22 10:16:16 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim-main.h (M32R_DEFAULT_MEM_SIZE): New macro.
-       * sim-if.c (sim_open): Use it.
-
-Wed Jun  4 12:48:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (WITH_ENGINE): Disable the common engine for now.
-
-Tue May 27 14:15:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_read): Pass NULL cpu to sim_core_read_buffer.
-       (sim_write): Ditto for write.
-
-       * m32r.c (do_trap): Ditto for read/write.
-
-Tue May 20 10:18:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Add callback argument.
-       (sim_set_callbacks, sim_callback): Delete.
-       (sim_load): Set STATE_LOADED_P.
-
-Mon May 19 12:55:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Link in sim-abort.o as a stub for
-       sim_engine_abort.
-
-Mon May  5 12:45:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-if.c (sim_open): Update to reflect changes to core in
-       ../common/.
-       * mem-ops.h (GETMEMQI, GETMEMHI, GETMEMSI, GETMEMDI, GETMEMUQI,
-       GETMEMUHI, GETMEMUSI, GETMEMUDI, SETMEMQI, SETMEMHI, SETMEMSI,
-       SETMEMDI, SETMEMUQI, SETMEMUHI, SETMEMUSI, SETMEMUDI): Ditto.
-
-Sat May  3 08:38:55 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * decode.c (decode): Add computed goto support.
-
-Fri May  2 16:30:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mem-ops.h: Stub additional core read/write arguments.
-
-       * sim-main.h: Declare sim_cia - type SI.
-       (struct _sim_cpu): Move base type to end per common.
-       (struct _sim_state): Ditto.
-
-Thu May  1 11:15:34 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       Merge from branch into devo.  CGEN generic files moved to common
-       directory.  K&R C support is no longer provided.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Apr 12 12:57:33 1997  Felix Lee  <flee@yin.cygnus.com>
-
-       * Makefile.in, seman-cache.c: new file, for wingdb build.
-       * sim-alloca.h: fixed for wingdb.
-
-Mon Apr  7 13:33:29 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * decode.c (*): m32r_cgen_insn_table renamed to ..._entries.
-       * mainloop.in: Use CGEN_INSN_INDEX instead of CGEN_INSN_TYPE.
-       * simdefs.h (INSN_NAME): m32r_cgen_insn_table renamed to ..._entries.
-
-Fri Apr  4 19:23:12 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * cgen-utils.in (ex_illegal): Fill in abuf->length, abuf->addr.
-       (exc_illegal): Likewise.
-       * decode.c (decode_vars): Add decode_illegal.
-       * genmloop.sh: #include "cpu-opc.h".
-       * sem-switch.c (case_INSN_ILLEGAL): Declare.
-       (labels): Add case_INSN_ILLEGAL.
-       (SWITCH): Add INSN_ILLEGAL case.
-
-Wed Mar 26 12:34:00 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * model.c (model_module): Use 0 not NULL.
-
-       * genmloop.sh (sim_main_loop): Handle k&r c.
-
-       * sem-switch.c: Regenerate to get k&r c support.
-       * semantics.c: Likewise.
-
-       * m32r.c (ADD_{OV,CA}_SI,SUB_{OV,CA}_SI): Renamed to {ADD,SUB}[OC]FSI.
-       (ADDCSI,SUBCSI): New functions.
-       * sem-switch.c (addv,addv3,addx,subv,subx): Fix carry bit handling.
-       * semantics.c (addv,addv3,addx,subv,subx): Fix carry bit handling.
-
-       * simcache.c (simcache_{install,init,uninstall}): Use
-       DECLARE_MODULE_INSTALL_HANDLER.
-       (simcache_option_handler): Use DECLARE_OPTION_HANDLER.
-
-       * utils.c: #include "semops.h".
-
-Tue Mar 11 14:30:26 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * profile.c (profile_print_simcache): Fix thinko in printf text.
-
-       * simdefs.h (struct argbuf): Add member to fmt_20 so it's not empty.
-
-Mon Mar 10 11:06:29 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * m32r.c (h_cr_get): Rewrite.
-       (h_cr_set): Rewrite.
-       * sem-switch.c (rte): bcarry renamed to bcond.
-       * semantics.c (rte): Likewise.
-       * simdefs.h (CPU_STATE): Likewise.
-
-       * config.in (HAVE_SYS_TIME_H): Add.
-       * configure.in: Check for sys/time.h.
-       * configure: Regenerated.
-       * utils.c: Include sys/time.h if present.
-
-       * common.c (sim_parse_args): Account for NULL terminating entry
-       in long_options table.
-
-       * genmloop.sh (RUN_FAST_P): Don't run fast if tracing.
-       Always use cache if configured in.
-       * mainloop.in (do_extract_insn{16,32}): New functions.
-       (normal,fast): Call them.  Handle starting in left slot.
-       * simcache.c (simcache_option_handler): Disallow -c0.
-       * sem-switch.c (TRACE_RESULT): Redefine so no tracing.
-
-       * profile.c (profile_print_simcache): Fix percentage calc.
-
-       * Makefile.in (INCLUDE_DEPS): Delete simcommon.h.
-
-Sun Mar  9 20:42:17 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * Makefile.in (COMMON_{PRE,POST}_CONFIG_FRAG): Add delimiters for.
-       (M32R_INCLUDE_DEPS): Use cpu-sim.h instead of m32r-sim.h.
-       Add mod-list.h.
-       (mrun.o): Don't depend on M32R_INCLUDE_DEPS.
-       (sim-if.o,m32r.o,utils.o): Likewise.
-       (common.o): Don't explicitly depend on mod-list.h.
-       (mainloop.c): Pass CPU to genmloop.sh.
-       (stamp-modules): Depend on configure.
-       (decode.o): Depend on decode,h, memops.h, semops.h, cpu-opc.h.
-       (extract.o): Depend on decode.h, memops.h, semops.h.
-       (semantics.o,seman-cache.o): Likewise.
-       (model.o,ops.o): Depend on memops.h.
-       (extr-cache.o): Disable building for the moment.
-
-       * simcommon.h: Delete, move contents into cgen-sim.h.
-       * cgen-sim.h: Don't include ansidecl.h,bfd.h,simfns.h.
-       (UINT,CGEN_CAT3): Define.
-       ({extract,semantic}_fn_t): Renamed to {EXTRACT,SEMANTIC}_FN.
-       (decode_t): Renamed to DECODE.
-
-       * simfns.h: Delete, contents moved to memops.h,semops.h.
-       * memops.h: New file.
-       * semops.h: New file.
-       * decode.h: Renamed from semantics.h.
-
-       * sim-argv.h: New file.
-       * Makefile.in (memory.o,trace.o,profile.o,simcache.o,common): Add
-       dependency of sim-argv.h.
-
-       * sim-alloca.h: New file.
-       * common.c: Include it.
-       * Makefile.in (common.o): Add dependency.
-
-       * config.in (HAVE_TIME_H,HAVE_SYS_RESOURCE_H): Add.
-       (HAVE_GETRUSAGE,HAVE_TIME): Add.
-       * configure.in: sinclude ../common/aclocal.m4.
-       Check for headers time.h, sys/resource.h.
-       Check for functions time, getrusage.
-       (sim_link_{files,links}): Add link cpu-opc.h.
-       (sim_profile): Add simcache.
-       (SIM_AC_PROFILE): Add simcache, profile.o.
-       (simcache module): Delete extr-cache.o for now.
-       (--enable-sim-cache): Allow specification of default cache size.
-       * configure: Regenerated.
-
-       * decode.c: #include cgen-sim.h,memops.h,semops.h,decode.h,
-       cpu-sim.h,cpu-opc.h.  Don't include m32r-sim.h.
-       Regenerate.
-
-       * extract.c: #include cgen-sim.h,decode.h,cpu-sim.h.
-       Don't include m32r-sim.h.
-       (*): Define/Undef FLD macro.  Use it to reference ARGBUF.
-       Simplify profiling test with PROFILE_MODEL_P.
-       (mvfc,mvtc): Fix access of control registers.
-       * semantic.c: #include cgen-sim.h,memops.h,semops.h,decode.h,cpu-sim.h.
-       Don't include m32r-sim.h.
-       (*): Define/Undef FLD macro.  Use it to reference ARGBUF.
-       Simplify profiling test with PROFILE_MODEL_P.
-       (mvfc,mvtc): Fix access of control registers.
-
-       * sem-switch.c: New file, for GCC computed goto support.
-
-       * genmloop.sh: Add #include's of bfd.h,callback.h,cgen-sim.h,
-       memops.h,semops.h,trace.h,cpu-sim.h.
-       (RUN_FAST_P): Change default to run fast if cache size > 0
-       and not profiling.
-       (sim_main_loop): Record execution time.
-       Record instruction count even in fast mode.
-       (init): Allow cpu to provide init code in mainloop.in.
-       (FAST): Define as 0 or 1 depending on fast mode.
-       * mainloop.in (normal): Combine with fast case.
-       Add support for GCC computed gotos.  Count simcache hits/misses.
-       (init): Initialize "switch" labels if GNUC.
-
-       * cgen-utils.in: Don't include opcode/cgen.h.
-       Include cgen-sim.h, cpu-opc.h.
-       * common.c: Don't include simcommon.h,mod-list.h.  Include cgen-sim.h.
-       * m32r-sim.h: Don't include mod-list.h
-       (RUN_FAST_P): Delete.
-       * m32r.c: Don't include profile.h.  #include ansidecl.h,cgen-sim.h,
-       semops.h,memory.h,trace.h
-       (h_cr_get,h_cr_set): New functions.
-       * memory.c: #include cgen-sim.h,callback.h.
-       * ops.c: Don't include profile.h,m32r-sim.h.
-       Include cgen-sim.h,memops.h,cpu-sim.h.
-       (MEMOPS_DEFINE_INLINE): Renamed from SIMFNS_DEFINE_INLINE.
-       * trace.c: Include cgen-sim.h,cpu-opc.h.
-       * trace.h (trace_insn_{init,fini}): Declare.
-
-       * model.c: Don't include signal.h,stdlib.h,m32r-sim.h.
-       Include cgen-sim.h,cpu-sim.h,cpu-opc.h.
-       Regenerate to get new insn aliases.
-
-       * mrun.c: #include "ansidecl.h".
-       (STATE): Use struct sim_state instead.
-
-       * profile.c: Surround #include <stdlib.h> with HAVE_STDLIB_H.
-       Don't include simcommon.h.  Include cgen-sim.h,cpu-opc.h.
-       (PROFILE_{READ,WRITE}_MASK): Replace with PROFILE_MEMORY_MASK.
-       (profile_print_simcache): New function.
-       (profile_print): Call it.  Print simulator speed stats.
-       * profile.h (PROFILE_{READ,WRITE}_MASK): Replace with
-       PROFILE_MEMORY_MASK.
-       (MODULE_PROFILE_SIMCACHE_P): Define.
-       (PROFILE_SIMCACHE_MASK): Define.
-       (PROFILE_COUNT): New members total_insn_count,exec_time.
-       New members simcache_hits,simcache_misses.
-       (PROFILE_SIMCACHE_{HITS,MISSES}): Define.
-       (PROFILE_MODEL_P): New macro.
-       (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): New macros.
-
-       * sim-if.c: Surround #include <stdlib.h> with HAVE_STDLIB_H.
-       Don't include simcommon.h,m32r-sim.h.  Include cgen-sim.h,cpu-sim.h.
-       (sim_resume): Use USING_SIMCACHE_P instead of RUN_FAST_P.
-       (sim_info): Pass verbose to profile_print.
-
-       * simcache.c: Include cgen-sim.h,callback.h.
-       (USING_SIMCACHE_P): Replace with SIMCACHE_P.
-       (simcache_option_handler): Ensure cache size at least 2.
-       Allow config time specification of default cache size.
-       * simcache.h (struct simcache): Support GCC computed gotos.
-       (SIMCACHE_DEFAULT_CACHE_SIZE): USe CONFIG_SIM_CACHE_SIZE if defined.
-       (USING_SIMCACHE_P): New macro.
-
-       * simdefs.h: Don't include m32r-opc.h.
-       (CGEN_MAX_SIM_INSNS): Define.
-       (CPU_STATE): Regenerate.
-       (ARGBUF): Regenerate.
-       (extract,semantic handler decls): Delete, moved to decode.h.
-
-       * tconfig.in: Don't include cgen-sim.h,m32r-sim.h.
-       (USE_SEM_SWITCH): Define.
-
-       * utils.c: Include bfd.h,time.h,sys/resource.h.
-       (sim_time_get,sim_time_elapsed): New functions.
-       * cgen-sim.h (SIM_TIME,sim_time_get,sim_time_elapsed): Declare.
-
-Fri Jan 31 20:25:06 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (AC_CHECK_HEADERS): Handle i386-windows.
-       * configure: Regenerated.
-       * model.c: #include <stdlib.h>.
-       * simcache.c: #include "libiberty.h".
-       * simcommon.h (alloca): Handle i386-windows.
-
-       * common.c: #include libiberty.h.
-       (sim_signal_to_host): Return 5 if wingdb.
-
-Mon Jan 27 15:22:49 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       * configure.in (sim_cache): Enabled by default now, pass default
-       cache size to --enable-sim-cache.
-       * simcache.c (simcache_option_handler): Allow -c 0.
-
-       * simdefs.h,simfns.h: Regenerate
-       * decode.c,extract.c,model.c,ops.c,semantics.c: Regenerate.
-
-Tue Jan 21 16:21:01 1997  Doug Evans  <dje@seba.cygnus.com>
-
-       Add model profiling support.
-       * configure.in: Handle --enable-sim-model.
-       (sim_profile): Add model.
-       * Makefile.in (model.o): Add rule.
-       * cgen-sim.h (UNIT,INSN_TIMING,MACH,MODEL): New types.
-       * extract.c (*): Add model profiling support.
-       * m32r.c (model_mark_{get,set}_h_gr): New functions.
-       (model_mark_{busy,unbusy}_reg): New functions.
-       * profile.c (profile_option_handler): Recognize --profile model.
-       (profile_print_model): New function.
-       (profile_print): Call it.
-       * profile.h (MODULE_profile_model,MODULE_PROFILE_MODEL_P): Define.
-       (PROFILE_MODEL_MASK,PROFILE_LABEL_WIDTH): Define.
-       (PROFILE_COUNT): New members cycle_count,cti_stall_count,
-       load_stall_count,taken_count,untaken_count.
-       * semantics.c (*): Add model profiling support.
-       * simcommon.h (struct sim_state): New members mach,model.
-       * simdefs.h (CPU_PROFILE,MODEL_TYPE,UNIT_TYPE): New type.
-       (MAX_MODELS,MAX_UNITS): Define.
-       * tconfig.in (STATE_EXTRA_MEMBERS): Add cpu_profile.
-
-       * Makefile.in (INCLUDE_DEPS): Add $(SIM_MODULES_HDRS).
-       (stamp-modules): Depend on genmodlist.sh.
-       * common.c (standard_options): Add --max-insns.
-       (copy_argv): New function.
-       * tconfig.in (SIM_HAVE_MAX_INSNS): Define.
-       * genmloop.sh: Allow mainloop.in to contain support code.
-       * mainloop.in: Move do_insn16,do_insn32 here.
-       * m32r.c (do_trap): Handle SYS_argvlen,SYS_argv,SYS_read.
-       * sim-if.c (sim_open): Don't set max insn count.
-       (sim_create_inferior): Save argv,envp.
-       * simcommon.h (struct sim_state): New members argv,envp.
-       * simdefs.h ([GS]ETTWI,[GS]ETTUWI,[GS]ETTAI): Define.
-       ([GS]ETMEMWI,[GS]ETMEMUWI,[GS]ETMEMAI): Define.
-       (ARGBUF): New members h_gr_get, h_gr_set.
-       * trace.c (trace_insn_init,trace_insn_fini): New functions.
-       (trace_printf): Print to buffer, output later by trace_insn_fini.
-       * trace.h (TRACE_INSN_{INIT,FINI}): Define.
-
-Thu Dec 19 16:01:59 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (AC_FUNC_ALLOCA): Call.
-       * configure: Regenerate.
-       * config.h (HAVE_ALLOCA_H): Add.
-       * simcommon.h: Add alloca support.
-       (DECLARE_MODULE_INSTALL_HANDLER): Define.
-       (DECLARE_OPTION_HANDLER): Define.
-       (MEM_FN): Declare using PARAMS.
-       (DECLARE_MEM_FN): Define.
-       * trace.c (trace_result): Tweak for !STDC.
-       * cgen-sim.h (UDI_FN_SUPPORT): Define if ! HAVE_LONGLONG.
-       * cgen-utils.in (disasm_sprintf): Fix va_arg call in !STDC case.
-       * common.c (sim_print_help_fn): Use PARAMS.
-       (standard_option_handler): Fix decl for !STDC systems.
-       * memory.c: #include <stdio.h>
-       (mem_flat_{install,init,uninstall}): Fix decl for !STDC systems.
-       (mem_flat_{read,write},mem_flat_option_handler): Likewise.
-       * profile.c (profile_install): Likewise.
-       (profile_option_handler): Likewise.
-
-Thu Dec 19 11:06:19 1996  Doug Evans  <dje@seba.cygnus.com>
-
-       * semantics.c (*): Don't suffix big unsigned numbers with "U".
-       Prefix them with 0x instead.
-
-       * cgen-sim.h (DI_FN_SUPPORT): Define if ! HAVE_LONGLONG.
-       (SLADI,SRADI,CONVSIDI,CONVDISI): Delete, moved to simfns.h.
-       * semantics.c (machi,maclo,macwhi,macwlo,mulhi,mullo): Implement.
-       (mulwhi,mulwlo,mvtachi,mvtaclo,rac,rach): Implement.
-       * simfns.h: Add decls for functional DI,UDI,SF,DF,XF,TF support.
-       Add support for boolean and/or.
-       * utils.c: Redo naming of DI functional support.
-       (ANDDI,ORDI,ADDDI,MULDI,GEDI,LEDI,CONVHIDI): New functions.
-
-Tue Dec 17 12:57:48 1996  Doug Evans  <dje@seba.cygnus.com>
-
-       * Directory created.
diff --git a/sim/m32r/ChangeLog-2021 b/sim/m32r/ChangeLog-2021
new file mode 100644 (file)
index 0000000..9f0244c
--- /dev/null
@@ -0,0 +1,2297 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (m32r_trap): Reformat indentation to GNU style.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (TRAPS_OBJ, SIM_EXTRA_CFLAGS): Delete.
+       * configure.ac (traps_obj, sim_extra_cflags): Delete.
+       * sim-if.c (M32R_DEFAULT_MEM_SIZE): New define.
+       (sim_create_inferior): Replace M32R_LINUX with STATE_ENVIRONMENT
+       check.
+       * sim-main.h (M32R_DEFAULT_MEM_SIZE): Delete.
+       * traps-linux.c: Merge with ...
+       * traps.c: ... this file.
+       * configure: Regenerate.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c (conv_endian, conv_endian16,
+       translate_endian): Delete.
+       (translate_endian_h2t): New host-to-target function.
+       (translate_endian_t2h): New target-to-host function.
+       (m32r_trap): Replace conv_endian with H2T_4 & T2H_4, conv_endian16
+       with H2T_2 & T2H_2, and translate_endian with translate_endian_h2t
+       & translate_endian_t2h.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c (m32r_trap): Change OPERATING_ENVIRONMENT check to
+       !USER_ENVIRONMENT.  Jump to default switch case.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * syscall.h: Change __NR_ prefix on all symbols to TARGET_LINUX_SYS_.
+       * traps-linux.c: Likewise.  Include sim/callback.h & stdlib.h.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (m32r_sim_machs): ... this.
+       * sim-if.c (m32r_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (m32rbf_record_trace_results): Delete function.
+       * cpu2.c (m32r2f_record_trace_results): Likewise.
+       * cpux.c (m32rxf_record_trace_results): Likewise.
+
+2021-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c (m32r_trap): Set s.arg4, s.arg5, s.arg6, and s.arg7.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c: Include sim-signal.h.
+       * traps.c:
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c: Include portability.h.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * sim-if.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m32r_cache.c, dv-m32r_uart.c: Replace config.h include with
+       defs.h.
+       * m32r.c, m32r2.c, m32rx.c, sim-if.c, traps-linux.c,
+       traps.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * mloop.in: Include <stdlib.h>.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (sim-if.o, arch.o, traps.o, traps-linux.o)
+       (devices.o, m32r.o, mloop.o, cpu.o, decode.o, sem.o, model.o)
+       (m32rx.o, mloopx.o, cpux.o, decodex.o, semx.o, modelx.o)
+       (m32r2.o, mloop2.o, cpu2.o, decode2.o, sem2.o, model2.o): Remove.
+       (SIM_EXTRA_DEPS): Add eng.h, engx.h, eng2.h.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * traps.c: Include stdlib.h.
+       * m32r.c: Include stdlib.h.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * sim-if.c (sim_open, sim_create_inferior): Use new-style
+       declaration.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
+       and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-11-12  Nick Clifton  <nickc@redhat.com>
+
+       * m32r-sim.h (m32rbf_h_accum_get_handler): Always provide a
+       prototype for this function.
+       (m32rbf_h_accum_set_handler): Likewise.
+       (m32r2f_h_accums_get_handler): Prototype.
+       (m32r2f_h_accums_set_handler): Prototype.
+
+2020-09-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * m32r.c (m32rbf_register_size): New function.
+       (m32rbf_fetch_register): Use new function.
+       (m32rbf_store_register): Likewise.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (m32rbf_init_idesc_table): Use ARRAY_SIZE.
+       * decode2.c (m32r2f_init_idesc_table): Likewise.
+       * decodex.c (m32rxf_init_idesc_table): Likewise.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * TODO: Delete file.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+       * traps-linux.c (conv_endian): Change CURRENT_HOST_BYTE_ORDER
+       to HOST_BYTE_ORDER.
+       (conv_endian16): Likewise.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.h (TARGET_BIG_ENDIAN): Delete.
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+       * traps-linux.c (conv_endian): Change LITTLE_ENDIAN to
+       BFD_ENDIAN_LITTLE.
+       (conv_endian16): Likewise.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (current_state): Delete.
+       (sim_open): Delete current_state assignment.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Add m32r_cache & m32r_uart.
+       * configure: Regenerate.
+       * devices.c: Delete file.
+       * dv-m32r_cache.c, dv-m32r_cache.h: New cache model with logic from
+       devices.c.
+       * dv-m32r_uart.c, dv-m32r_uart.h: New uart model with logic from
+       devices.c.
+       * m32r-sim.h: Move cache defines to dv-m32r_cache.h and uart defines
+       to dv-m32r_uart.h.
+       * Makefile.in (SIM_OBJS): Delete devices.o.
+       * sim-if.c: Include dv-m32r_uart.h.
+       (sim_open): Replace sim_core_attach call with sim_hw_parse calls.
+       * tconfig.h: Delete file.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-model.o.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c: Rename MACH to SIM_MACH.
+       * cpuall.h: Likewise.
+       * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
+       SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
+       * model2.c, modelx.c: Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_SCACHE_PBB): Move from ...
+       * tconfig.h (WITH_SCACHE_PBB): ... here.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
+       SIM_BREAKPOINT_SIZE): Delete.
+       * traps-linux.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Delete sim
+       breakpoint code.
+       * traps.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Likewise.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (WITH_WATCHPOINTS): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (m32r_trap): Replace call to cb_syscall with
+       sim_syscall_multi.
+       * traps-linux.c (m32r_trap): Likewise.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (m32r_trap): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+       * traps.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (m32r_trap): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (m32rbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT.
+       * decode2.c (m32r2f_decode): Likewise.
+       * decodex.c (m32rxf_decode): Likewise.
+       * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
+       TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
+       * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
+       * sem-switch.c: Likewise.
+       * sem-switch2.c: Likewise.
+       * sem-switchx.c: Likewise.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (USING_SIM_BASE_H): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Handle WITH_SMP.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete dv_sockser_install call.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Default simulator hardware to off again.  Remove
+       dead m32r_extra_objs substitution.
+       * configure: Regenerate.
+       * Makefile.in: Remove unused m32r_extra_objs.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-03-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
+           Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add m32r_extra_objs. Change simulator hardware
+       from always on to defaulting to yes it is enabled.
+       * Makefile.in: Conditionalize reference to dv-sockser.o.
+       * tconfig.in: Delete HAVE_DV_SOCKSER logic that was under "#if 0".
+       * configure: Regenerated.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Fail if dv-sockser.o not available.
+       Error when --disable-sim-hardware is specified.
+       * configure: Regenerated.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps-linux.c (sim_core_trans_addr): Delete prototype.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_do_command): Delete.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * devices.c (device_error): Add const to message.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h, * cpu2.h, * cpux.h, * decode.c, * decode2.c, * decodex.c,
+       * model.c, * model2.c, * modelx.c,
+       * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c, * arch.h, * cpu.c, * cpu.h, * cpu2.c, * cpu2.h, * cpuall.h,
+       * cpux.c, * cpux.h, * decode.c, * decode.h, * decode2.c, * decode2.h,
+       * decodex.c, * decodex.h, * model.c, * model2.c, * modelx.c,
+       * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate,
+       update copyright year.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * cpu.h: Regenerate.
+       * cpu2.h: Regenerate.
+       * cpux.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * decode2.c: Regenerate.
+       * decode2.h: Regenerate.
+       * decodex.c: Regenerate.
+       * decodex.h: Regenerate.
+
+2009-11-03  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpu2.c: Regenerate.
+       * cpu2.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * cpux.c: Regenerate.
+       * cpux.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * decode2.c: Regenerate.
+       * decode2.h: Regenerate.
+       * decodex.c: Regenerate.
+       * decodex.h: Regenerate.
+       * model.c: Regenerate.
+       * model2.c: Regenerate.
+       * modelx.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+       * sem2-switch.c: Regenerate.
+       * semx-switch.c: Regenerate.
+
+       * Makefile.in (mloop.c): Add @true to rule.
+       (mloopx.c, mloop2.c): Ditto.
+       (stamp-*): Add Makefile dependency.
+       (arch.c, arch.h, cpuall.h): Specify full path.
+       (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto.
+       (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto.
+       (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-12  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
+       (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.
+
+2009-06-20  Doug Evans  <dje@sebabeach.org>
+
+       * mloop.in: Add missing # comment marker.
+       * mloop2.in: Ditto.
+       * mloopx.in: Ditto.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-09  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       Committed by Kei Sakamoto.
+       * traps-linux.c (m32r_trap): Add entries of the following dummy system
+       calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
+       __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
+       __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
+       __NR_getresgid32 and __NR_chown32.
+       * syscall.h: Add new definitions of system call number.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       Committed by Andrew Cagney.
+       * traps-linux.c: Don't include linux/module.h.
+       (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and
+       __NR_get_kernel_syms.
+
+2004-05-18  Daniel Jacobowitz  <dan@debian.org>
+
+       * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
+
+2004-02-04  Andrew Cagney  <cagney@redhat.com>
+
+       Committed by Andrew Cagney.
+       * mloopx.in: Update copyright.
+       (xextract-pbb): Fixed trap for system calls operation in parallel.
+       * mloop2.in (xextract-pbb): Ditto.
+
+2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * configure.in: Changed for dummy simulator of m32r-linux.
+       * configure: Regenerate.
+       * Makefile.in: Added traps-linux.o for dummy simulator of m32r-linux.
+       * traps-linux.c: Added for dummy simulator of m32r-linux.
+       * syscall.h: Ditto.
+       * sim-if.c (sim_create_inferior): Changed to setup SP for dummy
+       simulator for m32r-linux.
+       * sim-main.h (M32R_DEFAULT_MEM_SIZE): Changed for dummy simulator of
+       m32r-linux.
+
+2003-12-11  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * Makefile.in: Add support for new machine m32r2.
+       * cpu2.c: New file for m32r2 support.
+       * cpu2.h: Likewise.
+       * decode2.c: Likewise.
+       * decode2.h: Likewise.
+       * m32r2.c: Likewise.
+       * mloop2.in: Likewise.
+       * model2.c: Likewise.
+       * sem2-switch.c: Likewise.
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * arch.c: Regenerate.
+       * cpuall.c: Regenerate.
+       * cpux.c: Regenerate.
+       * cpux.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * decodex.c: Regenerate.
+       * decodex.h: Regenerate.
+       * model.c: Regenerate.
+       * modelx.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+       * semx-switch.c: Regenerate.
+       * m32r-sim.h: Add EVB register support.
+       * sim-if.c: Likewise.
+       * sim-main.h: Likewise.
+       * traps.c: Likewise.
+
+2003-09-08  Dave Brolley  <brolley@redhat.com>
+
+       On behalf of Doug Evans <dje@sebabeach.org>
+       * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-12-19  Doug Evans  <dje@sebabeach.org>
+
+       * arch.c,arch.h,cpuall.h: Regenerate.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
+       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2001-11-14  Dave Brolley  <brolley@redhat.com>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * cpux.c: Regenerate.
+       * cpux.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * decodex.c: Regenerate.
+       * decodex.h: Regenerate.
+       * model.c: Regenerate.
+       * modelx.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+       * semx-switch.c: Regenerate.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+       (stamp-cpu): Likewise.
+       (stamp-xcpu): Likewise.
+
+2001-03-05  Dave Brolley  <brolley@redhat.com>
+
+       * arch.c: Regenerate.
+       * arch.h: Regenerate.
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * cpuall.h: Regenerate.
+       * cpux.c: Regenerate.
+       * cpux.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * decodex.c: Regenerate.
+       * decodex.h: Regenerate.
+       * model.c: Regenerate.
+       * modelx.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+       * semx-switch.c: Regenerate.
+
+2001-01-12  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure: Regenerated with sim_scache fix.
+
+2000-11-18  Greg McGary  <greg@mcgary.org>
+
+       * Makefile.in: remove `@true' commands for rules that have
+       $(CGEN_MAINT) as a prerequisite.
+
+2000-10-06  Dave Brolley  <brolley@redhat.com>
+
+       * sem.c: Regenerated.
+       * sem-switch.c: Regenerated.
+       * semx-switch.c: Regenerated.
+
+2000-08-28  Dave Brolley  <brolley@redhat.com>
+
+       * Makefile.in: Use of @true confuses VPATH. Remove it.
+       * cpu.h: Regenerated.
+       * cpux.h: Regenerated.
+       * decode.c: Regenerated.
+       * decodex.c: Regenerated.
+       * model.c: Regenerated.
+       * modelx.c: Regenerated.
+       * sem-switch.c: Regenerated.
+       * sem.c: Regenerated.
+       * semx-switch.c: Regenerated.
+
+2000-08-21  Frank Ch. Eigler  <fche@redhat.com>
+
+       * Makefile.in (m32r-clean): Add stamp-arch, stamp-cpu.
+       (stamp-arch, stamp-cpu): New targets.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-03-30  Dave Brolley  <brolley@redhat.com>
+
+       * configure: Regenerated.
+
+1999-10-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * arch.c,arch.h,cpuall.h: Rebuild.
+       * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+
+1999-09-29  Doug Evans  <devans@casey.cygnus.com>
+
+       * mloop.in: Update call to sim_engine_invalid_insn.
+       * sem.c,sem-switch.c: Rebuild.
+       * traps.c (sim_engine_invalid_insn): New arg `vpc'.  Change type of
+       result to SEM_PC.  Return vpc.
+       * mloopx.in: Ditto.
+       * semx-switch.c: Rebuild.
+
+Wed Sep 29 14:47:20 1999  Dave Brolley  <brolley@cygnus.com>
+
+       * traps.c (sim_engine_invalid_insn): Return PC.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-09-01  Doug Evans  <devans@casey.cygnus.com>
+
+       * decodex.c: Rebuild.
+
+1999-08-28  Doug Evans  <devans@casey.cygnus.com>
+
+       * sem.c: Rebuild
+
+       * cpux.h: Rebuild.
+
+1999-08-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
+       * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+
+1999-08-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * m32r-sim.h (SEM_SKIP_INSN): Delete.
+       * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+       * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
+       * mloopx.in (emit_parallel): Call SEM_SKIP_COMPILE.
+       (emit_full_parallel): Ditto.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 16 16:47:43 1999  Doug Evans  <devans@charmed.cygnus.com>
+
+       * devices.c (device_io_read_buffer): New arg `sd'.
+       (device_io_write_buffer): New arg `sd'.
+       (device_error): Give proper arg spec.
+
+1999-04-10  Doug Evans  <devans@casey.cygnus.com>
+
+       * sem-switch.c,sem.c: Rebuild.
+       * cpux.h,semx-switch.c: Rebuild.
+
+1999-03-27  Doug Evans  <devans@casey.cygnus.com>
+
+       * decode.c: Rebuild.
+       * decodex.c: Rebuild.
+
+1999-03-26  Doug Evans  <devans@casey.cygnus.com>
+
+       * m32r-sim.h (M32R_DEVICE_LEN): Fix off by one error.
+
+1999-03-22  Doug Evans  <devans@casey.cygnus.com>
+
+       * arch.c,arch.h,model.c: Rebuild.
+       * modelx.c: Rebuild.
+       * m32r-sim.h (a_m32r_h_gr_get,a_m32r_h_gr_set): Declare.
+       (a_m32r_h_cr_get,a_m32r_h_cr_set): Declare.
+       * m32r.c (m32rbf_fetch_register): Replace calls to a_m32r_h_pc_get,
+       a_m32r_h_accum_get with appropriate calls to m32rbf_*.
+       (m32rbf_store_register): Ditto.
+       (a_m32r_h_gr_get,a_m32r_h_gr_set): New functions.
+       (a_m32r_h_cr_get,a_m32r_h_cr_set): Ditto.
+       * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
+       * traps.c (m32r_core_signal): Replace calls to a_m32r_h_*,
+       with appropriate calls to m32rbf_*.
+
+1999-03-11  Doug Evans  <devans@casey.cygnus.com>
+
+       * arch.c,arch.h,cpu.c,cpu.h,sem.c,sem-switch.c: Rebuild.
+       * cpux.c,cpux.h,semx-switch.c: Rebuild.
+       * m32r-sim.h (GET_H_*,SET_H_*, except GET_H_SM): Delete.
+       * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
+
+1999-02-25  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.c,cpu.h: Rebuild.
+
+1999-02-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h.
+       (stamp-xmloop): s/-parallel/-parallel-write/.
+       * configure.in (sim_link_files,sim_link_links): Delete.
+       * configure: Rebuild.
+       * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
+       * decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+       * mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
+       * sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
+       m32r_cgen_opcode_open.  Set disassembler.
+       (sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
+       * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
+       m32r-desc.h,m32r-opc.h,m32r-sim.h.
+
+Thu Feb  4 16:04:26 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
+
+1999-01-27  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+       * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
+
+1999-01-15  Doug Evans  <devans@casey.cygnus.com>
+
+       * decode.h,model.c: Regenerate.
+       * decodex.h,modelx.c: Regenerate.
+
+1999-01-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * arch.c,arch.h,cpuall.h: Regenerate.
+       * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
+       * traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
+       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
+
+1999-01-11  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (m32r-clean): rm eng.h.
+       * sim-main.h: Delete inclusion of ansidecl.h.
+       * cpu.h: Regenerate.
+       * cpux.h: Regenerate.
+
+1999-01-06  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h: Regenerate.
+       * cpux.h: Regenerate.
+
+1999-01-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (MAIN_INCLUDE_DEPS): Delete.
+       (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
+       (sim-if.o): Use SIM_MAIN_DEPS.
+       (arch.o,traps.o,devices.o): Ditto.
+       (M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
+       (m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
+       (m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto.
+       * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
+       * m32r-sim.h (m32rbf_h_cr_[gs]et_handler): Declare.
+       ([GS]ET_H_CR): Define.
+       (m32rbf_h_psw_[gs]et_handler): Declare.
+       ([GS]ET_H_PSW): Define.
+       (m32rbf_h_accum_[gs]et_handler): Declare.
+       ([GS]ET_H_ACCUM): Define.
+       (m32rxf_h_{cr,psw,accum}_[gs]et_handler): Declare.
+       (m32rxf_h_accums_[gs]et_handler): Declare.
+       ([GS]ET_H_ACCUMS): Define.
+       * sim-if.c (sim_open): Model probing code moved to sim-model.c.
+       * m32r.c (WANT_CPU): Define as m32rbf.
+       (all register access fns): Rename to ..._handler.
+       * cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate.
+       * m32rx.c (WANT_CPU): Define as m32rxf.
+       (all register access fns): Rename to ..._handler.
+
+1998-12-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * configure.in: --enable-cgen-maint support moved to common/aclocal.m4.
+       (SIM_AC_OPTION_ALIGNMENT): Make strict.
+       * configure: Regenerate.
+
+       * sem-switch.c,sem.c,semx-switch.c: Regenerate.
+       * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define.
+       * traps.c (m32r_core_signal): Handle --environment=operating.
+
+1998-12-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
+       * cpux.h,decodex.c,semx-switch.c: Regenerate.
+
+       * sim-if.c: Include string.h or strings.h if present.
+
+1998-12-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * configure.in: Call SIM_AC_OPTION_INLINE.
+       * configure: Regenerate.
+       * sim-main.h: Protect against multiple inclusion.
+       Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
+       Done by cgen-sim.h now.
+       * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
+       * cpuall.h: Regenerate.
+       * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
+       * mloop.in (extract16): Make static inline again.
+       Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
+       (extract32): Ditto.
+       Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
+       (execute): Test ARGBUF_PROFILE_P before profiling.
+       Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
+       * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
+       * mloopx.in: Rewrite.
+
+1998-11-22  Doug Evans  <devans@tobor.to.cygnus.com>
+
+       * devices.c (device_io_write_buffer): Fix typo.
+       * sim-if.c (sim_open): Hack in call to dv_sockser_install.
+       * tconfig.in (HAVE_DV_SOCKSER): Add but comment out.
+
+1998-11-18  Doug Evans  <devans@casey.cygnus.com>
+
+       * Makefile.in (M32R_OBJS): Delete extract.o.
+       (extract.o): Delete.
+       * cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
+       * mloop.in (extract16): Update type of `insn' arg.
+       Delete call to d->extract.
+       (extract32): Ditto.
+       * cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
+       * mloopx.in (extractx16): Update type of `insn' arg.
+       Delete call to d->extract.  Delete arg pbb_p.  All callers updated.
+       (extract-simple,full-exec-simple,fast-exec-simple): Delete.
+       (extractx32): Ditto.
+
+Wed Nov  4 23:55:37 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-main.h: Delete inclusion of config.h, include sim-basics.h
+       before cgen-types.h.
+       * tconfig.in: Guard against multiple inclusion.
+       * cpu.h: Delete decls moved to genmloop.sh.
+       * cpux.h: Ditto.
+
+Mon Oct 19 14:13:05 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-main.h: #include cpu-opc.h.
+       * arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate
+       to get #include cleanup.
+       * decodex.c,extractx.c,modelx.c: Ditto.
+
+       * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with
+       CGEN_INCLUDE_DEPS.
+       (M32RBF_INCLUDE_DEPS): Define.
+       (m32r .o's): Depend on it.
+       (mloop.c): Update call to genmloop.sh.
+       * cpu.h,cpuall.h: Regenerate.
+       * sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h.
+       #include cgen-scache.h,cgen-cpu.h.
+       * tconfig.in (WITH_FOO semantic macros): Delete.
+       * Makefile.in (M32RXF_INCLUDE_DEPS): Define.
+       (m32rx .o's): Depend on it.
+       (mloopx.c): Update call to genmloop.sh.
+       * cpux.h: Regenerate.
+
+Fri Oct 16 09:15:29 1998  Doug Evans  <devans@charmed.cygnus.com>
+
+       * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
+
+Fri Oct  9 16:11:58 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       Add pseudo-basic-block execution support.
+       * Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o.
+       (SIM_EXTRA_DEPS): Add include/opcode/cgen.h.
+       (INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h.
+       (mloop.c): Build pseudo-basic-block version.  Depend on stamp-cpu.
+       * arch.c,arch.h,cpuall.h: Regenerate.
+       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+       * sem-switch.c,sem.c: Regenerate.
+       * m32r-sim.h (M32R_MISC_PROFILE): New members load_regs,
+       load_regs_pending.
+       * m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register.
+       (m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set,
+       m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get,
+       m32rbf_h_accum_set): Likewise.
+       (m32r_model_{init,update}_insn_cycles): Delete.
+       (m32rbf_model_insn_{before,after}): New fns.
+       (m32r_model_record_cti,m32r_model_record_cycles): Delete.
+       (m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete.
+       (m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete.
+       (check_load_stall): New fn.
+       (m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns.
+       (m32rbf_model_test_u_exec): New fn.
+       * mloop.in: Rewrite, use pbb support.
+       * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete.
+       (sim_fetch_register,sim_store_register): Delete.
+       * sim-main.h (CIA_GET,CIA_SET): Fix.
+       (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete.
+       * tconfig.in (WITH_SCACHE_PBB): Define.
+       (WITH_SCACHE_PBB_M32RBF): Define.
+       * traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_....
+       (m32r_trap): Pass pc to sim_engine_halt.
+       * configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384.
+       * configure: Regenerate.
+       * Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o.
+       (mloopx.c): Build pseudo-basic-block version.
+       (semx.o): Delete.
+       (extractx.o): Add.
+       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate.
+       * readx.c: Delete.
+       * semx.c: Delete.
+       * extractx.c: New file.
+       * semx-switch.c: New file.
+       * m32r-sim.h (BRANCH_NEW_PC): Delete.
+       (SEM_SKIP_INSN): New macro.
+       * m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register.
+       (m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set,
+       m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get,
+       m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise.
+       (m32rxf_model_insn_{before,after}): New fns.
+       (m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete.
+       (m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete.
+       (check_load_stall): New fn.
+       (m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns.
+       * mloopx.in: Rewrite, use pbb support.
+       * tconfig.in (WITH_SCACHE_PBB_M32RXF): Define.
+       (WITH_SEM_SWITCH_FULL): Change from 0 to 1.
+
+Wed Sep 16 18:22:27 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r-sim.h ({PSW,CBR,SPI,SPU,BPC,BBPSW,BBPC}_REGNUM): New macros.
+       ({ACC1L,ACC1H}_REGNUM): New macros.
+       (m32r_decode_gdb_ctrl_regnum): Add prototype.
+       * m32r.c (m32r_decode_gdb_ctrl_regnum): New function.
+       (m32r_fetch_register,m32r_store_register): Rewrite.
+       * m32rx.c (m32rx_fetch_register,m32rx_store_register): Rewrite.
+
+Tue Sep 15 15:01:14 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r-sim.h (GET_H_SM): New macro.
+       (UART params): Update to msa2000.
+       * devices.c (device_io_read_buffer): Update to msa2000.
+       * m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
+       (m32rb_h_psw_get,m32rb_h_psw_set): New functions.
+       * arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
+       * m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
+       (m32rx_h_psw_get,m32rx_h_psw_set): New functions.
+       * cpux.c,cpux.h,readx.c,semx.c: Regenerate.
+
+Wed Sep  9 15:29:36 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r-sim.h (m32r_trap): Update prototype.
+       * traps.c (m32r_trap): New arg `pc'.
+       * sem.c,sem-switch.c: Regenerated.
+       * cpux.h,readx.c,semx.c: Regenerated.
+
+Mon Aug  3 12:59:17 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       Rename cpu m32r to m32rb to distinguish from architecture name.
+       * Makefile.in (mloop.c): cpu m32r renamed to m32rb.
+       * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R.
+       * tconfig.in (WANT_CPU_M32RB): Ditto.
+       * m32r.c (WANT_CPU_M32RB): Ditto.
+       (*): m32r_ cpu fns renamed to m32rb_.
+       * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update.
+       * arch.h,arch.c: Regenerate.
+       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+       * sem-switch.c,sem.c: Regenerate.
+
+       * sim-if.c (sim_open): Don't allocate memory on top of any user
+       specified memory.
+       (h_gr_get,h_gr_set): Delete.
+       * sim-main.h (h_gr_get,h_gr_set): Delete.
+       * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with
+       a_m32r_h_gr_[gs]et.
+
+       * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
+
+       * sim-if.c (sim_open): Open opcode table.
+       (sim_close): Close it.
+
+Tue Jul 28 13:06:19 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
+       accept an accumulator choice.
+       * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
+
+Fri Jul 24 13:00:29 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r.c: Include cgen-mem.h.
+       * traps.c (m32r_trap): Tweak for -Wall.
+       * m32rx.c: Include cgen-mem.h.
+       * semx.c: Regenerate, get -Wall cleanups.
+
+Tue Jul 21 16:53:10 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cpu.h,extract.c: Regenerate.  pc-rel calcs done on f_dispNN now.
+       * cpux.h,readx.c,semx.c: Ditto.
+
+Wed Jul  1 16:51:15 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in: cgen_maint -> CGEN_MAINT.
+       * configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
+       * configure: Regenerate.
+       * arch.c,arch.h,cpuall.h: Regenerate.
+       * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+       * sem-switch.c,sem.c: Regenerate.
+       * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate.
+       * semx.c: Regenerate.
+       * mloopx.in (icount): Moved here from genmloop.sh.
+
+Sat Jun 13 07:49:23 1998  Doug Evans  <devans@fallis.cygnus.com>
+
+       * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
+       load_stall,biggest_cycles.
+       * m32r.c (m32r_model_mark_get_h_gr): Update.
+       (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
+       (m32r_model_record_cti,m32r_model_record_cycles): New functions.
+       * mloop.in: Call cycle init/update fns.
+       * model.c: Regenerate.
+       * m32rx.c (m32rx_model_mark_get_h_gr): Update.
+       * mloopx.in: Call cycle init/update fns.
+       * modelx.c: Regenerate.
+
+Wed Jun 10 17:39:29 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * traps.c: New file.  Trap support moved here from sim-if.c.
+       * Makefile.in (SIM_OBJS): Add traps.o
+       * sim-if.c: Don't include targ-vals.h.
+       (sim_engine_illegal_insn): Moved to traps.c
+       * sim-main.h (SIM_CORE_SIGNAL): Define.
+       (m32r_core_signal): Declare.
+       * m32r-sim.h (m32r_trap): Declare.
+
+       * devices.c (device_io_read_buffer): Handle cache purging via MCCR
+       register.
+
+       * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
+       (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
+       (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
+
+       * extract.c,sem-switch.c,sem.c: Regenerate.
+       * cpux.h,readx.c,semx.c: Regenerate.
+
+Wed May 20 00:10:40 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
+       * mloopx.in (extract): Set abuf.addr for proper fill nop counting.
+       (execute): Count parallel insns.
+       * sim-if.c (print_m32r_misc_cpu): Print count.
+       * sim-main.h (M32R_MISC_PROFILE): New member parallel_count.
+
+       Zero bottom two bits of pc in jmp,jl insns.
+       * sem.c,sem-switch.c: Regenerate.
+       * semx.c: Regenerate.
+
+Tue May 19 16:45:33 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-if.c (do_trap): Treat traps 2-15 as hardware does.
+
+Sat May 16 13:04:30 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
+       (sim_sync_stop): New function.
+
+Fri May 15 16:43:27 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in (devices.o): Add dependencies.
+
+       * arch.h,cpu.c,cpu.h,cpuall.h: Regenerate.
+       * sem-switch.c,sem.c: Regenerate.
+       * mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
+       * cpux.c,cpux.h,modelx.c,semx.c: Regenerate.
+       * m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions.
+       * mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
+       Fix pc value passed to TRACE_INSN for second parallel insn.
+
+Thu May  7 02:51:35 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
+
+Wed May  6 14:51:39 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * arch.h,arch.c,cpu.h,cpuall.h: Regenerate, tweaks mostly.
+       * model.c: Ditto.  Reorganize model/mach data.
+       * cpux.h: Ditto.
+       * modelx.c: Ditto.
+
+       * Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency.
+       (m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency.
+       * decode.c,decode.h: Regenerate, introduces IDESC table.
+       * mloop.in (extract16,extract32): Add IDESC support.
+       Update names of semantic handler member names.
+       (execute): Ditto.  Delete call to PROFILE_COUNT_INSN.
+       * decodex.c,decodex.h: Regenerate, introduces IDESC table.
+       * mloopx.in: Add IDESC support.
+       Update names of semantic handler member names.
+       Delete call to PROFILE_COUNT_INSN.
+
+       * sem-switch.c: Regenerate.  Redo computed goto label handling.
+       * sem.c: Regenerate.  Call PROFILE_COUNT_INSN.
+       * readx.c: Regenerate.  Redo computed goto label handling.
+       * semx.c: Regenerate.  Call PROFILE_COUNT_INSN.  Finish profiling
+       support.
+
+       * m32r.c (m32r_fetch_register): Change result type and args to
+       conform to sim_fetch_register interface.
+       (m32r_store_register): Ditto for sim_store_register interface.
+       * m32rx.c (m32rx_fetch_register): Change result type and args to
+       conform to sim_fetch_register interface.
+       (m32rx_store_register): Ditto for sim_store_register interface.
+
+       * sim-if.c (alloc_cpu): Delete.
+       (free_state): Uninstall modules here ...
+       (sim_open): ... and not here.  Call sim_cpu_alloc_all.
+       Set default architecture/model if not specified.
+       (sim_fetch_register,sim_store_register): Rewrite.
+
+       * sim-if.c (h_pc_get,h_pc_set): Delete.  Renamed to sim_pc_[gs]et
+       and moved to common/sim-cpu.c.
+       (sim_create_inferior): Update.
+       (do_trap): Update.
+       * sim-main.h (h_pc_get,h_pc_set): Delete.
+
+       * sim-main.h (sim_cia): Change to USI.
+       (sim_cpu): Move m32r_misc_profile before machine generated part.
+
+Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Apr 28 18:05:53 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * model.c: Rebuilt.
+       * modelx.c: Rebuilt.
+
+Mon Apr 27 15:36:30 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cpu.h,model.c,sem-switch.c,sem.c: Regenerated.  Mostly comment
+       and variable renaming due to macro insn additions.
+       * mloop.in: Update to use CGEN_INSN_NUM.
+       * cpux.h,modelx.c,readx.c,semx.c: Regenerated.
+       * mloopx.in: Update to use CGEN_INSN_NUM.
+
+Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:05 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:26 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Mon Apr 20 16:12:35 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cpu.c,sem.c,sem-switch.c: Regenerate.  From
+       - cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
+       * m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
+       #include cgen-ops.h.
+       * cpux.c,readx.c,semx.c: Regenerate.
+       * m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
+       #include cgen-ops.h.  Delete inclusion of several unnecessary headers.
+       (m32r_h_accums_get): Sign extend top 8 bits.
+
+Tue Apr 14 14:04:07 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * semx.c: Regenerate.
+
+Fri Apr 10 18:22:41 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
+       * cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Mar 14 20:53:36 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * config.in (HAVE_FCNTL_H): Add.
+       * configure: Regenerate.
+       * Makefile.in (SIM_OBJS): Add devices.o.
+       * m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device.
+       (UART_*): Define m32r serial port parameters.
+       (M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define.
+       * m32r.c (device_io_{read,write}_buffer,device_error): Move from here,
+       * devices.c: To here.
+       * sim-if.c: Don't include signal.h,sim-core.h.
+       (sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call.
+       (sim_resume): Call sim_module_{resume,suspend}.
+       * m32r.c (m32r_h_cr_{get,set}): Use register number enums.
+
+       * tconfig.in (SIM_HANDLES_LMA): Define.
+
+       * sim-if.c (do_trap): Result is new pc.
+       Handle --environment=operating.
+       * sem-switch.c,sem.c: Regenerate.
+       * semx.c: Regenerate.
+
+Wed Mar 11 14:07:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (syscall_read_mem, syscall_write_mem): Replace
+       sim_core_*_map with read_map, write_map, exec_map resp.
+
+Wed Mar  4 11:36:51 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
+       (arch.o): Delete cpu-opc.h dependency.
+       (decode.o,model.o): Likewise.
+       (decodex.o,modelx.o): Likewise.
+
+       * cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
+       * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
+
+Thu Feb 26 18:38:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Initialize PROFILE_INFO_CPU_CALLBACK.
+
+       * sim-if.c (sim_info): Delete.
+
+Fri Feb 27 10:14:29 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * mloopx.in: Fix handling of branch in parallel with another insn.
+       * semx.c: Regenerate.
+
+Mon Feb 23 13:30:46 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-main.h: #include symcat.h.
+       * m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg.
+       (NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
+       * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
+       * sem.c,sem-switch.c: Regenerate.
+       * m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
+       * mloopx.in: Rewrite.
+       * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
+
+Mon Feb 23 12:27:52 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
+       in the backup PC register.
+       * m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
+       in the backup PC register.
+
+Thu Feb 19 16:39:35 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r.c (do_lock,do_unlock): Delete.
+       * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
+       * sem.c,sem-switch.c: Regenerate.
+       * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
+
+Tue Feb 17 18:18:10 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in (M32R_OBJS): Add cpu.o.
+       (cpu.o): Add rule for.
+       (NL_TARGET): Define.
+       * configure.in: Add AC_CHECK_PROG(SCHEME).
+       * cpu.c: New file.
+       * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+       * sem-switch.c,sem.c: Regenerate.
+       * mloop.in (execute): Update call to semantic fn.
+       (M32RX_OBJS): Add cpux.o.
+       (cpux.o): Add rule for.
+       cpux.c: New file.
+       * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
+       * m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
+       (m32rx_h_cr_{get,set}): New functions.
+       (m32rx_h_accums_{get,set}): New functions.
+       * mloopx.in: Rewrite main loop.
+
+       * m32r.c (do_trap): Move from here.
+       * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
+       (sim_create_inferior): Use h_pc_set.
+       (h_pc_{get,set}): New functions.
+       (h_gr_{get,set}): New functions.
+       (syscall_{read,write}_mem): New functions.
+       * sim-main.h (h_{gr,pc}_{get,set}): Declare.
+
+Tue Feb 17 12:44:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+       (sim_create_inferior): Pass 4 sim_store_register.
+
+Wed Feb 11 19:53:48 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.
+
+       * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
+       * cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.
+
+Mon Feb  9 19:41:54 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * decode.c, sem.c: Regenerate.
+       * cpux.h, decodex.c, readx.c, semx.c: Regenerate.
+       * m32rx.c (m32rx_h_accums_set): New function.
+       (m32rx_model_mark_[gs]et_h_gr): New function.
+       * mloopx.in: Rewrite.
+       * Makefile.in (mloopx.o): Build with -parallel.
+       * sim-main.h (_sim_cpu): Delete member `par_exec'.
+       * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx.
+
+Thu Feb  5 12:44:31 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in (m32r.o): Depend on cpu.h
+       (extract.o): Pass -DSCACHE_P.
+       * mloop.in (extract{16,32}): Update call to m32r_decode.
+       * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate.
+       * extract.c,model.c,sem-switch.c,sem.c: Regenerate.
+       * sim-main.h: #include "ansidecl.h".
+       Don't include cpu-opc.h, done by arch.h.
+       * Makefile.in (M32RX_OBJS): Build m32rx support now.
+       (m32rx.o): New rule.
+       * m32r-sim.h (m32rx_h_cr_[gs]et): Define.
+       * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC.
+       (m32rx_h_accums_get): New function.
+       * mloopx.in: Update call to m32rx_decode.  Rewrite exec loop.
+       * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Jan 29 11:22:00 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
+       * arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h.
+       * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
+
+Tue Jan 20 14:16:02 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * cpux.h: Fix duplicate definition of h_accums field for
+       fmt_53_sadd structure.
+
+Tue Jan 20 01:42:17 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Makefile.in: Add m32rx objs, and rules to build them.
+       * cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files.
+       * m32rx.c, mloopx.in: New files.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 14:13:40 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * arch.c, arch.h, cpuall.h: New files.
+       * arch-defs.h: Deleted.
+       * mloop.in: Renamed from mainloop.in.
+       * Makefile.in: Update.
+       * sem-ops.h: Deleted.
+       * mem-ops.h: Deleted.
+       (arch): Renamed from CPU.
+       * cpu.h: New file.
+       * decode.c: Redone.
+       * decode.h: Redone.
+       * extract.c: Redone.
+       * model.c: Redone.
+       * sem-switch.c: Redone.
+       * sem.c: Renamed from semantics.c, and redone.
+       * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update.
+       (GETTWI,SETTWI,BRANCH_NEW_PC): Define.
+       * m32r.c (WANT_CPU,WANT_CPU_M32R): Define.
+       (m32r_{fetch,store}_register): New functions.
+       (model_mark_{get,set}_h_gr): Prefix with m32r_.
+       (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_.
+       (h_cr_{get,set}): Prefix with m32r_.
+       (do_trap): Fetch state from current_cpu, not current_state.
+       Call sim_engine_halt instead of engine_halt.
+       * sim-if.c (alloc_cpu): New function.
+       (free_state): New function.
+       (sim_open): Call sim_state_alloc, and malloc space for selected cpu
+       type.  Call sim_analyze_program.
+       (sim_create_inferior): Handle selected cpu type when setting PC.
+       (sim_resume): Handle m32rx.
+       (sim_stop_reason): Deleted.
+       (print_m32r_misc_cpu): Update.
+       (sim_{fetch,store}_register): Handle m32rx.
+       (sim_{read,write}): Deleted.
+       (sim_engine_illegal_insn): New function.
+       * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h.
+       Include arch.h,cpuall.h.  Include cpu.h,decode.h if m32r.
+       Include cpux.h,decodex.h if m32rx.
+       (_sim_cpu): Include member appropriate cpu_data member for the cpu.
+       (M32R_MISC_PROFILE): Renamed from M32R_PROFILE.
+       (sim_state): Delete members core,events,halt_jmp_buf.
+       Change `cpu' member to be a pointer to the cpu's struct, rather than
+       record inside the state struct.
+       * tconfig.in (WITH_DEVICES): Define here.
+       (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.
+
+Fri Jan 16 12:16:56 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * arch-defs.h (INSN_NAME): Fix typo.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * m32r-sim.h (MSPR_ADDR): New macro.
+       (m32r_mspr_device): Declare.
+       (struct _device): Define.
+       * m32r.c (m32r_mspr_device): New global.
+       (device_{io_{read,write}_buffer,error}): New functions.
+       * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
+       * sim-if.c: Delete redundant inclusion of cpu-sim.h.
+       (sim_open): Attach device to handle MSPR register.
+       * sim-main.h (WITH_DEVICES): Define as 1.
+       Include cpu-sim.h.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Dec  3 18:08:44 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
+       * configure: Regenerated.
+
+Wed Nov 19 12:17:08 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
+       * sim-if.c (sim_open): Call sim_config.
+       (sim_stop_reason): Update call to sim_signal_to_host.
+
+Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
+
+Fri Oct 31 18:46:46 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Delete dead call to sim_core_attach.
+
+Mon Oct 27 12:43:54 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sem-ops.h (U{DIV,MOD}[BHSD]I): Use unsigned division.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_SCACHE,
+       SIM_DEFAULT_MODEL): Delete, moved to common.
+       (SIM_EXTRA_CFLAGS): Update.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (sim_link_links): Configure non-strict memory
+       alignment.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 17 17:44:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Allocate memory under sim-memopt module
+       using sim_do_commandf.
+       (sim_open): Set magic-number at the start.
+       (sim_do_command): Implement.
+
+       * sim-main.h (sim_engine_halt): Map onto engine_halt.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep  5 10:21:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
+
+Thu Sep  4 10:30:02 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Pass zero modulo arg to sim_core_attach.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:39:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+       (sim_load): Delete, use sim-hload.c instead.
+
+       * Makefile.in (SIM_OBJS): Add sim-hload.o module.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 15:54:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Add ABFD argument.
+
+Tue Jul 22 10:16:16 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim-main.h (M32R_DEFAULT_MEM_SIZE): New macro.
+       * sim-if.c (sim_open): Use it.
+
+Wed Jun  4 12:48:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (WITH_ENGINE): Disable the common engine for now.
+
+Tue May 27 14:15:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_read): Pass NULL cpu to sim_core_read_buffer.
+       (sim_write): Ditto for write.
+
+       * m32r.c (do_trap): Ditto for read/write.
+
+Tue May 20 10:18:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Add callback argument.
+       (sim_set_callbacks, sim_callback): Delete.
+       (sim_load): Set STATE_LOADED_P.
+
+Mon May 19 12:55:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Link in sim-abort.o as a stub for
+       sim_engine_abort.
+
+Mon May  5 12:45:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-if.c (sim_open): Update to reflect changes to core in
+       ../common/.
+       * mem-ops.h (GETMEMQI, GETMEMHI, GETMEMSI, GETMEMDI, GETMEMUQI,
+       GETMEMUHI, GETMEMUSI, GETMEMUDI, SETMEMQI, SETMEMHI, SETMEMSI,
+       SETMEMDI, SETMEMUQI, SETMEMUHI, SETMEMUSI, SETMEMUDI): Ditto.
+
+Sat May  3 08:38:55 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * decode.c (decode): Add computed goto support.
+
+Fri May  2 16:30:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mem-ops.h: Stub additional core read/write arguments.
+
+       * sim-main.h: Declare sim_cia - type SI.
+       (struct _sim_cpu): Move base type to end per common.
+       (struct _sim_state): Ditto.
+
+Thu May  1 11:15:34 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       Merge from branch into devo.  CGEN generic files moved to common
+       directory.  K&R C support is no longer provided.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Apr 12 12:57:33 1997  Felix Lee  <flee@yin.cygnus.com>
+
+       * Makefile.in, seman-cache.c: new file, for wingdb build.
+       * sim-alloca.h: fixed for wingdb.
+
+Mon Apr  7 13:33:29 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * decode.c (*): m32r_cgen_insn_table renamed to ..._entries.
+       * mainloop.in: Use CGEN_INSN_INDEX instead of CGEN_INSN_TYPE.
+       * simdefs.h (INSN_NAME): m32r_cgen_insn_table renamed to ..._entries.
+
+Fri Apr  4 19:23:12 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * cgen-utils.in (ex_illegal): Fill in abuf->length, abuf->addr.
+       (exc_illegal): Likewise.
+       * decode.c (decode_vars): Add decode_illegal.
+       * genmloop.sh: #include "cpu-opc.h".
+       * sem-switch.c (case_INSN_ILLEGAL): Declare.
+       (labels): Add case_INSN_ILLEGAL.
+       (SWITCH): Add INSN_ILLEGAL case.
+
+Wed Mar 26 12:34:00 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * model.c (model_module): Use 0 not NULL.
+
+       * genmloop.sh (sim_main_loop): Handle k&r c.
+
+       * sem-switch.c: Regenerate to get k&r c support.
+       * semantics.c: Likewise.
+
+       * m32r.c (ADD_{OV,CA}_SI,SUB_{OV,CA}_SI): Renamed to {ADD,SUB}[OC]FSI.
+       (ADDCSI,SUBCSI): New functions.
+       * sem-switch.c (addv,addv3,addx,subv,subx): Fix carry bit handling.
+       * semantics.c (addv,addv3,addx,subv,subx): Fix carry bit handling.
+
+       * simcache.c (simcache_{install,init,uninstall}): Use
+       DECLARE_MODULE_INSTALL_HANDLER.
+       (simcache_option_handler): Use DECLARE_OPTION_HANDLER.
+
+       * utils.c: #include "semops.h".
+
+Tue Mar 11 14:30:26 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * profile.c (profile_print_simcache): Fix thinko in printf text.
+
+       * simdefs.h (struct argbuf): Add member to fmt_20 so it's not empty.
+
+Mon Mar 10 11:06:29 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * m32r.c (h_cr_get): Rewrite.
+       (h_cr_set): Rewrite.
+       * sem-switch.c (rte): bcarry renamed to bcond.
+       * semantics.c (rte): Likewise.
+       * simdefs.h (CPU_STATE): Likewise.
+
+       * config.in (HAVE_SYS_TIME_H): Add.
+       * configure.in: Check for sys/time.h.
+       * configure: Regenerated.
+       * utils.c: Include sys/time.h if present.
+
+       * common.c (sim_parse_args): Account for NULL terminating entry
+       in long_options table.
+
+       * genmloop.sh (RUN_FAST_P): Don't run fast if tracing.
+       Always use cache if configured in.
+       * mainloop.in (do_extract_insn{16,32}): New functions.
+       (normal,fast): Call them.  Handle starting in left slot.
+       * simcache.c (simcache_option_handler): Disallow -c0.
+       * sem-switch.c (TRACE_RESULT): Redefine so no tracing.
+
+       * profile.c (profile_print_simcache): Fix percentage calc.
+
+       * Makefile.in (INCLUDE_DEPS): Delete simcommon.h.
+
+Sun Mar  9 20:42:17 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * Makefile.in (COMMON_{PRE,POST}_CONFIG_FRAG): Add delimiters for.
+       (M32R_INCLUDE_DEPS): Use cpu-sim.h instead of m32r-sim.h.
+       Add mod-list.h.
+       (mrun.o): Don't depend on M32R_INCLUDE_DEPS.
+       (sim-if.o,m32r.o,utils.o): Likewise.
+       (common.o): Don't explicitly depend on mod-list.h.
+       (mainloop.c): Pass CPU to genmloop.sh.
+       (stamp-modules): Depend on configure.
+       (decode.o): Depend on decode,h, memops.h, semops.h, cpu-opc.h.
+       (extract.o): Depend on decode.h, memops.h, semops.h.
+       (semantics.o,seman-cache.o): Likewise.
+       (model.o,ops.o): Depend on memops.h.
+       (extr-cache.o): Disable building for the moment.
+
+       * simcommon.h: Delete, move contents into cgen-sim.h.
+       * cgen-sim.h: Don't include ansidecl.h,bfd.h,simfns.h.
+       (UINT,CGEN_CAT3): Define.
+       ({extract,semantic}_fn_t): Renamed to {EXTRACT,SEMANTIC}_FN.
+       (decode_t): Renamed to DECODE.
+
+       * simfns.h: Delete, contents moved to memops.h,semops.h.
+       * memops.h: New file.
+       * semops.h: New file.
+       * decode.h: Renamed from semantics.h.
+
+       * sim-argv.h: New file.
+       * Makefile.in (memory.o,trace.o,profile.o,simcache.o,common): Add
+       dependency of sim-argv.h.
+
+       * sim-alloca.h: New file.
+       * common.c: Include it.
+       * Makefile.in (common.o): Add dependency.
+
+       * config.in (HAVE_TIME_H,HAVE_SYS_RESOURCE_H): Add.
+       (HAVE_GETRUSAGE,HAVE_TIME): Add.
+       * configure.in: sinclude ../common/aclocal.m4.
+       Check for headers time.h, sys/resource.h.
+       Check for functions time, getrusage.
+       (sim_link_{files,links}): Add link cpu-opc.h.
+       (sim_profile): Add simcache.
+       (SIM_AC_PROFILE): Add simcache, profile.o.
+       (simcache module): Delete extr-cache.o for now.
+       (--enable-sim-cache): Allow specification of default cache size.
+       * configure: Regenerated.
+
+       * decode.c: #include cgen-sim.h,memops.h,semops.h,decode.h,
+       cpu-sim.h,cpu-opc.h.  Don't include m32r-sim.h.
+       Regenerate.
+
+       * extract.c: #include cgen-sim.h,decode.h,cpu-sim.h.
+       Don't include m32r-sim.h.
+       (*): Define/Undef FLD macro.  Use it to reference ARGBUF.
+       Simplify profiling test with PROFILE_MODEL_P.
+       (mvfc,mvtc): Fix access of control registers.
+       * semantic.c: #include cgen-sim.h,memops.h,semops.h,decode.h,cpu-sim.h.
+       Don't include m32r-sim.h.
+       (*): Define/Undef FLD macro.  Use it to reference ARGBUF.
+       Simplify profiling test with PROFILE_MODEL_P.
+       (mvfc,mvtc): Fix access of control registers.
+
+       * sem-switch.c: New file, for GCC computed goto support.
+
+       * genmloop.sh: Add #include's of bfd.h,callback.h,cgen-sim.h,
+       memops.h,semops.h,trace.h,cpu-sim.h.
+       (RUN_FAST_P): Change default to run fast if cache size > 0
+       and not profiling.
+       (sim_main_loop): Record execution time.
+       Record instruction count even in fast mode.
+       (init): Allow cpu to provide init code in mainloop.in.
+       (FAST): Define as 0 or 1 depending on fast mode.
+       * mainloop.in (normal): Combine with fast case.
+       Add support for GCC computed gotos.  Count simcache hits/misses.
+       (init): Initialize "switch" labels if GNUC.
+
+       * cgen-utils.in: Don't include opcode/cgen.h.
+       Include cgen-sim.h, cpu-opc.h.
+       * common.c: Don't include simcommon.h,mod-list.h.  Include cgen-sim.h.
+       * m32r-sim.h: Don't include mod-list.h
+       (RUN_FAST_P): Delete.
+       * m32r.c: Don't include profile.h.  #include ansidecl.h,cgen-sim.h,
+       semops.h,memory.h,trace.h
+       (h_cr_get,h_cr_set): New functions.
+       * memory.c: #include cgen-sim.h,callback.h.
+       * ops.c: Don't include profile.h,m32r-sim.h.
+       Include cgen-sim.h,memops.h,cpu-sim.h.
+       (MEMOPS_DEFINE_INLINE): Renamed from SIMFNS_DEFINE_INLINE.
+       * trace.c: Include cgen-sim.h,cpu-opc.h.
+       * trace.h (trace_insn_{init,fini}): Declare.
+
+       * model.c: Don't include signal.h,stdlib.h,m32r-sim.h.
+       Include cgen-sim.h,cpu-sim.h,cpu-opc.h.
+       Regenerate to get new insn aliases.
+
+       * mrun.c: #include "ansidecl.h".
+       (STATE): Use struct sim_state instead.
+
+       * profile.c: Surround #include <stdlib.h> with HAVE_STDLIB_H.
+       Don't include simcommon.h.  Include cgen-sim.h,cpu-opc.h.
+       (PROFILE_{READ,WRITE}_MASK): Replace with PROFILE_MEMORY_MASK.
+       (profile_print_simcache): New function.
+       (profile_print): Call it.  Print simulator speed stats.
+       * profile.h (PROFILE_{READ,WRITE}_MASK): Replace with
+       PROFILE_MEMORY_MASK.
+       (MODULE_PROFILE_SIMCACHE_P): Define.
+       (PROFILE_SIMCACHE_MASK): Define.
+       (PROFILE_COUNT): New members total_insn_count,exec_time.
+       New members simcache_hits,simcache_misses.
+       (PROFILE_SIMCACHE_{HITS,MISSES}): Define.
+       (PROFILE_MODEL_P): New macro.
+       (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): New macros.
+
+       * sim-if.c: Surround #include <stdlib.h> with HAVE_STDLIB_H.
+       Don't include simcommon.h,m32r-sim.h.  Include cgen-sim.h,cpu-sim.h.
+       (sim_resume): Use USING_SIMCACHE_P instead of RUN_FAST_P.
+       (sim_info): Pass verbose to profile_print.
+
+       * simcache.c: Include cgen-sim.h,callback.h.
+       (USING_SIMCACHE_P): Replace with SIMCACHE_P.
+       (simcache_option_handler): Ensure cache size at least 2.
+       Allow config time specification of default cache size.
+       * simcache.h (struct simcache): Support GCC computed gotos.
+       (SIMCACHE_DEFAULT_CACHE_SIZE): USe CONFIG_SIM_CACHE_SIZE if defined.
+       (USING_SIMCACHE_P): New macro.
+
+       * simdefs.h: Don't include m32r-opc.h.
+       (CGEN_MAX_SIM_INSNS): Define.
+       (CPU_STATE): Regenerate.
+       (ARGBUF): Regenerate.
+       (extract,semantic handler decls): Delete, moved to decode.h.
+
+       * tconfig.in: Don't include cgen-sim.h,m32r-sim.h.
+       (USE_SEM_SWITCH): Define.
+
+       * utils.c: Include bfd.h,time.h,sys/resource.h.
+       (sim_time_get,sim_time_elapsed): New functions.
+       * cgen-sim.h (SIM_TIME,sim_time_get,sim_time_elapsed): Declare.
+
+Fri Jan 31 20:25:06 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (AC_CHECK_HEADERS): Handle i386-windows.
+       * configure: Regenerated.
+       * model.c: #include <stdlib.h>.
+       * simcache.c: #include "libiberty.h".
+       * simcommon.h (alloca): Handle i386-windows.
+
+       * common.c: #include libiberty.h.
+       (sim_signal_to_host): Return 5 if wingdb.
+
+Mon Jan 27 15:22:49 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       * configure.in (sim_cache): Enabled by default now, pass default
+       cache size to --enable-sim-cache.
+       * simcache.c (simcache_option_handler): Allow -c 0.
+
+       * simdefs.h,simfns.h: Regenerate
+       * decode.c,extract.c,model.c,ops.c,semantics.c: Regenerate.
+
+Tue Jan 21 16:21:01 1997  Doug Evans  <dje@seba.cygnus.com>
+
+       Add model profiling support.
+       * configure.in: Handle --enable-sim-model.
+       (sim_profile): Add model.
+       * Makefile.in (model.o): Add rule.
+       * cgen-sim.h (UNIT,INSN_TIMING,MACH,MODEL): New types.
+       * extract.c (*): Add model profiling support.
+       * m32r.c (model_mark_{get,set}_h_gr): New functions.
+       (model_mark_{busy,unbusy}_reg): New functions.
+       * profile.c (profile_option_handler): Recognize --profile model.
+       (profile_print_model): New function.
+       (profile_print): Call it.
+       * profile.h (MODULE_profile_model,MODULE_PROFILE_MODEL_P): Define.
+       (PROFILE_MODEL_MASK,PROFILE_LABEL_WIDTH): Define.
+       (PROFILE_COUNT): New members cycle_count,cti_stall_count,
+       load_stall_count,taken_count,untaken_count.
+       * semantics.c (*): Add model profiling support.
+       * simcommon.h (struct sim_state): New members mach,model.
+       * simdefs.h (CPU_PROFILE,MODEL_TYPE,UNIT_TYPE): New type.
+       (MAX_MODELS,MAX_UNITS): Define.
+       * tconfig.in (STATE_EXTRA_MEMBERS): Add cpu_profile.
+
+       * Makefile.in (INCLUDE_DEPS): Add $(SIM_MODULES_HDRS).
+       (stamp-modules): Depend on genmodlist.sh.
+       * common.c (standard_options): Add --max-insns.
+       (copy_argv): New function.
+       * tconfig.in (SIM_HAVE_MAX_INSNS): Define.
+       * genmloop.sh: Allow mainloop.in to contain support code.
+       * mainloop.in: Move do_insn16,do_insn32 here.
+       * m32r.c (do_trap): Handle SYS_argvlen,SYS_argv,SYS_read.
+       * sim-if.c (sim_open): Don't set max insn count.
+       (sim_create_inferior): Save argv,envp.
+       * simcommon.h (struct sim_state): New members argv,envp.
+       * simdefs.h ([GS]ETTWI,[GS]ETTUWI,[GS]ETTAI): Define.
+       ([GS]ETMEMWI,[GS]ETMEMUWI,[GS]ETMEMAI): Define.
+       (ARGBUF): New members h_gr_get, h_gr_set.
+       * trace.c (trace_insn_init,trace_insn_fini): New functions.
+       (trace_printf): Print to buffer, output later by trace_insn_fini.
+       * trace.h (TRACE_INSN_{INIT,FINI}): Define.
+
+Thu Dec 19 16:01:59 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (AC_FUNC_ALLOCA): Call.
+       * configure: Regenerate.
+       * config.h (HAVE_ALLOCA_H): Add.
+       * simcommon.h: Add alloca support.
+       (DECLARE_MODULE_INSTALL_HANDLER): Define.
+       (DECLARE_OPTION_HANDLER): Define.
+       (MEM_FN): Declare using PARAMS.
+       (DECLARE_MEM_FN): Define.
+       * trace.c (trace_result): Tweak for !STDC.
+       * cgen-sim.h (UDI_FN_SUPPORT): Define if ! HAVE_LONGLONG.
+       * cgen-utils.in (disasm_sprintf): Fix va_arg call in !STDC case.
+       * common.c (sim_print_help_fn): Use PARAMS.
+       (standard_option_handler): Fix decl for !STDC systems.
+       * memory.c: #include <stdio.h>
+       (mem_flat_{install,init,uninstall}): Fix decl for !STDC systems.
+       (mem_flat_{read,write},mem_flat_option_handler): Likewise.
+       * profile.c (profile_install): Likewise.
+       (profile_option_handler): Likewise.
+
+Thu Dec 19 11:06:19 1996  Doug Evans  <dje@seba.cygnus.com>
+
+       * semantics.c (*): Don't suffix big unsigned numbers with "U".
+       Prefix them with 0x instead.
+
+       * cgen-sim.h (DI_FN_SUPPORT): Define if ! HAVE_LONGLONG.
+       (SLADI,SRADI,CONVSIDI,CONVDISI): Delete, moved to simfns.h.
+       * semantics.c (machi,maclo,macwhi,macwlo,mulhi,mullo): Implement.
+       (mulwhi,mulwlo,mvtachi,mvtaclo,rac,rach): Implement.
+       * simfns.h: Add decls for functional DI,UDI,SF,DF,XF,TF support.
+       Add support for boolean and/or.
+       * utils.c: Redo naming of DI functional support.
+       (ANDDI,ORDI,ADDDI,MULDI,GEDI,LEDI,CONVHIDI): New functions.
+
+Tue Dec 17 12:57:48 1996  Doug Evans  <dje@seba.cygnus.com>
+
+       * Directory created.
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
deleted file mode 100644 (file)
index c79a4e7..0000000
+++ /dev/null
@@ -1,1267 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Add UNUSED to all STATIC_INLINE functions.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11eepr.c: Include sim-signal.h.
-       * interrupts.c, m68hc11_sim.c: Likewise.
-       * sim-main.h: Delete sim-signal.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Delete sim/callback.h include.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c,
-       dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c,
-       interrupts.c, m68hc11_sim.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Update include path.
-
-2021-05-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes.
-       Merge two sprintf buf calls.
-
-2021-05-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_hw_configure): Change %lx to %x in format strings.
-       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
-       * configure: Regenerate.
-
-2021-05-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * emulos.c: Include errno.h & stdio.h.
-       (emul_write): Print a warning when the write fails.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int.
-       * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (INCLUDE): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (interp.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o): New rule.
-       (gencode): Call LINK_FOR_BUILD.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * m68hc11_sim.c (cpu_set_sp): Add static markings.
-       (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg,
-       cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * gencode.c: Include libiberty.h.
-       (TABLE_SIZE): Delete.
-       (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE.
-       (gen_interpreter): Likewise.
-       * interrupts.c (TableSize): Delete.
-       (interrupts_update_pending): Change TableSize to ARRAY_SIZE.
-
-2016-08-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (inline): Delete define.
-       (phys_to_virt): Change inline to STATIC_INLINE.
-       (memory_read8, memory_write8, memory_read16, memory_write16,
-       cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16,
-       cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16,
-       cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16,
-       cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8,
-       cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8,
-       cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise.
-
-2016-08-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_get_bank_parameters): Delete abfd arg.
-       Replace all symbol lookup code with calls to trace_sym_value.
-       (sim_prepare_for_program): Update sim_get_bank_parameters call.
-
-2016-08-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style.
-       * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise.
-       * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise.
-       * emulos.c (emul_bench): Likewise.
-       (emul_write): Likewise.  Also rename state to cpu.
-       (emul_os): Rename proc to cpu.
-       * gencode.c: Rename proc to cpu.
-       * interrupts.c (interrupts_initialize): Likewise.
-       * interrupts.h (interrupts): Adjust cpu type.
-       (interrupts_initialize): Likewise.
-       * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style.
-       (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg,
-       cpu_get_indexed_operand_addr, cpu_get_indexed_operand8,
-       cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise.
-       (cpu_ccr_update_tst8): Rename proc to cpu.
-       * sim-main.h: Rename PROC and proc to cpu.
-
-2016-08-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with
-       return value of hw_malloc.
-       * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static.
-       (m68hc11sio_tx_poll): Likewise.
-       * dv-m68hc11spi.c (m68hc11spi_clock): Likewise.
-       * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise.
-       * dv-nvram.c (attach_nvram_regs): Drop cast with
-       return value of hw_malloc.
-       * emulos.c (emul_bench): Mark static.
-       (emul_write): Likewise.
-       (emul_exit): Likewise.
-       * gencode.c: Include stdio.h.
-       (gen_function_entry): Unify two print lines.
-       (cmp_opcode): Mark args const.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_state): Delete devices member.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * imterp.c (sim_open): Delete current_alignment and
-       current_target_byte_order assignments.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (sim_store_register): Rename to ...
-       (m68hc11_reg_store): ... this.  Delete local cpu var.
-       (sim_fetch_register): Rename to ...
-       (m68hc11_reg_fetch): ... this.  Delete local cpu var.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_WATCHPOINTS): Delete.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_MODULO_MEMORY): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-load.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (interrupt_names): Delete.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-resume.o
-       * interp.c (has_stepped, sim_resume): Delete.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (INLINE): Delete define.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * gencode.c (gen_fetch_operands): Remove unreachable code.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
-       * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
-       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-       (sim_pc_get): Delete.
-       * sim-main.h (SIM_CPU): Define.
-       (STATE_CPU): Drop &.
-       (struct sim_state): Change cpu to an array of pointers.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * m68hc11_sim.c (cpu_get_indexed_operand_addr,
-       cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict
-       variable to restricted.
-       * sim-main.h (cpu_get_indexed_operand_addr): Likewise.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_pc_get): New function.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
-       sim_size, sim_trace): Delete.
-       * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac (m68hc11_extra_objs): Delete.
-       * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
-       (SIM_EXTRA_OBJS): Delete.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Use $SIM_DV_SOCKSER_O.
-       * configure: Regenerated.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Delete.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-06-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * interp.c (sim_prepare_for_program): Use bfd_get_section_size
-       instead of bfd_get_section_size_before_reloc.
-
-2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
-       control the translation.
-       (m68hc11tim_print_timer): Update cycle_to_string conversion.
-       (m68hc11tim_timer_event): Fix handling of output
-       compare register with its interrupts.
-       (m68hc11tim_io_write_buffer): Check output compare
-       after setting M6811_TMSK1.
-       (m68hc11tim_io_read_buffer): Fix compilation warning.
-       * dv-m68hc11.c (m68hc11_option_handler): Likewise.
-       * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
-       * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
-       * interrupts.c (interrupts_info): Likewise.
-       (interrupts_reset): Recognize bootstrap mode.
-       * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
-       (_sim_cpu): Add cpu_start_mode.
-       (cycle_to_string): Add flags member.
-       * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
-       (cpu_options): Declare new option bootstrap.
-       (cpu_option_handler): Handle it.
-       (cpu_info): Update call to cycle_to_string.
-
-2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * sim-main.h (phys_to_virt): Use memory bank parameters to translate
-       the physical address in virtual address.
-       (struct _sim_cpu): Add memory bank members.
-       * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
-       * interp.c (sim_hw_configure): Create memory bank according to memory
-       bank parameters.
-       (sim_get_bank_parameters): New function to obtain memory bank config
-       from the symbol table.
-       (sim_prepare_for_program): Call it to obtain the memory bank parameters.
-       (sim_open): Call sim_prepare_for_program.
-       * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
-       to check if address is within bank window.
-       (m68hc11cpu_io_read_buffer): Likewise.
-       (attach_m68hc11_regs): Map the memory bank according to memory bank
-       parameters.
-
-2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
-
-       * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
-
-2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
-           Gary Piercey <gpiercey@northstar-technical.com>
-
-       * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
-       * sim-main.h (print_io_word): Declare.
-       * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
-       (tflg1_desc): Likewise for TFLG1.
-       (m68hc11tim_info): Print input and output compare registers
-
-2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
-       to 32 to support memory bank switching; temporarily use 32-bit for
-       WORD_BITSIZE to avoid a bug in sim-common.
-
-2003-03-01  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * interp.c (sim_fetch_register): Only store a single byte for
-       1 byte registers.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_prepare_for_program, sim_open)
-       (sim_create_inferior): Rename _bfd to bfd.
-
-2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
-
-2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
-
-       * interp.c (sim_prepare_for_program): Look up the image for the
-       reset vector and set cpu_use_elf_start to 1 if not found.
-       (sim_open): Do not set cpu_use_elf_start.
-
-2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
-
-       * interp.c (sim_hw_configure): Return 1 for success.
-       (sim_prepare_for_program): Use the sim_hw_configure exit code to
-       return SIM_RC_FAIL.
-
-2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
-       bank window to some virtual address to read from extended memory.
-       (m68hc11cpu_io_write_buffer): Likewise for writing.
-       (attach_m68hc11_regs): When use_bank property is defined, attach
-       to the 68HC12 16K memory bank window.
-       * interp.c (sim_hw_configure): Create memory region for banked
-       memory.
-
-2002-08-13  Stephane Carrez  <Stephane.Carrez@nerim.fr>
-
-       * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
-       * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
-       (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
-
-2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
-
-       * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
-       when IO mapping changed, not when internal RAM mapping is changed.
-
-2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
-
-       * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
-       * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
-       (m6811_regs): Add page register.
-       (cpu_set_page, cpu_get_page): New macros.
-       (phys_to_virt): New function.
-       (cpu_get_indexed_operand_addr, cpu_return): Declare.
-       * gencode.c: Identify indirect addressing mode for call and fix daa.
-       (gen_function_entry): New param to tell if src8/dst8 locals are
-       necessary.
-       (gen_interpreter): Use it to avoid generation of unused variables.
-       * interp.c (sim_fetch_register): Allow to read page register; page
-       register, A, B and CCR are only 1 byte wide.
-       (sim_store_register): Likewise for writing.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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.
-       (cpu_move16): Likewise.
-       (sim_memory_error): Use sim_io_printf.
-       (cpu_option_handler): Fix compilation warning.
-       * interp.c (sim_hw_configure): Fix compilation warning;
-       remove m68hc12sio@2 device.
-       (sim_open): Likewise.
-       * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
-       flags when reset.
-       (cycle_to_string): Improve convertion of cpu cycle number.
-       (m68hc11tim_info): Print info about PACNT.
-       (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
-       TCTL1 and TCTL2 registers.
-       * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
-
-2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interp.c (sim_hw_configure): Save the HW cpu pointer in the
-       cpu struct.
-       (sim_hw_configure): Connect the capture input/output events.
-       * sim-main.h (_sim_cpu): New member hw_cpu.
-       (m68hc11cpu_set_oscillator): Declare.
-       (m68hc11cpu_clear_oscillator): Declare.
-       (m68hc11cpu_set_port): Declare.
-       * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
-       (m68hc11cpu_ports): New input ports and output ports to reflect
-       the HC11 IOs.
-       (m68hc11_delete): Cleanup any running oscillator.
-       (attach_m68hc11_regs): Create the input oscillators.
-       (make_oscillator): New function.
-       (find_oscillator): New function.
-       (oscillator_handler): New function.
-       (reset_oscillators): New function.
-       (m68hc11cpu_port_event): Handle the new input ports.
-       (m68hc11cpu_set_oscillator): New function.
-       (m68hc11cpu_clear_oscillator): New function.
-       (get_frequency): New function.
-       (m68hc11_option_handler): New function.
-       (m68hc11cpu_set_port): New function.
-       (m68hc11cpu_io_write): Post the port output events.
-       * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
-       the output port value.
-       * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
-       by latching the TCNT value in the register.
-
-2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * sim-main.h (cpu_frame, cpu_frame_list): Remove.
-       (cpu_frame_reg, cpu_print_frame): Remove.
-       (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
-       (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
-       (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
-       (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
-       * m68hc11_sim.c (cpu_find_frame): Remove.
-       (cpu_create_frame_list): Remove.
-       (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
-       (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
-       (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
-       (cpu_update_frame): Likewise.
-       (cpu_return): Likewise.
-       (cpu_reset): Likewise.
-       (cpu_initialize): Likewise.
-       * interp.c (sim_do_command): Remove call to cpu_print_frame.
-
-2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interrupts.c (interrupts_reset): New function, setup interrupt
-       vector address according to cpu mode.
-       (interrupts_initialize): Move reset portion to the above.
-       (interrupt_names): New table to give a name to interrupts.
-       (idefs): Handle pulse accumulator interrupts.
-       (interrupts_info): Print the interrupt history.
-       (interrupt_option_handler): New function.
-       (interrupt_options): New table of options.
-       (interrupts_update_pending): Keep track of when interrupts are
-       raised and implement breakpoint-on-raise-interrupt.
-       (interrupts_process): Keep track of when interrupts are taken
-       and implement breakpoint-on-interrupt.
-       * interrupts.h (struct interrupt_history): Define.
-       (struct interrupt): Keep track of the interrupt history.
-       (interrupts_reset): Declare.
-       (interrupts_initialize): Update prototype.
-       * m68hc11_sim.c (cpu_reset): Reset interrupts.
-       (cpu_initialize): Cleanup.
-
-2001-07-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
-       address.
-       (m68hc11eepr_port_event): Fix detach/attach logic.
-
-2001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * Makefile.in (SIM_OBJS): Remove sim-resume.o
-       * interp.c (sim_resume): New function from sim-resume.c, install
-       the stepping event after having processed the pending ticks.
-       (has_stepped): Likewise.
-       (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
-
-2001-07-10  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in (gencode): Provide explicit path to gencode.c.
-
-2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
-       (m68hc12int.c): Generate using gencode -m6812.
-       (m68hc11int.c): Likewise with -m6811.
-
-       * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
-       (m6811_page1_opcodes): Remove duplicate entries.
-       (m6811_page2_opcodes): Likewise.
-       (m6811_page3_opcodes): Likewise.
-       (m6811_page4_opcodes): Likewise.
-       (m6812_page1_opcodes): New table for 68HC12 instructions.
-       (m6812_page2_opcodes): Likewise.
-       (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
-       (gen_save_result): Likewise.
-       (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
-       (cmp_opcode): New function for opcode comparision.
-       (prepare_table): Sort the opcodes.
-       (gen_interpreter): Prepare all the tables and generate either
-       a 68HC11 or a 68HC12 simulator.
-       (main): New options -m6811 and -m6812.
-
-       * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
-       (cpu_special): Simulation of some 68HC12 instructions.
-       (cpu_exg): New function.
-       (cpu_dbcc): Likewise.
-       (cpu_fetch_relbranch16): Likewise.
-       (cpu_push_all): Push according to 68HC11 or 68HC12.
-       (cpu_move16): Likewise.
-       (cpu_move8): Likewise.
-       (cpu_get_indexed_operand16): Likewise.
-       (cpu_get_indexed_operand8): Likewise.
-       (cpu_get_indexed_operand_addr): Likewise.
-       (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
-       (cpu_reset): Setup INIT register according to architecture.
-
-       * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
-       (_sim_cpu): Keep track of the cpu being simulated.
-       (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
-       (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
-       (cpu_m68hc11_pop_uint8): Likewise.
-       (cpu_m68hc12_push_uintxx): New functions for 68HC12.
-       (cpu_m68hc12_pop_uintxx): Likewise.
-       (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
-       (cpu_fetch_relbranch16): Likewise.
-       (cpu_interp_m6811): Rename of cpu_interp.
-       (cpu_interp_m6812): New function.
-       * interp.c (free_state): New function.
-       (dev_list_68hc12): New table.
-       (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
-       (sim_hw_configure): New function.
-       (sim_prepare_for_program): New function.
-       (sim_open): Use above new functions.
-       (sim_close): Call free_state().
-       (sim_info): Print info according to cpu.
-       (sim_create_inferior): Use sim_prepare_for_program.
-       (sim_do_command): Configure the hardware after a change of the
-       architecture.
-
-2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
-       pending interrupts.
-       * interrupts.c (interrupts_process): Keep track of the last number
-       of masked insn cycles.
-       (interrupts_initialize): Clear last number of masked insn cycles.
-       (interrupts_info): Report them.
-       (interrupts_update_pending): Compute clear and set masks of
-       interrupts and clear the interrupt bits before setting them
-       (due to SCI interrupt sharing).
-       * interrupts.h (struct interrupts): New members last_mask_cycles
-       and xirq_last_mask_cycles.
-
-2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
-       instead of a hard-coded value.
-       (m68hc11cpu_io_write_buffer): Likewise.
-       (dv_m68hc11_descriptor): Define a 68hc12 device.
-       * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
-       * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
-       * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
-       * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
-
-2000-11-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
-       (m68hc11cpu_delete): Delete handler to detach the address space.
-
-2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
-       * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
-       instead of free and malloc.
-
-2000-09-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * Makefile.in: Was missing from initial patch.
-
-2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interp.c (sim_store_register): Remove soft register hack.
-       (sim_fetch_register): Likewise.
-       (sim_create_inferior): Likewise.
-       * sim-main.h: Likewise.
-
-2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interrupts.c (interrupts_update_pending): Clear the mask of
-       pending interrupts here.
-       (interrupts_get_current): Don't clear the mask of pending interrupts.
-
-2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * sim-main.h: Define cycle_to_string.
-       * dv-m68hc11tim.c (cycle_to_string): New function to translate
-       the cpu cycle into some formatted time string.
-       (m68hc11tim_print_timer): Use it.
-       * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
-       * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
-       * interrupts.c (interrupts_info): Likewise.
-       * m68hc11_sim.c (cpu_info): Likewise.
-
-2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
-       interrupt and compare events accurately.  Take into account the
-       pending ticks not processed by the simulator yet (introduced a shift).
-       (m68hc11_port_event): Reset the timer interrupt delays.
-       (m68hc11tim_io_read_buffer): Be able to read several bytes.
-       (m68hc11tim_io_write_buffer): Likewise for write.
-       (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
-
-2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
-       (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
-       (m68hc11spi_info): Clarify the status report
-       of the SPI when a byte is being sent.
-       (m68hc11spi_clock): Fix the spi send frame.
-
-2000-08-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * sim-main.h (m68hc11_map_level): Define level of address mappings.
-       * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
-       whether the eeprom is currently mapped or not.
-       (m68hc11eepr_port_event): Use the flag to see if we must unmap
-       or map the eeprom.  Update the flag to reflect the current state.
-       Use M6811_EEPROM_LEVEL when mapping the eeprom.
-       (m68hc11eepr_finish): Remove overlap hack.
-       (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
-       config and control registers.
-       * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
-       (attach_m68hc11_regs): Use M6811_IO_LEVEL.
-       (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
-       * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
-       (attach_m68hc11spi_regs): Likewise.
-       * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
-       (attach_m68hc11tim_regs): Likewise.
-       * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
-       (attach_m68hc11sio_regs): Likewise.
-       * interp.c (sim_open): Likewise.
-       * dv-nvram.c (attach_nvram_regs): Likewise.
-
-Thu Jul 27 21:27:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure, config.in: Regenerate.
-
-2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
-       * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
-       (dv_m6811_detach_address_callback): New function to detach a
-       device from an address space.
-       * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
-       config register according to --cpu-config option.
-       * sim-main.h (_sim_cpu): Add cpu_config member.
-       * interp.c (sim_open): Delete specific simulator options.
-       * m68hc11_sim.c (cpu_option_handler): New options
-       --emulos and -cpu-config <val> to configure the simulator.
-       (cpu_initialize): Initialize cpu_config member.
-
-2000-06-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * emulos.c: Fix indentation and comments.
-       * gencode.c: Likewise.
-       * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
-       (m68hc11tim_io_write_buffer): Write compare registers and
-       setup compare event.
-       * interp.c: Remove unused global variables.
-       * interrupts.c (idefs): New compare interrupts.
-       Fix indentation and comments.
-       * interrupts.h: Likewise.
-
-2000-06-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-m68hc11sio.c: Fix indentation and comments.
-       Remove INT_PORT.
-       * dv-m68hc11.c: Fix indentation and comments.
-       (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
-       * m68hc11_sim.c (cpu_reset): To here.
-       * dv-m68hc11eepr.c: Fix indentation and comments.
-
-2000-06-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * dv-nvram.c: New file, rename from dv-pram.c.
-       * dv-pram.c: Delete file.
-       * sim-main.h: Incorporate m68hc11_sim.h.
-       * m68hc11_sim.h: Delete file.
-       * configure.in: Rename pram into nvram.
-       * interp.c (sim_open): Likewise in creation of device tree.
-
-2000-05-31  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interp.c (sim_open): Create the SPI device.
-       * dv-m68hc11spi.c: New file for SPI device simulation.
-       * configure.in (hw_extra_devices): Add SPI device.
-
-2000-05-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
-
-       * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
-       (interrupts_process): Separate IRQ and XIRQ accounting.
-       (interrupts_info): Report XIRQ accounting.
-       * interrupts.h (struct interrupts): Added accounting for XIRQ.
-
-2000-04-16  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
-       * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
-       * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
-       configuration from the 'mode' device tree property.
-       (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
-       configuration.
-
-2000-02-24  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * sim-main.h: Remove WITH_TARGET_* defines.
-       * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
-
-2000-02-08  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
-       1200 baud when cpu is in bootstrap mode.
-
-       * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
-       write in the TCTN timer register.
-
-       * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
-       by 4 to obtain the E clock frequency.
-       (sccr2_desc): Use M6811_TIE for TIE bit.
-       (m68hc11sio_info): Fix baud rate report.
-
-       * dv-m68hc11tim.c (to_realtime): Likewise.
-
-       * interp.c (sim_open): When building device tree, only provide
-       devices that do not exist yet.
-
-       * emulos.c: Fix compilation pb under Windows.
-
-       * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
-       from the 'clock' property.
-
-2000-01-02  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * m68hc11_sim.h (*_REGNUM): Define.
-       (_sim_cpu): New member cpu_page0_reg table.
-       * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
-       addresses of soft registers in .page0.
-       (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
-       to get/set soft registers.
-
-1999-12-31  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
-       returning random values.
-
-1999-12-17  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * gencode.c: Fix "subb N,x" that used a instead of b.
-
-1999-09-09  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
-
-1999-09-01  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
-
-1999-08-14  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
-       register region in the m68hc11cpu struct.
-       (m68hc11cpu_io_write): When the IO mapping addres changes,
-       detach the register region and re-attach it at the new address.
-       (m68hc11cpu_io_read_buffer): Renamed base_address into
-       attach_address.
-       (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
-       to m68hc11cpu_io_write.
-
-1999-08-13  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * gencode.c: For sbc8, check the carry and increment the source
-       before trying to set the carry for the result.
-
-1999-05-24  John S. Kallal <kallal@voicenet.com>
-
-       * interp.c (sim_get_info): Don't crash if the command line is 0.
-       Define prototype for sim_get_info() and init_system().
-       (sim_info): Correct call to sim_get_info().
-
-1999-05-16  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * configure.in: Recognize m6811-*-*.
-       * configure: Regenerate.
-       * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
-       cpu_ccr_update_sub8, cpu_ccr_update_sub16):
-       Correct the computation of carry of 8 and 16-bits add and subtract.
-       * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
-       overflow set in a different manner than add).
-
-1999-05-14  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
-       trace message.
-       * interp.c (sim_open, sim_create_inferior): Initialize the
-       cpu_elf_start from the ELF header.
-       * m68hc11_sim.c (cpu_initialize): Clear the new data members.
-       (cpu_restart): Use cpu_elf_start as the starting address when
-       the flag is set.
-       (cpu_special): When cpu_use_elf_start is set, the WAI instruction
-       exits the simulator (exit status is in D).
-       * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
-       cpu_elf_star to start execution at address specified in ELF file.
-
-1999-05-02  Stephane Carrez  <stcarrez@worldnet.fr>
-
-       * Makefile.in, config.in, configure, configure.in: New files.
-       * gencode.c: New file, generation of 68HC11 interpreter.
-       * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
-       for interpreter.
-       * interrupts.c, interrupts.h: New files, management of interrupts.
-       * interp.c, sim-main.h,
-       * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
-       dv-m68hc11tim.c, dv-pram.c: New files representing devices for
-       68HC11 (dv-pram.c is generic and could probably migrate to common).
-       * emulos.c: New file, basic emulation of some os.
diff --git a/sim/m68hc11/ChangeLog-2021 b/sim/m68hc11/ChangeLog-2021
new file mode 100644 (file)
index 0000000..c79a4e7
--- /dev/null
@@ -0,0 +1,1267 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Add UNUSED to all STATIC_INLINE functions.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11eepr.c: Include sim-signal.h.
+       * interrupts.c, m68hc11_sim.c: Likewise.
+       * sim-main.h: Delete sim-signal.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Delete sim/callback.h include.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c,
+       dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c,
+       interrupts.c, m68hc11_sim.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Update include path.
+
+2021-05-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes.
+       Merge two sprintf buf calls.
+
+2021-05-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_hw_configure): Change %lx to %x in format strings.
+       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
+       * configure: Regenerate.
+
+2021-05-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * emulos.c: Include errno.h & stdio.h.
+       (emul_write): Print a warning when the write fails.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int.
+       * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (INCLUDE): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (interp.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o): New rule.
+       (gencode): Call LINK_FOR_BUILD.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * m68hc11_sim.c (cpu_set_sp): Add static markings.
+       (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg,
+       cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * gencode.c: Include libiberty.h.
+       (TABLE_SIZE): Delete.
+       (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE.
+       (gen_interpreter): Likewise.
+       * interrupts.c (TableSize): Delete.
+       (interrupts_update_pending): Change TableSize to ARRAY_SIZE.
+
+2016-08-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (inline): Delete define.
+       (phys_to_virt): Change inline to STATIC_INLINE.
+       (memory_read8, memory_write8, memory_read16, memory_write16,
+       cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16,
+       cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16,
+       cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16,
+       cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8,
+       cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8,
+       cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise.
+
+2016-08-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_get_bank_parameters): Delete abfd arg.
+       Replace all symbol lookup code with calls to trace_sym_value.
+       (sim_prepare_for_program): Update sim_get_bank_parameters call.
+
+2016-08-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style.
+       * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise.
+       * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise.
+       * emulos.c (emul_bench): Likewise.
+       (emul_write): Likewise.  Also rename state to cpu.
+       (emul_os): Rename proc to cpu.
+       * gencode.c: Rename proc to cpu.
+       * interrupts.c (interrupts_initialize): Likewise.
+       * interrupts.h (interrupts): Adjust cpu type.
+       (interrupts_initialize): Likewise.
+       * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style.
+       (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg,
+       cpu_get_indexed_operand_addr, cpu_get_indexed_operand8,
+       cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise.
+       (cpu_ccr_update_tst8): Rename proc to cpu.
+       * sim-main.h: Rename PROC and proc to cpu.
+
+2016-08-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with
+       return value of hw_malloc.
+       * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static.
+       (m68hc11sio_tx_poll): Likewise.
+       * dv-m68hc11spi.c (m68hc11spi_clock): Likewise.
+       * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise.
+       * dv-nvram.c (attach_nvram_regs): Drop cast with
+       return value of hw_malloc.
+       * emulos.c (emul_bench): Mark static.
+       (emul_write): Likewise.
+       (emul_exit): Likewise.
+       * gencode.c: Include stdio.h.
+       (gen_function_entry): Unify two print lines.
+       (cmp_opcode): Mark args const.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_state): Delete devices member.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * imterp.c (sim_open): Delete current_alignment and
+       current_target_byte_order assignments.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (sim_store_register): Rename to ...
+       (m68hc11_reg_store): ... this.  Delete local cpu var.
+       (sim_fetch_register): Rename to ...
+       (m68hc11_reg_fetch): ... this.  Delete local cpu var.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_WATCHPOINTS): Delete.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_MODULO_MEMORY): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-load.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (interrupt_names): Delete.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-resume.o
+       * interp.c (has_stepped, sim_resume): Delete.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (INLINE): Delete define.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * gencode.c (gen_fetch_operands): Remove unreachable code.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
+       * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
+       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+       (sim_pc_get): Delete.
+       * sim-main.h (SIM_CPU): Define.
+       (STATE_CPU): Drop &.
+       (struct sim_state): Change cpu to an array of pointers.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * m68hc11_sim.c (cpu_get_indexed_operand_addr,
+       cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict
+       variable to restricted.
+       * sim-main.h (cpu_get_indexed_operand_addr): Likewise.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_pc_get): New function.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
+       sim_size, sim_trace): Delete.
+       * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac (m68hc11_extra_objs): Delete.
+       * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
+       (SIM_EXTRA_OBJS): Delete.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Use $SIM_DV_SOCKSER_O.
+       * configure: Regenerated.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * interp.c (sim_prepare_for_program): Use bfd_get_section_size
+       instead of bfd_get_section_size_before_reloc.
+
+2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
+       control the translation.
+       (m68hc11tim_print_timer): Update cycle_to_string conversion.
+       (m68hc11tim_timer_event): Fix handling of output
+       compare register with its interrupts.
+       (m68hc11tim_io_write_buffer): Check output compare
+       after setting M6811_TMSK1.
+       (m68hc11tim_io_read_buffer): Fix compilation warning.
+       * dv-m68hc11.c (m68hc11_option_handler): Likewise.
+       * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
+       * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
+       * interrupts.c (interrupts_info): Likewise.
+       (interrupts_reset): Recognize bootstrap mode.
+       * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
+       (_sim_cpu): Add cpu_start_mode.
+       (cycle_to_string): Add flags member.
+       * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
+       (cpu_options): Declare new option bootstrap.
+       (cpu_option_handler): Handle it.
+       (cpu_info): Update call to cycle_to_string.
+
+2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * sim-main.h (phys_to_virt): Use memory bank parameters to translate
+       the physical address in virtual address.
+       (struct _sim_cpu): Add memory bank members.
+       * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
+       * interp.c (sim_hw_configure): Create memory bank according to memory
+       bank parameters.
+       (sim_get_bank_parameters): New function to obtain memory bank config
+       from the symbol table.
+       (sim_prepare_for_program): Call it to obtain the memory bank parameters.
+       (sim_open): Call sim_prepare_for_program.
+       * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
+       to check if address is within bank window.
+       (m68hc11cpu_io_read_buffer): Likewise.
+       (attach_m68hc11_regs): Map the memory bank according to memory bank
+       parameters.
+
+2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
+
+       * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
+
+2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
+           Gary Piercey <gpiercey@northstar-technical.com>
+
+       * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
+       * sim-main.h (print_io_word): Declare.
+       * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
+       (tflg1_desc): Likewise for TFLG1.
+       (m68hc11tim_info): Print input and output compare registers
+
+2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
+       to 32 to support memory bank switching; temporarily use 32-bit for
+       WORD_BITSIZE to avoid a bug in sim-common.
+
+2003-03-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * interp.c (sim_fetch_register): Only store a single byte for
+       1 byte registers.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_prepare_for_program, sim_open)
+       (sim_create_inferior): Rename _bfd to bfd.
+
+2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
+
+2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
+
+       * interp.c (sim_prepare_for_program): Look up the image for the
+       reset vector and set cpu_use_elf_start to 1 if not found.
+       (sim_open): Do not set cpu_use_elf_start.
+
+2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
+
+       * interp.c (sim_hw_configure): Return 1 for success.
+       (sim_prepare_for_program): Use the sim_hw_configure exit code to
+       return SIM_RC_FAIL.
+
+2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
+       bank window to some virtual address to read from extended memory.
+       (m68hc11cpu_io_write_buffer): Likewise for writing.
+       (attach_m68hc11_regs): When use_bank property is defined, attach
+       to the 68HC12 16K memory bank window.
+       * interp.c (sim_hw_configure): Create memory region for banked
+       memory.
+
+2002-08-13  Stephane Carrez  <Stephane.Carrez@nerim.fr>
+
+       * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
+       * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
+       (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
+
+2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
+
+       * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
+       when IO mapping changed, not when internal RAM mapping is changed.
+
+2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
+       * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
+       (m6811_regs): Add page register.
+       (cpu_set_page, cpu_get_page): New macros.
+       (phys_to_virt): New function.
+       (cpu_get_indexed_operand_addr, cpu_return): Declare.
+       * gencode.c: Identify indirect addressing mode for call and fix daa.
+       (gen_function_entry): New param to tell if src8/dst8 locals are
+       necessary.
+       (gen_interpreter): Use it to avoid generation of unused variables.
+       * interp.c (sim_fetch_register): Allow to read page register; page
+       register, A, B and CCR are only 1 byte wide.
+       (sim_store_register): Likewise for writing.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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.
+       (cpu_move16): Likewise.
+       (sim_memory_error): Use sim_io_printf.
+       (cpu_option_handler): Fix compilation warning.
+       * interp.c (sim_hw_configure): Fix compilation warning;
+       remove m68hc12sio@2 device.
+       (sim_open): Likewise.
+       * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
+       flags when reset.
+       (cycle_to_string): Improve convertion of cpu cycle number.
+       (m68hc11tim_info): Print info about PACNT.
+       (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
+       TCTL1 and TCTL2 registers.
+       * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
+
+2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interp.c (sim_hw_configure): Save the HW cpu pointer in the
+       cpu struct.
+       (sim_hw_configure): Connect the capture input/output events.
+       * sim-main.h (_sim_cpu): New member hw_cpu.
+       (m68hc11cpu_set_oscillator): Declare.
+       (m68hc11cpu_clear_oscillator): Declare.
+       (m68hc11cpu_set_port): Declare.
+       * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
+       (m68hc11cpu_ports): New input ports and output ports to reflect
+       the HC11 IOs.
+       (m68hc11_delete): Cleanup any running oscillator.
+       (attach_m68hc11_regs): Create the input oscillators.
+       (make_oscillator): New function.
+       (find_oscillator): New function.
+       (oscillator_handler): New function.
+       (reset_oscillators): New function.
+       (m68hc11cpu_port_event): Handle the new input ports.
+       (m68hc11cpu_set_oscillator): New function.
+       (m68hc11cpu_clear_oscillator): New function.
+       (get_frequency): New function.
+       (m68hc11_option_handler): New function.
+       (m68hc11cpu_set_port): New function.
+       (m68hc11cpu_io_write): Post the port output events.
+       * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
+       the output port value.
+       * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
+       by latching the TCNT value in the register.
+
+2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * sim-main.h (cpu_frame, cpu_frame_list): Remove.
+       (cpu_frame_reg, cpu_print_frame): Remove.
+       (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
+       (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
+       (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
+       (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
+       * m68hc11_sim.c (cpu_find_frame): Remove.
+       (cpu_create_frame_list): Remove.
+       (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
+       (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
+       (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
+       (cpu_update_frame): Likewise.
+       (cpu_return): Likewise.
+       (cpu_reset): Likewise.
+       (cpu_initialize): Likewise.
+       * interp.c (sim_do_command): Remove call to cpu_print_frame.
+
+2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interrupts.c (interrupts_reset): New function, setup interrupt
+       vector address according to cpu mode.
+       (interrupts_initialize): Move reset portion to the above.
+       (interrupt_names): New table to give a name to interrupts.
+       (idefs): Handle pulse accumulator interrupts.
+       (interrupts_info): Print the interrupt history.
+       (interrupt_option_handler): New function.
+       (interrupt_options): New table of options.
+       (interrupts_update_pending): Keep track of when interrupts are
+       raised and implement breakpoint-on-raise-interrupt.
+       (interrupts_process): Keep track of when interrupts are taken
+       and implement breakpoint-on-interrupt.
+       * interrupts.h (struct interrupt_history): Define.
+       (struct interrupt): Keep track of the interrupt history.
+       (interrupts_reset): Declare.
+       (interrupts_initialize): Update prototype.
+       * m68hc11_sim.c (cpu_reset): Reset interrupts.
+       (cpu_initialize): Cleanup.
+
+2001-07-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
+       address.
+       (m68hc11eepr_port_event): Fix detach/attach logic.
+
+2001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (SIM_OBJS): Remove sim-resume.o
+       * interp.c (sim_resume): New function from sim-resume.c, install
+       the stepping event after having processed the pending ticks.
+       (has_stepped): Likewise.
+       (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
+
+2001-07-10  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (gencode): Provide explicit path to gencode.c.
+
+2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
+       (m68hc12int.c): Generate using gencode -m6812.
+       (m68hc11int.c): Likewise with -m6811.
+
+       * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
+       (m6811_page1_opcodes): Remove duplicate entries.
+       (m6811_page2_opcodes): Likewise.
+       (m6811_page3_opcodes): Likewise.
+       (m6811_page4_opcodes): Likewise.
+       (m6812_page1_opcodes): New table for 68HC12 instructions.
+       (m6812_page2_opcodes): Likewise.
+       (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
+       (gen_save_result): Likewise.
+       (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
+       (cmp_opcode): New function for opcode comparision.
+       (prepare_table): Sort the opcodes.
+       (gen_interpreter): Prepare all the tables and generate either
+       a 68HC11 or a 68HC12 simulator.
+       (main): New options -m6811 and -m6812.
+
+       * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
+       (cpu_special): Simulation of some 68HC12 instructions.
+       (cpu_exg): New function.
+       (cpu_dbcc): Likewise.
+       (cpu_fetch_relbranch16): Likewise.
+       (cpu_push_all): Push according to 68HC11 or 68HC12.
+       (cpu_move16): Likewise.
+       (cpu_move8): Likewise.
+       (cpu_get_indexed_operand16): Likewise.
+       (cpu_get_indexed_operand8): Likewise.
+       (cpu_get_indexed_operand_addr): Likewise.
+       (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
+       (cpu_reset): Setup INIT register according to architecture.
+
+       * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
+       (_sim_cpu): Keep track of the cpu being simulated.
+       (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
+       (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
+       (cpu_m68hc11_pop_uint8): Likewise.
+       (cpu_m68hc12_push_uintxx): New functions for 68HC12.
+       (cpu_m68hc12_pop_uintxx): Likewise.
+       (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
+       (cpu_fetch_relbranch16): Likewise.
+       (cpu_interp_m6811): Rename of cpu_interp.
+       (cpu_interp_m6812): New function.
+       * interp.c (free_state): New function.
+       (dev_list_68hc12): New table.
+       (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
+       (sim_hw_configure): New function.
+       (sim_prepare_for_program): New function.
+       (sim_open): Use above new functions.
+       (sim_close): Call free_state().
+       (sim_info): Print info according to cpu.
+       (sim_create_inferior): Use sim_prepare_for_program.
+       (sim_do_command): Configure the hardware after a change of the
+       architecture.
+
+2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
+       pending interrupts.
+       * interrupts.c (interrupts_process): Keep track of the last number
+       of masked insn cycles.
+       (interrupts_initialize): Clear last number of masked insn cycles.
+       (interrupts_info): Report them.
+       (interrupts_update_pending): Compute clear and set masks of
+       interrupts and clear the interrupt bits before setting them
+       (due to SCI interrupt sharing).
+       * interrupts.h (struct interrupts): New members last_mask_cycles
+       and xirq_last_mask_cycles.
+
+2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
+       instead of a hard-coded value.
+       (m68hc11cpu_io_write_buffer): Likewise.
+       (dv_m68hc11_descriptor): Define a 68hc12 device.
+       * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
+       * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
+       * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
+       * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
+
+2000-11-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
+       (m68hc11cpu_delete): Delete handler to detach the address space.
+
+2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
+       * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
+       instead of free and malloc.
+
+2000-09-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in: Was missing from initial patch.
+
+2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interp.c (sim_store_register): Remove soft register hack.
+       (sim_fetch_register): Likewise.
+       (sim_create_inferior): Likewise.
+       * sim-main.h: Likewise.
+
+2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interrupts.c (interrupts_update_pending): Clear the mask of
+       pending interrupts here.
+       (interrupts_get_current): Don't clear the mask of pending interrupts.
+
+2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * sim-main.h: Define cycle_to_string.
+       * dv-m68hc11tim.c (cycle_to_string): New function to translate
+       the cpu cycle into some formatted time string.
+       (m68hc11tim_print_timer): Use it.
+       * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
+       * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
+       * interrupts.c (interrupts_info): Likewise.
+       * m68hc11_sim.c (cpu_info): Likewise.
+
+2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
+       interrupt and compare events accurately.  Take into account the
+       pending ticks not processed by the simulator yet (introduced a shift).
+       (m68hc11_port_event): Reset the timer interrupt delays.
+       (m68hc11tim_io_read_buffer): Be able to read several bytes.
+       (m68hc11tim_io_write_buffer): Likewise for write.
+       (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
+
+2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
+       (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
+       (m68hc11spi_info): Clarify the status report
+       of the SPI when a byte is being sent.
+       (m68hc11spi_clock): Fix the spi send frame.
+
+2000-08-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * sim-main.h (m68hc11_map_level): Define level of address mappings.
+       * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
+       whether the eeprom is currently mapped or not.
+       (m68hc11eepr_port_event): Use the flag to see if we must unmap
+       or map the eeprom.  Update the flag to reflect the current state.
+       Use M6811_EEPROM_LEVEL when mapping the eeprom.
+       (m68hc11eepr_finish): Remove overlap hack.
+       (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
+       config and control registers.
+       * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
+       (attach_m68hc11_regs): Use M6811_IO_LEVEL.
+       (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
+       * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
+       (attach_m68hc11spi_regs): Likewise.
+       * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
+       (attach_m68hc11tim_regs): Likewise.
+       * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
+       (attach_m68hc11sio_regs): Likewise.
+       * interp.c (sim_open): Likewise.
+       * dv-nvram.c (attach_nvram_regs): Likewise.
+
+Thu Jul 27 21:27:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure, config.in: Regenerate.
+
+2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
+       * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
+       (dv_m6811_detach_address_callback): New function to detach a
+       device from an address space.
+       * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
+       config register according to --cpu-config option.
+       * sim-main.h (_sim_cpu): Add cpu_config member.
+       * interp.c (sim_open): Delete specific simulator options.
+       * m68hc11_sim.c (cpu_option_handler): New options
+       --emulos and -cpu-config <val> to configure the simulator.
+       (cpu_initialize): Initialize cpu_config member.
+
+2000-06-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * emulos.c: Fix indentation and comments.
+       * gencode.c: Likewise.
+       * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
+       (m68hc11tim_io_write_buffer): Write compare registers and
+       setup compare event.
+       * interp.c: Remove unused global variables.
+       * interrupts.c (idefs): New compare interrupts.
+       Fix indentation and comments.
+       * interrupts.h: Likewise.
+
+2000-06-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-m68hc11sio.c: Fix indentation and comments.
+       Remove INT_PORT.
+       * dv-m68hc11.c: Fix indentation and comments.
+       (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
+       * m68hc11_sim.c (cpu_reset): To here.
+       * dv-m68hc11eepr.c: Fix indentation and comments.
+
+2000-06-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-nvram.c: New file, rename from dv-pram.c.
+       * dv-pram.c: Delete file.
+       * sim-main.h: Incorporate m68hc11_sim.h.
+       * m68hc11_sim.h: Delete file.
+       * configure.in: Rename pram into nvram.
+       * interp.c (sim_open): Likewise in creation of device tree.
+
+2000-05-31  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interp.c (sim_open): Create the SPI device.
+       * dv-m68hc11spi.c: New file for SPI device simulation.
+       * configure.in (hw_extra_devices): Add SPI device.
+
+2000-05-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
+       (interrupts_process): Separate IRQ and XIRQ accounting.
+       (interrupts_info): Report XIRQ accounting.
+       * interrupts.h (struct interrupts): Added accounting for XIRQ.
+
+2000-04-16  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
+       * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
+       * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
+       configuration from the 'mode' device tree property.
+       (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
+       configuration.
+
+2000-02-24  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * sim-main.h: Remove WITH_TARGET_* defines.
+       * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
+
+2000-02-08  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
+       1200 baud when cpu is in bootstrap mode.
+
+       * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
+       write in the TCTN timer register.
+
+       * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
+       by 4 to obtain the E clock frequency.
+       (sccr2_desc): Use M6811_TIE for TIE bit.
+       (m68hc11sio_info): Fix baud rate report.
+
+       * dv-m68hc11tim.c (to_realtime): Likewise.
+
+       * interp.c (sim_open): When building device tree, only provide
+       devices that do not exist yet.
+
+       * emulos.c: Fix compilation pb under Windows.
+
+       * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
+       from the 'clock' property.
+
+2000-01-02  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * m68hc11_sim.h (*_REGNUM): Define.
+       (_sim_cpu): New member cpu_page0_reg table.
+       * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
+       addresses of soft registers in .page0.
+       (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
+       to get/set soft registers.
+
+1999-12-31  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
+       returning random values.
+
+1999-12-17  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * gencode.c: Fix "subb N,x" that used a instead of b.
+
+1999-09-09  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
+
+1999-09-01  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
+
+1999-08-14  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
+       register region in the m68hc11cpu struct.
+       (m68hc11cpu_io_write): When the IO mapping addres changes,
+       detach the register region and re-attach it at the new address.
+       (m68hc11cpu_io_read_buffer): Renamed base_address into
+       attach_address.
+       (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
+       to m68hc11cpu_io_write.
+
+1999-08-13  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * gencode.c: For sbc8, check the carry and increment the source
+       before trying to set the carry for the result.
+
+1999-05-24  John S. Kallal <kallal@voicenet.com>
+
+       * interp.c (sim_get_info): Don't crash if the command line is 0.
+       Define prototype for sim_get_info() and init_system().
+       (sim_info): Correct call to sim_get_info().
+
+1999-05-16  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * configure.in: Recognize m6811-*-*.
+       * configure: Regenerate.
+       * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
+       cpu_ccr_update_sub8, cpu_ccr_update_sub16):
+       Correct the computation of carry of 8 and 16-bits add and subtract.
+       * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
+       overflow set in a different manner than add).
+
+1999-05-14  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
+       trace message.
+       * interp.c (sim_open, sim_create_inferior): Initialize the
+       cpu_elf_start from the ELF header.
+       * m68hc11_sim.c (cpu_initialize): Clear the new data members.
+       (cpu_restart): Use cpu_elf_start as the starting address when
+       the flag is set.
+       (cpu_special): When cpu_use_elf_start is set, the WAI instruction
+       exits the simulator (exit status is in D).
+       * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
+       cpu_elf_star to start execution at address specified in ELF file.
+
+1999-05-02  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * Makefile.in, config.in, configure, configure.in: New files.
+       * gencode.c: New file, generation of 68HC11 interpreter.
+       * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
+       for interpreter.
+       * interrupts.c, interrupts.h: New files, management of interrupts.
+       * interp.c, sim-main.h,
+       * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
+       dv-m68hc11tim.c, dv-pram.c: New files representing devices for
+       68HC11 (dv-pram.c is generic and could probably migrate to common).
+       * emulos.c: New file, basic emulation of some os.
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
deleted file mode 100644 (file)
index c5c4016..0000000
+++ /dev/null
@@ -1,746 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
-       * interp.c (sim_create_inferior): Add const to avp.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete sys/times.h include.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
-       to sim-main.h.
-       (cpu): Delete.
-       (gr, cr): Change from asregs to cpu.
-       (sr, vbr, esr, fsr, epc, fpc, ss0, ss1, ss2, ss3, ss4, gcr, gsr):
-       Change from asregs to cr.
-       (C_ON, C_VALUE, C_OFF, SET_C, CLR_C, NEW_C, SR_AF): Change from
-       cpu.sr to sr.
-       (set_active_regs): Define.
-       (set_initial_gprs): Rename scpu to cpu.  Change cpu.sr to sr and
-       cpu.gr to gr.  Replace for loop with memset.  Replace SR_AF with
-       set_active_regs.
-       (handle_trap1): Add cpu arg.
-       (process_stub): Likewise.  Change cpu.gr to gr.
-       (util): Rename scpu to cpu.  Change cpu.gr to gr.
-       (rbat, rhat, rlat, wbat, what, wlat, ILLEGAL, sim_engine_run,
-       mcore_reg_store, mcore_reg_fetch, sim_create_inferior): Rename scpu
-       to cpu.
-       (step_once): Likewise.  Replace SR_AF with set_active_regs.  Adjust
-       cpu.asregs to cpu.
-       (mcore_pc_get, mcore_pc_set): Adjust cpu->pc to cpu->regs.pc.
-       * sim-main.h (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
-       from interp.c.
-       (_sim_cpu): Add regs, asints, active_gregs, ticks, stalls, cycles,
-       and insts members.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reg.o.
-       * interp.c (sim_store_register): Rename to ...
-       (mcore_reg_store): ... this.  Change SIM_DESC to SIM_CPU.
-       (sim_fetch_register): Rename to ...
-       (mcore_reg_fetch): ... this.  Change SIM_DESC to SIM_CPU.
-       (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-resume.o.
-       * interp.c (struct mcore_regset): Delete exception.
-       (util): Add SIM_DESC and SIM_CPU args.  Call sim_engine_halt instead
-       of setting cpu.asregs.exception.
-       (ILLEGAL): Define.
-       (sim_resume): Rename to ...
-       (step_once): ... this.  Delete cpu.asregs.exception initialization.
-       Delete do/while statements while keeping the body.  Replace SIGTRAP
-       usage with sim_engine_halt(SIM_SIGTRAP).  Replace SIGILL usage with
-       ILLEGAL.  Pass sd and cpu down to util.
-       (sim_engine_run): Define.
-       (sim_stop_reason): Delete.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (handle_trap1): Replace call to cb_syscall with
-       sim_syscall.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (m32r_trap): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_resume): Change %x to %lx for all cpu registers.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mcore_regset): Delete msize & memory.
-       (issue_messages, mem, wbat, what, wlat, rbat, what, wlat,
-       sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers): Delete.
-       (DEFAULT_MEMORY_SIZE): Define.
-       (set_initial_gprs): Delete memsize handling and call to init_pointers.
-       Change cpu.asregs.msize to DEFAULT_MEMORY_SIZE.
-       (syscall_read_mem): Change memcpy to sim_core_read_buffer.
-       (syscall_write_mem): Change memcpy to sim_core_write_buffer.
-       (process_stub): Change issue_messages to STATE_VERBOSE_P.
-       (util): Turn printf into a stub.  Change issue_messages to
-       STATE_VERBOSE_P.
-       (rbat, rhat, rlat, wbat, what, wlat): Define to sim core funcs.
-       (sim_resume): Change issue_messages to STATE_VERBOSE_P.
-       Delete cpu.asregs.msize range checks.
-       (sim_write, sim_read): Delete.
-       (sim_store_register, sim_fetch_register): Delete call to
-       init_pointers.
-       (sim_open): Delete osize, call to sim_size, and issue_messages.  Call
-       sim_do_commandf to setup memory.
-       (sim_create_inferior): Delete issue_messages handling.  Change
-       cpu.asregs.msize to DEFAULT_MEMORY_SIZE.  Change strcpy to
-       sim_core_write_buffer.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (WATCHFUNCTIONS): Undef it.
-       (sim_resume): Move WLhash behind WATCHFUNCTIONS.
-       (sim_do_command): Delete.
-
-2015-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       * interp.c (NUM_ELEM, opened, log_open, log_close, is_opened): Delete.
-       (syscall_read_mem, syscall_write_mem): New functions.
-       (handle_trap1): Delete entire body.  Replace with call to cb_syscall.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET.
-       (sim_resume): Change CIA_GET to CPU_PC_GET and CIA_SET to
-       CPU_PC_SET.
-       (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mcore_pc_get, mcore_pc_set): New functions.
-       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (struct aout, LONG, SHORT): Delete.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
-       (word, uword): Move to sim-main.h.
-       (callback, sim_kind, myname): Delete.
-       (struct mcore_regset): Move pc to sim_cpu.
-       (memcycles, sim_size): Mark static.
-       (set_initial_gprs): Take a sim_cpu arg.  Set pc via CIA_SET.
-       (handle_trap1): Take a SIM_DESC arg.  Get callback from it.
-       (process_stub): Take a SIM_DESC arg.  Pass it to handle_trap1
-       (util): Take a SIM_DESC arg.  Pass it to process_stub.
-       (sim_resume): Get/set pc via CIA_GET/CIA_SET.  Pass sd to handle_trap1
-       and util.
-       (sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
-       (sim_info): Get callback from SIM_DESC.
-       (free_state): New cleanup function.
-       (sim_open): Rewrite to use new common logic.
-       (sim_create_inferior): Get sim_cpu from sd.  Pass to set_initial_gprs
-       and set pc via CIA_SET.
-       * sim-main.h: New file.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
-       SIM_AC_OPTION_INLINE.
-       * config.in, configure: Regenerate.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (heap_ptr, int_sbrk): Delete.
-       (handle_trap1): Change case 69 (sbrk) to always return -1.
-       (sim_load): Delete bss checks and heap_ptr setup.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Strip trailing whitespace.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * confingure: Regenerate.
-       * interp.c (mcore_extract_unsigned_integer): Make static and update
-       prototype.  Fix up printf string.
-       (mcore_store_unsigned_integer): Make static and update prototype.
-       (int_sbrk): Likewise.
-       (wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
-       prototype.
-       (SEXTB, SEXTW, IOMEM): Delete.
-       (sim_size): Update prototype.  Fix up printf string.
-       (init_pointers): Update prototype.
-       (set_initial_gprs): Update prototype.  Fix up printf string.
-       (log_open, log_close, is_opened, handle_trap1, process_stub, util,
-       iu_carry): Update prototype.
-       (sim_resume): Update prototype.  Change addr to a word.
-       (sim_write, sim_read, sim_store_register, sim_fetch_register,
-       sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
-       sim_close, sim_load, sim_create_inferior, sim_do_command,
-       sim_set_callbacks): Update prototype.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CLEAN): Delete.
-       (interp.o, mcore-clean): Delete rules.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2015-02-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete sysdep.h and netinet/in.h includes.
-       Include stdlib.h and string.h.
-       * sysdep.h: Delete.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_kill): Delete unused func.
-
-2015-02-11  Chen Gang <gang.chen.5i5j@gmail.com>
-
-       * interp.c: Include "unistd.h".
-
-2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * interp.c (sim_do_command): Call freeargv() before return.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-02-17  Mike Frysinger  <vapier@gentoo.org>
-
-       PR gdb/16450
-       * interp.c (interrupt): Delete.
-       (sim_resume): Delete signal(SIGINT) handling.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-20  Hans-Peter Nilsson  <hp@axis.com>
-
-       PR 14072
-       * interp.c: Include config.h before system header files.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2003-10-11  Alan Modra  <amodra@bigpond.net.au>
-
-       * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
-       Use bfd_section_size and bfd_get_section_vma.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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.
-
-2000-02-14  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (handle_trap1): Fix handling of fclose system call.
-       Patch submitted by <drew.sarkisian@motorola.com>.
-
-2000-02-10  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (target_big_endian): New variable.
-       (mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
-       wlat, rlat, sim_resume, sim_load): Add supprot for little
-       endian targets.
-
-2000-01-13  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (sim_resume): Do not rely upon host semantics of shift
-       operators to implement M*Core semantics.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-06-23  Nick Clifton  <nickc@cygnus.com>
-
-       * sysdep.h: Do not define prototypes for memcpy and strchr if they
-       are macros.
-
-1999-05-21  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (sim_resume): Add more tracing output.
-
-1999-05-17  Keith Seitz  <keiths@cygnus.com>
-
-       * interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
-       (sim_resume): Correct off by one instruction error when a breakpoint
-       is hit.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-10  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (sim_resume): Record PC in case it is needed for error
-       messages and the original has been corrupted.
-
-1999-05-07  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
-       (util): Handle 0x50FF stubs properly.
-
-
-1999-04-29  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (set_initial_gprs): Only display memory range if
-       verbose option has been set.
-
-1999-04-22  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c: Add tracing and verbose options.
-       Fixed trap and syscall emulations.
-
-1999-04-08  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c: New file: Simulator for MCore.
-       * sysdep.h: New file: Systems definitions for MCore simulator.
-       * configure.in: New file: Configure script for MCore simulator.
-       * configure: New file: Genreated.
-       * config,in: New file: Config support.
-       * Makefile.in: New file: Meta makefile for MCore simulator.
diff --git a/sim/mcore/ChangeLog-2021 b/sim/mcore/ChangeLog-2021
new file mode 100644 (file)
index 0000000..c5c4016
--- /dev/null
@@ -0,0 +1,746 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
+       * interp.c (sim_create_inferior): Add const to avp.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete sys/times.h include.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
+       to sim-main.h.
+       (cpu): Delete.
+       (gr, cr): Change from asregs to cpu.
+       (sr, vbr, esr, fsr, epc, fpc, ss0, ss1, ss2, ss3, ss4, gcr, gsr):
+       Change from asregs to cr.
+       (C_ON, C_VALUE, C_OFF, SET_C, CLR_C, NEW_C, SR_AF): Change from
+       cpu.sr to sr.
+       (set_active_regs): Define.
+       (set_initial_gprs): Rename scpu to cpu.  Change cpu.sr to sr and
+       cpu.gr to gr.  Replace for loop with memset.  Replace SR_AF with
+       set_active_regs.
+       (handle_trap1): Add cpu arg.
+       (process_stub): Likewise.  Change cpu.gr to gr.
+       (util): Rename scpu to cpu.  Change cpu.gr to gr.
+       (rbat, rhat, rlat, wbat, what, wlat, ILLEGAL, sim_engine_run,
+       mcore_reg_store, mcore_reg_fetch, sim_create_inferior): Rename scpu
+       to cpu.
+       (step_once): Likewise.  Replace SR_AF with set_active_regs.  Adjust
+       cpu.asregs to cpu.
+       (mcore_pc_get, mcore_pc_set): Adjust cpu->pc to cpu->regs.pc.
+       * sim-main.h (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
+       from interp.c.
+       (_sim_cpu): Add regs, asints, active_gregs, ticks, stalls, cycles,
+       and insts members.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reg.o.
+       * interp.c (sim_store_register): Rename to ...
+       (mcore_reg_store): ... this.  Change SIM_DESC to SIM_CPU.
+       (sim_fetch_register): Rename to ...
+       (mcore_reg_fetch): ... this.  Change SIM_DESC to SIM_CPU.
+       (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-resume.o.
+       * interp.c (struct mcore_regset): Delete exception.
+       (util): Add SIM_DESC and SIM_CPU args.  Call sim_engine_halt instead
+       of setting cpu.asregs.exception.
+       (ILLEGAL): Define.
+       (sim_resume): Rename to ...
+       (step_once): ... this.  Delete cpu.asregs.exception initialization.
+       Delete do/while statements while keeping the body.  Replace SIGTRAP
+       usage with sim_engine_halt(SIM_SIGTRAP).  Replace SIGILL usage with
+       ILLEGAL.  Pass sd and cpu down to util.
+       (sim_engine_run): Define.
+       (sim_stop_reason): Delete.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (handle_trap1): Replace call to cb_syscall with
+       sim_syscall.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (m32r_trap): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_resume): Change %x to %lx for all cpu registers.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mcore_regset): Delete msize & memory.
+       (issue_messages, mem, wbat, what, wlat, rbat, what, wlat,
+       sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers): Delete.
+       (DEFAULT_MEMORY_SIZE): Define.
+       (set_initial_gprs): Delete memsize handling and call to init_pointers.
+       Change cpu.asregs.msize to DEFAULT_MEMORY_SIZE.
+       (syscall_read_mem): Change memcpy to sim_core_read_buffer.
+       (syscall_write_mem): Change memcpy to sim_core_write_buffer.
+       (process_stub): Change issue_messages to STATE_VERBOSE_P.
+       (util): Turn printf into a stub.  Change issue_messages to
+       STATE_VERBOSE_P.
+       (rbat, rhat, rlat, wbat, what, wlat): Define to sim core funcs.
+       (sim_resume): Change issue_messages to STATE_VERBOSE_P.
+       Delete cpu.asregs.msize range checks.
+       (sim_write, sim_read): Delete.
+       (sim_store_register, sim_fetch_register): Delete call to
+       init_pointers.
+       (sim_open): Delete osize, call to sim_size, and issue_messages.  Call
+       sim_do_commandf to setup memory.
+       (sim_create_inferior): Delete issue_messages handling.  Change
+       cpu.asregs.msize to DEFAULT_MEMORY_SIZE.  Change strcpy to
+       sim_core_write_buffer.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (WATCHFUNCTIONS): Undef it.
+       (sim_resume): Move WLhash behind WATCHFUNCTIONS.
+       (sim_do_command): Delete.
+
+2015-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       * interp.c (NUM_ELEM, opened, log_open, log_close, is_opened): Delete.
+       (syscall_read_mem, syscall_write_mem): New functions.
+       (handle_trap1): Delete entire body.  Replace with call to cb_syscall.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET.
+       (sim_resume): Change CIA_GET to CPU_PC_GET and CIA_SET to
+       CPU_PC_SET.
+       (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mcore_pc_get, mcore_pc_set): New functions.
+       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (struct aout, LONG, SHORT): Delete.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
+       (word, uword): Move to sim-main.h.
+       (callback, sim_kind, myname): Delete.
+       (struct mcore_regset): Move pc to sim_cpu.
+       (memcycles, sim_size): Mark static.
+       (set_initial_gprs): Take a sim_cpu arg.  Set pc via CIA_SET.
+       (handle_trap1): Take a SIM_DESC arg.  Get callback from it.
+       (process_stub): Take a SIM_DESC arg.  Pass it to handle_trap1
+       (util): Take a SIM_DESC arg.  Pass it to process_stub.
+       (sim_resume): Get/set pc via CIA_GET/CIA_SET.  Pass sd to handle_trap1
+       and util.
+       (sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
+       (sim_info): Get callback from SIM_DESC.
+       (free_state): New cleanup function.
+       (sim_open): Rewrite to use new common logic.
+       (sim_create_inferior): Get sim_cpu from sd.  Pass to set_initial_gprs
+       and set pc via CIA_SET.
+       * sim-main.h: New file.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
+       SIM_AC_OPTION_INLINE.
+       * config.in, configure: Regenerate.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (heap_ptr, int_sbrk): Delete.
+       (handle_trap1): Change case 69 (sbrk) to always return -1.
+       (sim_load): Delete bss checks and heap_ptr setup.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Strip trailing whitespace.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * confingure: Regenerate.
+       * interp.c (mcore_extract_unsigned_integer): Make static and update
+       prototype.  Fix up printf string.
+       (mcore_store_unsigned_integer): Make static and update prototype.
+       (int_sbrk): Likewise.
+       (wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
+       prototype.
+       (SEXTB, SEXTW, IOMEM): Delete.
+       (sim_size): Update prototype.  Fix up printf string.
+       (init_pointers): Update prototype.
+       (set_initial_gprs): Update prototype.  Fix up printf string.
+       (log_open, log_close, is_opened, handle_trap1, process_stub, util,
+       iu_carry): Update prototype.
+       (sim_resume): Update prototype.  Change addr to a word.
+       (sim_write, sim_read, sim_store_register, sim_fetch_register,
+       sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
+       sim_close, sim_load, sim_create_inferior, sim_do_command,
+       sim_set_callbacks): Update prototype.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CLEAN): Delete.
+       (interp.o, mcore-clean): Delete rules.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2015-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete sysdep.h and netinet/in.h includes.
+       Include stdlib.h and string.h.
+       * sysdep.h: Delete.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_kill): Delete unused func.
+
+2015-02-11  Chen Gang <gang.chen.5i5j@gmail.com>
+
+       * interp.c: Include "unistd.h".
+
+2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * interp.c (sim_do_command): Call freeargv() before return.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-02-17  Mike Frysinger  <vapier@gentoo.org>
+
+       PR gdb/16450
+       * interp.c (interrupt): Delete.
+       (sim_resume): Delete signal(SIGINT) handling.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR 14072
+       * interp.c: Include config.h before system header files.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2003-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
+       Use bfd_section_size and bfd_get_section_vma.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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.
+
+2000-02-14  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (handle_trap1): Fix handling of fclose system call.
+       Patch submitted by <drew.sarkisian@motorola.com>.
+
+2000-02-10  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (target_big_endian): New variable.
+       (mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
+       wlat, rlat, sim_resume, sim_load): Add supprot for little
+       endian targets.
+
+2000-01-13  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (sim_resume): Do not rely upon host semantics of shift
+       operators to implement M*Core semantics.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-06-23  Nick Clifton  <nickc@cygnus.com>
+
+       * sysdep.h: Do not define prototypes for memcpy and strchr if they
+       are macros.
+
+1999-05-21  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (sim_resume): Add more tracing output.
+
+1999-05-17  Keith Seitz  <keiths@cygnus.com>
+
+       * interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
+       (sim_resume): Correct off by one instruction error when a breakpoint
+       is hit.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-10  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (sim_resume): Record PC in case it is needed for error
+       messages and the original has been corrupted.
+
+1999-05-07  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
+       (util): Handle 0x50FF stubs properly.
+
+
+1999-04-29  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (set_initial_gprs): Only display memory range if
+       verbose option has been set.
+
+1999-04-22  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c: Add tracing and verbose options.
+       Fixed trap and syscall emulations.
+
+1999-04-08  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c: New file: Simulator for MCore.
+       * sysdep.h: New file: Systems definitions for MCore simulator.
+       * configure.in: New file: Configure script for MCore simulator.
+       * configure: New file: Genreated.
+       * config,in: New file: Config support.
+       * Makefile.in: New file: Meta makefile for MCore simulator.
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
deleted file mode 100644 (file)
index d01048c..0000000
+++ /dev/null
@@ -1,529 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_engine_run): Call TRACE_INSN.
-       (INSTRUCTION): Likewise.
-       * microblaze.isa (addi): Call TRACE_REGISTER.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-syscall.h.
-       (sim_engine_run): Call sim_syscall for brki instructions.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-04-01  Martin Liska  <mliska@suse.cz>
-
-       * interp.c (sim_engine_run): Use bool instead of int.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-05-30  Andrea Corallo  <andrea_corallo@yahoo.it>
-
-       * interp.c: (target_big_endian): target endianess recognition fix.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_store_register): Rename to ...
-       (microblaze_reg_store): ... this.  Delete local cpu var.
-       (sim_fetch_register): Rename to ...
-       (microblaze_reg_fetch): ... this.  Delete local cpu var.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-resume.o.
-       * interp.c (sim_resume): rename to ...
-       (sim_engine_run): ... this.  Change CPU.exception setting to
-       sim_engine_halt calls.  Change do/while to while(1).  Call
-       sim_events_process when sim_events_tick is true.
-       (sim_stop_reason): Delete.
-       * sim-main.h (microblaze_regset): Delete exception member.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
-       sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
-       sim_read, sim_do_command): Delete.
-       (set_initial_gprs): Delete memsize and call to init_pointers.
-       (sim_resume): Change rlat to MEM_RD_WORD.  Change issue_messages to
-       STATE_VERBOSE_P.
-       (sim_store_register, sim_fetch_register): Drop call to init_pointers.
-       (sim_open): Drop issue_messages setup.  Delete osize and call to
-       sim_size.  Call sim_do_commandf to set the memory size.
-       * microblaze.h (MEM): Delete.
-       (MEM_RD_BYTE): Change rbat to sim_core_read_1.
-       (MEM_RD_HALF): Change rhat to sim_core_read_2.
-       (MEM_RD_WORD): Change rlat to sim_core_read_4.
-       (MEM_WR_BYTE): Change wbat to sim_core_write_1.
-       (MEM_WR_HALF): Change what to sim_core_write_2.
-       (MEM_WR_WORD): Change wlat to sim_core_write_4.
-       * sim-main.h (microblaze_regset): Delete msize and memory.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (microblaze_pc_get, microblaze_pc_set): New functions.
-       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
-       includes.
-       (target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
-       (callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
-       sim_load, sim_set_callbacks, sim_complete_command): Delete.
-       (wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
-       (sim_size): Mark static and add SIM_CPU* as first arg.
-       (init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
-       (set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
-       (sim_resume): Add local cpu variable.  Pass it to rlat.
-       (sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
-       cpu variable.  Pass it to init_pointers.
-       (sim_stop_reason, sim_do_command): Add local cpu variable.
-       (sim_info): Add local cpu and callback variables.
-       (free_state): New cleanup function.
-       (sim_open): Rewrite to use new common logic.
-       (sim_close): Delete body.
-       (sim_create_inferior): Delete call to set_initial_gprs.
-       * microblaze.h (CPU): Redefine using cpu.
-       (MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
-       MEM_WR_WORD): Pass in cpu as first arg.
-       * sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
-       (MAX_NR_PROCESSORS): Delete.
-       (struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
-       LONG, SHORT): Delete.
-       [WATCHFUNCTIONS]: Delete.
-       (sim_info) [WATCHFUNCTIONS]: Delete.
-       (sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
-       pointers, and hi_stack.
-       (sim_do_command): Delete the "watch" command.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
-       SIM_AC_OPTION_INLINE.
-       * config.in, configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Strip trailing whitespace.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * confingure: Regenerate.
-       * interp.c: Include run-sim.h.
-       (microblaze_extract_unsigned_integer): Mark static.
-       (microblaze_store_unsigned_integer): Likewise.
-       (int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
-       (init_pointers, set_initial_gprs): Add (void) to prototype.
-       (opened, log_open, log_close, is_opened, handle_trap1, process_stub,
-       util, iu_carry): Delete.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-       (SIM_EXTRA_CLEAN): Delete.
-       (interp.o, microblaze-clean): Delete rules.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2015-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
-
-2015-02-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete sysdep.h and netinet/in.h includes.
-       Include stdlib.h and string.h and unistd.h.
-       * sysdep.h: Delete.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_kill): Delete unused func.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
-
-2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * interp.c (sim_do_command): Call freeargv() before return.
-
-2014-07-01  Chen Gang  <gang.chen.5i5j@gmail.com>
-
-       * interp.c: Use long int format instead of int format.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-02-17  Mike Frysinger  <vapier@gentoo.org>
-
-       PR gdb/16450
-       * interp.c (interrupt): Delete.
-       (sim_resume): Delete signal(SIGINT) handling.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_complete_command): New stub function.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/microblaze/ChangeLog-2021 b/sim/microblaze/ChangeLog-2021
new file mode 100644 (file)
index 0000000..d01048c
--- /dev/null
@@ -0,0 +1,529 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_engine_run): Call TRACE_INSN.
+       (INSTRUCTION): Likewise.
+       * microblaze.isa (addi): Call TRACE_REGISTER.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-syscall.h.
+       (sim_engine_run): Call sim_syscall for brki instructions.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-04-01  Martin Liska  <mliska@suse.cz>
+
+       * interp.c (sim_engine_run): Use bool instead of int.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-05-30  Andrea Corallo  <andrea_corallo@yahoo.it>
+
+       * interp.c: (target_big_endian): target endianess recognition fix.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_store_register): Rename to ...
+       (microblaze_reg_store): ... this.  Delete local cpu var.
+       (sim_fetch_register): Rename to ...
+       (microblaze_reg_fetch): ... this.  Delete local cpu var.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-resume.o.
+       * interp.c (sim_resume): rename to ...
+       (sim_engine_run): ... this.  Change CPU.exception setting to
+       sim_engine_halt calls.  Change do/while to while(1).  Call
+       sim_events_process when sim_events_tick is true.
+       (sim_stop_reason): Delete.
+       * sim-main.h (microblaze_regset): Delete exception member.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
+       sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
+       sim_read, sim_do_command): Delete.
+       (set_initial_gprs): Delete memsize and call to init_pointers.
+       (sim_resume): Change rlat to MEM_RD_WORD.  Change issue_messages to
+       STATE_VERBOSE_P.
+       (sim_store_register, sim_fetch_register): Drop call to init_pointers.
+       (sim_open): Drop issue_messages setup.  Delete osize and call to
+       sim_size.  Call sim_do_commandf to set the memory size.
+       * microblaze.h (MEM): Delete.
+       (MEM_RD_BYTE): Change rbat to sim_core_read_1.
+       (MEM_RD_HALF): Change rhat to sim_core_read_2.
+       (MEM_RD_WORD): Change rlat to sim_core_read_4.
+       (MEM_WR_BYTE): Change wbat to sim_core_write_1.
+       (MEM_WR_HALF): Change what to sim_core_write_2.
+       (MEM_WR_WORD): Change wlat to sim_core_write_4.
+       * sim-main.h (microblaze_regset): Delete msize and memory.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (microblaze_pc_get, microblaze_pc_set): New functions.
+       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
+       includes.
+       (target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
+       (callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
+       sim_load, sim_set_callbacks, sim_complete_command): Delete.
+       (wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
+       (sim_size): Mark static and add SIM_CPU* as first arg.
+       (init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
+       (set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
+       (sim_resume): Add local cpu variable.  Pass it to rlat.
+       (sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
+       cpu variable.  Pass it to init_pointers.
+       (sim_stop_reason, sim_do_command): Add local cpu variable.
+       (sim_info): Add local cpu and callback variables.
+       (free_state): New cleanup function.
+       (sim_open): Rewrite to use new common logic.
+       (sim_close): Delete body.
+       (sim_create_inferior): Delete call to set_initial_gprs.
+       * microblaze.h (CPU): Redefine using cpu.
+       (MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
+       MEM_WR_WORD): Pass in cpu as first arg.
+       * sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
+       (MAX_NR_PROCESSORS): Delete.
+       (struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
+       LONG, SHORT): Delete.
+       [WATCHFUNCTIONS]: Delete.
+       (sim_info) [WATCHFUNCTIONS]: Delete.
+       (sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
+       pointers, and hi_stack.
+       (sim_do_command): Delete the "watch" command.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
+       SIM_AC_OPTION_INLINE.
+       * config.in, configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Strip trailing whitespace.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * confingure: Regenerate.
+       * interp.c: Include run-sim.h.
+       (microblaze_extract_unsigned_integer): Mark static.
+       (microblaze_store_unsigned_integer): Likewise.
+       (int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
+       (init_pointers, set_initial_gprs): Add (void) to prototype.
+       (opened, log_open, log_close, is_opened, handle_trap1, process_stub,
+       util, iu_carry): Delete.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+       (SIM_EXTRA_CLEAN): Delete.
+       (interp.o, microblaze-clean): Delete rules.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2015-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
+
+2015-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete sysdep.h and netinet/in.h includes.
+       Include stdlib.h and string.h and unistd.h.
+       * sysdep.h: Delete.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_kill): Delete unused func.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
+
+2015-02-02  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * interp.c (sim_do_command): Call freeargv() before return.
+
+2014-07-01  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * interp.c: Use long int format instead of int format.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-02-17  Mike Frysinger  <vapier@gentoo.org>
+
+       PR gdb/16450
+       * interp.c (interrupt): Delete.
+       (sim_resume): Delete signal(SIGINT) handling.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_complete_command): New stub function.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
deleted file mode 100644 (file)
index e463f82..0000000
+++ /dev/null
@@ -1,4108 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_PATH_X call.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CHECK_LIB calls.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (dotrace): Make comment const.
-       * sim-main.h (dotrace):  Likewise.  Add ATTRIBUTE_PRINTF.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_monitor): Change ap type to address_word*.
-       (_P, P): New macros.  Rewrite dynamic printf logic to use these.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904sio.c (tx3904sio_fifo_push): Change next_buf to
-       unsigned_1.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904irc.c (tx3904irc_io_write_buffer): Initialize
-       register_value to 0.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Change %lx to %x and PRIx macros.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to AC_CHECK_FUNCS.
-       * config.in, configure: Regenerate.
-
-2021-06-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
-       with $(IGEN).
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c [!HAVE_DV_SOCKSER] (sockser_addr): Define to NULL.
-
-2021-05-22  Faraz Shahbazker  <fshahbazker@wavecomp.com>
-
-       * interp.c (sim_open): Add shadow mappings from 32-bit
-       address space to 64-bit sign-extended address space.
-
-2021-05-22  Faraz Shahbazker  <fshahbazker@wavecomp.com>
-
-       * interp.c (sim_create_inferior): Only truncate sign extension
-       bits for 32-bit target models.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Switch to sim_state_alloc_extra.
-       * micromips.igen: Change SD to mips_sim_state.
-       * micromipsrun.c (sim_engine_run): Likewise.
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (watch_options_install): Delete.
-       (struct swatch): Delete.
-       (struct sim_state): Delete.
-       (struct mips_sim_state): New struct.
-       (MIPS_SIM_STATE): Define.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-       * cp1.c, dsp.c, dv-tx3904cpu.c, dv-tx3904irc.c, dv-tx3904sio.c,
-       dv-tx3904tmr.c, m16run.c, mdmx.c, micromipsrun.c, sim-main.c:
-       Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904sio.c: Include stdlib.h.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (hw_extra_devices): Inline contents into
-       SIM_AC_OPTION_HARDWARE and delete.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_IGEN_OBJ): Change @mips_igen_engine@ to engine.o.
-       (MIPS_EXTRA_LIB, SIM_EXTRA_LIBS): Delete.
-       * configure.ac (mips_igen_engine, mips_extra_libs): Delete.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * mdmx.c (qh_acc): Change 2nd AccAddAQH to AccAddLQH.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * cp1.c (store_fcr): Mark static.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (hw_enabled): Delete.
-       (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (interp.o, m16run.o, micromipsrun.o, multi-run.o):
-       Remove.
-       (SIM_EXTRA_DEPS): New variable.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * Makefile.in: Set ASAN_OPTIONS when running igen.
-
-2021-04-04  Steve Ellcey  <sellcey@mips.com>
-           Faraz Shahbazker  <fshahbazker@wavecomp.com>
-
-       * interp.c (sim_monitor): Add switch entries for unlink (13),
-       lseek (14), and stat (15).
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (../igen/igen): Delete rule.
-       (tmp-igen, tmp-m16, tmp-micromips): Delete ../igen make.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_ALL): Delete.
-       (all): New target.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
-       and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-12-31  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
-
-       *  sim-main.c: Include <stdlib.h>.
-
-2020-12-14  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
-
-       * cp1.c: Include <stdlib.h>.
-
-2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
-
-       * configure: Re-generate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-11-11  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/20808
-       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Define CPU to cpu
-       and SD to sd.
-
-2016-11-11  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/20809
-       * mips.igen (check_u64): Enable for `r3900'.
-
-2016-02-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (sim_engine_run): Change sd->base.prog_bfd to
-       STATE_PROG_BFD (sd).
-       * configure: Regenerate.
-
-2016-01-18  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Maciej W. Rozycki  <macro@imgtec.com>
-
-       PR sim/19441
-       * micromips.igen (delayslot_micromips): Enable for `micromips32',
-       `micromips64' and `micromipsdsp' only.
-       (process_isa_mode): Enable for `micromips32' and `micromips64' only.
-       (do_micromips_jalr, do_micromips_jal): Likewise.
-       (compute_movep_src_reg): Likewise.
-       (compute_andi16_imm): Likewise.
-       (convert_fmt_micromips): Likewise.
-       (convert_fmt_micromips_cvt_d): Likewise.
-       (convert_fmt_micromips_cvt_s): Likewise.
-       (FMT_MICROMIPS): Likewise.
-       (FMT_MICROMIPS_CVT_D): Likewise.
-       (FMT_MICROMIPS_CVT_S): Likewise.
-
-2016-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include elf-bfd.h.
-       (sim_create_inferior): Truncate pc to 32-bits when EI_CLASS is
-       ELFCLASS32.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_SMP): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (mips_endian): Change LITTLE_ENDIAN to LITTLE.
-       (default_endian): Likewise.  Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-       * sim-main.h (BigEndianMem): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904cpu.c (CPU, SD): Delete.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (mips_reg_store, mips_reg_fetch): Define.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (sim_store_register): Rename to ...
-       (mips_reg_store): ... this.  Delete local cpu var.
-       Update sim_io_eprintf calls.
-       (sim_fetch_register): Rename to ...
-       (mips_reg_fetch): ... this.  Delete local cpu var.
-       Update sim_io_eprintf calls.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write, sim_read): Delete.
-       (store_word): Delete call to AddressTranslation and set paddr=vaddr.
-       (load_word): Likewise.
-       * micromips.igen (cache): Likewise.
-       * mips.igen (do_ll, do_lld, do_sc, do_scd, do_suxc1_32, do_swc1,
-       do_swxc1, cache, do_load, do_load_left, do_load_right, do_store,
-       do_store_left, do_store_right, do_load_double, do_store_double):
-       Likewise.
-       (do_pref): Delete call to AddressTranslation and stub out Prefetch.
-       (do_prefx): Likewise.
-       * sim-main.c (address_translation, prefetch): Delete.
-       (ifetch32, ifetch16): Delete call to AddressTranslation and set
-       paddr=vaddr.
-       * sim-main.h (Uncached, CachedNoncoherent, CachedCoherent, Cached,
-       address_translation, AddressTranslation, prefetch, Prefetch): Delete.
-       (LoadMemory, StoreMemory): Delete CCA arg.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_SUBTARGET): Drop -DTARGET_TX3904=1.
-       * configure: Regenerated.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_QUIET_NAN_NEGATED): Move from tconfig.h.
-       * tconfig.h: Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_WATCHPOINTS): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
-
-2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * micromips.igen (process_isa_mode): Fix left shift of negative
-       value.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_MODULO_MEMORY): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Rename to ...
-       (mips_sim_close): ... this.  Delete calls to sim_module_uninstall and
-       sim_io_shutdown.
-       * sim-main.h (mips_sim_close): Declare.
-       (SIM_CLOSE_HOOK): Define.
-
-2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Ali Lown  <ali.lown@imgtec.com>
-
-       * Makefile.in (tmp-micromips): New rule.
-       (tmp-mach-multi): Add support for micromips.
-       * configure.ac (mips*-sde-elf* | mips*-mti-elf*): Made a multi sim
-       that works for both mips64 and micromips64.
-       (mipsisa32r2*-*-*): Made a multi sim that works for mips32 and
-       micromips32.
-       Add build support for micromips.
-       * dsp.igen (do_ph_s_absq, do_w_s_absq, do_qb_s_absq, do_addsc,
-       do_addwc, do_bitrev, do_extpv, do_extrv, do_extrv_s_h, do_insv,
-       do_lxx do_modsub, do_mthlip, do_mulsaq_s_w_ph, do_ph_packrl, do_qb_pick
-       do_ph_pick, do_qb_ph_precequ, do_qb_ph_preceu, do_w_preceq
-       do_w_ph_precrq, do_ph_qb_precrq, do_w_ph_rs_precrq do_qb_w_raddu,
-       do_rddsp, do_repl, do_shilov, do_ph_shl, do_qb_shl do_w_s_shllv,
-       do_ph_shrlv, do_w_r_shrav, do_wrdsp, do_qb_shrav, do_append,
-       do_balign, do_ph_w_mulsa, do_ph_qb_precr, do_prepend): New functions.
-       Refactored instruction code to use these functions.
-       * dsp2.igen: Refactored instruction code to use the new functions.
-       * interp.c (decode_coproc): Refactored to work with any instruction
-       encoding.
-       (isa_mode): New variable
-       (RSVD_INSTRUCTION): Changed to 0x00000039.
-       * m16.igen (BREAK16): Refactored instruction to use do_break16.
-       (JALX32): Add mips32, mips64, mips32r2 and mips64r2 models.
-       * micromips.dc: New file.
-       * micromips.igen: New file.
-       * micromips16.dc: New file.
-       * micromipsdsp.igen: New file.
-       * micromipsrun.c: New file.
-       * mips.igen (do_swc1): Changed to work with any instruction encoding.
-       (do_add do_addi do_andi do_dadd do_daddi do_dsll32 do_dsra32
-       do_dsrl32, do_dsub, do_break, do_break16, do_clo, do_clz, do_dclo,
-       do_dclz, do_lb, do_lh, do_lwr, do_lwl, do_lwc, do_lw, do_lwu, do_lhu,
-       do_ldc, do_lbu, do_ll, do_lld, do_lui, do_madd, do_dsp_madd, do_maddu,
-       do_dsp_maddu, do_dsp_mfhi, do_dsp_mflo, do_movn, do_movz, do_msub,
-       do_dsp_msub, do_msubu, do_dsp_msubu, do_mthi, do_dsp_mthi, do_mtlo,
-       do_dsp_mtlo, do_mul, do_dsp_mult, do_dsp_multu, do_pref, do_sc,
-       do_scd, do_sub, do_sw, do_teq, do_teqi, do_tge, do_tgei, do_tgeiu,
-       do_tgeu, do_tlt do_tlti, do_tltiu, do_tltu, do_tne, do_tnei, do_abs_fmt,
-       do_add_fmt, do_alnv_ps, do_c_cond_fmt, do_ceil_fmt, do_cfc1, do_ctc1,
-       do_cvt_d_fmt, do_cvt_l_fmt, do_cvt_ps_s, do_cvt_s_fmt, do_cvt_s_pl,
-       do_cvt_s_pu, do_cvt_w_fmt, do_div_fmt, do_dmfc1b, do_dmtc1b, do_floor_fmt,
-       do_luxc1_32, do_luxc1_64, do_lwc1, do_lwxc1, do_madd_fmt, do_mfc1b,
-       do_mov_fmt, do_movtf, do_movtf_fmt, do_movn_fmt, do_movz_fmt, do_msub_fmt,
-       do_mtc1b, do_mul_fmt, do_neg_fmt, do_nmadd_fmt, do_nmsub_fmt, do_pll_ps,
-       do_plu_ps, do_pul_ps, do_puu_ps, do_recip_fmt, do_round_fmt, do_rsqrt_fmt,
-       do_prefx, do_sdc1, do_suxc1_32, do_suxc1_64, do_sqrt_fmt, do_sub_fmt,
-       do_swc1, do_swxc1, do_trunc_fmt): New functions, refactored from existing
-       instructions.
-       Refactored instruction code to use these functions.
-       (RSVD): Changed to use new reserved instruction.
-       (loadstore_ea, not_word_value, unpredictable, check_mt_hilo,
-       check_mf_hilo, check_mult_hilo, check_div_hilo, check_u64, do_luxc1_32,
-       do_sdc1, do_suxc1_32, check_fmt_p, check_fpu, do_load_double,
-       do_store_double):  Added micromips32 and micromips64 models.
-       Added include for micromips.igen and micromipsdsp.igen
-       Add micromips32 and micromips64 models.
-       (DecodeCoproc): Updated to use new macro definition.
-       * mips3264r2.igen (do_dsbh, do_dshd, do_dext, do_dextm, do_dextu, do_di,
-       do_dins, do_dinsm, do_ei, do_ext, do_mfhc1, do_mthc1, do_ins, do_dinsu,
-       do_seb, do_seh do_rdhwr, do_wsbh): New functions.
-       Refactored instruction code to use these functions.
-       * sim-main.h (CP0_operation): New enum.
-       (DecodeCoproc): Updated macro.
-       (IMEM32_MICROMIPS, IMEM16_MICROMIPS, MICROMIPS_MINOR_OPCODE,
-       MICROMIPS_DELAYSLOT_SIZE_ANY, MICROMIPS_DELAYSLOT_SIZE_16,
-       MICROMIPS_DELAYSLOT_SIZE_32, ISA_MODE_MIPS32 and
-       ISA_MODE_MICROMIPS): New defines.
-       (sim_state): Add isa_mode field.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change configure.in to configure.ac.
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c [TRACE]: Delete.
-       (TRACE): Change to WITH_TRACE_ANY_P.
-       [!WITH_TRACE_ANY_P] (open_trace): Define.
-       (mips_option_handler, open_trace, sim_close, dotrace):
-       Change defined(TRACE) to WITH_TRACE_ANY_P.
-       (sim_open): Delete TRACE ifdef check.
-       * sim-main.c (load_memory): Delete TRACE ifdef check.
-       (store_memory): Likewise.
-       * sim-main.h [WITH_TRACE_ANY_P] (dotrace, tracefh): Protect decls.
-       [!WITH_TRACE_ANY_P] (dotrace): Define.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete
-       comments.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Change CIA_GET to
-       PU_PC_GET.
-       * interp.c (interrupt_event): Change CIA_GET to CPU_PC_GET.
-       (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
-       * m16run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
-       CIA_SET to CPU_PC_SET.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
-       * interp.c (mips_pc_get, mips_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
-       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-       (sim_pc_get): Delete.
-       * sim-main.h (SIM_CPU): Define.
-       (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Drop &.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mips_option_handler, open_trace, sim_close,
-       sim_write, sim_read, sim_store_register, sim_fetch_register,
-       sim_create_inferior, pr_addr, pr_uword64): Convert old style
-       prototypes.
-       (sim_open): Convert old style prototype.  Change casts with
-       sim_write to unsigned char *.
-       (fetch_str): Change null to unsigned char, and change cast to
-       unsigned char *.
-       (sim_monitor): Change c & ch to unsigned char.  Change cast to
-       unsigned char *.
-
-2015-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Move interp.o to the start of the list.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * tconfig.h (SIM_HAVE_PROFILE): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_pc_get): New function.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
-       * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac (mips_extra_objs): Delete.
-       * Makefile.in (MIPS_EXTRA_OBJS): Delete.
-       (SIM_OBJS): Delete MIPS_EXTRA_OBJS.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac: Delete sim_hw checks for dv-sockser.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-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.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Address use of dv-sockser.o.
-       * tconfig.in: Conditionalize use of dv_sockser_install.
-       * configure: Regenerated.
-       * config.in: Regenerated.
-
-2012-10-04  Chao-ying Fu  <fu@mips.com>
-           Steve Ellcey  <sellcey@mips.com>
-
-       * mips/mips3264r2.igen (rdhwr): New.
-
-2012-09-03 Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Always link against dv-sockser.o.
-       * configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-18  Nick Clifton  <nickc@redhat.com>
-
-       PR 14072
-       * interp.c: Include config.h before system header files.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
-       $(SIM_EXTRA_DEPS).
-       (tmp-mach-multi): Exit early when igen fails.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Delete.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-tx3904sio.c (tx3904sio_fifo_push): Change zfree to free.
-       (tx3904sio_fifo_reset): Likewise.
-       * interp.c (sim_monitor): Likewise.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-01-18  Masaki Muranaka  <monaka@monami-software.com>  (tiny change)
-
-       * interp.c: Don't include sysdep.h
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2007-10-22  Richard Sandiford  <rsandifo@nildram.co.uk>
-
-       * mips.igen (check_fmt_p): Provide a separate mips32r2 definition
-       that unconditionally allows fmt_ps.
-       (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU)
-       (FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt)
-       (PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change
-       filter from 64,f to 32,f.
-       (PREFX): Change filter from 64 to 32.
-       (LDXC1, LUXC1): Provide separate mips32r2 implementations
-       that use do_load_double instead of do_load.  Make both LUXC1
-       versions unpredictable if SizeFGR () != 64.
-       (SDXC1, SUXC1): Extend to mips32r2, using do_store_double
-       instead of do_store.  Remove unused variable.  Make both SUXC1
-       versions unpredictable if SizeFGR () != 64.
-
-2007-10-07  Richard Sandiford  <rsandifo@nildram.co.uk>
-
-       * mips.igen (ll): Fix mask for WITH_TARGET_WORD_BITSIZE == 32.
-       (sc, swxc1): Likewise.  Also fix big-endian and reverse-endian
-       shifts for that case.
-
-2007-09-04  Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (options enum): Add OPTION_INFO_MEMORY.
-       (display_mem_info): New static variable.
-       (mips_option_handler): Handle OPTION_INFO_MEMORY.
-       (mips_options): Add info-memory and memory-info.
-       (sim_open): After processing the command line and board
-       specification, check display_mem_info.  If it is set then
-       call the real handler for the --memory-info command line
-       switch.
-
-2007-08-24  Joel Brobecker  <brobecker@adacore.com>
-
-       * configure.ac: Change license of multi-run.c to GPL version 3.
-       * configure: Regenerate.
-
-2007-06-28  Richard Sandiford  <richard@codesourcery.com>
-
-       * configure.ac, configure: Revert last patch.
-
-2007-06-26  Richard Sandiford  <richard@codesourcery.com>
-
-       * configure.ac (sim_mipsisa3264_configs): New variable.
-       (mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make
-       every configuration support all four targets, using the triplet to
-       determine the default.
-       * configure: Regenerate.
-
-2007-06-25  Richard Sandiford  <richard@codesourcery.com>
-
-       * Makefile.in (m16run.o): New rule.
-
-2007-05-15  Thiemo Seufer  <ths@mips.com>
-
-       * mips3264r2.igen (DSHD): Fix compile warning.
-
-2007-05-14  Thiemo Seufer  <ths@mips.com>
-
-       * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
-       CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
-       NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
-       RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
-       for mips32r2.
-
-2007-03-01  Thiemo Seufer  <ths@mips.com>
-
-       * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
-       and mips64.
-
-2007-02-20  Thiemo Seufer  <ths@mips.com>
-
-       * dsp.igen: Update copyright notice.
-       * dsp2.igen: Fix copyright notice.
-
-2007-02-20  Thiemo Seufer  <ths@mips.com>
-           Chao-Ying Fu  <fu@mips.com>
-
-       * Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
-       * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
-       Add dsp2 to sim_igen_machine.
-       * configure: Regenerate.
-       * dsp.igen (do_ph_op): Add MUL support when op = 2.
-       (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
-       (mulq_rs.ph): Use do_ph_mulq.
-       (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
-       * mips.igen: Add dsp2 model and include dsp2.igen.
-       (MFHI, MFLO, MTHI, MTLO): Extend these instructions for
-       for *mips32r2, *mips64r2, *dsp.
-       (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
-       for *mips32r2, *mips64r2, *dsp2.
-       * dsp2.igen: New file for MIPS DSP REV 2 ASE.
-
-2007-02-19  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
-       jumps with hazard barrier.
-
-2007-02-19  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * interp.c (sim_monitor): Flush stdout and stderr file descriptors
-       after each call to sim_io_write.
-
-2007-02-19  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * interp.c (ColdReset): Set CP0 Config0 to reflect the address size
-       supported by this simulator.
-       (decode_coproc): Recognise additional CP0 Config registers
-       correctly.
-
-2007-02-19  Thiemo Seufer  <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * cp1.c (value_fpr): Don't inherit existing FPR_STATE for
-       uninterpreted formats. If fmt is one of the uninterpreted types
-       don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
-       fmt_word, and fmt_uninterpreted_64 like fmt_long.
-       (store_fpr): When writing an invalid odd register, set the
-       matching even register to fmt_unknown, not the following register.
-       * interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
-       the the memory window at offset 0 set by --memory-size command
-       line option.
-       (sim_store_register): Handle storing 4 bytes to an 8 byte floating
-       point register.
-       (sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
-       register.
-       (sim_monitor): When returning the memory size to the MIPS
-       application, use the value in STATE_MEM_SIZE, not an arbitrary
-       hardcoded value.
-       (cop_lw): Don' mess around with FPR_STATE, just pass
-       fmt_uninterpreted_32 to StoreFPR.
-       (cop_sw): Similarly.
-       (cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
-       (cop_sd): Similarly.
-       * mips.igen (not_word_value): Single version for mips32, mips64
-       and mips16.
-
-2007-02-19  Thiemo Seufer <ths@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * interp.c (MEM_SIZE): Increase default memory size from 2 to 8
-       MBytes.
-
-2007-02-17  Thiemo Seufer  <ths@mips.com>
-
-       * configure.ac (mips*-sde-elf*): Move in front of generic machine
-       configuration.
-       * configure: Regenerate.
-
-2007-02-17  Thiemo Seufer  <ths@mips.com>
-
-       * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
-       Add mdmx to sim_igen_machine.
-       (mipsisa64*-*-*): Likewise. Remove dsp.
-       (mipsisa32*-*-*): Remove dsp.
-       * configure: Regenerate.
-
-2007-02-13  Thiemo Seufer  <ths@mips.com>
-
-       * configure.ac: Add mips*-sde-elf* target.
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in, configure: Regenerate.
-
-2006-11-07  Thiemo Seufer  <ths@mips.com>
-
-       * dsp.igen (do_w_op): Fix compiler warning.
-
-2006-08-29  Thiemo Seufer  <ths@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
-       sim_igen_machine.
-       * configure: Regenerate.
-       * mips.igen (model): Add smartmips.
-       (MADDU): Increment ACX if carry.
-       (do_mult): Clear ACX.
-       (ROR,RORV): Add smartmips.
-       (include): Include smartmips.igen.
-       * sim-main.h (ACX): Set to REGISTERS[89].
-       * smartmips.igen: New file.
-
-2006-08-29  Thiemo Seufer  <ths@mips.com>
-           David Ung  <davidu@mips.com>
-
-       * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
-       mips3264r2.igen. Add missing dependency rules.
-       * m16e.igen: Support for mips16e save/restore instructions.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-15 Chao-ying Fu  <fu@mips.com>
-
-       * dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
-
-2006-04-18  Nick Clifton  <nickc@redhat.com>
-
-       * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break
-       statement.
-
-2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate.
-
-2005-12-14  Chao-ying Fu  <fu@mips.com>
-
-       * Makefile.in (SIM_OBJS): Add dsp.o.
-       (dsp.o): New dependency.
-       (IGEN_INCLUDE): Add dsp.igen.
-       * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
-       mipsisa64*-*-*): Add dsp to sim_igen_machine.
-       * configure: Regenerate.
-       * mips.igen: Add dsp model and include dsp.igen.
-       (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
-       because these instructions are extended in DSP ASE.
-       * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
-       adding 6 DSP accumulator registers and 1 DSP control register.
-       (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
-       AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
-       DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
-       DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
-       DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
-       DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
-       DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
-       DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
-       DSPCR_CCOND_SMASK): New define.
-       (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
-       * dsp.c, dsp.igen: New files for MIPS DSP ASE.
-
-2005-07-08  Ian Lance Taylor  <ian@airs.com>
-
-       * tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
-
-2005-06-16  David Ung  <davidu@mips.com>
-           Nigel Stephens  <nigel@mips.com>
-
-       * mips.igen: New mips16e model and include m16e.igen.
-       (check_u64): Add mips16e tag.
-       * m16e.igen: New file for MIPS16e instructions.
-       * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
-       mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
-       models.
-       * configure: Regenerate.
-
-2005-05-26  David Ung  <davidu@mips.com>
-
-       * mips.igen (mips32r2, mips64r2): New ISA models.  Add new model
-       tags to all instructions which are applicable to the new ISAs.
-       (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
-       vr.igen.
-       * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
-       instructions.
-       * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
-       to mips.igen.
-       * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
-       * configure: Regenerate.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-09-24  Monika Chaddha  <monika@acmet.com>
-
-       Committed by Andrew Cagney.
-       * m16.igen (CMP, CMPI): Fix assembler.
-
-2004-08-18  Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine.
-       * configure: Regenerate.
-
-2004-06-25  Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in (sim_m16_machine): Include mipsIII.
-       * configure: Regenerate.
-
-2004-05-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
-
-       * mips/interp.c (decode_coproc): Sign-extend the address retrieved
-       from COP0_BADVADDR.
-       * mips/sim-main.h (COP0_BADVADDR): Remove a cast.
-
-2004-04-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New.
-
-2004-04-09  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (check_fmt): Remove.
-       (ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W)
-       (CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt)
-       (FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt)
-       (MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt)
-       (ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt)
-       (TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats.
-       (check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
-       (FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt)
-       (SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt.
-       (C.cnd.fmta): Remove incorrect call to check_fmt_p.
-
-2004-04-09  Chris Demetriou  <cgd@broadcom.com>
-
-       * sb1.igen (check_sbx): New function.
-       (PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx.
-
-2004-03-29  Chris Demetriou  <cgd@broadcom.com>
-           Richard Sandiford  <rsandifo@redhat.com>
-
-       * sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
-       (MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
-       * mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
-       separate implementations for mipsIV and mipsV.  Use new macros to
-       determine whether the restrictions apply.
-
-2004-01-19  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
-       (check_mult_hilo): Improve comments.
-       (check_div_hilo): Likewise.  Also, fork off a new version
-       to handle mips32/mips64 (since there are no hazards to check
-       in MIPS32/MIPS64).
-
-2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
-
-       * mips.igen (do_dmultx): Fix check for negative operands.
-
-2003-05-16  Ian Lance Taylor  <ian@airs.com>
-
-       * Makefile.in (SHELL): Make sure this is defined.
-       (various): Use $(SHELL) whenever we invoke move-if-change.
-
-2003-05-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: Tweak attribution slightly.
-       * cp1.h: Likewise.
-       * mdmx.c: Likewise.
-       * mdmx.igen: Likewise.
-       * mips3d.igen: Likewise.
-       * sb1.igen: Likewise.
-
-2003-04-15  Richard Sandiford  <rsandifo@redhat.com>
-
-       * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
-       unsigned operands.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_open): Rename _bfd to bfd.
-       (sim_create_inferior): Ditto.
-
-2003-01-14  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
-
-2003-01-14  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (EI, DI): Remove.
-
-2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
-
-       * Makefile.in (tmp-run-multi): Fix mips16 filter.
-
-2003-01-04  Richard Sandiford  <rsandifo@redhat.com>
-           Andrew Cagney  <ac131313@redhat.com>
-           Gavin Romig-Koch  <gavin@redhat.com>
-           Graydon Hoare  <graydon@redhat.com>
-           Aldy Hernandez  <aldyh@redhat.com>
-           Dave Brolley  <brolley@redhat.com>
-           Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
-       (sim_mach_default): New variable.
-       (mips64vr-*-*, mips64vrel-*-*): New configurations.
-       Add a new simulator generator, MULTI.
-       * configure: Regenerate.
-       * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
-       (multi-run.o): New dependency.
-       (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
-       (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
-       (tmp-multi): Combine them.
-       (BUILT_SRC_FROM_MULTI): New variable.  Depend on tmp-multi.
-       (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
-       (distclean-extra): New rule.
-       * sim-main.h: Include bfd.h.
-       (MIPS_MACH): New macro.
-       * mips.igen (vr4120, vr5400, vr5500): New models.
-       (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
-       * vr.igen: Replace with new version.
-
-2003-01-04  Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
-       * configure: Regenerate.
-
-2002-12-31  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (check_branch_bug, mark_branch_bug): Remove.
-       * mips.igen: Remove all invocations of check_branch_bug and
-       mark_branch_bug.
-
-2002-12-16  Chris Demetriou  <cgd@broadcom.com>
-
-       * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
-
-2002-07-30  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (do_load_double, do_store_double): New functions.
-       (LDC1, SDC1): Rename to...
-       (LDC1b, SDC1b): respectively.
-       (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
-
-2002-07-29  Michael Snyder  <msnyder@redhat.com>
-
-       * cp1.c (fp_recip2): Modify initialization expression so that
-       GCC will recognize it as constant.
-
-2002-06-18  Chris Demetriou  <cgd@broadcom.com>
-
-       * mdmx.c (SD_): Delete.
-       (Unpredictable): Re-define, for now, to directly invoke
-       unpredictable_action().
-       (mdmx_acc_op): Fix error in .ob immediate handling.
-
-2002-06-18  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_firmware_command): Initialize `address'.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2002-06-14  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * mips3d.igen: New file which contains MIPS-3D ASE instructions.
-       * Makefile.in (IGEN_INCLUDE): Add mips3d.igen.
-       * mips.igen: Include mips3d.igen.
-       (mips3d): New model name for MIPS-3D ASE instructions.
-       (CVT.W.fmt): Don't use this instruction for word (source) format
-       instructions.
-       * cp1.c (fp_binary_r, fp_add_r, fp_mul_r, fpu_inv1, fpu_inv1_32)
-       (fpu_inv1_64, fp_recip1, fp_recip2, fpu_inv_sqrt1, fpu_inv_sqrt1_32)
-       (fpu_inv_sqrt1_64, fp_rsqrt1, fp_rsqrt2): New functions.
-       (NR_FRAC_GUARD, IMPLICIT_1): New macros.
-       * sim-main.h (fmt_pw, CompareAbs, AddR, MultiplyR, Recip1, Recip2)
-       (RSquareRoot1, RSquareRoot2): New macros.
-       (fp_add_r, fp_mul_r, fp_recip1, fp_recip2, fp_rsqrt1)
-       (fp_rsqrt2): New functions.
-       * configure.in: Add MIPS-3D support to mipsisa64 simulator.
-       * configure: Regenerate.
-
-2002-06-13  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * cp1.c (FP_PS_upper, FP_PS_lower, FP_PS_cat, FPQNaN_PS): New macros.
-       (value_fpr, store_fpr, fp_cmp, fp_unary, fp_binary, fp_mac)
-       (fp_inv_sqrt, fpu_format_name): Add paired-single support.
-       (convert): Note that this function is not used for paired-single
-       format conversions.
-       (ps_lower, ps_upper, pack_ps, convert_ps): New functions.
-       * mips.igen (FMT, MOVtf.fmt): Add paired-single support.
-       (check_fmt_p): Enable paired-single support.
-       (ALNV.PS, CVT.PS.S, CVT.S.PL, CVT.S.PU, PLL.PS, PLU.PS, PUL.PS)
-       (PUU.PS): New instructions.
-       (CVT.S.fmt): Don't use this instruction for paired-single format
-       destinations.
-       * sim-main.h (FP_formats): New value 'fmt_ps.'
-       (ps_lower, ps_upper, pack_ps, convert_ps): New prototypes.
-       (PSLower, PSUpper, PackPS, ConvertPS): New macros.
-
-2002-06-12  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Fix formatting of function calls in
-       many FP operations.
-
-2002-06-12  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (MOVN, MOVZ): Trace result.
-       (TNEI): Print "tnei" as the opcode name in traces.
-       (CEIL.W): Add disassembly string for traces.
-       (RSQRT.fmt): Make location of disassembly string consistent
-       with other instructions.
-
-2002-06-12  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (X): Delete unused function.
-
-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>
-
-       * cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
-       (fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
-       * sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
-       (fp_nmsub): New prototypes.
-       (RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
-       (NegMultiplySub): New defines.
-       * mips.igen (RSQRT.fmt): Use RSquareRoot().
-       (MADD.D, MADD.S): Replace with...
-       (MADD.fmt): New instruction.
-       (MSUB.D, MSUB.S): Replace with...
-       (MSUB.fmt): New instruction.
-       (NMADD.D, NMADD.S): Replace with...
-       (NMADD.fmt): New instruction.
-       (NMSUB.D, MSUB.S): Replace with...
-       (NMSUB.fmt): New instruction.
-
-2002-06-07  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * cp1.c: Fix more comment spelling and formatting.
-       (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value.
-       (denorm_mode): New function.
-       (fpu_unary, fpu_binary): Round results after operation, collect
-       status from rounding operations, and update the FCSR.
-       (convert): Collect status from integer conversions and rounding
-       operations, and update the FCSR.  Adjust NaN values that result
-       from conversions.  Convert to use sim_io_eprintf rather than
-       fprintf, and remove some debugging code.
-       * cp1.h (fenr_FS): New define.
-
-2002-06-07  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c (convert): Remove unusable debugging code, and move MIPS
-       rounding mode to sim FP rounding mode flag conversion code into...
-       (rounding_mode): New function.
-
-2002-06-07  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: Clean up formatting of a few comments.
-       (value_fpr): Reformat switch statement.
-
-2002-06-06  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * cp1.h: New file.
-       * sim-main.h: Include cp1.h.
-       (SETFCC, GETFCC, IR, UF, OF, DX, IO, UO, FP_FLAGS, FP_ENABLE)
-       (FP_CAUSE, GETFS, FP_RM_NEAREST, FP_RM_TOZERO, FP_RM_TOPINF)
-       (FP_RM_TOMINF, GETRM): Remove.  Moved to cp1.h.
-       (FP_FS, FP_MASK_RM, FP_SH_RM, Nan, Less, Equal): Remove.
-       (value_fcr, store_fcr, test_fcsr, fp_cmp): New prototypes.
-       (ValueFCR, StoreFCR, TestFCSR, Compare): New macros.
-       * cp1.c: Don't include sim-fpu.h; already included by
-       sim-main.h.  Clean up formatting of some comments.
-       (NaN, Equal, Less): Remove.
-       (test_fcsr, value_fcr, store_fcr, update_fcsr, fp_test)
-       (fp_cmp): New functions.
-       * mips.igen (do_c_cond_fmt): Remove.
-       (C.cond.fmta, C.cond.fmtb): Replace uses of do_c_cond_fmt_a with
-       Compare.  Add result tracing.
-       (CxC1): Remove, replace with...
-       (CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions.
-       (DMxC1): Remove, replace with...
-       (DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions.
-       (MxC1): Remove, replace with...
-       (MFC1a, MFC1b, MTC1a, MTC1b): New instructions.
-
-2002-06-04  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (FGRIDX): Remove, replace all uses with...
-       (FGR_BASE): New macro.
-       (FP0_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): New macros.
-       (_sim_cpu): Move 'fgr' member to be right before 'fpr_state' member.
-       (NR_FGR, FGR): Likewise.
-       * interp.c: Replace all uses of FGRIDX with FGR_BASE.
-       * mips.igen: Likewise.
-
-2002-06-04  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: Add an FSF Copyright notice to this file.
-
-2002-06-04  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * cp1.c (Infinity): Remove.
-       * sim-main.h (Infinity): Likewise.
-
-       * cp1.c (fp_unary, fp_binary): New functions.
-       (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip)
-       (fp_sqrt): New functions, implemented in terms of the above.
-       (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
-       (Recip, SquareRoot): Remove (replaced by functions above).
-       * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div)
-       (fp_recip, fp_sqrt): New prototypes.
-       (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
-       (Recip, SquareRoot): Replace prototypes with #defines which
-       invoke the functions above.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate)
-       (Add, Sub, Multiply, Divide, Recip, SquareRoot): Move lower in
-       file, remove PARAMS from prototypes.
-       (value_fpr, store_fpr, convert): Likewise.  Use SIM_STATE to provide
-       simulator state arguments.
-       (ValueFPR, StoreFPR, Convert): Move lower in file.  Use SIM_ARGS to
-       pass simulator state arguments.
-       * cp1.c (SD): Redefine as CPU_STATE(cpu).
-       (store_fpr, convert): Remove 'sd' argument.
-       (value_fpr): Likewise.  Convert to use 'SD' instead.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c (Min, Max): Remove #if 0'd functions.
-       * sim-main.h (Min, Max): Remove.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: fix formatting of switch case and default labels.
-       * interp.c: Likewise.
-       * sim-main.c: Likewise.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: Clean up comments which describe FP formats.
-        (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * configure.in (mipsisa64sb1*-*-*): New target for supporting
-       Broadcom SiByte SB-1 processor configurations.
-       * configure: Regenerate.
-       * sb1.igen: New file.
-       * mips.igen: Include sb1.igen.
-       (sb1): New model.
-       * Makefile.in (IGEN_INCLUDE): Add sb1.igen.
-       * mdmx.igen: Add "sb1" model to all appropriate functions and
-       instructions.
-       * mdmx.c (AbsDiffOB, AvgOB, AccAbsDiffOB): New functions.
-       (ob_func, ob_acc): Reference the above.
-       (qh_acc): Adjust to keep the same size as ob_acc.
-       * sim-main.h (status_SBX, MX_VECT_ABSD, MX_VECT_AVG, MX_AbsDiff)
-       (MX_Avg, MX_VECT_ABSDA, MX_AbsDiffC): New macros.
-
-2002-06-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
-
-2002-06-02  Chris Demetriou  <cgd@broadcom.com>
-           Ed Satterthwaite  <ehs@broadcom.com>
-
-       * mips.igen (mdmx): New (pseudo-)model.
-       * mdmx.c, mdmx.igen: New files.
-       * Makefile.in (SIM_OBJS): Add mdmx.o.
-       * sim-main.h (MDMX_accumulator, MX_fmtsel, signed24, signed48):
-       New typedefs.
-       (ACC, MX_Add, MX_AddA, MX_AddL, MX_And, MX_C_EQ, MX_C_LT, MX_Comp)
-       (MX_FMT_OB, MX_FMT_QH, MX_Max, MX_Min, MX_Msgn, MX_Mul, MX_MulA)
-       (MX_MulL, MX_MulS, MX_MulSL, MX_Nor, MX_Or, MX_Pick, MX_RAC)
-       (MX_RAC_H, MX_RAC_L, MX_RAC_M, MX_RNAS, MX_RNAU, MX_RND_AS)
-       (MX_RND_AU, MX_RND_ES, MX_RND_EU, MX_RND_ZS, MX_RND_ZU, MX_RNES)
-       (MX_RNEU, MX_RZS, MX_RZU, MX_SHFL, MX_ShiftLeftLogical)
-       (MX_ShiftRightArith, MX_ShiftRightLogical, MX_Sub, MX_SubA, MX_SubL)
-       (MX_VECT_ADD, MX_VECT_ADDA, MX_VECT_ADDL, MX_VECT_AND)
-       (MX_VECT_MAX, MX_VECT_MIN, MX_VECT_MSGN, MX_VECT_MUL, MX_VECT_MULA)
-       (MX_VECT_MULL, MX_VECT_MULS, MX_VECT_MULSL, MX_VECT_NOR)
-       (MX_VECT_OR, MX_VECT_SLL, MX_VECT_SRA, MX_VECT_SRL, MX_VECT_SUB)
-       (MX_VECT_SUBA, MX_VECT_SUBL, MX_VECT_XOR, MX_WACH, MX_WACL, MX_Xor)
-       (SIM_ARGS, SIM_STATE, UnpredictableResult, fmt_mdmx, ob_fmtsel)
-       (qh_fmtsel): New macros.
-       (_sim_cpu): New member "acc".
-       (mdmx_acc_op, mdmx_cc_op, mdmx_cpr_op, mdmx_pick_op, mdmx_rac_op)
-       (mdmx_round_op, mdmx_shuffle, mdmx_wach, mdmx_wacl): New functions.
-
-2002-05-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * interp.c: Use 'deprecated' rather than 'depreciated.'
-       * sim-main.h: Likewise.
-
-2002-05-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult
-       which wouldn't compile anyway.
-       * sim-main.h (unpredictable_action): New function prototype.
-       (Unpredictable): Define to call igen function unpredictable().
-       (NotWordValue): New macro to call igen function not_word_value().
-       (UndefinedResult): Remove.
-       * interp.c (undefined_result): Remove.
-       (unpredictable_action): New function.
-       * mips.igen (not_word_value, unpredictable): New functions.
-       (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL)
-       (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu)
-       (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke
-       NotWordValue() to check for unpredictable inputs, then
-       Unpredictable() to handle them.
-
-2002-02-24  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Fix formatting of calls to Unpredictable().
-
-2002-04-20  Andrew Cagney  <ac131313@redhat.com>
-
-       * interp.c (sim_open): Revert previous change.
-
-2002-04-18  Alexandre Oliva  <aoliva@redhat.com>
-
-       * interp.c (sim_open): Disable chunk of code that wrote code in
-       vector table entries.
-
-2002-03-19  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c (FP_S_s, FP_D_s, FP_S_be, FP_D_be, FP_S_e, FP_D_e, FP_S_f)
-       (FP_D_f, FP_S_fb, FP_D_fb, FPINF_SINGLE, FPINF_DOUBLE): Remove
-       unused definitions.
-
-2002-03-19  Chris Demetriou  <cgd@broadcom.com>
-
-       * cp1.c: Fix many formatting issues.
-
-2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>
-
-       * cp1.c (fpu_format_name): New function to replace...
-       (DOFMT): This.  Delete, and update all callers.
-       (fpu_rounding_mode_name): New function to replace...
-       (RMMODE): This.  Delete, and update all callers.
-
-2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>
-
-       * interp.c: Move FPU support routines from here to...
-       * cp1.c: Here.  New file.
-       * Makefile.in (SIM_OBJS): Add cp1.o to object list.
-       (cp1.o): New target.
-
-2002-03-12  Chris Demetriou  <cgd@broadcom.com>
-
-       * configure.in (mipsisa32*-*-*, mipsisa64*-*-*): New targets.
-       * mips.igen (mips32, mips64): New models, add to all instructions
-       and functions as appropriate.
-       (loadstore_ea, check_u64): New variant for model mips64.
-       (check_fmt_p): New variant for models mipsV and mips64, remove
-       mipsV model marking fro other variant.
-       (SLL) Rename to...
-       (SLLa) this.
-       (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, SLLb): New instructions
-       for mips32 and mips64.
-       (DCLO, DCLZ): New instructions for mips64.
-
-2002-03-07  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (BREAK, LUI, ORI, SYSCALL, XORI): Print
-       immediate or code as a hex value with the "%#lx" format.
-       (ANDI): Likewise, and fix printed instruction name.
-
-2002-03-05  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (UndefinedResult, Unpredictable): New macros
-       which currently do nothing.
-
-2002-03-05  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (status_UX, status_SX, status_KX, status_TS)
-       (status_PX, status_MX, status_CU0, status_CU1, status_CU2)
-       (status_CU3): New definitions.
-
-       * sim-main.h (ExceptionCause): Add new values for MIPS32
-       and MIPS64: MDMX, MCheck, CacheErr.  Update comments
-       for DebugBreakPoint and NMIReset to note their status in
-       MIPS32 and MIPS64.
-       (SignalExceptionMDMX, SignalExceptionWatch, SignalExceptionMCheck)
-       (SignalExceptionCacheErr): New exception macros.
-
-2002-03-05  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (check_fpu): Enable check for coprocessor 1 usability.
-       * sim-main.h (COP_Usable): Define, but for now coprocessor 1
-       is always enabled.
-       (SignalExceptionCoProcessorUnusable): Take as argument the
-       unusable coprocessor number.
-
-2002-03-05  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Fix formatting of all SignalException calls.
-
-2002-03-05  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim-main.h (SIGNEXTEND): Remove.
-
-2002-03-04  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Remove gencode comment from top of file, fix
-       spelling in another comment.
-
-2002-03-04  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (check_fmt, check_fmt_p): New functions to check
-       whether specific floating point formats are usable.
-       (ABS.fmt, ADD.fmt, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
-       (FLOOR.W.fmt, MOV.fmt, MUL.fmt, NEG.fmt, RECIP.fmt, ROUND.L.fmt)
-       (ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt, TRUNC.L.fmt, TRUNC.W):
-       Use the new functions.
-       (do_c_cond_fmt): Remove format checks...
-       (C.cond.fmta, C.cond.fmtb): And move them into all callers.
-
-2002-03-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Fix formatting of check_fpu calls.
-
-2002-03-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (FLOOR.L.fmt): Store correct destination register.
-
-2002-03-03  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Remove whitespace at end of lines.
-
-2002-03-02  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (loadstore_ea): New function to do effective
-       address calculations.
-       (do_load, do_load_left, do_load_right, LL, LDD, PREF, do_store,
-       do_store_left, do_store_right, SC, SCD, PREFX, SWC1, SWXC1,
-       CACHE): Use loadstore_ea to do effective address computations.
-
-2002-03-02  Chris Demetriou  <cgd@broadcom.com>
-
-       * interp.c (load_word): Use EXTEND32 rather than SIGNEXTEND.
-       * mips.igen (LL, CxC1, MxC1): Likewise.
-
-2002-03-02  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (LL, LLD, PREF, SC, SCD, ABS.fmt, ADD.fmt, CEIL.L.fmt,
-       CEIL.W, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt,
-       FLOOR.L.fmt, FLOOR.W.fmt, MADD.D, MADD.S, MOV.fmt, MOVtf.fmt,
-       MSUB.D, MSUB.S, MUL.fmt, NEG.fmt, NMADD.D, NMADD.S, NMSUB.D,
-       NMSUB.S, PREFX, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt,
-       SQRT.fmt, SUB.fmt, SWC1, SWXC1, TRUNC.L.fmt, TRUNC.W, CACHE):
-       Don't split opcode fields by hand, use the opcode field values
-       provided by igen.
-
-2002-03-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (do_divu): Fix spacing.
-
-       * mips.igen (do_dsllv): Move to be right before DSLLV,
-       to match the rest of the do_<shift> functions.
-
-2002-03-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (do_dsll, do_dsllv, DSLL32, do_dsra, DSRA32, do_dsrl,
-       DSRL32, do_dsrlv): Trace inputs and results.
-
-2002-03-01  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (CACHE): Provide instruction-printing string.
-
-       * interp.c (signal_exception): Comment tokens after #endif.
-
-2002-02-28  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (LWXC1): Mark with filter "64,f", rather than just "32".
-       (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt,
-       NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt,
-       ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt,
-       CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta,
-       C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1,
-       SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D,
-       LWC1, SWC1): Add "f" to filter, since these are FP instructions.
-
-2002-02-28  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (DSRA32, DSRAV): Fix order of arguments in
-       instruction-printing string.
-       (LWU): Use '64' as the filter flag.
-
-2002-02-28  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (SDXC1): Fix instruction-printing string.
-
-2002-02-28  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (LDC1, SDC1): Remove mipsI model, and mark with
-       filter flags "32,f".
-
-2002-02-27  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (PREFX): This is a 64-bit instruction, use '64'
-       as the filter flag.
-
-2002-02-27  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
-       add a comma) so that it more closely match the MIPS ISA
-       documentation opcode partitioning.
-       (PREF): Put useful names on opcode fields, and include
-       instruction-printing string.
-
-2002-02-27  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (check_u64): New function which in the future will
-       check whether 64-bit instructions are usable and signal an
-       exception if not.  Currently a no-op.
-       (DADD, DADDI, DADDIU, DADDU, DDIV, DDIVU, DMULT, DMULTU, DSLL,
-       DSLL32, DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB,
-       DSUBU, LD, LDL, LDR, LLD, LWU, SCD, SD, SDL, SDR, DMxC1, LDXC1,
-       LWXC1, SDXC1, SWXC1, DMFC0, DMTC0): Use check_u64.
-
-       * mips.igen (check_fpu): New function which in the future will
-       check whether FPU instructions are usable and signal an exception
-       if not.  Currently a no-op.
-       (ABS.fmt, ADD.fmt, BC1a, BC1b, C.cond.fmta, C.cond.fmtb,
-       CEIL.L.fmt, CEIL.W, CxC1, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt,
-       CVT.W.fmt, DIV.fmt, DMxC1, DMxC1, FLOOR.L.fmt, FLOOR.W.fmt, LDC1,
-       LDXC1, LWC1, LWXC1, MADD.D, MADD.S, MxC1, MOV.fmt, MOVtf,
-       MOVtf.fmt, MOVN.fmt, MOVZ.fmt, MSUB.D, MSUB.S, MUL.fmt, NEG.fmt,
-       NMADD.D, NMADD.S, NMSUB.D, NMSUB.S, RECIP.fmt, ROUND.L.fmt,
-       ROUND.W.fmt, RSQRT.fmt, SDC1, SDXC1, SQRT.fmt, SUB.fmt, SWC1,
-       SWXC1, TRUNC.L.fmt, TRUNC.W): Use check_fpu.
-
-2002-02-27  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (do_load_left, do_load_right): Move to be immediately
-       following do_load.
-       (do_store_left, do_store_right): Move to be immediately following
-       do_store.
-
-2002-02-27  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (mipsV): New model name.  Also, add it to
-       all instructions and functions where it is appropriate.
-
-2002-02-18  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: For all functions and instructions, list model
-       names that support that instruction one per line.
-
-2002-02-11  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen: Add some additional comments about supported
-       models, and about which instructions go where.
-       (BC1b, MFC0, MTC0, RFE): Sort supported models in the same
-       order as is used in the rest of the file.
-
-2002-02-11  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment
-       indicating that ALU32_END or ALU64_END are there to check
-       for overflow.
-       (DADD): Likewise, but also remove previous comment about
-       overflow checking.
-
-2002-02-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (DDIV, DIV, DIVU, DMULT, DMULTU, DSLL, DSLL32,
-       DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB, DSUBU,
-       JALR, JR, MOVN, MOVZ, MTLO, MULT, MULTU, SLL, SLLV, SLT, SLTU,
-       SRAV, SRLV, SUB, SUBU, SYNC, XOR, MOVtf, DI, DMFC0, DMTC0, EI,
-       ERET, RFE, TLBP, TLBR, TLBWI, TLBWR): Tweak instruction opcode
-       fields (i.e., add and move commas) so that they more closely
-       match the MIPS ISA documentation opcode partitioning.
-
-2002-02-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * mips.igen (ADDI): Print immediate value.
-       (BREAK): Print code.
-       (DADDIU, DSRAV, DSRLV): Print correct instruction name.
-       (SLL): Print "nop" specially, and don't run the code
-       that does the shift for the "nop" case.
-
-2001-11-17  Fred Fish  <fnf@redhat.com>
-
-       * sim-main.h (float_operation): Move enum declaration outside
-       of _sim_cpu struct declaration.
-
-2001-04-12  Jim Blandy  <jimb@redhat.com>
-
-       * mips.igen (CFC1, CTC1): Pass the correct register numbers to
-       PENDING_FILL.  Use PENDING_SCHED directly to handle the pending
-       set of the FCSR.
-       * sim-main.h (COCIDX): Remove definition; this isn't supported by
-       PENDING_FILL, and you can get the intended effect gracefully by
-       calling PENDING_SCHED directly.
-
-2001-02-23  Ben Elliston  <bje@redhat.com>
-
-       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
-       already defined elsewhere.
-
-2001-02-19  Ben Elliston  <bje@redhat.com>
-
-       * sim-main.h (sim_monitor): Return an int.
-       * interp.c (sim_monitor): Add return values.
-       (signal_exception): Handle error conditions from sim_monitor.
-
-2001-02-08  Ben Elliston  <bje@redhat.com>
-
-       * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
-       (store_memory): Likewise, pass cia to sim_core_write*.
-
-2000-10-19  Frank Ch. Eigler  <fche@redhat.com>
-
-       On advice from Chris G. Demetriou <cgd@sibyte.com>:
-       * sim-main.h (GPR_CLEAR): Remove unused alternative macro.
-
-Thu Jul 27 22:02:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
-       * Makefile.in: Don't delete *.igen when cleaning directory.
-
-Wed Jul 19 18:50:51 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * m16.igen (break): Call SignalException not sim_engine_halt.
-
-Mon Jul  3 11:13:20 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From Jason Eckhardt:
-       * mips.igen (MOVZ.fmt, MOVN.fmt): Move conditional on GPR[RT].
-
-Tue Jun 13 20:52:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (MxC1, DMxC1): Fix printf formatting.
-
-2000-05-24  Michael Hayes  <mhayes@cygnus.com>
-
-       * mips.igen (do_dmultx): Fix typo.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 28 20:48:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.
-
-2000-04-12  Frank Ch. Eigler  <fche@redhat.com>
-
-       * sim-main.h (GPR_CLEAR): Define macro.
-
-Mon Apr 10 00:07:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (decode_coproc): Output long using %lx and not %s.
-
-2000-03-21  Frank Ch. Eigler  <fche@redhat.com>
-
-       * interp.c (sim_open): Sort & extend dummy memory regions for
-       --board=jmr3904 for eCos.
-
-2000-03-02  Frank Ch. Eigler  <fche@redhat.com>
-
-       * configure: Regenerated.
-
-Tue Feb  8 18:35:01 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
-
-       * interp.c, mips.igen: all 5 DEADC0DE situations now have sim_io_eprintf
-       calls, conditional on the simulator being in verbose mode.
-
-Fri Feb  4 09:45:15 2000  Donald Lindsay  <dlindsay@cygnus.com>
-
-       * sim-main.c (cache_op): Added case arm so that CACHE ops to a secondary
-       cache don't get ReservedInstruction traps.
-
-1999-11-29  Mark Salter  <msalter@cygnus.com>
-
-       * dv-tx3904sio.c (tx3904sio_io_write_buffer): Use write value as a mask
-       to clear status bits in sdisr register. This is how the hardware works.
-
-       * interp.c (sim_open): Added more memory aliases for jmr3904 hardware
-       being used by cygmon.
-
-1999-11-11  Andrew Haley  <aph@cygnus.com>
-
-       * interp.c (decode_coproc): Correctly handle DMFC0 and DMTC0
-       instructions.
-
-Thu Sep  9 15:12:08 1999  Geoffrey Keating  <geoffk@cygnus.com>
-
-       * mips.igen (MULT): Correct previous mis-applied patch.
-
-Tue Sep  7 13:34:54 1999  Geoffrey Keating  <geoffk@cygnus.com>
-
-       * mips.igen (delayslot32): Handle sequence like
-       mtc1 $at,$f12 ; jal fp_add ; mov.s $f13,$f12
-       correctly by calling ENGINE_ISSUE_PREFIX_HOOK() before issue.
-       (MULT): Actually pass the third register...
-
-1999-09-03  Mark Salter  <msalter@cygnus.com>
-
-       * interp.c (sim_open): Added more memory aliases for additional
-       hardware being touched by cygmon on jmr3904 board.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Jul 27 16:36:51 1999  Andrew Cagney  <cagney@amy.cygnus.com>
-
-       * interp.c (sim_store_register): Handle case where client - GDB -
-       specifies that a 4 byte register is 8 bytes in size.
-       (sim_fetch_register): Ditto.
-
-1999-07-14  Frank Ch. Eigler  <fche@cygnus.com>
-
-       Implement "sim firmware" option, inspired by jimb's version of 1998-01.
-       * interp.c (firmware_option_p): New global flag: "sim firmware" given.
-       (idt_monitor_base): Base address for IDT monitor traps.
-       (pmon_monitor_base): Ditto for PMON.
-       (lsipmon_monitor_base): Ditto for LSI PMON.
-       (MONITOR_BASE, MONITOR_SIZE): Removed macros.
-       (mips_option): Add "firmware" option with new OPTION_FIRMWARE key.
-       (sim_firmware_command): New function.
-       (mips_option_handler): Call it for OPTION_FIRMWARE.
-       (sim_open): Allocate memory for idt_monitor region.  If "--board"
-       option was given, add no monitor by default.  Add BREAK hooks only if
-       monitors are also there.
-
-Mon Jul 12 00:02:27 1999  Andrew Cagney  <cagney@amy.cygnus.com>
-
-       * interp.c (sim_monitor): Flush output before reading input.
-
-Sun Jul 11 19:28:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * tconfig.in (SIM_HANDLES_LMA): Always define.
-
-Thu Jul  8 16:06:59 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       From Mark Salter <msalter@cygnus.com>:
-       * interp.c (BOARD_BSP): Define.  Add to list of possible boards.
-       (sim_open): Add setup for BSP board.
-
-Wed Jul  7 12:45:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (MULT, MULTU): Add syntax for two operand version.
-       (DMFC0, DMTC0): Recognize.  Call DecodeCoproc which will report
-       them as unimplemented.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-21  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub.
-
-Thu Apr 15 14:15:17 1999  Andrew Cagney  <cagney@amy.cygnus.com>
-
-       * configure.in: Any mips64vr5*-*-* target should have
-       -DTARGET_ENABLE_FR=1.
-       (default_endian): Any mips64vr*el-*-* target should default to
-       LITTLE_ENDIAN.
-       * configure: Re-generate.
-
-1999-02-19  Gavin Romig-Koch  <gavin@cygnus.com>
-
-       * mips.igen (ldl): Extend from _16_, not 32.
-
-Wed Jan 27 18:51:38 1999  Andrew Cagney  <cagney@chook.cygnus.com>
-
-       * interp.c (sim_store_register): Force registers written to by GDB
-       into an un-interpreted state.
-
-1999-02-05  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the
-       CPU, start periodic background I/O polls.
-       (tx3904sio_poll): New function: periodic I/O poller.
-
-1998-12-30  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
-
-Tue Dec 29 16:03:53 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
-
-       * configure.in, configure (mips64vr5*-*-*): Added missing ;; in
-       case statement.
-
-1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * interp.c (sim_open): Allocate jm3904 memory in smaller chunks.
-       (load_word): Call SIM_CORE_SIGNAL hook on error.
-       (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before
-       starting.  For exception dispatching, pass PC instead of NULL_CIA.
-       (decode_coproc): Use COP0_BADVADDR to store faulting address.
-       * sim-main.h (COP0_BADVADDR): Define.
-       (SIM_CORE_SIGNAL): Define hook to call mips_core_signal.
-       (SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*().
-       (_sim_cpu): Add exc_* fields to store register value snapshots.
-       * mips.igen (*): Replace memory-related SignalException* calls
-       with references to SIM_CORE_SIGNAL hook.
-
-       * dv-tx3904irc.c (tx3904irc_port_event): printf format warning
-       fix.
-       * sim-main.c (*): Minor warning cleanups.
-
-1998-12-24  Gavin Romig-Koch  <gavin@cygnus.com>
-
-       * m16.igen (DADDIU5): Correct type-o.
-
-Mon Dec 21 10:34:48 1998  Andrew Cagney  <cagney@chook>
-
-       * mips.igen (do_ddiv, do_ddivu): Pacify GCC. Update hi/lo via tmp
-       variables.
-
-Wed Dec 16 18:20:28 1998  Andrew Cagney  <cagney@chook>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): No longer need to add .../newlib
-       to include path.
-       (interp.o): Add dependency on itable.h
-       (oengine.c, gencode): Delete remaining references.
-       (BUILT_SRC_FROM_GEN): Clean up.
-
-1998-12-16  Gavin Romig-Koch  <gavin@cygnus.com>
-
-       * vr4run.c: New.
-       * Makefile.in (SIM_HACK_OBJ,HACK_OBJS,HACK_GEN_SRCS,libhack.a,
-       tmp-hack,tmp-m32-hack,tmp-m16-hack,tmp-itable-hack,
-       tmp-run-hack) : New.
-       * m16.igen (LD,DADDIU,DADDUI5,DADJSP,DADDIUSP,DADDI,DADDU,DSUBU,
-       DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX):
-       Drop the "64" qualifier to get the HACK generator working.
-       Use IMMEDIATE rather than IMMED.  Use SHAMT rather than SHIFT.
-       * mips.igen (do_daddiu,do_ddiv,do_divu): Remove the 64-only
-       qualifier to get the hack generator working.
-       (do_dsll,do_dsllv,do_dsra,do_dsrl,do_dsrlv): New.
-       (DSLL): Use do_dsll.
-       (DSLLV): Use do_dsllv.
-       (DSRA): Use do_dsra.
-       (DSRL): Use do_dsrl.
-       (DSRLV): Use do_dsrlv.
-       (BC1): Move *vr4100 to get the HACK generator working.
-       (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to
-       get the HACK generator working.
-       (MACC) Rename to get the HACK generator working.
-       (DMACC,MACCS,DMACCS): Add the 64.
-
-1998-12-12  Gavin Romig-Koch  <gavin@cygnus.com>
-
-       * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
-       * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
-
-1998-12-11  Gavin Romig-Koch  <gavin@cygnus.com>
-
-    * mips/interp.c (DEBUG): Cleanups.
-
-1998-12-10  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
-       (tx3904sio_tickle): fflush after a stdout character output.
-
-1998-12-03  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * interp.c (sim_close): Uninstall modules.
-
-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
-       simulator.
-       * configure: Re-generate.
-       * m16.igen (*): Tag all mips16 instructions as also being vr4100.
-
-Mon Nov 23 18:20:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_CFLAGS): Do not define WITH_IGEN.
-       * sim-main.h, sim-main.c, interp.c: Delete #if WITH_IGEN keeping
-       true alternative.
-
-       * configure.in (sim_default_gen, sim_use_gen): Replace with
-       sim_gen.
-       (--enable-sim-igen): Delete config option. Always using IGEN.
-       * configure: Re-generate.
-
-       * Makefile.in (gencode): Kill, kill, kill.
-       * gencode.c: Ditto.
-
-Mon Nov 23 18:07:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64
-       bit mips16 igen simulator.
-       * configure: Re-generate.
-
-       * mips.igen (check_div_hilo, check_mult_hilo, check_mf_hilo): Mark
-       as part of vr4100 ISA.
-       * vr.igen: Mark all instructions as 64 bit only.
-
-Mon Nov 23 17:07:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
-       Pacify GCC.
-
-Mon Nov 23 13:23:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Configure mips-lsi-elf nee mips*lsi* as a
-       mipsIII/mips16 igen simulator.  Fix sim_gen VS sim_igen typos.
-       * configure: Re-generate.
-
-       * m16.igen (BREAK): Define breakpoint instruction.
-       (JALX32): Mark instruction as mips16 and not r3900.
-       * mips.igen (C.cond.fmt): Fix typo in instruction format.
-
-       * sim-main.h (PENDING_FILL): Wrap C statements in do/while.
-
-Sat Nov  7 09:54:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (build_instruction - BREAK): For MIPS16, handle BREAK
-       insn as a debug breakpoint.
-
-       * sim-main.h (PENDING_SLOT_BIT): Fix, was incorrectly defined as
-       pending.slot_size.
-       (PENDING_SCHED): Clean up trace statement.
-       (PENDING_SCHED): Increment PENDING_IN and PENDING_TOTAL.
-       (PENDING_FILL): Delay write by only one cycle.
-       (PENDING_FILL): For FSRs, write fmt_uninterpreted to FPR_STATE.
-
-       * sim-main.c (pending_tick): Clean up trace statements. Add trace
-       of pending writes.
-       (pending_tick): Fix sizes in switch statements, 4 & 8 instead of
-       32 & 64.
-       (pending_tick): Move incrementing of index to FOR statement.
-       (pending_tick): Only update PENDING_OUT after a write has occured.
-
-       * configure.in: Add explicit mips-lsi-* target.  Use gencode to
-       build simulator.
-       * configure: Re-generate.
-
-       * interp.c (sim_engine_run OLD): Delete explicit call to
-       PENDING_TICK. Now called via ENGINE_ISSUE_PREFIX_HOOK.
-
-Sat Oct 30 09:49:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
-       interrupt level number to match changed SignalExceptionInterrupt
-       macro.
-
-Fri Oct  9 18:02:25 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * interp.c: #include "itable.h" if WITH_IGEN.
-       (get_insn_name): New function.
-       (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
-       * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
-
-Mon Sep 14 12:36:44 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * configure: Rebuilt to inhale new common/aclocal.m4.
-
-Tue Sep  1 15:39:18 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904sio.c: Include sim-assert.h.
-
-Tue Aug 25 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904sio.c: New file: tx3904 serial I/O module.
-       * configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
-       Reorganize target-specific sim-hardware checks.
-       * configure: rebuilt.
-       * interp.c (sim_open): For tx39 target boards, set
-       OPERATING_ENVIRONMENT, add tx3904sio devices.
-       * tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
-       ROM executables.  Install dv-sockser into sim-modules list.
-
-       * dv-tx3904irc.c: Compiler warning clean-up.
-       * dv-tx3904tmr.c: Compiler warning clean-up.  Remove particularly
-       frequent hw-trace messages.
-
-Fri Jul 31 18:14:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * vr.igen (MulAcc): Identify as a vr4100 specific function.
-
-Sat Jul 25 16:03:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (IGEN_INCLUDE): Add vr.igen.
-
-       * vr.igen: New file.
-       (MAC/MADD16, DMAC/DMADD16): Implement using code from gencode.c.
-       * mips.igen: Define vr4100 model. Include vr.igen.
-Mon Jun 29 09:21:07 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * mips.igen (check_mf_hilo): Correct check.
-
-Wed Jun 17 12:20:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (interrupt_event): Add prototype.
-
-       * dv-tx3904tmr.c (tx3904tmr_io_write_buffer): Delete unused
-       register_ptr, register_value.
-       (deliver_tx3904tmr_tick): Fix types passed to printf fmt.
-
-       * sim-main.h (tracefh): Make extern.
-
-Tue Jun 16 14:39:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904tmr.c: Deschedule timer event after dispatching.
-       Reduce unnecessarily high timer event frequency.
-       * dv-tx3904cpu.c: Ditto for interrupt event.
-
-Wed Jun 10 13:22:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * interp.c (decode_coproc): For TX39, add stub COP0 register #7,
-       to allay warnings.
-       (interrupt_event): Made non-static.
-
-       * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
-       interchange of configuration values for external vs. internal
-       clock dividers.
-
-Tue Jun  9 12:46:24 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * mips.igen (BREAK): Moved code to here for
-       simulator-reserved break instructions.
-       * gencode.c (build_instruction): Ditto.
-       * interp.c (signal_exception): Code moved from here.  Non-
-       reserved instructions now use exception vector, rather
-       than halting sim.
-       * sim-main.h: Moved magic constants to here.
-
-Tue Jun  9 12:29:50 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
-       register upon non-zero interrupt event level, clear upon zero
-       event value.
-       * dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
-       by passing zero event value.
-       (*_io_{read,write}_buffer): Endianness fixes.
-       * dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
-       (deliver_*_tick): Reduce sim event interval to 75% of count interval.
-
-       * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
-       serial I/O and timer module at base address 0xFFFF0000.
-
-Tue Jun  9 11:52:29 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * mips.igen (SWC1) : Correct the handling of ReverseEndian
-       and BigEndianCPU.
-
-Tue Jun  9 11:40:57 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
-       parts.
-       * configure: Update.
-
-Thu Jun  4 15:37:33 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * dv-tx3904tmr.c: New file - implements tx3904 timer.
-       * dv-tx3904{irc,cpu}.c: Mild reformatting.
-       * configure.in: Include tx3904tmr in hw_device list.
-       * configure: Rebuilt.
-       * interp.c (sim_open): Instantiate three timer instances.
-       Fix address typo of tx3904irc instance.
-
-Tue Jun  2 15:48:02 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * interp.c (signal_exception): SystemCall exception now uses
-       the exception vector.
-
-Mon Jun  1 18:18:26 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * interp.c (decode_coproc): For TX39, add stub COP0 register #3,
-       to allay warnings.
-
-Fri May 29 11:40:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (sim_igen_filter): Match mips*tx39 not mipst*tx39.
-
-Mon May 25 20:47:45 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-tx3904cpu.c, dv-tx3904irc.c: Rename *_callback to *_method.
-
-       * dv-tx3904cpu.c, dv-tx3904irc.c: Include hw-main.h and
-       sim-main.h. Declare a struct hw_descriptor instead of struct
-       hw_device_descriptor.
-
-Mon May 25 12:41:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (do_store_left, do_load_left): Compute nr of left and
-       right bits and then re-align left hand bytes to correct byte
-       lanes.  Fix incorrect computation in do_store_left when loading
-       bytes from second word.
-
-Fri May 22 13:34:20 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (SIM_AC_OPTION_HARDWARE): Only enable when tx3904.
-       * interp.c (sim_open): Only create a device tree when HW is
-       enabled.
-
-       * dv-tx3904irc.c (tx3904irc_finish): Pacify GCC.
-       * interp.c (signal_exception): Ditto.
-
-Thu May 21 14:24:11 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c: Mark BEGEZALL as LIKELY.
-
-Thu May 21 18:57:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (ALU32_END): Sign extend 32 bit results.
-       * mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace.
-
-Mon May 18 18:22:42 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
-       modules.  Recognize TX39 target with "mips*tx39" pattern.
-       * configure: Rebuilt.
-       * sim-main.h (*): Added many macros defining bits in
-       TX39 control registers.
-       (SignalInterrupt): Send actual PC instead of NULL.
-       (SignalNMIReset): New exception type.
-       * interp.c (board): New variable for future use to identify
-       a particular board being simulated.
-       (mips_option_handler,mips_options): Added "--board" option.
-       (interrupt_event): Send actual PC.
-       (sim_open): Make memory layout conditional on board setting.
-       (signal_exception): Initial implementation of hardware interrupt
-       handling.  Accept another break instruction variant for simulator
-       exit.
-       (decode_coproc): Implement RFE instruction for TX39.
-       (mips.igen): Decode RFE instruction as such.
-       * configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
-       * interp.c: Define "jmr3904" and "jmr3904debug" board types and
-       bbegin to implement memory map.
-       * dv-tx3904cpu.c: New file.
-       * dv-tx3904irc.c: New file.
-
-Wed May 13 14:40:11 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * mips.igen (check_mt_hilo): Create a separate r3900 version.
-
-Wed May 13 14:11:46 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * tx.igen (madd,maddu):  Replace calls to check_op_hilo
-       with calls to check_div_hilo.
-
-Wed May 13 09:59:27 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
-       Replace check_op_hilo with check_mult_hilo and check_div_hilo.
-       Add special r3900 version of do_mult_hilo.
-       (do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo
-       with calls to check_mult_hilo.
-       (do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo
-       with calls to check_div_hilo.
-
-Tue May 12 15:22:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (SUBTARGET_R3900): Define for mipstx39 target.
-       Document a replacement.
-
-Fri May  8 17:48:19 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * interp.c (sim_monitor): Make mon_printf work.
-
-Wed May  6 19:42:19 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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:20:01 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:20 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Fri Apr 24 11:35:01 1998  Andrew Cagney  <cagney@chook.cygnus.com>
-
-       * mips.igen (do_store_left): Pass 0 not NULL to store_memory.
-
-Tue Apr 21 11:59:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (ERET): Implement.
-
-       * interp.c (decode_coproc): Return sign-extended EPC.
-
-       * mips.igen (ANDI, LUI, MFC0): Add tracing code.
-
-       * interp.c (signal_exception): Do not ignore Trap.
-       (signal_exception): On TRAP, restart at exception address.
-       (HALT_INSTRUCTION, HALT_INSTRUCTION_MASK): Define.
-       (signal_exception): Update.
-       (sim_open): Patch V_COMMON interrupt vector with an abort sequence
-       so that TRAP instructions are caught.
-
-Mon Apr 20 11:26:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (struct hilo_access, struct hilo_history): Define,
-       contains HI/LO access history.
-       (struct _sim_cpu): Make hiaccess and loaccess of type hilo_access.
-       (HIACCESS, LOACCESS): Delete, replace with
-       (HIHISTORY, LOHISTORY): New macros.
-       (CHECKHILO): Delete all, moved to mips.igen
-
-       * gencode.c (build_instruction): Do not generate checks for
-       correct HI/LO register usage.
-
-       * interp.c (old_engine_run): Delete checks for correct HI/LO
-       register usage.
-
-       * mips.igen (check_mt_hilo, check_mf_hilo, check_op_hilo,
-       check_mf_cycles): New functions.
-       (do_mfhi, do_mflo, "mthi", "mtlo", do_ddiv, do_ddivu, do_div,
-       do_divu, domultx, do_mult, do_multu): Use.
-
-       * tx.igen ("madd", "maddu"): Use.
-
-Wed Apr 15 18:31:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (DSRAV): Use function do_dsrav.
-       (SRAV): Use new function do_srav.
-
-       * m16.igen (BEQZ, BNEZ): Compare GPR[TRX] not GPR[RX].
-       (B): Sign extend 11 bit immediate.
-       (EXT-B*): Shift 16 bit immediate left by 1.
-       (ADDIU*): Don't sign extend immediate value.
-
-Wed Apr 15 10:32:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * m16run.c (sim_engine_run): Restore CIA after handling an event.
-
-       * sim-main.h (DELAY_SLOT, NULLIFY_NEXT_INSTRUCTION): For IGEN, use
-       functions.
-
-       * mips.igen (delayslot32, nullify_next_insn): New functions.
-       (m16.igen): Always include.
-       (do_*): Add more tracing.
-
-       * m16.igen (delayslot16): Add NIA argument, could be called by a
-       32 bit MIPS16 instruction.
-
-       * interp.c (ifetch16): Move function from here.
-       * sim-main.c (ifetch16): To here.
-
-       * sim-main.c (ifetch16, ifetch32): Update to match current
-       implementations of LH, LW.
-       (signal_exception): Don't print out incorrect hex value of illegal
-       instruction.
-
-Wed Apr 15 00:17:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * m16run.c (sim_engine_run): Use IMEM16 and IMEM32 to fetch an
-       instruction.
-
-       * m16.igen: Implement MIPS16 instructions.
-
-       * mips.igen (do_addiu, do_addu, do_and, do_daddiu, do_daddu,
-       do_ddiv, do_ddivu, do_div, do_divu, do_dmultx, do_dmultu, do_srav,
-       do_dsubu, do_mfhi, do_mflo, do_mult, do_multu, do_nor, do_or,
-       do_sll, do_sllv, do_slt, do_slti, do_sltiu, do_sltu, do_sra,
-       do_srl, do_srlv, do_subu, do_xor, do_xori): New functions.  Move
-       bodies of corresponding code from 32 bit insn to these.  Also used
-       by MIPS16 versions of functions.
-
-       * sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define.
-       (IMEM16): Drop NR argument from macro.
-
-Sat Apr  4 22:39:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-main.o.
-
-       * sim-main.h (address_translation, load_memory, store_memory,
-       cache_op, sync_operation, prefetch, ifetch32, pending_tick): Mark
-       as INLINE_SIM_MAIN.
-       (pr_addr, pr_uword64): Declare.
-       (sim-main.c): Include when H_REVEALS_MODULE_P.
-
-       * interp.c (address_translation, load_memory, store_memory,
-       cache_op, sync_operation, prefetch, ifetch32, pending_tick): Move
-       from here.
-       * sim-main.c: To here. Fix compilation problems.
-
-       * configure.in: Enable inlining.
-       * configure: Re-config.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr  3 04:32:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen: Include tx.igen.
-       * Makefile.in (IGEN_INCLUDE): Add tx.igen.
-       * tx.igen: New file, contains MADD and MADDU.
-
-       * interp.c (load_memory): When shifting bytes, use LOADDRMASK not
-       the hardwired constant `7'.
-       (store_memory): Ditto.
-       (LOADDRMASK): Move definition to sim-main.h.
-
-       mips.igen (MTC0): Enable for r3900.
-       (ADDU): Add trace.
-
-       mips.igen (do_load_byte): Delete.
-       (do_load, do_store, do_load_left, do_load_write, do_store_left,
-       do_store_right): New functions.
-       (SW*, LW*, SD*, LD*, SH, LH, SB, LB): Use.
-
-       configure.in: Let the tx39 use igen again.
-       configure: Update.
-
-Thu Apr  2 10:59:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity,
-       not an address sized quantity.  Return zero for cache sizes.
-
-Wed Apr  1 23:47:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (r3900): r3900 does not support 64 bit integer
-       operations.
-
-Mon Mar 30 14:46:05 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * configure.in (mipstx39*-*-*): Use gencode simulator rather
-       than igen one.
-       * configure : Rebuild.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 15:01:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (mips_option_handler): Iterate over MAX_NR_PROCESSORS.
-
-Wed Mar 25 16:44:27 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 10:05:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (Max, Min): Comment out functions. Not yet used.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Mar 17 19:05:20 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
-       configurable settings for stand-alone simulator.
-
-       * configure.in: Added X11 search, just in case.
-
-       * configure: Regenerated.
-
-Wed Mar 11 14:09:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_write, sim_read, load_memory, store_memory):
-       Replace sim_core_*_map with read_map, write_map, exec_map resp.
-
-Tue Mar  3 13:58:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (GETFCC): Return an unsigned value.
-
-Tue Mar  3 13:21:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (DIV): Fix check for -1 / MIN_INT.
-       (DADD): Result destination is RD not RT.
-
-Fri Feb 27 13:49:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (HIACCESS, LOACCESS): Always define.
-
-       * mdmx.igen (Maxi, Mini): Rename Max, Min.
-
-       * interp.c (sim_info): Delete.
-
-Fri Feb 27 18:41:01 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * interp.c (DECLARE_OPTION_HANDLER): Use it.
-       (mips_option_handler): New argument `cpu'.
-       (sim_open): Update call to sim_add_option_table.
-
-Wed Feb 25 18:56:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (CxC1): Add tracing.
-
-Fri Feb 20 17:43:21 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (Max, Min): Declare.
-
-       * interp.c (Max, Min): New functions.
-
-       * mips.igen (BC1): Add tracing.
-
-Thu Feb 19 14:50:00 1998  John Metzler  <jmetzler@cygnus.com>
-
-       * interp.c Added memory map for stack in vr4100
-
-Thu Feb 19 10:21:21 1998  Gavin Koch  <gavin@cygnus.com>
-
-       * interp.c (load_memory): Add missing "break"'s.
-
-Tue Feb 17 12:45:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Tue Feb 10 11:57:40 1998  Ian Carmichael  <iancarm@cygnus.com>
-
-       * interp.c: Added hardware init hook, fixed warnings.
-
-Sat Feb  7 17:16:20 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (itable.h itable.c): Depend on SIM_@sim_gen@_ALL.
-
-Tue Feb  3 11:36:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (ifetch16): New function.
-
-       * sim-main.h (IMEM32): Rename IMEM.
-       (IMEM16_IMMED): Define.
-       (IMEM16): Define.
-       (DELAY_SLOT): Update.
-
-       * m16run.c (sim_engine_run): New file.
-
-       * m16.igen: All instructions except LB.
-       (LB): Call do_load_byte.
-       * mips.igen (do_load_byte): New function.
-       (LB): Call do_load_byte.
-
-       * mips.igen: Move spec for insn bit size and high bit from here.
-       * Makefile.in (tmp-igen, tmp-m16): To here.
-
-       * m16.dc: New file, decode mips16 instructions.
-
-       * Makefile.in (SIM_NO_ALL): Define.
-       (tmp-m16): Generate both 16 bit and 32 bit simulator engines.
-
-Tue Feb  3 11:28:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (mips_fpu_bitsize): For tx39, restrict floating
-       point unit to 32 bit registers.
-       * configure: Re-generate.
-
-Sun Feb  1 15:47:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (sim_use_gen): Make IGEN the default simulator
-       generator for generic 32 and 64 bit mips targets.
-       * configure: Re-generate.
-
-Sun Feb  1 16:52:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (SizeFGR): Determine from floating-point and not gpr
-       bitsize.
-
-       * interp.c (sim_fetch_register, sim_store_register): Read/write
-       FGR from correct location.
-       (sim_open): Set size of FGR's according to
-       WITH_TARGET_FLOATING_POINT_BITSIZE.
-
-       * sim-main.h (FGR): Store floating point registers in a separate
-       array.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Feb  3 00:10:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (ColdReset): Call PENDING_INVALIDATE.
-
-       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Call PENDING_TICK.
-
-       * interp.c (pending_tick): New function.  Deliver pending writes.
-
-       * sim-main.h (PENDING_FILL, PENDING_TICK, PENDING_SCHED,
-       PENDING_BIT, PENDING_INVALIDATE): Re-write pipeline code so that
-       it can handle mixed sized quantites and single bits.
-
-Mon Feb  2 17:43:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (oengine.h): Do not include when building with IGEN.
-       (sim_open): Replace GPRLEN by WITH_TARGET_WORD_BITSIZE.
-       (sim_info): Ditto for PROCESSOR_64BIT.
-       (sim_monitor): Replace ut_reg with unsigned_word.
-       (*): Ditto for t_reg.
-       (LOADDRMASK): Define.
-       (sim_open): Remove defunct check that host FP is IEEE compliant,
-       using software to emulate floating point.
-       (value_fpr, ...): Always compile, was conditional on HASFPU.
-
-Sun Feb  1 11:15:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (sim_state): Make the cpu array MAX_NR_PROCESSORS in
-       size.
-
-       * interp.c (SD, CPU): Define.
-       (mips_option_handler): Set flags in each CPU.
-       (interrupt_event): Assume CPU 0 is the one being iterrupted.
-       (sim_close): Do not clear STATE, deleted anyway.
-       (sim_write, sim_read): Assume CPU zero's vm should be used for
-       data transfers.
-       (sim_create_inferior): Set the PC for all processors.
-       (sim_monitor, store_word, load_word, mips16_entry): Add cpu
-       argument.
-       (mips16_entry): Pass correct nr of args to store_word, load_word.
-       (ColdReset): Cold reset all cpu's.
-       (signal_exception): Pass cpu to sim_monitor & mips16_entry.
-       (sim_monitor, load_memory, store_memory, signal_exception): Use
-       `CPU' instead of STATE_CPU.
-
-
-       * sim-main.h: Replace uses of STATE_CPU with CPU. Replace sd with
-       SD or CPU_.
-
-       * sim-main.h (signal_exception): Add sim_cpu arg.
-       (SignalException*): Pass both SD and CPU to signal_exception.
-       * interp.c (signal_exception): Update.
-
-       * sim-main.h (value_fpr, store_fpr, dotrace, ifetch32), interp.c:
-       Ditto
-       (sync_operation, prefetch, cache_op, store_memory, load_memory,
-       address_translation): Ditto
-       (decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 14:49:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_engine_run): Add `nr_cpus' argument.
-
-       * mips.igen (model): Map processor names onto BFD name.
-
-       * sim-main.h (CPU_CIA): Delete.
-       (SET_CIA, GET_CIA): Define
-
-Wed Jan 21 16:16:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (GPR_SET): Define, used by igen when zeroing a
-       regiser.
-
-       * configure.in (default_endian): Configure a big-endian simulator
-       by default.
-       * configure: Re-generate.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan  5 20:38:54 1998  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c (sim_monitor): Handle Densan monitor outbyte
-       and inbyte functions.
-
-1997-12-29  Felix Lee  <flee@cygnus.com>
-
-       * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).
-
-Wed Dec 17 14:48:20 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * Makefile.in (tmp-igen): Arrange for $zero to always be
-       reset to zero after every instruction.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Dec 10 17:10:45 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * mips.igen (MSUB): Fix to work like MADD.
-       * gencode.c (MSUB): Similarly.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Nov 26 11:00:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen (LWC1): Correct assembler - lwc1 not swc1.
-
-Sun Nov 23 01:45:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (sim-fpu.h): Include.
-
-       * interp.c (convert, SquareRoot, Recip, Divide, Multiply, Sub,
-       Add, Negate, AbsoluteValue, Equal, Less, Infinity, NaN): Rewrite
-       using host independant sim_fpu module.
-
-Thu Nov 20 19:56:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (signal_exception): Report internal errors with SIGABRT
-       not SIGQUIT.
-
-       * sim-main.h (C0_CONFIG): New register.
-       (signal.h): No longer include.
-
-       * interp.c (decode_coproc): Allow access C0_CONFIG to register.
-
-Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
-
-Fri Nov 14 11:56:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen: Tag vr5000 instructions.
-       (ANDI): Was missing mipsIV model, fix assembler syntax.
-       (do_c_cond_fmt): New function.
-       (C.cond.fmt): Handle mips I-III which do not support CC field
-       separatly.
-       (bc1): Handle mips IV which do not have a delaed FCC separatly.
-       (SDR): Mask paddr when BigEndianMem, not the converse as specified
-       in IV3.2 spec.
-       (DMULT, DMULTU): Force use of hosts 64bit multiplication.  Handle
-       vr5000 which saves LO in a GPR separatly.
-
-       * configure.in (enable-sim-igen): For vr5000, select vr5000
-       specific instructions.
-       * configure: Re-generate.
-
-Wed Nov 12 14:42:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-fpu module.
-
-       * interp.c (store_fpr), sim-main.h: Add separate fmt_uninterpreted_32 and
-       fmt_uninterpreted_64 bit cases to switch.  Convert to
-       fmt_formatted,
-
-       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Define,
-
-       * mips.igen (SWR): Mask paddr when BigEndianMem, not the converse
-       as specified in IV3.2 spec.
-       (MTC1, DMTC1): Call StoreFPR to store the GPR in the FPR.
-
-Tue Nov 11 12:38:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen: Delay slot branches add OFFSET to NIA not CIA.
-       (MFC0, MTC0, SWC1, LWC1, SDC1, LDC1): Implement.
-       (MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1): Implement separate non
-       PENDING_FILL versions of instructions.  Simplify.
-       (X): New function.
-       (MULT, MULTU): Implement separate RD==0 and RD!=0 versions of
-       instructions.
-       (BEQZ, ..., SLT, SLTI, TLT, TLE, TLI, ...): Explicitly cast GPR to
-       a signed value.
-       (MTHI, MFHI): Disable code checking HI-LO.
-
-       * sim-main.h (dotrace,tracefh), interp.c: Make dotrace & tracefh
-       global.
-       (NULLIFY_NEXT_INSTRUCTION): Call dotrace.
-
-Thu Nov  6 16:36:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (build_mips16_operands): Replace IPC with cia.
-
-       * interp.c (sim_monitor, signal_exception, cache_op, store_fpr,
-       value_fpr, cop_ld, cop_lw, cop_sw, cop_sd, decode_coproc): Replace
-       IPC to `cia'.
-       (UndefinedResult): Replace function with macro/function
-       combination.
-       (sim_engine_run): Don't save PC in IPC.
-
-       * sim-main.h (IPC): Delete.
-
-
-       * interp.c (signal_exception, store_word, load_word,
-       address_translation, load_memory, store_memory, cache_op,
-       prefetch, sync_operation, ifetch, value_fpr, store_fpr, convert,
-       cop_lw, cop_ld, cop_sw, cop_sd, decode_coproc, sim_monitor): Add
-       current instruction address - cia - argument.
-       (sim_read, sim_write): Call address_translation directly.
-       (sim_engine_run): Rename variable vaddr to cia.
-       (signal_exception): Pass cia to sim_monitor
-
-       * sim-main.h (SignalException, LoadWord, StoreWord, CacheOp,
-       Prefetch, SyncOperation, ValueFPR, StoreFPR, Convert, COP_LW,
-       COP_LD, COP_SW, COP_SD, DecodeCoproc): Update.
-
-       * sim-main.h (SignalExceptionSimulatorFault): Delete definition.
-       * interp.c (sim_open): Replace SignalExceptionSimulatorFault with
-       SIM_ASSERT.
-
-       * interp.c (signal_exception): Pass restart address to
-       sim_engine_restart.
-
-       * Makefile.in (semantics.o, engine.o, support.o, itable.o,
-       idecode.o): Add dependency.
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESUME_HOOK):
-       Delete definitions
-       (DELAY_SLOT): Update NIA not PC with branch address.
-       (NULLIFY_NEXT_INSTRUCTION): Set NIA to instruction after next.
-
-       * mips.igen: Use CIA not PC in branch calculations.
-       (illegal): Call SignalException.
-       (BEQ, ADDIU): Fix assembler.
-
-Wed Nov  5 12:19:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * m16.igen (JALX): Was missing.
-
-       * configure.in (enable-sim-igen): New configuration option.
-       * configure: Re-generate.
-
-       * sim-main.h (MAX_INSNS, INSN_NAME): Define.
-
-       * interp.c (load_memory, store_memory): Delete parameter RAW.
-       (sim_read, sim_write): Use sim_core_{read,write}_buffer directly
-       bypassing {load,store}_memory.
-
-       * sim-main.h (ByteSwapMem): Delete definition.
-
-       * Makefile.in (SIM_OBJS): Add sim-memopt module.
-
-       * interp.c (sim_do_command, sim_commands): Delete mips specific
-       commands.  Handled by module sim-options.
-
-       * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module.
-       (WITH_MODULO_MEMORY): Define.
-
-       * interp.c (sim_info): Delete code printing memory size.
-
-       * interp.c (mips_size): Nee sim_size, delete function.
-       (power2): Delete.
-       (monitor, monitor_base, monitor_size): Delete global variables.
-       (sim_open, sim_close): Delete code creating monitor and other
-       memory regions.  Use sim-memopts module, via sim_do_commandf, to
-       manage memory regions.
-       (load_memory, store_memory): Use sim-core for memory model.
-
-       * interp.c (address_translation): Delete all memory map code
-       except line forcing 32 bit addresses.
-
-Wed Nov  5 11:21:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (WITH_TRACE): Delete definition.  Enables common
-       trace options.
-
-       * interp.c (logfh, logfile): Delete globals.
-       (sim_open, sim_close): Delete code opening & closing log file.
-       (mips_option_handler): Delete -l and -n options.
-       (OPTION mips_options): Ditto.
-
-       * interp.c (OPTION mips_options): Rename option trace to dinero.
-       (mips_option_handler): Update.
-
-Wed Nov  5 09:35:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (fetch_str): New function.
-       (sim_monitor): Rewrite using sim_read & sim_write.
-       (sim_open): Check magic number.
-       (sim_open): Write monitor vectors into memory using sim_write.
-       (MONITOR_BASE, MONITOR_SIZE, MEM_SIZE): Define.
-       (sim_read, sim_write): Simplify - transfer data one byte at a
-       time.
-       (load_memory, store_memory): Clarify meaning of parameter RAW.
-
-       * sim-main.h (isHOST): Defete definition.
-       (isTARGET): Mark as depreciated.
-       (address_translation): Delete parameter HOST.
-
-       * interp.c (address_translation): Delete parameter HOST.
-
-Wed Oct 29 11:13:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen:
-
-       * Makefile.in (IGEN_INCLUDE): Files included by mips.igen.
-       (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE.
-
-Tue Oct 28 11:06:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mips.igen: Add model filter field to records.
-
-Mon Oct 27 17:53:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_NO_CFLAGS): Define.  Define WITH_IGEN=0.
-
-       interp.c (sim_engine_run): Do not compile function sim_engine_run
-       when WITH_IGEN == 1.
-
-       * configure.in (sim_igen_flags, sim_m16_flags): Set according to
-       target architecture.
-
-       Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
-       igen. Replace with configuration variables sim_igen_flags /
-       sim_m16_flags.
-
-       * m16.igen: New file.  Copy mips16 insns here.
-       * mips.igen: From here.
-
-Mon Oct 27 13:53:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
-       to top.
-       (tmp-igen, tmp-m16): Pass -I srcdir to igen.
-
-Sat Oct 25 16:51:40 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c (build_instruction): Follow sim_write's lead in using
-       BigEndianMem instead of !ByteSwapMem.
-
-Fri Oct 24 17:41:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (sim_gen): Dependent on target, select type of
-       generator.  Always select old style generator.
-
-       configure: Re-generate.
-
-       Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
-       targets.
-       (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
-       SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
-       IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
-       (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
-       SIM_@sim_gen@_*, set by autoconf.
-
-Wed Oct 22 12:52:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
-
-       * interp.c (ColdReset): Remove #ifdef HASFPU, check
-       CURRENT_FLOATING_POINT instead.
-
-       * interp.c (ifetch32): New function. Fetch 32 bit instruction.
-       (address_translation): Raise exception InstructionFetch when
-       translation fails and isINSTRUCTION.
-
-       * interp.c (sim_open, sim_write, sim_monitor, store_word,
-       sim_engine_run): Change type of of vaddr and paddr to
-       address_word.
-       (address_translation, prefetch, load_memory, store_memory,
-       cache_op): Change type of vAddr and pAddr to address_word.
-
-       * gencode.c (build_instruction): Change type of vaddr and paddr to
-       address_word.
-
-Mon Oct 20 15:29:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
-       macro to obtain result of ALU op.
-
-Tue Oct 21 17:39:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_info): Call profile_print.
-
-Mon Oct 20 13:31:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-profile.o module.
-
-       * sim-main.h (WITH_PROFILE): Do not define, defined in
-       common/sim-config.h.  Use sim-profile module.
-       (simPROFILE): Delete defintion.
-
-       * interp.c (PROFILE): Delete definition.
-       (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
-       (sim_close): Delete code writing profile histogram.
-       (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
-       Delete.
-       (sim_engine_run): Delete code profiling the PC.
-
-Mon Oct 20 13:31:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
-
-       * interp.c (sim_monitor): Make register pointers of type
-       unsigned_word*.
-
-       * sim-main.h: Make registers of type unsigned_word not
-       signed_word.
-
-Thu Oct 16 10:31:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sync_operation): Rename from SyncOperation, make
-       global, add SD argument.
-       (prefetch): Rename from Prefetch, make global, add SD argument.
-       (decode_coproc): Make global.
-
-       * sim-main.h (SyncOperation, DecodeCoproc, Pefetch): Define.
-
-       * gencode.c (build_instruction): Generate DecodeCoproc not
-       decode_coproc calls.
-
-       * interp.c (SETFCC, GETFCC, PREVCOC1): Move to sim-main.h
-       (SizeFGR): Move to sim-main.h
-       (simHALTEX, simHALTIN, simTRACE, simPROFILE, simDELAYSLOT,
-       simSIGINT, simJALDELAYSLOT): Move to sim-main.h
-       (FP_FLAGS, FP_ENABLE, FP_CAUSE, IR, UF, OF, DZ, IO, UO): Move to
-       sim-main.h.
-       (FP_FS, FP_MASK_RM, FP_SH_RM, FP_RM_NEAREST, FP_RM_TOPINF,
-       FP_RM_TOMINF, GETRM): Move to sim-main.h.
-       (Uncached, CachedNoncoherent, CachedCoherent, Cached,
-       isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h.
-       (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian,
-       BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h
-
-       * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise
-       exception.
-       (sim-alu.h): Include.
-       (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define.
-       (sim_cia): Typedef to instruction_address.
-
-Thu Oct 16 10:31:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (interp.o): Rename generated file engine.c to
-       oengine.c.
-
-       * interp.c: Update.
-
-Thu Oct 16 10:31:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
-
-Thu Oct 16 10:31:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (build_instruction): For "FPSQRT", output correct
-       number of arguments to Recip.
-
-Tue Oct 14 17:38:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (interp.o): Depends on sim-main.h
-
-       * interp.c (mips16_entry, ColdReset,dotrace): Add SD argument. Use GPR not registers.
-
-       * sim-main.h (sim_cpu): Add registers, register_widths, fpr_state,
-       ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate fields.
-       (REGISTERS, REGISTER_WIDTHS, FPR_STATE, IPC, DSPC, PENDING_*,
-       STATE, DSSTATE): Define
-       (GPR, FGRIDX, ..): Define.
-
-       * interp.c (registers, register_widths, fpr_state, ipc, dspc,
-       pending_*, hiaccess, loaccess, state, dsstate): Delete globals.
-       (GPR, FGRIDX, ...): Delete macros.
-
-       * interp.c: Update names to match defines from sim-main.h
-
-Tue Oct 14 15:11:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_monitor): Add SD argument.
-       (sim_warning): Delete.  Replace calls with calls to
-       sim_io_eprintf.
-       (sim_error): Delete. Replace calls with sim_io_error.
-       (open_trace, writeout32, writeout16, getnum): Add SD argument.
-       (mips_set_profile): Rename from sim_set_profile. Add SD argument.
-       (mips_set_profile_size): Rename from sim_set_profile_size. Add SD
-       argument.
-       (mips_size): Rename from sim_size. Add SD argument.
-
-       * interp.c (simulator): Delete global variable.
-       (callback): Delete global variable.
-       (mips_option_handler, sim_open, sim_write, sim_read,
-       sim_store_register, sim_fetch_register, sim_info, sim_do_command,
-       sim_size,sim_monitor): Use sim_io_* not callback->*.
-       (sim_open): ZALLOC simulator struct.
-       (PROFILE): Do not define.
-
-Tue Oct 14 13:35:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open), support.h: Replace CHECKSIM macro found in
-       support.h with corresponding code.
-
-       * sim-main.h (word64, uword64), support.h: Move definition to
-       sim-main.h.
-       (WORD64LO, WORD64HI, SET64LO, SET64HI, WORD64, UWORD64): Ditto.
-
-       * support.h: Delete
-       * Makefile.in: Update dependencies
-       * interp.c: Do not include.
-
-Tue Oct 14 13:35:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (address_translation, load_memory, store_memory,
-       cache_op): Rename to from AddressTranslation et.al., make global,
-       add SD argument
-
-       * sim-main.h (AddressTranslation, LoadMemory, StoreMemory,
-       CacheOp): Define.
-
-       * interp.c (SignalException): Rename to signal_exception, make
-       global.
-
-       * interp.c (Interrupt, ...): Move definitions to sim-main.h.
-
-       * sim-main.h (SignalException, SignalExceptionInterrupt,
-       SignalExceptionInstructionFetch, SignalExceptionAddressStore,
-       SignalExceptionAddressLoad, SignalExceptionSimulatorFault,
-       SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable):
-       Define.
-
-       * interp.c, support.h: Use.
-
-Tue Oct 14 13:19:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename
-       to value_fpr / store_fpr. Add SD argument.
-       (NaN, Infinity, Less, Equal, AbsoluteValue, Negate, Add, Sub,
-       Multiply, Divide, Recip, SquareRoot, Convert): Make global.
-
-       * sim-main.h (ValueFPR, StoreFPR): Define.
-
-Tue Oct 14 13:06:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_engine_run): Check consistency between configure
-       WITH_TARGET_WORD_BITSIZE and WITH_FLOATING_POINT and gensim GPRLEN
-       and HASFPU.
-
-       * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE.
-       (mips_fpu): Configure WITH_FLOATING_POINT.
-       (mips_endian): Configure WITH_TARGET_ENDIAN.
-       * configure: Update.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 29 14:45:00 1997  Bob Manson  <manson@charmed.cygnus.com>
-
-       * configure: Regenerated.
-
-Fri Sep 26 12:48:18 1997  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
-
-Thu Sep 25 11:15:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (print_igen_insn_models): Assume certain architectures
-       include all mips* instructions.
-       (print_igen_insn_format): Use data_size==-1 as marker for MIPS16
-       instruction.
-
-       * Makefile.in (tmp.igen): Add target. Generate igen input from
-       gencode file.
-
-       * gencode.c (FEATURE_IGEN): Define.
-       (main): Add --igen option.  Generate output in igen format.
-       (process_instructions): Format output according to igen option.
-       (print_igen_insn_format): New function.
-       (print_igen_insn_models): New function.
-       (process_instructions): Only issue warnings and ignore
-       instructions when no FEATURE_IGEN.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (COP_SD, COP_LD): Add UNUSED to pacify GCC for some
-       MIPS targets.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN,
-       SIM_RESERVED_BITS): Delete, moved to common.
-       (SIM_EXTRA_CFLAGS): Update.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Configure non-strict memory alignment.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Sep 20 14:07:28 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c (SDBBP,DERET): Added (3900) insns.
-       (RFE): Turn on for 3900.
-       * interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
-       (dsstate): Made global.
-       (SUBTARGET_R3900): Added.
-       (CANCELDELAYSLOT): New.
-       (SignalException): Ignore SystemCall rather than ignore and
-       terminate.  Add DebugBreakPoint handling.
-       (decode_coproc): New insns RFE, DERET; and new registers Debug
-       and DEPC protected by SUBTARGET_R3900.
-       (sim_engine_run): Use CANCELDELAYSLOT rather than clearing
-       bits explicitly.
-       * Makefile.in,configure.in: Add mips subtarget option.
-       * configure: Update.
-
-Fri Sep 19 09:33:27 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c: Add r3900 (tx39).
-
-
-Tue Sep 16 15:52:04 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c (build_instruction): Don't need to subtract 4 for
-       JALR, just 2.
-
-Tue Sep 16 11:32:28 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * interp.c: Correct some HASFPU problems.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 12 12:01:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (mips_options): Fix samples option short form, should
-       be `x'.
-
-Thu Sep 11 09:35:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_info): Enable info code.  Was just returning.
-
-Tue Sep  9 17:30:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (decode_coproc): Clarify warning about unsuported MTC0,
-       MFC0.
-
-Tue Sep  9 16:28:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (build_instruction): Use SIGNED64 for 64 bit
-       constants.
-       (build_instruction): Ditto for LL.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Aug 27 14:12:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add call to sim_analyze_program, update
-       call to sim_config.
-
-Tue Aug 26 10:40:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument. Set PC from same.
-       (sim_load): Move code initializing trap handlers from here.
-       (sim_open): To here.
-       (sim_load): Delete, use sim-hload.c.
-
-       * Makefile.in (SIM_OBJS): Add sim-hload.o module.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 15:59:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add ABFD argument.
-       (sim_load): Move call to sim_config from here.
-       (sim_open): To here.  Check return status.
-
-Fri Jul 25 15:00:45 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c (build_instruction): Two arg MADD should
-       not assign result to $0.
-
-Thu Jun 26 12:13:17 1997  Angela Marie Thomas (angela@cygnus.com)
-
-       * sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
-       * sim/mips/configure.in: Regenerate.
-
-Wed Jul  9 10:29:21 1997  Andrew Cagney  <cagney@critters.cygnus.com>
-
-       * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
-       signed8, unsigned8 et.al. types.
-
-       * interp.c (SUB_REG_FETCH): Handle both little and big endian
-       hosts when selecting subreg.
-
-Wed Jul  2 11:54:10 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_engine_run): Reset the ZERO register to zero
-       regardless of FEATURE_WARN_ZERO.
-       * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
-
-Wed Jun  4 10:43:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (decode_coproc): Implement MTC0 N, CAUSE.
-       (SignalException): For BreakPoints ignore any mode bits and just
-       save the PC.
-       (SignalException): Always set the CAUSE register.
-
-Tue Jun  3 05:00:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (SignalException): Clear the simDELAYSLOT flag when an
-       exception has been taken.
-
-       * interp.c: Implement the ERET and mt/f sr instructions.
-
-Sat May 31 00:44:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (SignalException): Don't bother restarting an
-       interrupt.
-
-Fri May 30 23:41:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (SignalException): Really take an interrupt.
-       (interrupt_event): Only deliver interrupts when enabled.
-
-Tue May 27 20:08:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_info): Only print info when verbose.
-       (sim_info) Use sim_io_printf for output.
-
-Tue May 27 14:22:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (CoProcPresent): Add UNUSED attribute - not used by all
-       mips architectures.
-
-Tue May 27 14:22:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_do_command): Check for common commands if a
-       simulator specific command fails.
-
-Thu May 22 09:32:03 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
-       and simBE when DEBUG is defined.
-
-Wed May 21 09:08:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (interrupt_event): New function.  Pass exception event
-       onto exception handler.
-
-       * configure.in: Check for stdlib.h.
-       * configure: Regenerate.
-
-       * gencode.c (build_instruction): Add UNUSED attribute to tempS
-       variable declaration.
-       (build_instruction): Initialize memval1.
-       (build_instruction): Add UNUSED attribute to byte, bigend,
-       reverse.
-       (build_operands): Ditto.
-
-       * interp.c: Fix GCC warnings.
-       (sim_get_quit_code): Delete.
-
-       * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS.
-       * Makefile.in: Ditto.
-       * configure: Re-generate.
-
-       * Makefile.in (SIM_OBJS): Add sim-watch.o module.
-
-Tue May 20 15:08:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (mips_option_handler): New function parse argumes using
-       sim-options.
-       (myname): Replace with STATE_MY_NAME.
-       (sim_open): Delete check for host endianness - performed by
-       sim_config.
-       (simHOSTBE, simBE): Delete, replaced by sim-endian flags.
-       (sim_open): Move much of the initialization from here.
-       (sim_load): To here.  After the image has been loaded and
-       endianness set.
-       (sim_open): Move ColdReset from here.
-       (sim_create_inferior): To here.
-       (sim_open): Make FP check less dependant on host endianness.
-
-       * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or
-       run.
-       * interp.c (sim_set_callbacks): Delete.
-
-       * interp.c (membank, membank_base, membank_size): Replace with
-       STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE.
-       (sim_open): Remove call to callback->init. gdb/run do this.
-
-       * interp.c: Update
-
-       * sim-main.h (SIM_HAVE_FLATMEM): Define.
-
-       * interp.c (big_endian_p): Delete, replaced by
-       current_target_byte_order.
-
-Tue May 20 13:55:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (host_read_long, host_read_word, host_swap_word,
-       host_swap_long): Delete. Using common sim-endian.
-       (sim_fetch_register, sim_store_register): Use H2T.
-       (pipeline_ticks): Delete.  Handled by sim-events.
-       (sim_info): Update.
-       (sim_engine_run): Update.
-
-Tue May 20 13:42:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop_reason): Move code determining simEXCEPTION
-       reason from here.
-       (SignalException): To here. Signal using sim_engine_halt.
-       (sim_stop_reason): Delete, moved to common.
-
-Tue May 20 10:19:48 1997  Andrew Cagney  <cagney@b2.cygnus.com>
-
-       * interp.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Delete SIM_DESC argument.
-       (sim_size): Ditto.
-
-Mon May 19 18:20:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add common modules.
-
-       * interp.c (sim_set_callbacks): Also set SD callback.
-       (set_endianness, xfer_*, swap_*): Delete.
-       (host_read_word, host_read_long, host_swap_word, host_swap_long):
-       Change to functions using sim-endian macros.
-       (control_c, sim_stop): Delete, use common version.
-       (simulate): Convert into.
-       (sim_engine_run): This function.
-       (sim_resume): Delete.
-
-       * interp.c (simulation): New variable - the simulator object.
-       (sim_kind): Delete global - merged into simulation.
-       (sim_load): Cleanup.  Move PC assignment from here.
-       (sim_create_inferior): To here.
-
-       * sim-main.h: New file.
-       * interp.c (sim-main.h): Include.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr 23 17:32:19 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * tconfig.in (SIM_HAVE_BIENDIAN): Define.
-
-Mon Apr 21 17:16:13 1997  Gavin Koch  <gavin@cygnus.com>
-
-       * gencode.c (build_instruction): DIV instructions: check
-       for division by zero and integer overflow before using
-       host's division operation.
-
-Thu Apr 17 03:18:14 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * interp.c: #include bfd.h.
-       (target_byte_order): Delete.
-       (sim_kind, myname, big_endian_p): New static locals.
-       (sim_open): Set sim_kind, myname.  Move call to set_endianness to
-       after argument parsing.  Recognize -E arg, set endianness accordingly.
-       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
-       load file into simulator.  Set PC from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-       (set_endianness): Use big_endian_p instead of target_byte_order.
-
-Wed Apr 16 17:55:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_size): Delete prototype - conflicts with
-       definition in remote-sim.h.  Correct definition.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Mar 25 11:38:22 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): Set optind to 0 before calling getopt.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 10:52:59 1997  Gavin Koch  <gavin@cetus.cygnus.com>
-
-       * interp.c : Replace uses of pr_addr with pr_uword64
-       where the bit length is always 64 independent of SIM_ADDR.
-       (pr_uword64) : added.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 12:51:36 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New SIM_DESC result.  Argument is now
-       in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Mon Feb 24 22:47:14 1997  Dawn Perchik  <dawn@cygnus.com>
-
-       * interp.c: Fix printing of addresses for non-64-bit targets.
-       (pr_addr): Add function to print address based on size.
-
-Wed Feb 19 14:42:09 1997  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
-
-Thu Feb 13 14:08:30 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (build_mips16_operands): Correct computation of base
-       address for extended PC relative instruction.
-
-Thu Feb  6 17:16:15 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * interp.c (mips16_entry): Add support for floating point cases.
-       (SignalException): Pass floating point cases to mips16_entry.
-       (ValueFPR): Don't restrict fmt_single and fmt_word to even
-       registers.
-       (StoreFPR): Likewise.  Also, don't clobber fpr + 1 for fmt_single
-       or fmt_word.
-       (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
-       and then set the state to fmt_uninterpreted.
-       (COP_SW): Temporarily set the state to fmt_word while calling
-       ValueFPR.
-
-Tue Feb  4 16:48:25 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (build_instruction): The high order may be set in the
-       comparison flags at any ISA level, not just ISA 4.
-
-Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Fri Jan 31 11:11:45 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Rebuild after change to aclocal.m4.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Wed Jan  8 12:39:03 1997  Jim Wilson  <wilson@cygnus.com>
-
-       * gencode.c (build_instruction): Use BigEndianCPU instead of
-       ByteSwapMem.
-
-Thu Jan 02 22:23:04 1997  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c (sim_monitor): Make output to stdout visible in
-       wingdb's I/O log window.
-
-Tue Dec 31 07:04:00 1996  Mark Alexander  <marka@cygnus.com>
-
-       * support.h: Undo previous change to SIGTRAP
-       and SIGQUIT values.
-
-Mon Dec 30 17:36:06 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * interp.c (store_word, load_word): New static functions.
-       (mips16_entry): New static function.
-       (SignalException): Look for mips16 entry and exit instructions.
-       (simulate): Use the correct index when setting fpr_state after
-       doing a pending move.
-
-Sun Dec 29 09:37:18 1996  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c: Fix byte-swapping code throughout to work on
-       both little- and big-endian hosts.
-
-Sun Dec 29 09:18:32 1996  Mark Alexander  <marka@cygnus.com>
-
-       * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
-       with gdb/config/i386/xm-windows.h.
-
-Fri Dec 27 22:48:51 1996  Mark Alexander  <marka@cygnus.com>
-
-       * gencode.c (build_instruction): Work around MSVC++ code gen bug
-       that messes up arithmetic shifts.
-
-Fri Dec 20 11:04:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * support.h:  Use _WIN32 instead of __WIN32__.  Also add defs for
-       SIGTRAP and SIGQUIT for _WIN32.
-
-Thu Dec 19 14:07:27 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
-       force a 64 bit multiplication.
-       (build_instruction) [OR]: In mips16 mode, don't do anything if the
-       destination register is 0, since that is the default mips16 nop
-       instruction.
-
-Mon Dec 16 14:59:38 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
-       (build_endian_shift): Don't check proc64.
-       (build_instruction): Always set memval to uword64.  Cast op2 to
-       uword64 when shifting it left in memory instructions.  Always use
-       the same code for stores--don't special case proc64.
-
-       * gencode.c (build_mips16_operands): Fix base PC value for PC
-       relative operands.
-       (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
-       jal instruction.
-       * interp.c (simJALDELAYSLOT): Define.
-       (JALDELAYSLOT): Define.
-       (INDELAYSLOT, INJALDELAYSLOT): Define.
-       (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
-
-Tue Dec 24 22:11:20 1996  Angela Marie Thomas (angela@cygnus.com)
-
-       * interp.c (sim_open): add flush_cache as a PMON routine
-       (sim_monitor): handle flush_cache by ignoring it
-
-Wed Dec 11 13:53:51 1996  Jim Wilson  <wilson@cygnus.com>
-
-       * gencode.c (build_instruction): Use !ByteSwapMem instead of
-       BigEndianMem.
-       * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
-       (BigEndianMem): Rename to ByteSwapMem and change sense.
-       (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
-       BigEndianMem references to !ByteSwapMem.
-       (set_endianness): New function, with prototype.
-       (sim_open): Call set_endianness.
-       (sim_info): Use simBE instead of BigEndianMem.
-       (xfer_direct_word, xfer_direct_long, swap_direct_word,
-       swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
-       xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
-       ifdefs, keeping the prototype declaration.
-       (swap_word): Rewrite correctly.
-       (ColdReset): Delete references to CONFIG.  Delete endianness related
-       code; moved to set_endianness.
-
-Tue Dec 10 11:32:04 1996  Jim Wilson  <wilson@cygnus.com>
-
-       * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
-       * interp.c (CHECKHILO): Define away.
-       (simSIGINT): New macro.
-       (membank_size): Increase from 1MB to 2MB.
-       (control_c): New function.
-       (sim_resume): Rename parameter signal to signal_number.  Add local
-       variable prev.  Call signal before and after simulate.
-       (sim_stop_reason): Add simSIGINT support.
-       (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
-       functions always.
-       (sim_warning): Delete call to SignalException.  Do call printf_filtered
-       if logfh is NULL.
-       (AddressTranslation): Add #ifdef DEBUG around debugging message and
-       a call to sim_warning.
-
-Wed Nov 27 11:53:50 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
-       16 bit instructions.
-
-Tue Nov 26 11:53:12 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       Add support for mips16 (16 bit MIPS implementation):
-       * gencode.c (inst_type): Add mips16 instruction encoding types.
-       (GETDATASIZEINSN): Define.
-       (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv.  Add
-       jalx.  Add LEFT flag to mfhi and mflo.  Add RIGHT flag to mthi and
-       mtlo.
-       (MIPS16_DECODE): New table, for mips16 instructions.
-       (bitmap_val): New static function.
-       (struct mips16_op): Define.
-       (mips16_op_table): New table, for mips16 operands.
-       (build_mips16_operands): New static function.
-       (process_instructions): If PC is odd, decode a mips16
-       instruction.  Break out instruction handling into new
-       build_instruction function.
-       (build_instruction): New static function, broken out of
-       process_instructions.  Check modifiers rather than flags for SHIFT
-       bit count and m[ft]{hi,lo} direction.
-       (usage): Pass program name to fprintf.
-       (main): Remove unused variable this_option_optind.  Change
-       ``*loptarg++'' to ``loptarg++''.
-       (my_strtoul): Parenthesize && within ||.
-       * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
-       (simulate): If PC is odd, fetch a 16 bit instruction, and
-       increment PC by 2 rather than 4.
-       * configure.in: Add case for mips16*-*-*.
-       * configure: Rebuild.
-
-Fri Nov 22 08:49:36 1996  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c: Allow -t to enable tracing in standalone simulator.
-       Fix garbage output in trace file and error messages.
-
-Wed Nov 20 01:54:37 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
-       (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       * configure: Regenerated.
-       * tconfig.in: New file.
-
-Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
-
-       * interp.c: Fix bugs in 64-bit port.
-       Use ansi function declarations for msvc compiler.
-       Initialize and test file pointer in trace code.
-       Prevent duplicate definition of LAST_EMED_REGNUM.
-
-Tue Oct 15 11:07:06 1996  Mark Alexander  <marka@cygnus.com>
-
-       * interp.c (xfer_big_long): Prevent unwanted sign extension.
-
-Thu Sep 26 17:35:00 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (SignalException): Check for explicit terminating
-       breakpoint value.
-       * gencode.c: Pass instruction value through SignalException()
-       calls for Trap, Breakpoint and Syscall.
-
-Thu Sep 26 11:35:17 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
-       only used on those hosts that provide it.
-       * configure.in: Add sqrt() to list of functions to be checked for.
-       * config.in: Re-generated.
-       * configure: Re-generated.
-
-Fri Sep 20 15:47:12 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (process_instructions): Call build_endian_shift when
-       expanding STORE RIGHT, to fix swr.
-       * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
-       clear the high bits.
-       * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
-       Fix float to int conversions to produce signed values.
-
-Thu Sep 19 15:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
-       (process_instructions): Correct handling of nor instruction.
-       Correct shift count for 32 bit shift instructions. Correct sign
-       extension for arithmetic shifts to not shift the number of bits in
-       the type.  Fix 64 bit multiply high word calculation.  Fix 32 bit
-       unsigned multiply.  Fix ldxc1 and friends to use coprocessor 1.
-       Fix madd.
-       * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
-       It's OK to have a mult follow a mult.  What's not OK is to have a
-       mult follow an mfhi.
-       (Convert): Comment out incorrect rounding code.
-
-Mon Sep 16 11:38:16 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (sim_monitor): Improved monitor printf
-       simulation. Tidied up simulator warnings, and added "--log" option
-       for directing warning message output.
-       * gencode.c: Use sim_warning() rather than WARNING macro.
-
-Thu Aug 22 15:03:12 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
-       getopt1.o, rather than on gencode.c.  Link objects together.
-       Don't link against -liberty.
-       (gencode.o, getopt.o, getopt1.o): New targets.
-       * gencode.c: Include <ctype.h> and "ansidecl.h".
-       (AND): Undefine after including "ansidecl.h".
-       (ULONG_MAX): Define if not defined.
-       (OP_*): Don't define macros; now defined in opcode/mips.h.
-       (main): Call my_strtoul rather than strtoul.
-       (my_strtoul): New static function.
-
-Wed Jul 17 18:12:38 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * gencode.c (process_instructions):  Generate word64 and uword64
-       instead of `long long' and `unsigned long long' data types.
-       * interp.c:  #include sysdep.h to get signals, and define default
-       for SIGBUS.
-       * (Convert):  Work around for Visual-C++ compiler bug with type
-       conversion.
-       * support.h:  Make things compile under Visual-C++ by using
-       __int64 instead of `long long'.  Change many refs to long long
-       into word64/uword64 typedefs.
-
-Wed Jun 26 12:24:55 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       (AC_PROG_CC): Moved to before configure.host call.
-       * configure: Rebuilt.
-
-Wed Jun  5 08:28:13 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * configure.in: Define @SIMCONF@ depending on mips target.
-       * configure: Rebuild.
-       * Makefile.in (run): Add @SIMCONF@ to control simulator
-       construction.
-       * gencode.c: Change LOADDRMASK to 64bit memory model only.
-       * interp.c: Remove some debugging, provide more detailed error
-       messages, update memory accesses to use LOADDRMASK.
-
-Mon Jun  3 11:55:03 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
-       AC_CHECK_LIB, and AC_CHECK_FUNCS.  Change AC_OUTPUT to set
-       stamp-h.
-       * configure: Rebuild.
-       * config.in: New file, generated by autoheader.
-       * interp.c: Include "config.h".  Include <stdlib.h>, <string.h>,
-       and <strings.h> if they exist.  Replace #ifdef sun with #ifdef
-       HAVE_ANINT and HAVE_AINT, as appropriate.
-       * Makefile.in (run): Use @LIBS@ rather than -lm.
-       (interp.o): Depend upon config.h.
-       (Makefile): Just rebuild Makefile.
-       (clean): Remove stamp-h.
-       (mostlyclean): Make the same as clean, not as distclean.
-       (config.h, stamp-h): New targets.
-
-Fri May 10 00:41:17 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (ColdReset): Fix boolean test. Make all simulator
-       globals static.
-
-Wed May  8 15:12:58 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (xfer_direct_word, xfer_direct_long,
-       swap_direct_word, swap_direct_long, xfer_big_word,
-       xfer_big_long, xfer_little_word, xfer_little_long,
-       swap_word,swap_long): Added.
-       * interp.c (ColdReset): Provide function indirection to
-       host<->simulated_target transfer routines.
-       * interp.c (sim_store_register, sim_fetch_register): Updated to
-       make use of indirected transfer routines.
-
-Fri Apr 19 15:48:24 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * gencode.c (process_instructions): Ensure FP ABS instruction
-       recognised.
-       * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
-       system call support.
-
-Wed Apr 10 09:51:38 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (sim_do_command): Complain if callback structure not
-       initialised.
-
-Thu Mar 28 13:50:51 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c (Convert): Provide round-to-nearest and round-to-zero
-       support for Sun hosts.
-       * Makefile.in (gencode): Ensure the host compiler and libraries
-       used for cross-hosted build.
-
-Wed Mar 27 14:42:12 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * interp.c, gencode.c: Some more (TODO) tidying.
-
-Thu Mar  7 11:19:33 1996  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * gencode.c, interp.c: Replaced explicit long long references with
-       WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
-       * support.h (SET64LO, SET64HI): Macros added.
-
-Wed Feb 21 12:16:21 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.7.
-
-Tue Jan 30 08:48:18 1996  Fred Fish  <fnf@cygnus.com>
-
-       * interp.c (LoadMemory): Enclose text following #endif in /* */.
-       * support.h: Remove superfluous "1" from #if.
-       * support.h (CHECKSIM): Remove stray 'a' at end of line.
-
-Mon Dec  4 11:44:40 1995  Jamie Smith  <jsmith@cygnus.com>
-
-       * interp.c (StoreFPR): Control UndefinedResult() call on
-       WARN_RESULT manifest.
-
-Fri Dec  1 16:37:19 1995  James G. Smith  <jsmith@cygnus.co.uk>
-
-       * gencode.c: Tidied instruction decoding, and added FP instruction
-       support.
-
-       * interp.c: Added dineroIII, and BSD profiling support. Also
-       run-time FP handling.
-
-Sun Oct 22 00:57:18 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
-
-       * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
-       gencode.c, interp.c, support.h: created.
diff --git a/sim/mips/ChangeLog-2021 b/sim/mips/ChangeLog-2021
new file mode 100644 (file)
index 0000000..e463f82
--- /dev/null
@@ -0,0 +1,4108 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_PATH_X call.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CHECK_LIB calls.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (dotrace): Make comment const.
+       * sim-main.h (dotrace):  Likewise.  Add ATTRIBUTE_PRINTF.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_monitor): Change ap type to address_word*.
+       (_P, P): New macros.  Rewrite dynamic printf logic to use these.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904sio.c (tx3904sio_fifo_push): Change next_buf to
+       unsigned_1.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904irc.c (tx3904irc_io_write_buffer): Initialize
+       register_value to 0.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Change %lx to %x and PRIx macros.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to AC_CHECK_FUNCS.
+       * config.in, configure: Regenerate.
+
+2021-06-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
+       with $(IGEN).
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c [!HAVE_DV_SOCKSER] (sockser_addr): Define to NULL.
+
+2021-05-22  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * interp.c (sim_open): Add shadow mappings from 32-bit
+       address space to 64-bit sign-extended address space.
+
+2021-05-22  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * interp.c (sim_create_inferior): Only truncate sign extension
+       bits for 32-bit target models.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Switch to sim_state_alloc_extra.
+       * micromips.igen: Change SD to mips_sim_state.
+       * micromipsrun.c (sim_engine_run): Likewise.
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (watch_options_install): Delete.
+       (struct swatch): Delete.
+       (struct sim_state): Delete.
+       (struct mips_sim_state): New struct.
+       (MIPS_SIM_STATE): Define.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+       * cp1.c, dsp.c, dv-tx3904cpu.c, dv-tx3904irc.c, dv-tx3904sio.c,
+       dv-tx3904tmr.c, m16run.c, mdmx.c, micromipsrun.c, sim-main.c:
+       Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904sio.c: Include stdlib.h.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (hw_extra_devices): Inline contents into
+       SIM_AC_OPTION_HARDWARE and delete.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_IGEN_OBJ): Change @mips_igen_engine@ to engine.o.
+       (MIPS_EXTRA_LIB, SIM_EXTRA_LIBS): Delete.
+       * configure.ac (mips_igen_engine, mips_extra_libs): Delete.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * mdmx.c (qh_acc): Change 2nd AccAddAQH to AccAddLQH.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * cp1.c (store_fcr): Mark static.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (hw_enabled): Delete.
+       (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (interp.o, m16run.o, micromipsrun.o, multi-run.o):
+       Remove.
+       (SIM_EXTRA_DEPS): New variable.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Set ASAN_OPTIONS when running igen.
+
+2021-04-04  Steve Ellcey  <sellcey@mips.com>
+           Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * interp.c (sim_monitor): Add switch entries for unlink (13),
+       lseek (14), and stat (15).
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (../igen/igen): Delete rule.
+       (tmp-igen, tmp-m16, tmp-micromips): Delete ../igen make.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_ALL): Delete.
+       (all): New target.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
+       and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-12-31  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
+
+       *  sim-main.c: Include <stdlib.h>.
+
+2020-12-14  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
+
+       * cp1.c: Include <stdlib.h>.
+
+2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * configure: Re-generate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-11-11  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/20808
+       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Define CPU to cpu
+       and SD to sd.
+
+2016-11-11  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/20809
+       * mips.igen (check_u64): Enable for `r3900'.
+
+2016-02-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (sim_engine_run): Change sd->base.prog_bfd to
+       STATE_PROG_BFD (sd).
+       * configure: Regenerate.
+
+2016-01-18  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Maciej W. Rozycki  <macro@imgtec.com>
+
+       PR sim/19441
+       * micromips.igen (delayslot_micromips): Enable for `micromips32',
+       `micromips64' and `micromipsdsp' only.
+       (process_isa_mode): Enable for `micromips32' and `micromips64' only.
+       (do_micromips_jalr, do_micromips_jal): Likewise.
+       (compute_movep_src_reg): Likewise.
+       (compute_andi16_imm): Likewise.
+       (convert_fmt_micromips): Likewise.
+       (convert_fmt_micromips_cvt_d): Likewise.
+       (convert_fmt_micromips_cvt_s): Likewise.
+       (FMT_MICROMIPS): Likewise.
+       (FMT_MICROMIPS_CVT_D): Likewise.
+       (FMT_MICROMIPS_CVT_S): Likewise.
+
+2016-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include elf-bfd.h.
+       (sim_create_inferior): Truncate pc to 32-bits when EI_CLASS is
+       ELFCLASS32.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_SMP): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (mips_endian): Change LITTLE_ENDIAN to LITTLE.
+       (default_endian): Likewise.  Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+       * sim-main.h (BigEndianMem): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904cpu.c (CPU, SD): Delete.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (mips_reg_store, mips_reg_fetch): Define.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (sim_store_register): Rename to ...
+       (mips_reg_store): ... this.  Delete local cpu var.
+       Update sim_io_eprintf calls.
+       (sim_fetch_register): Rename to ...
+       (mips_reg_fetch): ... this.  Delete local cpu var.
+       Update sim_io_eprintf calls.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write, sim_read): Delete.
+       (store_word): Delete call to AddressTranslation and set paddr=vaddr.
+       (load_word): Likewise.
+       * micromips.igen (cache): Likewise.
+       * mips.igen (do_ll, do_lld, do_sc, do_scd, do_suxc1_32, do_swc1,
+       do_swxc1, cache, do_load, do_load_left, do_load_right, do_store,
+       do_store_left, do_store_right, do_load_double, do_store_double):
+       Likewise.
+       (do_pref): Delete call to AddressTranslation and stub out Prefetch.
+       (do_prefx): Likewise.
+       * sim-main.c (address_translation, prefetch): Delete.
+       (ifetch32, ifetch16): Delete call to AddressTranslation and set
+       paddr=vaddr.
+       * sim-main.h (Uncached, CachedNoncoherent, CachedCoherent, Cached,
+       address_translation, AddressTranslation, prefetch, Prefetch): Delete.
+       (LoadMemory, StoreMemory): Delete CCA arg.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_SUBTARGET): Drop -DTARGET_TX3904=1.
+       * configure: Regenerated.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_QUIET_NAN_NEGATED): Move from tconfig.h.
+       * tconfig.h: Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_WATCHPOINTS): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
+
+2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * micromips.igen (process_isa_mode): Fix left shift of negative
+       value.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_MODULO_MEMORY): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Rename to ...
+       (mips_sim_close): ... this.  Delete calls to sim_module_uninstall and
+       sim_io_shutdown.
+       * sim-main.h (mips_sim_close): Declare.
+       (SIM_CLOSE_HOOK): Define.
+
+2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Ali Lown  <ali.lown@imgtec.com>
+
+       * Makefile.in (tmp-micromips): New rule.
+       (tmp-mach-multi): Add support for micromips.
+       * configure.ac (mips*-sde-elf* | mips*-mti-elf*): Made a multi sim
+       that works for both mips64 and micromips64.
+       (mipsisa32r2*-*-*): Made a multi sim that works for mips32 and
+       micromips32.
+       Add build support for micromips.
+       * dsp.igen (do_ph_s_absq, do_w_s_absq, do_qb_s_absq, do_addsc,
+       do_addwc, do_bitrev, do_extpv, do_extrv, do_extrv_s_h, do_insv,
+       do_lxx do_modsub, do_mthlip, do_mulsaq_s_w_ph, do_ph_packrl, do_qb_pick
+       do_ph_pick, do_qb_ph_precequ, do_qb_ph_preceu, do_w_preceq
+       do_w_ph_precrq, do_ph_qb_precrq, do_w_ph_rs_precrq do_qb_w_raddu,
+       do_rddsp, do_repl, do_shilov, do_ph_shl, do_qb_shl do_w_s_shllv,
+       do_ph_shrlv, do_w_r_shrav, do_wrdsp, do_qb_shrav, do_append,
+       do_balign, do_ph_w_mulsa, do_ph_qb_precr, do_prepend): New functions.
+       Refactored instruction code to use these functions.
+       * dsp2.igen: Refactored instruction code to use the new functions.
+       * interp.c (decode_coproc): Refactored to work with any instruction
+       encoding.
+       (isa_mode): New variable
+       (RSVD_INSTRUCTION): Changed to 0x00000039.
+       * m16.igen (BREAK16): Refactored instruction to use do_break16.
+       (JALX32): Add mips32, mips64, mips32r2 and mips64r2 models.
+       * micromips.dc: New file.
+       * micromips.igen: New file.
+       * micromips16.dc: New file.
+       * micromipsdsp.igen: New file.
+       * micromipsrun.c: New file.
+       * mips.igen (do_swc1): Changed to work with any instruction encoding.
+       (do_add do_addi do_andi do_dadd do_daddi do_dsll32 do_dsra32
+       do_dsrl32, do_dsub, do_break, do_break16, do_clo, do_clz, do_dclo,
+       do_dclz, do_lb, do_lh, do_lwr, do_lwl, do_lwc, do_lw, do_lwu, do_lhu,
+       do_ldc, do_lbu, do_ll, do_lld, do_lui, do_madd, do_dsp_madd, do_maddu,
+       do_dsp_maddu, do_dsp_mfhi, do_dsp_mflo, do_movn, do_movz, do_msub,
+       do_dsp_msub, do_msubu, do_dsp_msubu, do_mthi, do_dsp_mthi, do_mtlo,
+       do_dsp_mtlo, do_mul, do_dsp_mult, do_dsp_multu, do_pref, do_sc,
+       do_scd, do_sub, do_sw, do_teq, do_teqi, do_tge, do_tgei, do_tgeiu,
+       do_tgeu, do_tlt do_tlti, do_tltiu, do_tltu, do_tne, do_tnei, do_abs_fmt,
+       do_add_fmt, do_alnv_ps, do_c_cond_fmt, do_ceil_fmt, do_cfc1, do_ctc1,
+       do_cvt_d_fmt, do_cvt_l_fmt, do_cvt_ps_s, do_cvt_s_fmt, do_cvt_s_pl,
+       do_cvt_s_pu, do_cvt_w_fmt, do_div_fmt, do_dmfc1b, do_dmtc1b, do_floor_fmt,
+       do_luxc1_32, do_luxc1_64, do_lwc1, do_lwxc1, do_madd_fmt, do_mfc1b,
+       do_mov_fmt, do_movtf, do_movtf_fmt, do_movn_fmt, do_movz_fmt, do_msub_fmt,
+       do_mtc1b, do_mul_fmt, do_neg_fmt, do_nmadd_fmt, do_nmsub_fmt, do_pll_ps,
+       do_plu_ps, do_pul_ps, do_puu_ps, do_recip_fmt, do_round_fmt, do_rsqrt_fmt,
+       do_prefx, do_sdc1, do_suxc1_32, do_suxc1_64, do_sqrt_fmt, do_sub_fmt,
+       do_swc1, do_swxc1, do_trunc_fmt): New functions, refactored from existing
+       instructions.
+       Refactored instruction code to use these functions.
+       (RSVD): Changed to use new reserved instruction.
+       (loadstore_ea, not_word_value, unpredictable, check_mt_hilo,
+       check_mf_hilo, check_mult_hilo, check_div_hilo, check_u64, do_luxc1_32,
+       do_sdc1, do_suxc1_32, check_fmt_p, check_fpu, do_load_double,
+       do_store_double):  Added micromips32 and micromips64 models.
+       Added include for micromips.igen and micromipsdsp.igen
+       Add micromips32 and micromips64 models.
+       (DecodeCoproc): Updated to use new macro definition.
+       * mips3264r2.igen (do_dsbh, do_dshd, do_dext, do_dextm, do_dextu, do_di,
+       do_dins, do_dinsm, do_ei, do_ext, do_mfhc1, do_mthc1, do_ins, do_dinsu,
+       do_seb, do_seh do_rdhwr, do_wsbh): New functions.
+       Refactored instruction code to use these functions.
+       * sim-main.h (CP0_operation): New enum.
+       (DecodeCoproc): Updated macro.
+       (IMEM32_MICROMIPS, IMEM16_MICROMIPS, MICROMIPS_MINOR_OPCODE,
+       MICROMIPS_DELAYSLOT_SIZE_ANY, MICROMIPS_DELAYSLOT_SIZE_16,
+       MICROMIPS_DELAYSLOT_SIZE_32, ISA_MODE_MIPS32 and
+       ISA_MODE_MICROMIPS): New defines.
+       (sim_state): Add isa_mode field.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change configure.in to configure.ac.
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c [TRACE]: Delete.
+       (TRACE): Change to WITH_TRACE_ANY_P.
+       [!WITH_TRACE_ANY_P] (open_trace): Define.
+       (mips_option_handler, open_trace, sim_close, dotrace):
+       Change defined(TRACE) to WITH_TRACE_ANY_P.
+       (sim_open): Delete TRACE ifdef check.
+       * sim-main.c (load_memory): Delete TRACE ifdef check.
+       (store_memory): Likewise.
+       * sim-main.h [WITH_TRACE_ANY_P] (dotrace, tracefh): Protect decls.
+       [!WITH_TRACE_ANY_P] (dotrace): Define.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete
+       comments.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Change CIA_GET to
+       PU_PC_GET.
+       * interp.c (interrupt_event): Change CIA_GET to CPU_PC_GET.
+       (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
+       * m16run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
+       CIA_SET to CPU_PC_SET.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
+       * interp.c (mips_pc_get, mips_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
+       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+       (sim_pc_get): Delete.
+       * sim-main.h (SIM_CPU): Define.
+       (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Drop &.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mips_option_handler, open_trace, sim_close,
+       sim_write, sim_read, sim_store_register, sim_fetch_register,
+       sim_create_inferior, pr_addr, pr_uword64): Convert old style
+       prototypes.
+       (sim_open): Convert old style prototype.  Change casts with
+       sim_write to unsigned char *.
+       (fetch_str): Change null to unsigned char, and change cast to
+       unsigned char *.
+       (sim_monitor): Change c & ch to unsigned char.  Change cast to
+       unsigned char *.
+
+2015-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Move interp.o to the start of the list.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * tconfig.h (SIM_HAVE_PROFILE): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_pc_get): New function.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
+       * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac (mips_extra_objs): Delete.
+       * Makefile.in (MIPS_EXTRA_OBJS): Delete.
+       (SIM_OBJS): Delete MIPS_EXTRA_OBJS.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac: Delete sim_hw checks for dv-sockser.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+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.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Address use of dv-sockser.o.
+       * tconfig.in: Conditionalize use of dv_sockser_install.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+
+2012-10-04  Chao-ying Fu  <fu@mips.com>
+           Steve Ellcey  <sellcey@mips.com>
+
+       * mips/mips3264r2.igen (rdhwr): New.
+
+2012-09-03 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Always link against dv-sockser.o.
+       * configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * interp.c: Include config.h before system header files.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
+       $(SIM_EXTRA_DEPS).
+       (tmp-mach-multi): Exit early when igen fails.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904sio.c (tx3904sio_fifo_push): Change zfree to free.
+       (tx3904sio_fifo_reset): Likewise.
+       * interp.c (sim_monitor): Likewise.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-01-18  Masaki Muranaka  <monaka@monami-software.com>  (tiny change)
+
+       * interp.c: Don't include sysdep.h
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2007-10-22  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * mips.igen (check_fmt_p): Provide a separate mips32r2 definition
+       that unconditionally allows fmt_ps.
+       (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU)
+       (FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt)
+       (PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change
+       filter from 64,f to 32,f.
+       (PREFX): Change filter from 64 to 32.
+       (LDXC1, LUXC1): Provide separate mips32r2 implementations
+       that use do_load_double instead of do_load.  Make both LUXC1
+       versions unpredictable if SizeFGR () != 64.
+       (SDXC1, SUXC1): Extend to mips32r2, using do_store_double
+       instead of do_store.  Remove unused variable.  Make both SUXC1
+       versions unpredictable if SizeFGR () != 64.
+
+2007-10-07  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * mips.igen (ll): Fix mask for WITH_TARGET_WORD_BITSIZE == 32.
+       (sc, swxc1): Likewise.  Also fix big-endian and reverse-endian
+       shifts for that case.
+
+2007-09-04  Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (options enum): Add OPTION_INFO_MEMORY.
+       (display_mem_info): New static variable.
+       (mips_option_handler): Handle OPTION_INFO_MEMORY.
+       (mips_options): Add info-memory and memory-info.
+       (sim_open): After processing the command line and board
+       specification, check display_mem_info.  If it is set then
+       call the real handler for the --memory-info command line
+       switch.
+
+2007-08-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Change license of multi-run.c to GPL version 3.
+       * configure: Regenerate.
+
+2007-06-28  Richard Sandiford  <richard@codesourcery.com>
+
+       * configure.ac, configure: Revert last patch.
+
+2007-06-26  Richard Sandiford  <richard@codesourcery.com>
+
+       * configure.ac (sim_mipsisa3264_configs): New variable.
+       (mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make
+       every configuration support all four targets, using the triplet to
+       determine the default.
+       * configure: Regenerate.
+
+2007-06-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * Makefile.in (m16run.o): New rule.
+
+2007-05-15  Thiemo Seufer  <ths@mips.com>
+
+       * mips3264r2.igen (DSHD): Fix compile warning.
+
+2007-05-14  Thiemo Seufer  <ths@mips.com>
+
+       * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
+       CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
+       NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
+       RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
+       for mips32r2.
+
+2007-03-01  Thiemo Seufer  <ths@mips.com>
+
+       * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
+       and mips64.
+
+2007-02-20  Thiemo Seufer  <ths@mips.com>
+
+       * dsp.igen: Update copyright notice.
+       * dsp2.igen: Fix copyright notice.
+
+2007-02-20  Thiemo Seufer  <ths@mips.com>
+           Chao-Ying Fu  <fu@mips.com>
+
+       * Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
+       * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
+       Add dsp2 to sim_igen_machine.
+       * configure: Regenerate.
+       * dsp.igen (do_ph_op): Add MUL support when op = 2.
+       (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
+       (mulq_rs.ph): Use do_ph_mulq.
+       (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
+       * mips.igen: Add dsp2 model and include dsp2.igen.
+       (MFHI, MFLO, MTHI, MTLO): Extend these instructions for
+       for *mips32r2, *mips64r2, *dsp.
+       (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
+       for *mips32r2, *mips64r2, *dsp2.
+       * dsp2.igen: New file for MIPS DSP REV 2 ASE.
+
+2007-02-19  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
+       jumps with hazard barrier.
+
+2007-02-19  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * interp.c (sim_monitor): Flush stdout and stderr file descriptors
+       after each call to sim_io_write.
+
+2007-02-19  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * interp.c (ColdReset): Set CP0 Config0 to reflect the address size
+       supported by this simulator.
+       (decode_coproc): Recognise additional CP0 Config registers
+       correctly.
+
+2007-02-19  Thiemo Seufer  <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * cp1.c (value_fpr): Don't inherit existing FPR_STATE for
+       uninterpreted formats. If fmt is one of the uninterpreted types
+       don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
+       fmt_word, and fmt_uninterpreted_64 like fmt_long.
+       (store_fpr): When writing an invalid odd register, set the
+       matching even register to fmt_unknown, not the following register.
+       * interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
+       the the memory window at offset 0 set by --memory-size command
+       line option.
+       (sim_store_register): Handle storing 4 bytes to an 8 byte floating
+       point register.
+       (sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
+       register.
+       (sim_monitor): When returning the memory size to the MIPS
+       application, use the value in STATE_MEM_SIZE, not an arbitrary
+       hardcoded value.
+       (cop_lw): Don' mess around with FPR_STATE, just pass
+       fmt_uninterpreted_32 to StoreFPR.
+       (cop_sw): Similarly.
+       (cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
+       (cop_sd): Similarly.
+       * mips.igen (not_word_value): Single version for mips32, mips64
+       and mips16.
+
+2007-02-19  Thiemo Seufer <ths@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * interp.c (MEM_SIZE): Increase default memory size from 2 to 8
+       MBytes.
+
+2007-02-17  Thiemo Seufer  <ths@mips.com>
+
+       * configure.ac (mips*-sde-elf*): Move in front of generic machine
+       configuration.
+       * configure: Regenerate.
+
+2007-02-17  Thiemo Seufer  <ths@mips.com>
+
+       * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
+       Add mdmx to sim_igen_machine.
+       (mipsisa64*-*-*): Likewise. Remove dsp.
+       (mipsisa32*-*-*): Remove dsp.
+       * configure: Regenerate.
+
+2007-02-13  Thiemo Seufer  <ths@mips.com>
+
+       * configure.ac: Add mips*-sde-elf* target.
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in, configure: Regenerate.
+
+2006-11-07  Thiemo Seufer  <ths@mips.com>
+
+       * dsp.igen (do_w_op): Fix compiler warning.
+
+2006-08-29  Thiemo Seufer  <ths@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
+       sim_igen_machine.
+       * configure: Regenerate.
+       * mips.igen (model): Add smartmips.
+       (MADDU): Increment ACX if carry.
+       (do_mult): Clear ACX.
+       (ROR,RORV): Add smartmips.
+       (include): Include smartmips.igen.
+       * sim-main.h (ACX): Set to REGISTERS[89].
+       * smartmips.igen: New file.
+
+2006-08-29  Thiemo Seufer  <ths@mips.com>
+           David Ung  <davidu@mips.com>
+
+       * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
+       mips3264r2.igen. Add missing dependency rules.
+       * m16e.igen: Support for mips16e save/restore instructions.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-15 Chao-ying Fu  <fu@mips.com>
+
+       * dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
+
+2006-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break
+       statement.
+
+2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate.
+
+2005-12-14  Chao-ying Fu  <fu@mips.com>
+
+       * Makefile.in (SIM_OBJS): Add dsp.o.
+       (dsp.o): New dependency.
+       (IGEN_INCLUDE): Add dsp.igen.
+       * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
+       mipsisa64*-*-*): Add dsp to sim_igen_machine.
+       * configure: Regenerate.
+       * mips.igen: Add dsp model and include dsp.igen.
+       (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
+       because these instructions are extended in DSP ASE.
+       * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
+       adding 6 DSP accumulator registers and 1 DSP control register.
+       (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
+       AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
+       DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
+       DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
+       DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
+       DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
+       DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
+       DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
+       DSPCR_CCOND_SMASK): New define.
+       (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
+       * dsp.c, dsp.igen: New files for MIPS DSP ASE.
+
+2005-07-08  Ian Lance Taylor  <ian@airs.com>
+
+       * tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
+
+2005-06-16  David Ung  <davidu@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * mips.igen: New mips16e model and include m16e.igen.
+       (check_u64): Add mips16e tag.
+       * m16e.igen: New file for MIPS16e instructions.
+       * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
+       mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
+       models.
+       * configure: Regenerate.
+
+2005-05-26  David Ung  <davidu@mips.com>
+
+       * mips.igen (mips32r2, mips64r2): New ISA models.  Add new model
+       tags to all instructions which are applicable to the new ISAs.
+       (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
+       vr.igen.
+       * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
+       instructions.
+       * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
+       to mips.igen.
+       * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
+       * configure: Regenerate.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-09-24  Monika Chaddha  <monika@acmet.com>
+
+       Committed by Andrew Cagney.
+       * m16.igen (CMP, CMPI): Fix assembler.
+
+2004-08-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine.
+       * configure: Regenerate.
+
+2004-06-25  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (sim_m16_machine): Include mipsIII.
+       * configure: Regenerate.
+
+2004-05-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * mips/interp.c (decode_coproc): Sign-extend the address retrieved
+       from COP0_BADVADDR.
+       * mips/sim-main.h (COP0_BADVADDR): Remove a cast.
+
+2004-04-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New.
+
+2004-04-09  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (check_fmt): Remove.
+       (ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W)
+       (CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt)
+       (FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt)
+       (MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt)
+       (ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt)
+       (TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats.
+       (check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
+       (FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt)
+       (SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt.
+       (C.cnd.fmta): Remove incorrect call to check_fmt_p.
+
+2004-04-09  Chris Demetriou  <cgd@broadcom.com>
+
+       * sb1.igen (check_sbx): New function.
+       (PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx.
+
+2004-03-29  Chris Demetriou  <cgd@broadcom.com>
+           Richard Sandiford  <rsandifo@redhat.com>
+
+       * sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
+       (MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
+       * mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
+       separate implementations for mipsIV and mipsV.  Use new macros to
+       determine whether the restrictions apply.
+
+2004-01-19  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
+       (check_mult_hilo): Improve comments.
+       (check_div_hilo): Likewise.  Also, fork off a new version
+       to handle mips32/mips64 (since there are no hazards to check
+       in MIPS32/MIPS64).
+
+2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * mips.igen (do_dmultx): Fix check for negative operands.
+
+2003-05-16  Ian Lance Taylor  <ian@airs.com>
+
+       * Makefile.in (SHELL): Make sure this is defined.
+       (various): Use $(SHELL) whenever we invoke move-if-change.
+
+2003-05-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: Tweak attribution slightly.
+       * cp1.h: Likewise.
+       * mdmx.c: Likewise.
+       * mdmx.igen: Likewise.
+       * mips3d.igen: Likewise.
+       * sb1.igen: Likewise.
+
+2003-04-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
+       unsigned operands.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_open): Rename _bfd to bfd.
+       (sim_create_inferior): Ditto.
+
+2003-01-14  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
+
+2003-01-14  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (EI, DI): Remove.
+
+2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (tmp-run-multi): Fix mips16 filter.
+
+2003-01-04  Richard Sandiford  <rsandifo@redhat.com>
+           Andrew Cagney  <ac131313@redhat.com>
+           Gavin Romig-Koch  <gavin@redhat.com>
+           Graydon Hoare  <graydon@redhat.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+           Dave Brolley  <brolley@redhat.com>
+           Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
+       (sim_mach_default): New variable.
+       (mips64vr-*-*, mips64vrel-*-*): New configurations.
+       Add a new simulator generator, MULTI.
+       * configure: Regenerate.
+       * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
+       (multi-run.o): New dependency.
+       (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
+       (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
+       (tmp-multi): Combine them.
+       (BUILT_SRC_FROM_MULTI): New variable.  Depend on tmp-multi.
+       (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
+       (distclean-extra): New rule.
+       * sim-main.h: Include bfd.h.
+       (MIPS_MACH): New macro.
+       * mips.igen (vr4120, vr5400, vr5500): New models.
+       (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
+       * vr.igen: Replace with new version.
+
+2003-01-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
+       * configure: Regenerate.
+
+2002-12-31  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (check_branch_bug, mark_branch_bug): Remove.
+       * mips.igen: Remove all invocations of check_branch_bug and
+       mark_branch_bug.
+
+2002-12-16  Chris Demetriou  <cgd@broadcom.com>
+
+       * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
+
+2002-07-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (do_load_double, do_store_double): New functions.
+       (LDC1, SDC1): Rename to...
+       (LDC1b, SDC1b): respectively.
+       (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
+
+2002-07-29  Michael Snyder  <msnyder@redhat.com>
+
+       * cp1.c (fp_recip2): Modify initialization expression so that
+       GCC will recognize it as constant.
+
+2002-06-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * mdmx.c (SD_): Delete.
+       (Unpredictable): Re-define, for now, to directly invoke
+       unpredictable_action().
+       (mdmx_acc_op): Fix error in .ob immediate handling.
+
+2002-06-18  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_firmware_command): Initialize `address'.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-14  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * mips3d.igen: New file which contains MIPS-3D ASE instructions.
+       * Makefile.in (IGEN_INCLUDE): Add mips3d.igen.
+       * mips.igen: Include mips3d.igen.
+       (mips3d): New model name for MIPS-3D ASE instructions.
+       (CVT.W.fmt): Don't use this instruction for word (source) format
+       instructions.
+       * cp1.c (fp_binary_r, fp_add_r, fp_mul_r, fpu_inv1, fpu_inv1_32)
+       (fpu_inv1_64, fp_recip1, fp_recip2, fpu_inv_sqrt1, fpu_inv_sqrt1_32)
+       (fpu_inv_sqrt1_64, fp_rsqrt1, fp_rsqrt2): New functions.
+       (NR_FRAC_GUARD, IMPLICIT_1): New macros.
+       * sim-main.h (fmt_pw, CompareAbs, AddR, MultiplyR, Recip1, Recip2)
+       (RSquareRoot1, RSquareRoot2): New macros.
+       (fp_add_r, fp_mul_r, fp_recip1, fp_recip2, fp_rsqrt1)
+       (fp_rsqrt2): New functions.
+       * configure.in: Add MIPS-3D support to mipsisa64 simulator.
+       * configure: Regenerate.
+
+2002-06-13  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * cp1.c (FP_PS_upper, FP_PS_lower, FP_PS_cat, FPQNaN_PS): New macros.
+       (value_fpr, store_fpr, fp_cmp, fp_unary, fp_binary, fp_mac)
+       (fp_inv_sqrt, fpu_format_name): Add paired-single support.
+       (convert): Note that this function is not used for paired-single
+       format conversions.
+       (ps_lower, ps_upper, pack_ps, convert_ps): New functions.
+       * mips.igen (FMT, MOVtf.fmt): Add paired-single support.
+       (check_fmt_p): Enable paired-single support.
+       (ALNV.PS, CVT.PS.S, CVT.S.PL, CVT.S.PU, PLL.PS, PLU.PS, PUL.PS)
+       (PUU.PS): New instructions.
+       (CVT.S.fmt): Don't use this instruction for paired-single format
+       destinations.
+       * sim-main.h (FP_formats): New value 'fmt_ps.'
+       (ps_lower, ps_upper, pack_ps, convert_ps): New prototypes.
+       (PSLower, PSUpper, PackPS, ConvertPS): New macros.
+
+2002-06-12  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Fix formatting of function calls in
+       many FP operations.
+
+2002-06-12  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (MOVN, MOVZ): Trace result.
+       (TNEI): Print "tnei" as the opcode name in traces.
+       (CEIL.W): Add disassembly string for traces.
+       (RSQRT.fmt): Make location of disassembly string consistent
+       with other instructions.
+
+2002-06-12  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (X): Delete unused function.
+
+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>
+
+       * cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
+       (fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
+       * sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
+       (fp_nmsub): New prototypes.
+       (RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
+       (NegMultiplySub): New defines.
+       * mips.igen (RSQRT.fmt): Use RSquareRoot().
+       (MADD.D, MADD.S): Replace with...
+       (MADD.fmt): New instruction.
+       (MSUB.D, MSUB.S): Replace with...
+       (MSUB.fmt): New instruction.
+       (NMADD.D, NMADD.S): Replace with...
+       (NMADD.fmt): New instruction.
+       (NMSUB.D, MSUB.S): Replace with...
+       (NMSUB.fmt): New instruction.
+
+2002-06-07  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * cp1.c: Fix more comment spelling and formatting.
+       (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value.
+       (denorm_mode): New function.
+       (fpu_unary, fpu_binary): Round results after operation, collect
+       status from rounding operations, and update the FCSR.
+       (convert): Collect status from integer conversions and rounding
+       operations, and update the FCSR.  Adjust NaN values that result
+       from conversions.  Convert to use sim_io_eprintf rather than
+       fprintf, and remove some debugging code.
+       * cp1.h (fenr_FS): New define.
+
+2002-06-07  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c (convert): Remove unusable debugging code, and move MIPS
+       rounding mode to sim FP rounding mode flag conversion code into...
+       (rounding_mode): New function.
+
+2002-06-07  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: Clean up formatting of a few comments.
+       (value_fpr): Reformat switch statement.
+
+2002-06-06  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * cp1.h: New file.
+       * sim-main.h: Include cp1.h.
+       (SETFCC, GETFCC, IR, UF, OF, DX, IO, UO, FP_FLAGS, FP_ENABLE)
+       (FP_CAUSE, GETFS, FP_RM_NEAREST, FP_RM_TOZERO, FP_RM_TOPINF)
+       (FP_RM_TOMINF, GETRM): Remove.  Moved to cp1.h.
+       (FP_FS, FP_MASK_RM, FP_SH_RM, Nan, Less, Equal): Remove.
+       (value_fcr, store_fcr, test_fcsr, fp_cmp): New prototypes.
+       (ValueFCR, StoreFCR, TestFCSR, Compare): New macros.
+       * cp1.c: Don't include sim-fpu.h; already included by
+       sim-main.h.  Clean up formatting of some comments.
+       (NaN, Equal, Less): Remove.
+       (test_fcsr, value_fcr, store_fcr, update_fcsr, fp_test)
+       (fp_cmp): New functions.
+       * mips.igen (do_c_cond_fmt): Remove.
+       (C.cond.fmta, C.cond.fmtb): Replace uses of do_c_cond_fmt_a with
+       Compare.  Add result tracing.
+       (CxC1): Remove, replace with...
+       (CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions.
+       (DMxC1): Remove, replace with...
+       (DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions.
+       (MxC1): Remove, replace with...
+       (MFC1a, MFC1b, MTC1a, MTC1b): New instructions.
+
+2002-06-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (FGRIDX): Remove, replace all uses with...
+       (FGR_BASE): New macro.
+       (FP0_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): New macros.
+       (_sim_cpu): Move 'fgr' member to be right before 'fpr_state' member.
+       (NR_FGR, FGR): Likewise.
+       * interp.c: Replace all uses of FGRIDX with FGR_BASE.
+       * mips.igen: Likewise.
+
+2002-06-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: Add an FSF Copyright notice to this file.
+
+2002-06-04  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * cp1.c (Infinity): Remove.
+       * sim-main.h (Infinity): Likewise.
+
+       * cp1.c (fp_unary, fp_binary): New functions.
+       (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip)
+       (fp_sqrt): New functions, implemented in terms of the above.
+       (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
+       (Recip, SquareRoot): Remove (replaced by functions above).
+       * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div)
+       (fp_recip, fp_sqrt): New prototypes.
+       (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
+       (Recip, SquareRoot): Replace prototypes with #defines which
+       invoke the functions above.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate)
+       (Add, Sub, Multiply, Divide, Recip, SquareRoot): Move lower in
+       file, remove PARAMS from prototypes.
+       (value_fpr, store_fpr, convert): Likewise.  Use SIM_STATE to provide
+       simulator state arguments.
+       (ValueFPR, StoreFPR, Convert): Move lower in file.  Use SIM_ARGS to
+       pass simulator state arguments.
+       * cp1.c (SD): Redefine as CPU_STATE(cpu).
+       (store_fpr, convert): Remove 'sd' argument.
+       (value_fpr): Likewise.  Convert to use 'SD' instead.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c (Min, Max): Remove #if 0'd functions.
+       * sim-main.h (Min, Max): Remove.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: fix formatting of switch case and default labels.
+       * interp.c: Likewise.
+       * sim-main.c: Likewise.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: Clean up comments which describe FP formats.
+        (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * configure.in (mipsisa64sb1*-*-*): New target for supporting
+       Broadcom SiByte SB-1 processor configurations.
+       * configure: Regenerate.
+       * sb1.igen: New file.
+       * mips.igen: Include sb1.igen.
+       (sb1): New model.
+       * Makefile.in (IGEN_INCLUDE): Add sb1.igen.
+       * mdmx.igen: Add "sb1" model to all appropriate functions and
+       instructions.
+       * mdmx.c (AbsDiffOB, AvgOB, AccAbsDiffOB): New functions.
+       (ob_func, ob_acc): Reference the above.
+       (qh_acc): Adjust to keep the same size as ob_acc.
+       * sim-main.h (status_SBX, MX_VECT_ABSD, MX_VECT_AVG, MX_AbsDiff)
+       (MX_Avg, MX_VECT_ABSDA, MX_AbsDiffC): New macros.
+
+2002-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
+
+2002-06-02  Chris Demetriou  <cgd@broadcom.com>
+           Ed Satterthwaite  <ehs@broadcom.com>
+
+       * mips.igen (mdmx): New (pseudo-)model.
+       * mdmx.c, mdmx.igen: New files.
+       * Makefile.in (SIM_OBJS): Add mdmx.o.
+       * sim-main.h (MDMX_accumulator, MX_fmtsel, signed24, signed48):
+       New typedefs.
+       (ACC, MX_Add, MX_AddA, MX_AddL, MX_And, MX_C_EQ, MX_C_LT, MX_Comp)
+       (MX_FMT_OB, MX_FMT_QH, MX_Max, MX_Min, MX_Msgn, MX_Mul, MX_MulA)
+       (MX_MulL, MX_MulS, MX_MulSL, MX_Nor, MX_Or, MX_Pick, MX_RAC)
+       (MX_RAC_H, MX_RAC_L, MX_RAC_M, MX_RNAS, MX_RNAU, MX_RND_AS)
+       (MX_RND_AU, MX_RND_ES, MX_RND_EU, MX_RND_ZS, MX_RND_ZU, MX_RNES)
+       (MX_RNEU, MX_RZS, MX_RZU, MX_SHFL, MX_ShiftLeftLogical)
+       (MX_ShiftRightArith, MX_ShiftRightLogical, MX_Sub, MX_SubA, MX_SubL)
+       (MX_VECT_ADD, MX_VECT_ADDA, MX_VECT_ADDL, MX_VECT_AND)
+       (MX_VECT_MAX, MX_VECT_MIN, MX_VECT_MSGN, MX_VECT_MUL, MX_VECT_MULA)
+       (MX_VECT_MULL, MX_VECT_MULS, MX_VECT_MULSL, MX_VECT_NOR)
+       (MX_VECT_OR, MX_VECT_SLL, MX_VECT_SRA, MX_VECT_SRL, MX_VECT_SUB)
+       (MX_VECT_SUBA, MX_VECT_SUBL, MX_VECT_XOR, MX_WACH, MX_WACL, MX_Xor)
+       (SIM_ARGS, SIM_STATE, UnpredictableResult, fmt_mdmx, ob_fmtsel)
+       (qh_fmtsel): New macros.
+       (_sim_cpu): New member "acc".
+       (mdmx_acc_op, mdmx_cc_op, mdmx_cpr_op, mdmx_pick_op, mdmx_rac_op)
+       (mdmx_round_op, mdmx_shuffle, mdmx_wach, mdmx_wacl): New functions.
+
+2002-05-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * interp.c: Use 'deprecated' rather than 'depreciated.'
+       * sim-main.h: Likewise.
+
+2002-05-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult
+       which wouldn't compile anyway.
+       * sim-main.h (unpredictable_action): New function prototype.
+       (Unpredictable): Define to call igen function unpredictable().
+       (NotWordValue): New macro to call igen function not_word_value().
+       (UndefinedResult): Remove.
+       * interp.c (undefined_result): Remove.
+       (unpredictable_action): New function.
+       * mips.igen (not_word_value, unpredictable): New functions.
+       (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL)
+       (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu)
+       (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke
+       NotWordValue() to check for unpredictable inputs, then
+       Unpredictable() to handle them.
+
+2002-02-24  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Fix formatting of calls to Unpredictable().
+
+2002-04-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * interp.c (sim_open): Revert previous change.
+
+2002-04-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * interp.c (sim_open): Disable chunk of code that wrote code in
+       vector table entries.
+
+2002-03-19  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c (FP_S_s, FP_D_s, FP_S_be, FP_D_be, FP_S_e, FP_D_e, FP_S_f)
+       (FP_D_f, FP_S_fb, FP_D_fb, FPINF_SINGLE, FPINF_DOUBLE): Remove
+       unused definitions.
+
+2002-03-19  Chris Demetriou  <cgd@broadcom.com>
+
+       * cp1.c: Fix many formatting issues.
+
+2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>
+
+       * cp1.c (fpu_format_name): New function to replace...
+       (DOFMT): This.  Delete, and update all callers.
+       (fpu_rounding_mode_name): New function to replace...
+       (RMMODE): This.  Delete, and update all callers.
+
+2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>
+
+       * interp.c: Move FPU support routines from here to...
+       * cp1.c: Here.  New file.
+       * Makefile.in (SIM_OBJS): Add cp1.o to object list.
+       (cp1.o): New target.
+
+2002-03-12  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (mipsisa32*-*-*, mipsisa64*-*-*): New targets.
+       * mips.igen (mips32, mips64): New models, add to all instructions
+       and functions as appropriate.
+       (loadstore_ea, check_u64): New variant for model mips64.
+       (check_fmt_p): New variant for models mipsV and mips64, remove
+       mipsV model marking fro other variant.
+       (SLL) Rename to...
+       (SLLa) this.
+       (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, SLLb): New instructions
+       for mips32 and mips64.
+       (DCLO, DCLZ): New instructions for mips64.
+
+2002-03-07  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (BREAK, LUI, ORI, SYSCALL, XORI): Print
+       immediate or code as a hex value with the "%#lx" format.
+       (ANDI): Likewise, and fix printed instruction name.
+
+2002-03-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (UndefinedResult, Unpredictable): New macros
+       which currently do nothing.
+
+2002-03-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (status_UX, status_SX, status_KX, status_TS)
+       (status_PX, status_MX, status_CU0, status_CU1, status_CU2)
+       (status_CU3): New definitions.
+
+       * sim-main.h (ExceptionCause): Add new values for MIPS32
+       and MIPS64: MDMX, MCheck, CacheErr.  Update comments
+       for DebugBreakPoint and NMIReset to note their status in
+       MIPS32 and MIPS64.
+       (SignalExceptionMDMX, SignalExceptionWatch, SignalExceptionMCheck)
+       (SignalExceptionCacheErr): New exception macros.
+
+2002-03-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (check_fpu): Enable check for coprocessor 1 usability.
+       * sim-main.h (COP_Usable): Define, but for now coprocessor 1
+       is always enabled.
+       (SignalExceptionCoProcessorUnusable): Take as argument the
+       unusable coprocessor number.
+
+2002-03-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Fix formatting of all SignalException calls.
+
+2002-03-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim-main.h (SIGNEXTEND): Remove.
+
+2002-03-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Remove gencode comment from top of file, fix
+       spelling in another comment.
+
+2002-03-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (check_fmt, check_fmt_p): New functions to check
+       whether specific floating point formats are usable.
+       (ABS.fmt, ADD.fmt, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
+       (FLOOR.W.fmt, MOV.fmt, MUL.fmt, NEG.fmt, RECIP.fmt, ROUND.L.fmt)
+       (ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt, TRUNC.L.fmt, TRUNC.W):
+       Use the new functions.
+       (do_c_cond_fmt): Remove format checks...
+       (C.cond.fmta, C.cond.fmtb): And move them into all callers.
+
+2002-03-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Fix formatting of check_fpu calls.
+
+2002-03-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (FLOOR.L.fmt): Store correct destination register.
+
+2002-03-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Remove whitespace at end of lines.
+
+2002-03-02  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (loadstore_ea): New function to do effective
+       address calculations.
+       (do_load, do_load_left, do_load_right, LL, LDD, PREF, do_store,
+       do_store_left, do_store_right, SC, SCD, PREFX, SWC1, SWXC1,
+       CACHE): Use loadstore_ea to do effective address computations.
+
+2002-03-02  Chris Demetriou  <cgd@broadcom.com>
+
+       * interp.c (load_word): Use EXTEND32 rather than SIGNEXTEND.
+       * mips.igen (LL, CxC1, MxC1): Likewise.
+
+2002-03-02  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (LL, LLD, PREF, SC, SCD, ABS.fmt, ADD.fmt, CEIL.L.fmt,
+       CEIL.W, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt,
+       FLOOR.L.fmt, FLOOR.W.fmt, MADD.D, MADD.S, MOV.fmt, MOVtf.fmt,
+       MSUB.D, MSUB.S, MUL.fmt, NEG.fmt, NMADD.D, NMADD.S, NMSUB.D,
+       NMSUB.S, PREFX, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt,
+       SQRT.fmt, SUB.fmt, SWC1, SWXC1, TRUNC.L.fmt, TRUNC.W, CACHE):
+       Don't split opcode fields by hand, use the opcode field values
+       provided by igen.
+
+2002-03-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (do_divu): Fix spacing.
+
+       * mips.igen (do_dsllv): Move to be right before DSLLV,
+       to match the rest of the do_<shift> functions.
+
+2002-03-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (do_dsll, do_dsllv, DSLL32, do_dsra, DSRA32, do_dsrl,
+       DSRL32, do_dsrlv): Trace inputs and results.
+
+2002-03-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (CACHE): Provide instruction-printing string.
+
+       * interp.c (signal_exception): Comment tokens after #endif.
+
+2002-02-28  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (LWXC1): Mark with filter "64,f", rather than just "32".
+       (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt,
+       NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt,
+       ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt,
+       CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta,
+       C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1,
+       SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D,
+       LWC1, SWC1): Add "f" to filter, since these are FP instructions.
+
+2002-02-28  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (DSRA32, DSRAV): Fix order of arguments in
+       instruction-printing string.
+       (LWU): Use '64' as the filter flag.
+
+2002-02-28  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (SDXC1): Fix instruction-printing string.
+
+2002-02-28  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (LDC1, SDC1): Remove mipsI model, and mark with
+       filter flags "32,f".
+
+2002-02-27  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (PREFX): This is a 64-bit instruction, use '64'
+       as the filter flag.
+
+2002-02-27  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
+       add a comma) so that it more closely match the MIPS ISA
+       documentation opcode partitioning.
+       (PREF): Put useful names on opcode fields, and include
+       instruction-printing string.
+
+2002-02-27  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (check_u64): New function which in the future will
+       check whether 64-bit instructions are usable and signal an
+       exception if not.  Currently a no-op.
+       (DADD, DADDI, DADDIU, DADDU, DDIV, DDIVU, DMULT, DMULTU, DSLL,
+       DSLL32, DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB,
+       DSUBU, LD, LDL, LDR, LLD, LWU, SCD, SD, SDL, SDR, DMxC1, LDXC1,
+       LWXC1, SDXC1, SWXC1, DMFC0, DMTC0): Use check_u64.
+
+       * mips.igen (check_fpu): New function which in the future will
+       check whether FPU instructions are usable and signal an exception
+       if not.  Currently a no-op.
+       (ABS.fmt, ADD.fmt, BC1a, BC1b, C.cond.fmta, C.cond.fmtb,
+       CEIL.L.fmt, CEIL.W, CxC1, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt,
+       CVT.W.fmt, DIV.fmt, DMxC1, DMxC1, FLOOR.L.fmt, FLOOR.W.fmt, LDC1,
+       LDXC1, LWC1, LWXC1, MADD.D, MADD.S, MxC1, MOV.fmt, MOVtf,
+       MOVtf.fmt, MOVN.fmt, MOVZ.fmt, MSUB.D, MSUB.S, MUL.fmt, NEG.fmt,
+       NMADD.D, NMADD.S, NMSUB.D, NMSUB.S, RECIP.fmt, ROUND.L.fmt,
+       ROUND.W.fmt, RSQRT.fmt, SDC1, SDXC1, SQRT.fmt, SUB.fmt, SWC1,
+       SWXC1, TRUNC.L.fmt, TRUNC.W): Use check_fpu.
+
+2002-02-27  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (do_load_left, do_load_right): Move to be immediately
+       following do_load.
+       (do_store_left, do_store_right): Move to be immediately following
+       do_store.
+
+2002-02-27  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (mipsV): New model name.  Also, add it to
+       all instructions and functions where it is appropriate.
+
+2002-02-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: For all functions and instructions, list model
+       names that support that instruction one per line.
+
+2002-02-11  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen: Add some additional comments about supported
+       models, and about which instructions go where.
+       (BC1b, MFC0, MTC0, RFE): Sort supported models in the same
+       order as is used in the rest of the file.
+
+2002-02-11  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment
+       indicating that ALU32_END or ALU64_END are there to check
+       for overflow.
+       (DADD): Likewise, but also remove previous comment about
+       overflow checking.
+
+2002-02-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (DDIV, DIV, DIVU, DMULT, DMULTU, DSLL, DSLL32,
+       DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB, DSUBU,
+       JALR, JR, MOVN, MOVZ, MTLO, MULT, MULTU, SLL, SLLV, SLT, SLTU,
+       SRAV, SRLV, SUB, SUBU, SYNC, XOR, MOVtf, DI, DMFC0, DMTC0, EI,
+       ERET, RFE, TLBP, TLBR, TLBWI, TLBWR): Tweak instruction opcode
+       fields (i.e., add and move commas) so that they more closely
+       match the MIPS ISA documentation opcode partitioning.
+
+2002-02-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * mips.igen (ADDI): Print immediate value.
+       (BREAK): Print code.
+       (DADDIU, DSRAV, DSRLV): Print correct instruction name.
+       (SLL): Print "nop" specially, and don't run the code
+       that does the shift for the "nop" case.
+
+2001-11-17  Fred Fish  <fnf@redhat.com>
+
+       * sim-main.h (float_operation): Move enum declaration outside
+       of _sim_cpu struct declaration.
+
+2001-04-12  Jim Blandy  <jimb@redhat.com>
+
+       * mips.igen (CFC1, CTC1): Pass the correct register numbers to
+       PENDING_FILL.  Use PENDING_SCHED directly to handle the pending
+       set of the FCSR.
+       * sim-main.h (COCIDX): Remove definition; this isn't supported by
+       PENDING_FILL, and you can get the intended effect gracefully by
+       calling PENDING_SCHED directly.
+
+2001-02-23  Ben Elliston  <bje@redhat.com>
+
+       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
+       already defined elsewhere.
+
+2001-02-19  Ben Elliston  <bje@redhat.com>
+
+       * sim-main.h (sim_monitor): Return an int.
+       * interp.c (sim_monitor): Add return values.
+       (signal_exception): Handle error conditions from sim_monitor.
+
+2001-02-08  Ben Elliston  <bje@redhat.com>
+
+       * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
+       (store_memory): Likewise, pass cia to sim_core_write*.
+
+2000-10-19  Frank Ch. Eigler  <fche@redhat.com>
+
+       On advice from Chris G. Demetriou <cgd@sibyte.com>:
+       * sim-main.h (GPR_CLEAR): Remove unused alternative macro.
+
+Thu Jul 27 22:02:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
+       * Makefile.in: Don't delete *.igen when cleaning directory.
+
+Wed Jul 19 18:50:51 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m16.igen (break): Call SignalException not sim_engine_halt.
+
+Mon Jul  3 11:13:20 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Jason Eckhardt:
+       * mips.igen (MOVZ.fmt, MOVN.fmt): Move conditional on GPR[RT].
+
+Tue Jun 13 20:52:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (MxC1, DMxC1): Fix printf formatting.
+
+2000-05-24  Michael Hayes  <mhayes@cygnus.com>
+
+       * mips.igen (do_dmultx): Fix typo.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 28 20:48:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.
+
+2000-04-12  Frank Ch. Eigler  <fche@redhat.com>
+
+       * sim-main.h (GPR_CLEAR): Define macro.
+
+Mon Apr 10 00:07:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (decode_coproc): Output long using %lx and not %s.
+
+2000-03-21  Frank Ch. Eigler  <fche@redhat.com>
+
+       * interp.c (sim_open): Sort & extend dummy memory regions for
+       --board=jmr3904 for eCos.
+
+2000-03-02  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure: Regenerated.
+
+Tue Feb  8 18:35:01 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
+
+       * interp.c, mips.igen: all 5 DEADC0DE situations now have sim_io_eprintf
+       calls, conditional on the simulator being in verbose mode.
+
+Fri Feb  4 09:45:15 2000  Donald Lindsay  <dlindsay@cygnus.com>
+
+       * sim-main.c (cache_op): Added case arm so that CACHE ops to a secondary
+       cache don't get ReservedInstruction traps.
+
+1999-11-29  Mark Salter  <msalter@cygnus.com>
+
+       * dv-tx3904sio.c (tx3904sio_io_write_buffer): Use write value as a mask
+       to clear status bits in sdisr register. This is how the hardware works.
+
+       * interp.c (sim_open): Added more memory aliases for jmr3904 hardware
+       being used by cygmon.
+
+1999-11-11  Andrew Haley  <aph@cygnus.com>
+
+       * interp.c (decode_coproc): Correctly handle DMFC0 and DMTC0
+       instructions.
+
+Thu Sep  9 15:12:08 1999  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * mips.igen (MULT): Correct previous mis-applied patch.
+
+Tue Sep  7 13:34:54 1999  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * mips.igen (delayslot32): Handle sequence like
+       mtc1 $at,$f12 ; jal fp_add ; mov.s $f13,$f12
+       correctly by calling ENGINE_ISSUE_PREFIX_HOOK() before issue.
+       (MULT): Actually pass the third register...
+
+1999-09-03  Mark Salter  <msalter@cygnus.com>
+
+       * interp.c (sim_open): Added more memory aliases for additional
+       hardware being touched by cygmon on jmr3904 board.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Jul 27 16:36:51 1999  Andrew Cagney  <cagney@amy.cygnus.com>
+
+       * interp.c (sim_store_register): Handle case where client - GDB -
+       specifies that a 4 byte register is 8 bytes in size.
+       (sim_fetch_register): Ditto.
+
+1999-07-14  Frank Ch. Eigler  <fche@cygnus.com>
+
+       Implement "sim firmware" option, inspired by jimb's version of 1998-01.
+       * interp.c (firmware_option_p): New global flag: "sim firmware" given.
+       (idt_monitor_base): Base address for IDT monitor traps.
+       (pmon_monitor_base): Ditto for PMON.
+       (lsipmon_monitor_base): Ditto for LSI PMON.
+       (MONITOR_BASE, MONITOR_SIZE): Removed macros.
+       (mips_option): Add "firmware" option with new OPTION_FIRMWARE key.
+       (sim_firmware_command): New function.
+       (mips_option_handler): Call it for OPTION_FIRMWARE.
+       (sim_open): Allocate memory for idt_monitor region.  If "--board"
+       option was given, add no monitor by default.  Add BREAK hooks only if
+       monitors are also there.
+
+Mon Jul 12 00:02:27 1999  Andrew Cagney  <cagney@amy.cygnus.com>
+
+       * interp.c (sim_monitor): Flush output before reading input.
+
+Sun Jul 11 19:28:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * tconfig.in (SIM_HANDLES_LMA): Always define.
+
+Thu Jul  8 16:06:59 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Mark Salter <msalter@cygnus.com>:
+       * interp.c (BOARD_BSP): Define.  Add to list of possible boards.
+       (sim_open): Add setup for BSP board.
+
+Wed Jul  7 12:45:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (MULT, MULTU): Add syntax for two operand version.
+       (DMFC0, DMTC0): Recognize.  Call DecodeCoproc which will report
+       them as unimplemented.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-21  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub.
+
+Thu Apr 15 14:15:17 1999  Andrew Cagney  <cagney@amy.cygnus.com>
+
+       * configure.in: Any mips64vr5*-*-* target should have
+       -DTARGET_ENABLE_FR=1.
+       (default_endian): Any mips64vr*el-*-* target should default to
+       LITTLE_ENDIAN.
+       * configure: Re-generate.
+
+1999-02-19  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * mips.igen (ldl): Extend from _16_, not 32.
+
+Wed Jan 27 18:51:38 1999  Andrew Cagney  <cagney@chook.cygnus.com>
+
+       * interp.c (sim_store_register): Force registers written to by GDB
+       into an un-interpreted state.
+
+1999-02-05  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the
+       CPU, start periodic background I/O polls.
+       (tx3904sio_poll): New function: periodic I/O poller.
+
+1998-12-30  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
+
+Tue Dec 29 16:03:53 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in, configure (mips64vr5*-*-*): Added missing ;; in
+       case statement.
+
+1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * interp.c (sim_open): Allocate jm3904 memory in smaller chunks.
+       (load_word): Call SIM_CORE_SIGNAL hook on error.
+       (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before
+       starting.  For exception dispatching, pass PC instead of NULL_CIA.
+       (decode_coproc): Use COP0_BADVADDR to store faulting address.
+       * sim-main.h (COP0_BADVADDR): Define.
+       (SIM_CORE_SIGNAL): Define hook to call mips_core_signal.
+       (SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*().
+       (_sim_cpu): Add exc_* fields to store register value snapshots.
+       * mips.igen (*): Replace memory-related SignalException* calls
+       with references to SIM_CORE_SIGNAL hook.
+
+       * dv-tx3904irc.c (tx3904irc_port_event): printf format warning
+       fix.
+       * sim-main.c (*): Minor warning cleanups.
+
+1998-12-24  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * m16.igen (DADDIU5): Correct type-o.
+
+Mon Dec 21 10:34:48 1998  Andrew Cagney  <cagney@chook>
+
+       * mips.igen (do_ddiv, do_ddivu): Pacify GCC. Update hi/lo via tmp
+       variables.
+
+Wed Dec 16 18:20:28 1998  Andrew Cagney  <cagney@chook>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): No longer need to add .../newlib
+       to include path.
+       (interp.o): Add dependency on itable.h
+       (oengine.c, gencode): Delete remaining references.
+       (BUILT_SRC_FROM_GEN): Clean up.
+
+1998-12-16  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * vr4run.c: New.
+       * Makefile.in (SIM_HACK_OBJ,HACK_OBJS,HACK_GEN_SRCS,libhack.a,
+       tmp-hack,tmp-m32-hack,tmp-m16-hack,tmp-itable-hack,
+       tmp-run-hack) : New.
+       * m16.igen (LD,DADDIU,DADDUI5,DADJSP,DADDIUSP,DADDI,DADDU,DSUBU,
+       DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX):
+       Drop the "64" qualifier to get the HACK generator working.
+       Use IMMEDIATE rather than IMMED.  Use SHAMT rather than SHIFT.
+       * mips.igen (do_daddiu,do_ddiv,do_divu): Remove the 64-only
+       qualifier to get the hack generator working.
+       (do_dsll,do_dsllv,do_dsra,do_dsrl,do_dsrlv): New.
+       (DSLL): Use do_dsll.
+       (DSLLV): Use do_dsllv.
+       (DSRA): Use do_dsra.
+       (DSRL): Use do_dsrl.
+       (DSRLV): Use do_dsrlv.
+       (BC1): Move *vr4100 to get the HACK generator working.
+       (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to
+       get the HACK generator working.
+       (MACC) Rename to get the HACK generator working.
+       (DMACC,MACCS,DMACCS): Add the 64.
+
+1998-12-12  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
+       * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
+
+1998-12-11  Gavin Romig-Koch  <gavin@cygnus.com>
+
+    * mips/interp.c (DEBUG): Cleanups.
+
+1998-12-10  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
+       (tx3904sio_tickle): fflush after a stdout character output.
+
+1998-12-03  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * interp.c (sim_close): Uninstall modules.
+
+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
+       simulator.
+       * configure: Re-generate.
+       * m16.igen (*): Tag all mips16 instructions as also being vr4100.
+
+Mon Nov 23 18:20:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_CFLAGS): Do not define WITH_IGEN.
+       * sim-main.h, sim-main.c, interp.c: Delete #if WITH_IGEN keeping
+       true alternative.
+
+       * configure.in (sim_default_gen, sim_use_gen): Replace with
+       sim_gen.
+       (--enable-sim-igen): Delete config option. Always using IGEN.
+       * configure: Re-generate.
+
+       * Makefile.in (gencode): Kill, kill, kill.
+       * gencode.c: Ditto.
+
+Mon Nov 23 18:07:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64
+       bit mips16 igen simulator.
+       * configure: Re-generate.
+
+       * mips.igen (check_div_hilo, check_mult_hilo, check_mf_hilo): Mark
+       as part of vr4100 ISA.
+       * vr.igen: Mark all instructions as 64 bit only.
+
+Mon Nov 23 17:07:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
+       Pacify GCC.
+
+Mon Nov 23 13:23:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Configure mips-lsi-elf nee mips*lsi* as a
+       mipsIII/mips16 igen simulator.  Fix sim_gen VS sim_igen typos.
+       * configure: Re-generate.
+
+       * m16.igen (BREAK): Define breakpoint instruction.
+       (JALX32): Mark instruction as mips16 and not r3900.
+       * mips.igen (C.cond.fmt): Fix typo in instruction format.
+
+       * sim-main.h (PENDING_FILL): Wrap C statements in do/while.
+
+Sat Nov  7 09:54:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_instruction - BREAK): For MIPS16, handle BREAK
+       insn as a debug breakpoint.
+
+       * sim-main.h (PENDING_SLOT_BIT): Fix, was incorrectly defined as
+       pending.slot_size.
+       (PENDING_SCHED): Clean up trace statement.
+       (PENDING_SCHED): Increment PENDING_IN and PENDING_TOTAL.
+       (PENDING_FILL): Delay write by only one cycle.
+       (PENDING_FILL): For FSRs, write fmt_uninterpreted to FPR_STATE.
+
+       * sim-main.c (pending_tick): Clean up trace statements. Add trace
+       of pending writes.
+       (pending_tick): Fix sizes in switch statements, 4 & 8 instead of
+       32 & 64.
+       (pending_tick): Move incrementing of index to FOR statement.
+       (pending_tick): Only update PENDING_OUT after a write has occured.
+
+       * configure.in: Add explicit mips-lsi-* target.  Use gencode to
+       build simulator.
+       * configure: Re-generate.
+
+       * interp.c (sim_engine_run OLD): Delete explicit call to
+       PENDING_TICK. Now called via ENGINE_ISSUE_PREFIX_HOOK.
+
+Sat Oct 30 09:49:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
+       interrupt level number to match changed SignalExceptionInterrupt
+       macro.
+
+Fri Oct  9 18:02:25 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * interp.c: #include "itable.h" if WITH_IGEN.
+       (get_insn_name): New function.
+       (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
+       * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
+
+Mon Sep 14 12:36:44 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * configure: Rebuilt to inhale new common/aclocal.m4.
+
+Tue Sep  1 15:39:18 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904sio.c: Include sim-assert.h.
+
+Tue Aug 25 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904sio.c: New file: tx3904 serial I/O module.
+       * configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
+       Reorganize target-specific sim-hardware checks.
+       * configure: rebuilt.
+       * interp.c (sim_open): For tx39 target boards, set
+       OPERATING_ENVIRONMENT, add tx3904sio devices.
+       * tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
+       ROM executables.  Install dv-sockser into sim-modules list.
+
+       * dv-tx3904irc.c: Compiler warning clean-up.
+       * dv-tx3904tmr.c: Compiler warning clean-up.  Remove particularly
+       frequent hw-trace messages.
+
+Fri Jul 31 18:14:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * vr.igen (MulAcc): Identify as a vr4100 specific function.
+
+Sat Jul 25 16:03:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (IGEN_INCLUDE): Add vr.igen.
+
+       * vr.igen: New file.
+       (MAC/MADD16, DMAC/DMADD16): Implement using code from gencode.c.
+       * mips.igen: Define vr4100 model. Include vr.igen.
+Mon Jun 29 09:21:07 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * mips.igen (check_mf_hilo): Correct check.
+
+Wed Jun 17 12:20:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (interrupt_event): Add prototype.
+
+       * dv-tx3904tmr.c (tx3904tmr_io_write_buffer): Delete unused
+       register_ptr, register_value.
+       (deliver_tx3904tmr_tick): Fix types passed to printf fmt.
+
+       * sim-main.h (tracefh): Make extern.
+
+Tue Jun 16 14:39:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904tmr.c: Deschedule timer event after dispatching.
+       Reduce unnecessarily high timer event frequency.
+       * dv-tx3904cpu.c: Ditto for interrupt event.
+
+Wed Jun 10 13:22:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * interp.c (decode_coproc): For TX39, add stub COP0 register #7,
+       to allay warnings.
+       (interrupt_event): Made non-static.
+
+       * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
+       interchange of configuration values for external vs. internal
+       clock dividers.
+
+Tue Jun  9 12:46:24 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * mips.igen (BREAK): Moved code to here for
+       simulator-reserved break instructions.
+       * gencode.c (build_instruction): Ditto.
+       * interp.c (signal_exception): Code moved from here.  Non-
+       reserved instructions now use exception vector, rather
+       than halting sim.
+       * sim-main.h: Moved magic constants to here.
+
+Tue Jun  9 12:29:50 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
+       register upon non-zero interrupt event level, clear upon zero
+       event value.
+       * dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
+       by passing zero event value.
+       (*_io_{read,write}_buffer): Endianness fixes.
+       * dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
+       (deliver_*_tick): Reduce sim event interval to 75% of count interval.
+
+       * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
+       serial I/O and timer module at base address 0xFFFF0000.
+
+Tue Jun  9 11:52:29 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * mips.igen (SWC1) : Correct the handling of ReverseEndian
+       and BigEndianCPU.
+
+Tue Jun  9 11:40:57 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
+       parts.
+       * configure: Update.
+
+Thu Jun  4 15:37:33 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-tx3904tmr.c: New file - implements tx3904 timer.
+       * dv-tx3904{irc,cpu}.c: Mild reformatting.
+       * configure.in: Include tx3904tmr in hw_device list.
+       * configure: Rebuilt.
+       * interp.c (sim_open): Instantiate three timer instances.
+       Fix address typo of tx3904irc instance.
+
+Tue Jun  2 15:48:02 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * interp.c (signal_exception): SystemCall exception now uses
+       the exception vector.
+
+Mon Jun  1 18:18:26 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * interp.c (decode_coproc): For TX39, add stub COP0 register #3,
+       to allay warnings.
+
+Fri May 29 11:40:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (sim_igen_filter): Match mips*tx39 not mipst*tx39.
+
+Mon May 25 20:47:45 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-tx3904cpu.c, dv-tx3904irc.c: Rename *_callback to *_method.
+
+       * dv-tx3904cpu.c, dv-tx3904irc.c: Include hw-main.h and
+       sim-main.h. Declare a struct hw_descriptor instead of struct
+       hw_device_descriptor.
+
+Mon May 25 12:41:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (do_store_left, do_load_left): Compute nr of left and
+       right bits and then re-align left hand bytes to correct byte
+       lanes.  Fix incorrect computation in do_store_left when loading
+       bytes from second word.
+
+Fri May 22 13:34:20 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SIM_AC_OPTION_HARDWARE): Only enable when tx3904.
+       * interp.c (sim_open): Only create a device tree when HW is
+       enabled.
+
+       * dv-tx3904irc.c (tx3904irc_finish): Pacify GCC.
+       * interp.c (signal_exception): Ditto.
+
+Thu May 21 14:24:11 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c: Mark BEGEZALL as LIKELY.
+
+Thu May 21 18:57:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (ALU32_END): Sign extend 32 bit results.
+       * mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace.
+
+Mon May 18 18:22:42 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
+       modules.  Recognize TX39 target with "mips*tx39" pattern.
+       * configure: Rebuilt.
+       * sim-main.h (*): Added many macros defining bits in
+       TX39 control registers.
+       (SignalInterrupt): Send actual PC instead of NULL.
+       (SignalNMIReset): New exception type.
+       * interp.c (board): New variable for future use to identify
+       a particular board being simulated.
+       (mips_option_handler,mips_options): Added "--board" option.
+       (interrupt_event): Send actual PC.
+       (sim_open): Make memory layout conditional on board setting.
+       (signal_exception): Initial implementation of hardware interrupt
+       handling.  Accept another break instruction variant for simulator
+       exit.
+       (decode_coproc): Implement RFE instruction for TX39.
+       (mips.igen): Decode RFE instruction as such.
+       * configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
+       * interp.c: Define "jmr3904" and "jmr3904debug" board types and
+       bbegin to implement memory map.
+       * dv-tx3904cpu.c: New file.
+       * dv-tx3904irc.c: New file.
+
+Wed May 13 14:40:11 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * mips.igen (check_mt_hilo): Create a separate r3900 version.
+
+Wed May 13 14:11:46 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * tx.igen (madd,maddu):  Replace calls to check_op_hilo
+       with calls to check_div_hilo.
+
+Wed May 13 09:59:27 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
+       Replace check_op_hilo with check_mult_hilo and check_div_hilo.
+       Add special r3900 version of do_mult_hilo.
+       (do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo
+       with calls to check_mult_hilo.
+       (do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo
+       with calls to check_div_hilo.
+
+Tue May 12 15:22:11 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SUBTARGET_R3900): Define for mipstx39 target.
+       Document a replacement.
+
+Fri May  8 17:48:19 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * interp.c (sim_monitor): Make mon_printf work.
+
+Wed May  6 19:42:19 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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:20:01 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:20 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Fri Apr 24 11:35:01 1998  Andrew Cagney  <cagney@chook.cygnus.com>
+
+       * mips.igen (do_store_left): Pass 0 not NULL to store_memory.
+
+Tue Apr 21 11:59:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (ERET): Implement.
+
+       * interp.c (decode_coproc): Return sign-extended EPC.
+
+       * mips.igen (ANDI, LUI, MFC0): Add tracing code.
+
+       * interp.c (signal_exception): Do not ignore Trap.
+       (signal_exception): On TRAP, restart at exception address.
+       (HALT_INSTRUCTION, HALT_INSTRUCTION_MASK): Define.
+       (signal_exception): Update.
+       (sim_open): Patch V_COMMON interrupt vector with an abort sequence
+       so that TRAP instructions are caught.
+
+Mon Apr 20 11:26:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (struct hilo_access, struct hilo_history): Define,
+       contains HI/LO access history.
+       (struct _sim_cpu): Make hiaccess and loaccess of type hilo_access.
+       (HIACCESS, LOACCESS): Delete, replace with
+       (HIHISTORY, LOHISTORY): New macros.
+       (CHECKHILO): Delete all, moved to mips.igen
+
+       * gencode.c (build_instruction): Do not generate checks for
+       correct HI/LO register usage.
+
+       * interp.c (old_engine_run): Delete checks for correct HI/LO
+       register usage.
+
+       * mips.igen (check_mt_hilo, check_mf_hilo, check_op_hilo,
+       check_mf_cycles): New functions.
+       (do_mfhi, do_mflo, "mthi", "mtlo", do_ddiv, do_ddivu, do_div,
+       do_divu, domultx, do_mult, do_multu): Use.
+
+       * tx.igen ("madd", "maddu"): Use.
+
+Wed Apr 15 18:31:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (DSRAV): Use function do_dsrav.
+       (SRAV): Use new function do_srav.
+
+       * m16.igen (BEQZ, BNEZ): Compare GPR[TRX] not GPR[RX].
+       (B): Sign extend 11 bit immediate.
+       (EXT-B*): Shift 16 bit immediate left by 1.
+       (ADDIU*): Don't sign extend immediate value.
+
+Wed Apr 15 10:32:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m16run.c (sim_engine_run): Restore CIA after handling an event.
+
+       * sim-main.h (DELAY_SLOT, NULLIFY_NEXT_INSTRUCTION): For IGEN, use
+       functions.
+
+       * mips.igen (delayslot32, nullify_next_insn): New functions.
+       (m16.igen): Always include.
+       (do_*): Add more tracing.
+
+       * m16.igen (delayslot16): Add NIA argument, could be called by a
+       32 bit MIPS16 instruction.
+
+       * interp.c (ifetch16): Move function from here.
+       * sim-main.c (ifetch16): To here.
+
+       * sim-main.c (ifetch16, ifetch32): Update to match current
+       implementations of LH, LW.
+       (signal_exception): Don't print out incorrect hex value of illegal
+       instruction.
+
+Wed Apr 15 00:17:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m16run.c (sim_engine_run): Use IMEM16 and IMEM32 to fetch an
+       instruction.
+
+       * m16.igen: Implement MIPS16 instructions.
+
+       * mips.igen (do_addiu, do_addu, do_and, do_daddiu, do_daddu,
+       do_ddiv, do_ddivu, do_div, do_divu, do_dmultx, do_dmultu, do_srav,
+       do_dsubu, do_mfhi, do_mflo, do_mult, do_multu, do_nor, do_or,
+       do_sll, do_sllv, do_slt, do_slti, do_sltiu, do_sltu, do_sra,
+       do_srl, do_srlv, do_subu, do_xor, do_xori): New functions.  Move
+       bodies of corresponding code from 32 bit insn to these.  Also used
+       by MIPS16 versions of functions.
+
+       * sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define.
+       (IMEM16): Drop NR argument from macro.
+
+Sat Apr  4 22:39:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-main.o.
+
+       * sim-main.h (address_translation, load_memory, store_memory,
+       cache_op, sync_operation, prefetch, ifetch32, pending_tick): Mark
+       as INLINE_SIM_MAIN.
+       (pr_addr, pr_uword64): Declare.
+       (sim-main.c): Include when H_REVEALS_MODULE_P.
+
+       * interp.c (address_translation, load_memory, store_memory,
+       cache_op, sync_operation, prefetch, ifetch32, pending_tick): Move
+       from here.
+       * sim-main.c: To here. Fix compilation problems.
+
+       * configure.in: Enable inlining.
+       * configure: Re-config.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr  3 04:32:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen: Include tx.igen.
+       * Makefile.in (IGEN_INCLUDE): Add tx.igen.
+       * tx.igen: New file, contains MADD and MADDU.
+
+       * interp.c (load_memory): When shifting bytes, use LOADDRMASK not
+       the hardwired constant `7'.
+       (store_memory): Ditto.
+       (LOADDRMASK): Move definition to sim-main.h.
+
+       mips.igen (MTC0): Enable for r3900.
+       (ADDU): Add trace.
+
+       mips.igen (do_load_byte): Delete.
+       (do_load, do_store, do_load_left, do_load_write, do_store_left,
+       do_store_right): New functions.
+       (SW*, LW*, SD*, LD*, SH, LH, SB, LB): Use.
+
+       configure.in: Let the tx39 use igen again.
+       configure: Update.
+
+Thu Apr  2 10:59:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity,
+       not an address sized quantity.  Return zero for cache sizes.
+
+Wed Apr  1 23:47:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (r3900): r3900 does not support 64 bit integer
+       operations.
+
+Mon Mar 30 14:46:05 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.in (mipstx39*-*-*): Use gencode simulator rather
+       than igen one.
+       * configure : Rebuild.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 15:01:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (mips_option_handler): Iterate over MAX_NR_PROCESSORS.
+
+Wed Mar 25 16:44:27 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 10:05:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (Max, Min): Comment out functions. Not yet used.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Mar 17 19:05:20 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
+       configurable settings for stand-alone simulator.
+
+       * configure.in: Added X11 search, just in case.
+
+       * configure: Regenerated.
+
+Wed Mar 11 14:09:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_write, sim_read, load_memory, store_memory):
+       Replace sim_core_*_map with read_map, write_map, exec_map resp.
+
+Tue Mar  3 13:58:43 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (GETFCC): Return an unsigned value.
+
+Tue Mar  3 13:21:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (DIV): Fix check for -1 / MIN_INT.
+       (DADD): Result destination is RD not RT.
+
+Fri Feb 27 13:49:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (HIACCESS, LOACCESS): Always define.
+
+       * mdmx.igen (Maxi, Mini): Rename Max, Min.
+
+       * interp.c (sim_info): Delete.
+
+Fri Feb 27 18:41:01 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * interp.c (DECLARE_OPTION_HANDLER): Use it.
+       (mips_option_handler): New argument `cpu'.
+       (sim_open): Update call to sim_add_option_table.
+
+Wed Feb 25 18:56:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (CxC1): Add tracing.
+
+Fri Feb 20 17:43:21 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (Max, Min): Declare.
+
+       * interp.c (Max, Min): New functions.
+
+       * mips.igen (BC1): Add tracing.
+
+Thu Feb 19 14:50:00 1998  John Metzler  <jmetzler@cygnus.com>
+
+       * interp.c Added memory map for stack in vr4100
+
+Thu Feb 19 10:21:21 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * interp.c (load_memory): Add missing "break"'s.
+
+Tue Feb 17 12:45:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Tue Feb 10 11:57:40 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * interp.c: Added hardware init hook, fixed warnings.
+
+Sat Feb  7 17:16:20 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (itable.h itable.c): Depend on SIM_@sim_gen@_ALL.
+
+Tue Feb  3 11:36:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (ifetch16): New function.
+
+       * sim-main.h (IMEM32): Rename IMEM.
+       (IMEM16_IMMED): Define.
+       (IMEM16): Define.
+       (DELAY_SLOT): Update.
+
+       * m16run.c (sim_engine_run): New file.
+
+       * m16.igen: All instructions except LB.
+       (LB): Call do_load_byte.
+       * mips.igen (do_load_byte): New function.
+       (LB): Call do_load_byte.
+
+       * mips.igen: Move spec for insn bit size and high bit from here.
+       * Makefile.in (tmp-igen, tmp-m16): To here.
+
+       * m16.dc: New file, decode mips16 instructions.
+
+       * Makefile.in (SIM_NO_ALL): Define.
+       (tmp-m16): Generate both 16 bit and 32 bit simulator engines.
+
+Tue Feb  3 11:28:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (mips_fpu_bitsize): For tx39, restrict floating
+       point unit to 32 bit registers.
+       * configure: Re-generate.
+
+Sun Feb  1 15:47:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (sim_use_gen): Make IGEN the default simulator
+       generator for generic 32 and 64 bit mips targets.
+       * configure: Re-generate.
+
+Sun Feb  1 16:52:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (SizeFGR): Determine from floating-point and not gpr
+       bitsize.
+
+       * interp.c (sim_fetch_register, sim_store_register): Read/write
+       FGR from correct location.
+       (sim_open): Set size of FGR's according to
+       WITH_TARGET_FLOATING_POINT_BITSIZE.
+
+       * sim-main.h (FGR): Store floating point registers in a separate
+       array.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Feb  3 00:10:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (ColdReset): Call PENDING_INVALIDATE.
+
+       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Call PENDING_TICK.
+
+       * interp.c (pending_tick): New function.  Deliver pending writes.
+
+       * sim-main.h (PENDING_FILL, PENDING_TICK, PENDING_SCHED,
+       PENDING_BIT, PENDING_INVALIDATE): Re-write pipeline code so that
+       it can handle mixed sized quantites and single bits.
+
+Mon Feb  2 17:43:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (oengine.h): Do not include when building with IGEN.
+       (sim_open): Replace GPRLEN by WITH_TARGET_WORD_BITSIZE.
+       (sim_info): Ditto for PROCESSOR_64BIT.
+       (sim_monitor): Replace ut_reg with unsigned_word.
+       (*): Ditto for t_reg.
+       (LOADDRMASK): Define.
+       (sim_open): Remove defunct check that host FP is IEEE compliant,
+       using software to emulate floating point.
+       (value_fpr, ...): Always compile, was conditional on HASFPU.
+
+Sun Feb  1 11:15:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (sim_state): Make the cpu array MAX_NR_PROCESSORS in
+       size.
+
+       * interp.c (SD, CPU): Define.
+       (mips_option_handler): Set flags in each CPU.
+       (interrupt_event): Assume CPU 0 is the one being iterrupted.
+       (sim_close): Do not clear STATE, deleted anyway.
+       (sim_write, sim_read): Assume CPU zero's vm should be used for
+       data transfers.
+       (sim_create_inferior): Set the PC for all processors.
+       (sim_monitor, store_word, load_word, mips16_entry): Add cpu
+       argument.
+       (mips16_entry): Pass correct nr of args to store_word, load_word.
+       (ColdReset): Cold reset all cpu's.
+       (signal_exception): Pass cpu to sim_monitor & mips16_entry.
+       (sim_monitor, load_memory, store_memory, signal_exception): Use
+       `CPU' instead of STATE_CPU.
+
+
+       * sim-main.h: Replace uses of STATE_CPU with CPU. Replace sd with
+       SD or CPU_.
+
+       * sim-main.h (signal_exception): Add sim_cpu arg.
+       (SignalException*): Pass both SD and CPU to signal_exception.
+       * interp.c (signal_exception): Update.
+
+       * sim-main.h (value_fpr, store_fpr, dotrace, ifetch32), interp.c:
+       Ditto
+       (sync_operation, prefetch, cache_op, store_memory, load_memory,
+       address_translation): Ditto
+       (decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 14:49:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_engine_run): Add `nr_cpus' argument.
+
+       * mips.igen (model): Map processor names onto BFD name.
+
+       * sim-main.h (CPU_CIA): Delete.
+       (SET_CIA, GET_CIA): Define
+
+Wed Jan 21 16:16:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (GPR_SET): Define, used by igen when zeroing a
+       regiser.
+
+       * configure.in (default_endian): Configure a big-endian simulator
+       by default.
+       * configure: Re-generate.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan  5 20:38:54 1998  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c (sim_monitor): Handle Densan monitor outbyte
+       and inbyte functions.
+
+1997-12-29  Felix Lee  <flee@cygnus.com>
+
+       * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).
+
+Wed Dec 17 14:48:20 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (tmp-igen): Arrange for $zero to always be
+       reset to zero after every instruction.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Dec 10 17:10:45 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mips.igen (MSUB): Fix to work like MADD.
+       * gencode.c (MSUB): Similarly.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Nov 26 11:00:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (LWC1): Correct assembler - lwc1 not swc1.
+
+Sun Nov 23 01:45:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (sim-fpu.h): Include.
+
+       * interp.c (convert, SquareRoot, Recip, Divide, Multiply, Sub,
+       Add, Negate, AbsoluteValue, Equal, Less, Infinity, NaN): Rewrite
+       using host independant sim_fpu module.
+
+Thu Nov 20 19:56:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (signal_exception): Report internal errors with SIGABRT
+       not SIGQUIT.
+
+       * sim-main.h (C0_CONFIG): New register.
+       (signal.h): No longer include.
+
+       * interp.c (decode_coproc): Allow access C0_CONFIG to register.
+
+Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
+
+Fri Nov 14 11:56:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen: Tag vr5000 instructions.
+       (ANDI): Was missing mipsIV model, fix assembler syntax.
+       (do_c_cond_fmt): New function.
+       (C.cond.fmt): Handle mips I-III which do not support CC field
+       separatly.
+       (bc1): Handle mips IV which do not have a delaed FCC separatly.
+       (SDR): Mask paddr when BigEndianMem, not the converse as specified
+       in IV3.2 spec.
+       (DMULT, DMULTU): Force use of hosts 64bit multiplication.  Handle
+       vr5000 which saves LO in a GPR separatly.
+
+       * configure.in (enable-sim-igen): For vr5000, select vr5000
+       specific instructions.
+       * configure: Re-generate.
+
+Wed Nov 12 14:42:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-fpu module.
+
+       * interp.c (store_fpr), sim-main.h: Add separate fmt_uninterpreted_32 and
+       fmt_uninterpreted_64 bit cases to switch.  Convert to
+       fmt_formatted,
+
+       * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Define,
+
+       * mips.igen (SWR): Mask paddr when BigEndianMem, not the converse
+       as specified in IV3.2 spec.
+       (MTC1, DMTC1): Call StoreFPR to store the GPR in the FPR.
+
+Tue Nov 11 12:38:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen: Delay slot branches add OFFSET to NIA not CIA.
+       (MFC0, MTC0, SWC1, LWC1, SDC1, LDC1): Implement.
+       (MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1): Implement separate non
+       PENDING_FILL versions of instructions.  Simplify.
+       (X): New function.
+       (MULT, MULTU): Implement separate RD==0 and RD!=0 versions of
+       instructions.
+       (BEQZ, ..., SLT, SLTI, TLT, TLE, TLI, ...): Explicitly cast GPR to
+       a signed value.
+       (MTHI, MFHI): Disable code checking HI-LO.
+
+       * sim-main.h (dotrace,tracefh), interp.c: Make dotrace & tracefh
+       global.
+       (NULLIFY_NEXT_INSTRUCTION): Call dotrace.
+
+Thu Nov  6 16:36:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_mips16_operands): Replace IPC with cia.
+
+       * interp.c (sim_monitor, signal_exception, cache_op, store_fpr,
+       value_fpr, cop_ld, cop_lw, cop_sw, cop_sd, decode_coproc): Replace
+       IPC to `cia'.
+       (UndefinedResult): Replace function with macro/function
+       combination.
+       (sim_engine_run): Don't save PC in IPC.
+
+       * sim-main.h (IPC): Delete.
+
+
+       * interp.c (signal_exception, store_word, load_word,
+       address_translation, load_memory, store_memory, cache_op,
+       prefetch, sync_operation, ifetch, value_fpr, store_fpr, convert,
+       cop_lw, cop_ld, cop_sw, cop_sd, decode_coproc, sim_monitor): Add
+       current instruction address - cia - argument.
+       (sim_read, sim_write): Call address_translation directly.
+       (sim_engine_run): Rename variable vaddr to cia.
+       (signal_exception): Pass cia to sim_monitor
+
+       * sim-main.h (SignalException, LoadWord, StoreWord, CacheOp,
+       Prefetch, SyncOperation, ValueFPR, StoreFPR, Convert, COP_LW,
+       COP_LD, COP_SW, COP_SD, DecodeCoproc): Update.
+
+       * sim-main.h (SignalExceptionSimulatorFault): Delete definition.
+       * interp.c (sim_open): Replace SignalExceptionSimulatorFault with
+       SIM_ASSERT.
+
+       * interp.c (signal_exception): Pass restart address to
+       sim_engine_restart.
+
+       * Makefile.in (semantics.o, engine.o, support.o, itable.o,
+       idecode.o): Add dependency.
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESUME_HOOK):
+       Delete definitions
+       (DELAY_SLOT): Update NIA not PC with branch address.
+       (NULLIFY_NEXT_INSTRUCTION): Set NIA to instruction after next.
+
+       * mips.igen: Use CIA not PC in branch calculations.
+       (illegal): Call SignalException.
+       (BEQ, ADDIU): Fix assembler.
+
+Wed Nov  5 12:19:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m16.igen (JALX): Was missing.
+
+       * configure.in (enable-sim-igen): New configuration option.
+       * configure: Re-generate.
+
+       * sim-main.h (MAX_INSNS, INSN_NAME): Define.
+
+       * interp.c (load_memory, store_memory): Delete parameter RAW.
+       (sim_read, sim_write): Use sim_core_{read,write}_buffer directly
+       bypassing {load,store}_memory.
+
+       * sim-main.h (ByteSwapMem): Delete definition.
+
+       * Makefile.in (SIM_OBJS): Add sim-memopt module.
+
+       * interp.c (sim_do_command, sim_commands): Delete mips specific
+       commands.  Handled by module sim-options.
+
+       * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module.
+       (WITH_MODULO_MEMORY): Define.
+
+       * interp.c (sim_info): Delete code printing memory size.
+
+       * interp.c (mips_size): Nee sim_size, delete function.
+       (power2): Delete.
+       (monitor, monitor_base, monitor_size): Delete global variables.
+       (sim_open, sim_close): Delete code creating monitor and other
+       memory regions.  Use sim-memopts module, via sim_do_commandf, to
+       manage memory regions.
+       (load_memory, store_memory): Use sim-core for memory model.
+
+       * interp.c (address_translation): Delete all memory map code
+       except line forcing 32 bit addresses.
+
+Wed Nov  5 11:21:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (WITH_TRACE): Delete definition.  Enables common
+       trace options.
+
+       * interp.c (logfh, logfile): Delete globals.
+       (sim_open, sim_close): Delete code opening & closing log file.
+       (mips_option_handler): Delete -l and -n options.
+       (OPTION mips_options): Ditto.
+
+       * interp.c (OPTION mips_options): Rename option trace to dinero.
+       (mips_option_handler): Update.
+
+Wed Nov  5 09:35:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (fetch_str): New function.
+       (sim_monitor): Rewrite using sim_read & sim_write.
+       (sim_open): Check magic number.
+       (sim_open): Write monitor vectors into memory using sim_write.
+       (MONITOR_BASE, MONITOR_SIZE, MEM_SIZE): Define.
+       (sim_read, sim_write): Simplify - transfer data one byte at a
+       time.
+       (load_memory, store_memory): Clarify meaning of parameter RAW.
+
+       * sim-main.h (isHOST): Defete definition.
+       (isTARGET): Mark as depreciated.
+       (address_translation): Delete parameter HOST.
+
+       * interp.c (address_translation): Delete parameter HOST.
+
+Wed Oct 29 11:13:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen:
+
+       * Makefile.in (IGEN_INCLUDE): Files included by mips.igen.
+       (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE.
+
+Tue Oct 28 11:06:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen: Add model filter field to records.
+
+Mon Oct 27 17:53:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_NO_CFLAGS): Define.  Define WITH_IGEN=0.
+
+       interp.c (sim_engine_run): Do not compile function sim_engine_run
+       when WITH_IGEN == 1.
+
+       * configure.in (sim_igen_flags, sim_m16_flags): Set according to
+       target architecture.
+
+       Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
+       igen. Replace with configuration variables sim_igen_flags /
+       sim_m16_flags.
+
+       * m16.igen: New file.  Copy mips16 insns here.
+       * mips.igen: From here.
+
+Mon Oct 27 13:53:59 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
+       to top.
+       (tmp-igen, tmp-m16): Pass -I srcdir to igen.
+
+Sat Oct 25 16:51:40 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c (build_instruction): Follow sim_write's lead in using
+       BigEndianMem instead of !ByteSwapMem.
+
+Fri Oct 24 17:41:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (sim_gen): Dependent on target, select type of
+       generator.  Always select old style generator.
+
+       configure: Re-generate.
+
+       Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
+       targets.
+       (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
+       SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
+       IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
+       (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
+       SIM_@sim_gen@_*, set by autoconf.
+
+Wed Oct 22 12:52:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
+
+       * interp.c (ColdReset): Remove #ifdef HASFPU, check
+       CURRENT_FLOATING_POINT instead.
+
+       * interp.c (ifetch32): New function. Fetch 32 bit instruction.
+       (address_translation): Raise exception InstructionFetch when
+       translation fails and isINSTRUCTION.
+
+       * interp.c (sim_open, sim_write, sim_monitor, store_word,
+       sim_engine_run): Change type of of vaddr and paddr to
+       address_word.
+       (address_translation, prefetch, load_memory, store_memory,
+       cache_op): Change type of vAddr and pAddr to address_word.
+
+       * gencode.c (build_instruction): Change type of vaddr and paddr to
+       address_word.
+
+Mon Oct 20 15:29:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
+       macro to obtain result of ALU op.
+
+Tue Oct 21 17:39:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_info): Call profile_print.
+
+Mon Oct 20 13:31:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-profile.o module.
+
+       * sim-main.h (WITH_PROFILE): Do not define, defined in
+       common/sim-config.h.  Use sim-profile module.
+       (simPROFILE): Delete defintion.
+
+       * interp.c (PROFILE): Delete definition.
+       (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
+       (sim_close): Delete code writing profile histogram.
+       (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
+       Delete.
+       (sim_engine_run): Delete code profiling the PC.
+
+Mon Oct 20 13:31:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
+
+       * interp.c (sim_monitor): Make register pointers of type
+       unsigned_word*.
+
+       * sim-main.h: Make registers of type unsigned_word not
+       signed_word.
+
+Thu Oct 16 10:31:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sync_operation): Rename from SyncOperation, make
+       global, add SD argument.
+       (prefetch): Rename from Prefetch, make global, add SD argument.
+       (decode_coproc): Make global.
+
+       * sim-main.h (SyncOperation, DecodeCoproc, Pefetch): Define.
+
+       * gencode.c (build_instruction): Generate DecodeCoproc not
+       decode_coproc calls.
+
+       * interp.c (SETFCC, GETFCC, PREVCOC1): Move to sim-main.h
+       (SizeFGR): Move to sim-main.h
+       (simHALTEX, simHALTIN, simTRACE, simPROFILE, simDELAYSLOT,
+       simSIGINT, simJALDELAYSLOT): Move to sim-main.h
+       (FP_FLAGS, FP_ENABLE, FP_CAUSE, IR, UF, OF, DZ, IO, UO): Move to
+       sim-main.h.
+       (FP_FS, FP_MASK_RM, FP_SH_RM, FP_RM_NEAREST, FP_RM_TOPINF,
+       FP_RM_TOMINF, GETRM): Move to sim-main.h.
+       (Uncached, CachedNoncoherent, CachedCoherent, Cached,
+       isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h.
+       (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian,
+       BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h
+
+       * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise
+       exception.
+       (sim-alu.h): Include.
+       (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define.
+       (sim_cia): Typedef to instruction_address.
+
+Thu Oct 16 10:31:41 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (interp.o): Rename generated file engine.c to
+       oengine.c.
+
+       * interp.c: Update.
+
+Thu Oct 16 10:31:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
+
+Thu Oct 16 10:31:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_instruction): For "FPSQRT", output correct
+       number of arguments to Recip.
+
+Tue Oct 14 17:38:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (interp.o): Depends on sim-main.h
+
+       * interp.c (mips16_entry, ColdReset,dotrace): Add SD argument. Use GPR not registers.
+
+       * sim-main.h (sim_cpu): Add registers, register_widths, fpr_state,
+       ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate fields.
+       (REGISTERS, REGISTER_WIDTHS, FPR_STATE, IPC, DSPC, PENDING_*,
+       STATE, DSSTATE): Define
+       (GPR, FGRIDX, ..): Define.
+
+       * interp.c (registers, register_widths, fpr_state, ipc, dspc,
+       pending_*, hiaccess, loaccess, state, dsstate): Delete globals.
+       (GPR, FGRIDX, ...): Delete macros.
+
+       * interp.c: Update names to match defines from sim-main.h
+
+Tue Oct 14 15:11:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_monitor): Add SD argument.
+       (sim_warning): Delete.  Replace calls with calls to
+       sim_io_eprintf.
+       (sim_error): Delete. Replace calls with sim_io_error.
+       (open_trace, writeout32, writeout16, getnum): Add SD argument.
+       (mips_set_profile): Rename from sim_set_profile. Add SD argument.
+       (mips_set_profile_size): Rename from sim_set_profile_size. Add SD
+       argument.
+       (mips_size): Rename from sim_size. Add SD argument.
+
+       * interp.c (simulator): Delete global variable.
+       (callback): Delete global variable.
+       (mips_option_handler, sim_open, sim_write, sim_read,
+       sim_store_register, sim_fetch_register, sim_info, sim_do_command,
+       sim_size,sim_monitor): Use sim_io_* not callback->*.
+       (sim_open): ZALLOC simulator struct.
+       (PROFILE): Do not define.
+
+Tue Oct 14 13:35:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open), support.h: Replace CHECKSIM macro found in
+       support.h with corresponding code.
+
+       * sim-main.h (word64, uword64), support.h: Move definition to
+       sim-main.h.
+       (WORD64LO, WORD64HI, SET64LO, SET64HI, WORD64, UWORD64): Ditto.
+
+       * support.h: Delete
+       * Makefile.in: Update dependencies
+       * interp.c: Do not include.
+
+Tue Oct 14 13:35:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (address_translation, load_memory, store_memory,
+       cache_op): Rename to from AddressTranslation et.al., make global,
+       add SD argument
+
+       * sim-main.h (AddressTranslation, LoadMemory, StoreMemory,
+       CacheOp): Define.
+
+       * interp.c (SignalException): Rename to signal_exception, make
+       global.
+
+       * interp.c (Interrupt, ...): Move definitions to sim-main.h.
+
+       * sim-main.h (SignalException, SignalExceptionInterrupt,
+       SignalExceptionInstructionFetch, SignalExceptionAddressStore,
+       SignalExceptionAddressLoad, SignalExceptionSimulatorFault,
+       SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable):
+       Define.
+
+       * interp.c, support.h: Use.
+
+Tue Oct 14 13:19:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename
+       to value_fpr / store_fpr. Add SD argument.
+       (NaN, Infinity, Less, Equal, AbsoluteValue, Negate, Add, Sub,
+       Multiply, Divide, Recip, SquareRoot, Convert): Make global.
+
+       * sim-main.h (ValueFPR, StoreFPR): Define.
+
+Tue Oct 14 13:06:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_engine_run): Check consistency between configure
+       WITH_TARGET_WORD_BITSIZE and WITH_FLOATING_POINT and gensim GPRLEN
+       and HASFPU.
+
+       * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE.
+       (mips_fpu): Configure WITH_FLOATING_POINT.
+       (mips_endian): Configure WITH_TARGET_ENDIAN.
+       * configure: Update.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 29 14:45:00 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * configure: Regenerated.
+
+Fri Sep 26 12:48:18 1997  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
+
+Thu Sep 25 11:15:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (print_igen_insn_models): Assume certain architectures
+       include all mips* instructions.
+       (print_igen_insn_format): Use data_size==-1 as marker for MIPS16
+       instruction.
+
+       * Makefile.in (tmp.igen): Add target. Generate igen input from
+       gencode file.
+
+       * gencode.c (FEATURE_IGEN): Define.
+       (main): Add --igen option.  Generate output in igen format.
+       (process_instructions): Format output according to igen option.
+       (print_igen_insn_format): New function.
+       (print_igen_insn_models): New function.
+       (process_instructions): Only issue warnings and ignore
+       instructions when no FEATURE_IGEN.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (COP_SD, COP_LD): Add UNUSED to pacify GCC for some
+       MIPS targets.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN,
+       SIM_RESERVED_BITS): Delete, moved to common.
+       (SIM_EXTRA_CFLAGS): Update.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Configure non-strict memory alignment.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Sep 20 14:07:28 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c (SDBBP,DERET): Added (3900) insns.
+       (RFE): Turn on for 3900.
+       * interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
+       (dsstate): Made global.
+       (SUBTARGET_R3900): Added.
+       (CANCELDELAYSLOT): New.
+       (SignalException): Ignore SystemCall rather than ignore and
+       terminate.  Add DebugBreakPoint handling.
+       (decode_coproc): New insns RFE, DERET; and new registers Debug
+       and DEPC protected by SUBTARGET_R3900.
+       (sim_engine_run): Use CANCELDELAYSLOT rather than clearing
+       bits explicitly.
+       * Makefile.in,configure.in: Add mips subtarget option.
+       * configure: Update.
+
+Fri Sep 19 09:33:27 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c: Add r3900 (tx39).
+
+
+Tue Sep 16 15:52:04 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c (build_instruction): Don't need to subtract 4 for
+       JALR, just 2.
+
+Tue Sep 16 11:32:28 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * interp.c: Correct some HASFPU problems.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 12 12:01:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (mips_options): Fix samples option short form, should
+       be `x'.
+
+Thu Sep 11 09:35:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_info): Enable info code.  Was just returning.
+
+Tue Sep  9 17:30:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (decode_coproc): Clarify warning about unsuported MTC0,
+       MFC0.
+
+Tue Sep  9 16:28:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_instruction): Use SIGNED64 for 64 bit
+       constants.
+       (build_instruction): Ditto for LL.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Aug 27 14:12:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add call to sim_analyze_program, update
+       call to sim_config.
+
+Tue Aug 26 10:40:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument. Set PC from same.
+       (sim_load): Move code initializing trap handlers from here.
+       (sim_open): To here.
+       (sim_load): Delete, use sim-hload.c.
+
+       * Makefile.in (SIM_OBJS): Add sim-hload.o module.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 15:59:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add ABFD argument.
+       (sim_load): Move call to sim_config from here.
+       (sim_open): To here.  Check return status.
+
+Fri Jul 25 15:00:45 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c (build_instruction): Two arg MADD should
+       not assign result to $0.
+
+Thu Jun 26 12:13:17 1997  Angela Marie Thomas (angela@cygnus.com)
+
+       * sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
+       * sim/mips/configure.in: Regenerate.
+
+Wed Jul  9 10:29:21 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
+       signed8, unsigned8 et.al. types.
+
+       * interp.c (SUB_REG_FETCH): Handle both little and big endian
+       hosts when selecting subreg.
+
+Wed Jul  2 11:54:10 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_engine_run): Reset the ZERO register to zero
+       regardless of FEATURE_WARN_ZERO.
+       * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
+
+Wed Jun  4 10:43:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (decode_coproc): Implement MTC0 N, CAUSE.
+       (SignalException): For BreakPoints ignore any mode bits and just
+       save the PC.
+       (SignalException): Always set the CAUSE register.
+
+Tue Jun  3 05:00:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (SignalException): Clear the simDELAYSLOT flag when an
+       exception has been taken.
+
+       * interp.c: Implement the ERET and mt/f sr instructions.
+
+Sat May 31 00:44:16 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (SignalException): Don't bother restarting an
+       interrupt.
+
+Fri May 30 23:41:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (SignalException): Really take an interrupt.
+       (interrupt_event): Only deliver interrupts when enabled.
+
+Tue May 27 20:08:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_info): Only print info when verbose.
+       (sim_info) Use sim_io_printf for output.
+
+Tue May 27 14:22:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (CoProcPresent): Add UNUSED attribute - not used by all
+       mips architectures.
+
+Tue May 27 14:22:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_do_command): Check for common commands if a
+       simulator specific command fails.
+
+Thu May 22 09:32:03 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
+       and simBE when DEBUG is defined.
+
+Wed May 21 09:08:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (interrupt_event): New function.  Pass exception event
+       onto exception handler.
+
+       * configure.in: Check for stdlib.h.
+       * configure: Regenerate.
+
+       * gencode.c (build_instruction): Add UNUSED attribute to tempS
+       variable declaration.
+       (build_instruction): Initialize memval1.
+       (build_instruction): Add UNUSED attribute to byte, bigend,
+       reverse.
+       (build_operands): Ditto.
+
+       * interp.c: Fix GCC warnings.
+       (sim_get_quit_code): Delete.
+
+       * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS.
+       * Makefile.in: Ditto.
+       * configure: Re-generate.
+
+       * Makefile.in (SIM_OBJS): Add sim-watch.o module.
+
+Tue May 20 15:08:56 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (mips_option_handler): New function parse argumes using
+       sim-options.
+       (myname): Replace with STATE_MY_NAME.
+       (sim_open): Delete check for host endianness - performed by
+       sim_config.
+       (simHOSTBE, simBE): Delete, replaced by sim-endian flags.
+       (sim_open): Move much of the initialization from here.
+       (sim_load): To here.  After the image has been loaded and
+       endianness set.
+       (sim_open): Move ColdReset from here.
+       (sim_create_inferior): To here.
+       (sim_open): Make FP check less dependant on host endianness.
+
+       * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or
+       run.
+       * interp.c (sim_set_callbacks): Delete.
+
+       * interp.c (membank, membank_base, membank_size): Replace with
+       STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE.
+       (sim_open): Remove call to callback->init. gdb/run do this.
+
+       * interp.c: Update
+
+       * sim-main.h (SIM_HAVE_FLATMEM): Define.
+
+       * interp.c (big_endian_p): Delete, replaced by
+       current_target_byte_order.
+
+Tue May 20 13:55:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (host_read_long, host_read_word, host_swap_word,
+       host_swap_long): Delete. Using common sim-endian.
+       (sim_fetch_register, sim_store_register): Use H2T.
+       (pipeline_ticks): Delete.  Handled by sim-events.
+       (sim_info): Update.
+       (sim_engine_run): Update.
+
+Tue May 20 13:42:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop_reason): Move code determining simEXCEPTION
+       reason from here.
+       (SignalException): To here. Signal using sim_engine_halt.
+       (sim_stop_reason): Delete, moved to common.
+
+Tue May 20 10:19:48 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * interp.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Delete SIM_DESC argument.
+       (sim_size): Ditto.
+
+Mon May 19 18:20:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add common modules.
+
+       * interp.c (sim_set_callbacks): Also set SD callback.
+       (set_endianness, xfer_*, swap_*): Delete.
+       (host_read_word, host_read_long, host_swap_word, host_swap_long):
+       Change to functions using sim-endian macros.
+       (control_c, sim_stop): Delete, use common version.
+       (simulate): Convert into.
+       (sim_engine_run): This function.
+       (sim_resume): Delete.
+
+       * interp.c (simulation): New variable - the simulator object.
+       (sim_kind): Delete global - merged into simulation.
+       (sim_load): Cleanup.  Move PC assignment from here.
+       (sim_create_inferior): To here.
+
+       * sim-main.h: New file.
+       * interp.c (sim-main.h): Include.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr 23 17:32:19 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * tconfig.in (SIM_HAVE_BIENDIAN): Define.
+
+Mon Apr 21 17:16:13 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * gencode.c (build_instruction): DIV instructions: check
+       for division by zero and integer overflow before using
+       host's division operation.
+
+Thu Apr 17 03:18:14 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * interp.c: #include bfd.h.
+       (target_byte_order): Delete.
+       (sim_kind, myname, big_endian_p): New static locals.
+       (sim_open): Set sim_kind, myname.  Move call to set_endianness to
+       after argument parsing.  Recognize -E arg, set endianness accordingly.
+       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
+       load file into simulator.  Set PC from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+       (set_endianness): Use big_endian_p instead of target_byte_order.
+
+Wed Apr 16 17:55:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_size): Delete prototype - conflicts with
+       definition in remote-sim.h.  Correct definition.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Mar 25 11:38:22 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): Set optind to 0 before calling getopt.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 10:52:59 1997  Gavin Koch  <gavin@cetus.cygnus.com>
+
+       * interp.c : Replace uses of pr_addr with pr_uword64
+       where the bit length is always 64 independent of SIM_ADDR.
+       (pr_uword64) : added.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 12:51:36 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New SIM_DESC result.  Argument is now
+       in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Mon Feb 24 22:47:14 1997  Dawn Perchik  <dawn@cygnus.com>
+
+       * interp.c: Fix printing of addresses for non-64-bit targets.
+       (pr_addr): Add function to print address based on size.
+
+Wed Feb 19 14:42:09 1997  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
+
+Thu Feb 13 14:08:30 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (build_mips16_operands): Correct computation of base
+       address for extended PC relative instruction.
+
+Thu Feb  6 17:16:15 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * interp.c (mips16_entry): Add support for floating point cases.
+       (SignalException): Pass floating point cases to mips16_entry.
+       (ValueFPR): Don't restrict fmt_single and fmt_word to even
+       registers.
+       (StoreFPR): Likewise.  Also, don't clobber fpr + 1 for fmt_single
+       or fmt_word.
+       (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
+       and then set the state to fmt_uninterpreted.
+       (COP_SW): Temporarily set the state to fmt_word while calling
+       ValueFPR.
+
+Tue Feb  4 16:48:25 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (build_instruction): The high order may be set in the
+       comparison flags at any ISA level, not just ISA 4.
+
+Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Fri Jan 31 11:11:45 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Rebuild after change to aclocal.m4.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Wed Jan  8 12:39:03 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * gencode.c (build_instruction): Use BigEndianCPU instead of
+       ByteSwapMem.
+
+Thu Jan 02 22:23:04 1997  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c (sim_monitor): Make output to stdout visible in
+       wingdb's I/O log window.
+
+Tue Dec 31 07:04:00 1996  Mark Alexander  <marka@cygnus.com>
+
+       * support.h: Undo previous change to SIGTRAP
+       and SIGQUIT values.
+
+Mon Dec 30 17:36:06 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * interp.c (store_word, load_word): New static functions.
+       (mips16_entry): New static function.
+       (SignalException): Look for mips16 entry and exit instructions.
+       (simulate): Use the correct index when setting fpr_state after
+       doing a pending move.
+
+Sun Dec 29 09:37:18 1996  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c: Fix byte-swapping code throughout to work on
+       both little- and big-endian hosts.
+
+Sun Dec 29 09:18:32 1996  Mark Alexander  <marka@cygnus.com>
+
+       * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
+       with gdb/config/i386/xm-windows.h.
+
+Fri Dec 27 22:48:51 1996  Mark Alexander  <marka@cygnus.com>
+
+       * gencode.c (build_instruction): Work around MSVC++ code gen bug
+       that messes up arithmetic shifts.
+
+Fri Dec 20 11:04:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * support.h:  Use _WIN32 instead of __WIN32__.  Also add defs for
+       SIGTRAP and SIGQUIT for _WIN32.
+
+Thu Dec 19 14:07:27 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
+       force a 64 bit multiplication.
+       (build_instruction) [OR]: In mips16 mode, don't do anything if the
+       destination register is 0, since that is the default mips16 nop
+       instruction.
+
+Mon Dec 16 14:59:38 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
+       (build_endian_shift): Don't check proc64.
+       (build_instruction): Always set memval to uword64.  Cast op2 to
+       uword64 when shifting it left in memory instructions.  Always use
+       the same code for stores--don't special case proc64.
+
+       * gencode.c (build_mips16_operands): Fix base PC value for PC
+       relative operands.
+       (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
+       jal instruction.
+       * interp.c (simJALDELAYSLOT): Define.
+       (JALDELAYSLOT): Define.
+       (INDELAYSLOT, INJALDELAYSLOT): Define.
+       (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
+
+Tue Dec 24 22:11:20 1996  Angela Marie Thomas (angela@cygnus.com)
+
+       * interp.c (sim_open): add flush_cache as a PMON routine
+       (sim_monitor): handle flush_cache by ignoring it
+
+Wed Dec 11 13:53:51 1996  Jim Wilson  <wilson@cygnus.com>
+
+       * gencode.c (build_instruction): Use !ByteSwapMem instead of
+       BigEndianMem.
+       * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
+       (BigEndianMem): Rename to ByteSwapMem and change sense.
+       (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
+       BigEndianMem references to !ByteSwapMem.
+       (set_endianness): New function, with prototype.
+       (sim_open): Call set_endianness.
+       (sim_info): Use simBE instead of BigEndianMem.
+       (xfer_direct_word, xfer_direct_long, swap_direct_word,
+       swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
+       xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
+       ifdefs, keeping the prototype declaration.
+       (swap_word): Rewrite correctly.
+       (ColdReset): Delete references to CONFIG.  Delete endianness related
+       code; moved to set_endianness.
+
+Tue Dec 10 11:32:04 1996  Jim Wilson  <wilson@cygnus.com>
+
+       * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
+       * interp.c (CHECKHILO): Define away.
+       (simSIGINT): New macro.
+       (membank_size): Increase from 1MB to 2MB.
+       (control_c): New function.
+       (sim_resume): Rename parameter signal to signal_number.  Add local
+       variable prev.  Call signal before and after simulate.
+       (sim_stop_reason): Add simSIGINT support.
+       (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
+       functions always.
+       (sim_warning): Delete call to SignalException.  Do call printf_filtered
+       if logfh is NULL.
+       (AddressTranslation): Add #ifdef DEBUG around debugging message and
+       a call to sim_warning.
+
+Wed Nov 27 11:53:50 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
+       16 bit instructions.
+
+Tue Nov 26 11:53:12 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       Add support for mips16 (16 bit MIPS implementation):
+       * gencode.c (inst_type): Add mips16 instruction encoding types.
+       (GETDATASIZEINSN): Define.
+       (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv.  Add
+       jalx.  Add LEFT flag to mfhi and mflo.  Add RIGHT flag to mthi and
+       mtlo.
+       (MIPS16_DECODE): New table, for mips16 instructions.
+       (bitmap_val): New static function.
+       (struct mips16_op): Define.
+       (mips16_op_table): New table, for mips16 operands.
+       (build_mips16_operands): New static function.
+       (process_instructions): If PC is odd, decode a mips16
+       instruction.  Break out instruction handling into new
+       build_instruction function.
+       (build_instruction): New static function, broken out of
+       process_instructions.  Check modifiers rather than flags for SHIFT
+       bit count and m[ft]{hi,lo} direction.
+       (usage): Pass program name to fprintf.
+       (main): Remove unused variable this_option_optind.  Change
+       ``*loptarg++'' to ``loptarg++''.
+       (my_strtoul): Parenthesize && within ||.
+       * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
+       (simulate): If PC is odd, fetch a 16 bit instruction, and
+       increment PC by 2 rather than 4.
+       * configure.in: Add case for mips16*-*-*.
+       * configure: Rebuild.
+
+Fri Nov 22 08:49:36 1996  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c: Allow -t to enable tracing in standalone simulator.
+       Fix garbage output in trace file and error messages.
+
+Wed Nov 20 01:54:37 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
+       (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       * configure: Regenerated.
+       * tconfig.in: New file.
+
+Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
+
+       * interp.c: Fix bugs in 64-bit port.
+       Use ansi function declarations for msvc compiler.
+       Initialize and test file pointer in trace code.
+       Prevent duplicate definition of LAST_EMED_REGNUM.
+
+Tue Oct 15 11:07:06 1996  Mark Alexander  <marka@cygnus.com>
+
+       * interp.c (xfer_big_long): Prevent unwanted sign extension.
+
+Thu Sep 26 17:35:00 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (SignalException): Check for explicit terminating
+       breakpoint value.
+       * gencode.c: Pass instruction value through SignalException()
+       calls for Trap, Breakpoint and Syscall.
+
+Thu Sep 26 11:35:17 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
+       only used on those hosts that provide it.
+       * configure.in: Add sqrt() to list of functions to be checked for.
+       * config.in: Re-generated.
+       * configure: Re-generated.
+
+Fri Sep 20 15:47:12 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (process_instructions): Call build_endian_shift when
+       expanding STORE RIGHT, to fix swr.
+       * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
+       clear the high bits.
+       * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
+       Fix float to int conversions to produce signed values.
+
+Thu Sep 19 15:34:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
+       (process_instructions): Correct handling of nor instruction.
+       Correct shift count for 32 bit shift instructions. Correct sign
+       extension for arithmetic shifts to not shift the number of bits in
+       the type.  Fix 64 bit multiply high word calculation.  Fix 32 bit
+       unsigned multiply.  Fix ldxc1 and friends to use coprocessor 1.
+       Fix madd.
+       * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
+       It's OK to have a mult follow a mult.  What's not OK is to have a
+       mult follow an mfhi.
+       (Convert): Comment out incorrect rounding code.
+
+Mon Sep 16 11:38:16 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (sim_monitor): Improved monitor printf
+       simulation. Tidied up simulator warnings, and added "--log" option
+       for directing warning message output.
+       * gencode.c: Use sim_warning() rather than WARNING macro.
+
+Thu Aug 22 15:03:12 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
+       getopt1.o, rather than on gencode.c.  Link objects together.
+       Don't link against -liberty.
+       (gencode.o, getopt.o, getopt1.o): New targets.
+       * gencode.c: Include <ctype.h> and "ansidecl.h".
+       (AND): Undefine after including "ansidecl.h".
+       (ULONG_MAX): Define if not defined.
+       (OP_*): Don't define macros; now defined in opcode/mips.h.
+       (main): Call my_strtoul rather than strtoul.
+       (my_strtoul): New static function.
+
+Wed Jul 17 18:12:38 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * gencode.c (process_instructions):  Generate word64 and uword64
+       instead of `long long' and `unsigned long long' data types.
+       * interp.c:  #include sysdep.h to get signals, and define default
+       for SIGBUS.
+       * (Convert):  Work around for Visual-C++ compiler bug with type
+       conversion.
+       * support.h:  Make things compile under Visual-C++ by using
+       __int64 instead of `long long'.  Change many refs to long long
+       into word64/uword64 typedefs.
+
+Wed Jun 26 12:24:55 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       (AC_PROG_CC): Moved to before configure.host call.
+       * configure: Rebuilt.
+
+Wed Jun  5 08:28:13 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * configure.in: Define @SIMCONF@ depending on mips target.
+       * configure: Rebuild.
+       * Makefile.in (run): Add @SIMCONF@ to control simulator
+       construction.
+       * gencode.c: Change LOADDRMASK to 64bit memory model only.
+       * interp.c: Remove some debugging, provide more detailed error
+       messages, update memory accesses to use LOADDRMASK.
+
+Mon Jun  3 11:55:03 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
+       AC_CHECK_LIB, and AC_CHECK_FUNCS.  Change AC_OUTPUT to set
+       stamp-h.
+       * configure: Rebuild.
+       * config.in: New file, generated by autoheader.
+       * interp.c: Include "config.h".  Include <stdlib.h>, <string.h>,
+       and <strings.h> if they exist.  Replace #ifdef sun with #ifdef
+       HAVE_ANINT and HAVE_AINT, as appropriate.
+       * Makefile.in (run): Use @LIBS@ rather than -lm.
+       (interp.o): Depend upon config.h.
+       (Makefile): Just rebuild Makefile.
+       (clean): Remove stamp-h.
+       (mostlyclean): Make the same as clean, not as distclean.
+       (config.h, stamp-h): New targets.
+
+Fri May 10 00:41:17 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (ColdReset): Fix boolean test. Make all simulator
+       globals static.
+
+Wed May  8 15:12:58 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (xfer_direct_word, xfer_direct_long,
+       swap_direct_word, swap_direct_long, xfer_big_word,
+       xfer_big_long, xfer_little_word, xfer_little_long,
+       swap_word,swap_long): Added.
+       * interp.c (ColdReset): Provide function indirection to
+       host<->simulated_target transfer routines.
+       * interp.c (sim_store_register, sim_fetch_register): Updated to
+       make use of indirected transfer routines.
+
+Fri Apr 19 15:48:24 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * gencode.c (process_instructions): Ensure FP ABS instruction
+       recognised.
+       * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
+       system call support.
+
+Wed Apr 10 09:51:38 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (sim_do_command): Complain if callback structure not
+       initialised.
+
+Thu Mar 28 13:50:51 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c (Convert): Provide round-to-nearest and round-to-zero
+       support for Sun hosts.
+       * Makefile.in (gencode): Ensure the host compiler and libraries
+       used for cross-hosted build.
+
+Wed Mar 27 14:42:12 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * interp.c, gencode.c: Some more (TODO) tidying.
+
+Thu Mar  7 11:19:33 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * gencode.c, interp.c: Replaced explicit long long references with
+       WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
+       * support.h (SET64LO, SET64HI): Macros added.
+
+Wed Feb 21 12:16:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.7.
+
+Tue Jan 30 08:48:18 1996  Fred Fish  <fnf@cygnus.com>
+
+       * interp.c (LoadMemory): Enclose text following #endif in /* */.
+       * support.h: Remove superfluous "1" from #if.
+       * support.h (CHECKSIM): Remove stray 'a' at end of line.
+
+Mon Dec  4 11:44:40 1995  Jamie Smith  <jsmith@cygnus.com>
+
+       * interp.c (StoreFPR): Control UndefinedResult() call on
+       WARN_RESULT manifest.
+
+Fri Dec  1 16:37:19 1995  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * gencode.c: Tidied instruction decoding, and added FP instruction
+       support.
+
+       * interp.c: Added dineroIII, and BSD profiling support. Also
+       run-time FP handling.
+
+Sun Oct 22 00:57:18 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
+
+       * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
+       gencode.c, interp.c, support.h: created.
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
deleted file mode 100644 (file)
index a4ff98a..0000000
+++ /dev/null
@@ -1,1809 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-       * op_utils.c, sim-main.h: Likewise.
-       * mn10300_sim.h: Delete sim-signal.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * mn10300_sim.h (u642dw, dw2u64): Change INLINE to INLINE2.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * mn10300.igen: Change abort to sim_engine_abort.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0.
-
-2021-06-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
-       with $(IGEN).
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c [!SIGTRAP] (SIGTRAP): Define to 5.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-mn103cpu.c, dv-mn103int.c, dv-mn103iop.c, dv-mn103ser.c,
-       dv-mn103tim.c, op_utils.c: Include defs.h.
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * mn10300_sim.h: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * op_utils.c: Delete sys/times.h include.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
-       * configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (INCLUDE): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (interp.o): Remove.
-       (idecode.o op_utils.o semantics.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.
-       * op_utils.c: Delete utime.h include.
-       * config.in, configure: Regenerate.
-
-2021-04-15  John Baldwin  <jhb@FreeBSD.org>
-
-       * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen.
-       * mn10300.igen: Include am33-2.igen.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * Makefile.in: Set ASAN_OPTIONS when running igen.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (../igen/igen): Delete rule.
-       (tmp-igen): Delete ../igen make.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c, op_utils.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
-       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (mn10300_reg_store, mn10300_reg_fetch): Define.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (sim_store_register): Rename to ...
-       (mn10300_reg_store): ... this.
-       (sim_fetch_register): Rename to ...
-       (mn10300_reg_fetch): ... this.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (MN10300_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HANDLES_LMA): Delete.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_WATCHPOINTS): Delete.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mn10300_callback): Delete.
-       (sim_open): Delete mn10300_callback assignment.
-       (program_interrupt): Call sim_io_printf.
-       * mn10300_sim.h (mn10300_callback): Delete.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_CORE): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * op_utils.c (do_syscall): Replace call to cb_syscall with
-       sim_syscall_multi.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * mn10300_sim.h (syscall_read_mem, syscall_write_mem): Delete.
-       * op_utils.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (do_syscall): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.  Set syscall.p2.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (get_byte, get_half, get_word, put_byte, put_half,
-       put_word): Delete.
-       (sim_fetch_register): Inline put_word call.
-       (sim_store_register): Inline get_word call.
-       * mn10300_sim.h (struct _state): Delete mem member.
-       (OP, Simops, get_byte, get_half, get_word, put_byte, put_half,
-       put_word, map): Delete.
-       * op_utils.c (MEMPTR): Delete.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (round_64, fpu_status_ok): Add static.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (mn10300_debug): Delete.
-       * mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete.
-       (struct _state): Delete exception and exited members.
-       [_WIN32] (SIGTRAP, SIGQUIT): Delete.
-       * op_utils.c (do_syscall): Call sim_engine_halt instead of setting
-       State.exception.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef
-       in terms of unsigned8, signed8, unsigned16, signed16, unsigned32,
-       and signed32 respectively.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (INLINE): Delete define.
-       * mn10300_sim.h (INLINE): Likewise.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-       (SIM_ADDR): Delete comment.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Change CIA_GET to
-       CPU_PC_GET and CIA_SET to CPU_PC_SET.
-       * interp.c (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
-       (program_interrupt): Change CIA_GET to CPU_PC_GET and CIA_SET to
-       CPU_PC_SET.
-       (mn10300_cpu_exception_trigger): Change CIA_SET to CPU_PC_SET.
-       (mn10300_cpu_exception_suspend): Likewise.
-       (mn10300_cpu_exception_resume): Likewise.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (MN10300_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (MN10300_OBJS): Add sim-cpu.o.
-       * interp.c (mn10300_pc_get, mn10300_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
-       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-       (sim_pc_get): Delete.
-       * sim-main.h (null_cia, NULL_CIA): Delete.
-       (SIM_CPU): Define.
-       (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Drop & and handle WITH_SMP.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_pc_get): New function.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac: Delete SIM_DV_SOCKSER_O check.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-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.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
-       string.h & strings.h & time.h.
-       * aclocal.m4, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-03-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * configure.ac: Fail if dv-sockser.o not available.
-       Error when --disable-sim-hardware is specified.
-       * tconfig.in: Conditionalize use of dv_sockser_install.
-       * configure: Regenerated.
-       * config.in: Regenerated.
-
-2012-06-17  Hans-Peter Nilsson  <hp@axis.com>
-
-       * interp.c: Include config.h first.  Do not include sysdep.h.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-02-16  Kevin Buettner  <kevinb@redhat.com>
-
-       * interp.c (sim_fetch_register): Return length, not -1.
-
-2012-01-02  Joel Brobecker  <brobecker@adacore.com>
-
-       * sim-main.h: Reformat copyright header.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-11-07  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/9302
-       * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &.
-
-2011-10-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after common/acinclude.m4 update.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Delete.
-
-2011-06-20  Nick Clifton  <nickc@redhat.com>
-
-       * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * interp.c (sim_store_register): Update return value to
-       match new API.
-
-2010-04-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * dv-mn103ser.c (sockser_addr, USE_SOCKSER_P): Delete
-       (do_polling_event): Change USE_SOCKSER_P to dv_sockser_status.
-       (read_status_reg): Likewise.
-       (write_txb): Likewise.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-06-26  Alexandre Oliva  <aoliva@redhat.com>
-
-       2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
-       * am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
-       2000-05-29  Alexandre Oliva  <aoliva@cygnus.com>
-       * interp.c (fpu_disabled_exception, fpu_unimp_exception,
-       fpu_check_signal_exception): Take additional state arguments.
-       Print exception type and call program_interrupt.  Adjust callers.
-       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
-       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
-       arguments.
-       * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
-       fpu_check_signal_exception): Adjust prototypes.
-       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
-       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
-       * am33-2.igen: Adjust calls.
-       2000-05-19  Alexandre Oliva  <aoliva@cygnus.com>
-       * op_utils.c (cmp2fcc): Moved...
-       * interp.c: ... here.
-       2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
-       * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
-       `signed64' where type width is relevant.
-       2000-05-15  Alexandre Oliva  <aoliva@cygnus.com>
-       * mn10300_sim.h: Include sim-fpu.h.
-       (FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
-       (fpu_check_signal_exception): Declare.
-       (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
-       (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
-       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
-       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
-       * interp.c (fpu_disabled_exception): Document.
-       (fpu_unimp_exception): Likewise.
-       (fpu_check_signal_exception): Define.
-       (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
-       (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
-       (REG2VAL, ROUND, VAL2REG): Define shorthands.
-       (fpu_status_ok): Define.
-       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
-       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
-       * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
-       fmadd, fmsub, fnmadd, fnmsub): Use new functions.
-       2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
-       * interp.c (sim_create_inferior): Set PSW bit to enable FP insns
-       if architecture is AM33/2.0.
-       * am33.igen: Include am33-2.igen.
-       2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
-       * mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
-       * am33.igen (movm): Likewise.
-       2000-04-19  Alexandre Oliva  <aoliva@cygnus.com>
-       * am33.igen: Added `*am33_2' to some instructions that were
-       missing it.
-       2000-04-07  Alexandre Oliva  <aoliva@cygnus.com>
-       * am33-2.igen: New file.  All insns implemented, but FP flags are
-       only set for fcmp, exceptional conditions are not handled yet.
-       * Makefile.in (IGEN_INSN): Added am33-2.igen.
-       (tmp-igen): Added -M am33_2.
-       * mn10300.igen, am33.igen: Added `*am33_2' to all insns.
-       * gencode.c: Support FMT_D3.
-       * mn10300_sim.h (dword): New type.
-       (struct _state): Added fpregs.
-       (REG_FPCR, FPCR): New define.  All assorted bitmaps.
-       (XS2FS, AS2FS, Xf2FD): New macros.
-       (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
-       (load_dword, store_dword): New functions or macros.
-       (u642dw, dw2u64): New functions.
-       (fpu_disabled_exception, fpu_unimp_exception): Declared.
-       * interp.c (fpu_disabled_exception): Defined; no actual
-       implementation.
-       (fpu_unimp_exception): Likewise.
-       * op_utils.c (cmp2fcc): New function.
-
-       * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
-       and definitions to ISO C.
-
-       * gencode.c, simops.c: Delete.
-       * Makefile.in: Remove non-COMMON dependencies and commands.
-
-       * configure.in: Use common simulator always.  Don't subst sim_gen
-       nor mn10300_common.
-       * configure: Rebuilt.
-       * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP,
-       WITHOUT_COMMON_RUN_OBJS): Remove.
-       (WITH_COMMON_OBJS): Rename to MN10300_OBJS.
-       (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP.
-       (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS.
-       (SIM_EXTRA_CFLAGS): Don't use @sim_gen@.
-       * interp.c: Remove non-common bits.
-       * mn10300_sim.h: Likewise.
-
-2003-08-28  Andrew Cagney  <cagney@redhat.com>
-
-       * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
-       "long".
-       (read_status_reg): Cast "serial_reg" to "long".
-       * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
-       "long".
-       (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_open, sim_create_inferior, sim_open)
-       (sim_create_inferior): Rename _bfd to bfd.
-
-2003-02-26  Andrew Cagney  <cagney@redhat.com>
-
-       * am33.igen: Call sim_engine_abort instead of abort.
-
-2003-02-26  David Carlton  <carlton@math.stanford.edu>
-
-       * dv-mn103tim.c (read_special_timer6_reg): Add break after
-       empty default: label.
-       (write_special_timer6_reg): Ditto.
-       Update copyright.
-
-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.
-
-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.
-
-2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
-
-       * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
-       Depend on targ-vals.h.
-
-2001-04-15  J.T. Conklin  <jtc@redback.com>
-
-       * Makefile.in (simops.o): Add simops.h to dependency list.
-
-Wed Aug  9 02:24:53 2000  Graham Stott  <grahams@cygnus.co.uk>
-
-       * am33.igen: Warning clean-up.
-       (movm): Initialize PC and mask.
-       (mov, movbu, movhu): Set srcreg2 from RI0.
-       (bsch): Initialize c.
-       (sat16_cmp): Actually do the comparison.
-       (mov_llt): Do not overwrite dstreg with uninitialized variable.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-05-22  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * am33.igen: Fix leading comments of SP-relative offset insns that
-       referred to other registers.  Make their offsets unsigned.
-
-2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
-       genericXor, genericBtst): Use `unsigned32'.
-       * op_utils.c: Likewise.
-       * mn10300.igen, am33.igen: Use `unsigned32', `signed32',
-       `unsigned64' or `signed64' where type width is relevant.
-
-2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
-
-2000-04-09  Alexandre Oliva  <aoliva@cygnus.com>
-
-       * am33.igen: Make SP-relative offsets unsigned.  Add `*am33' for
-       some instructions that were missing it.
-
-2000-03-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
-
-       * Makefile.in (IGEN_INSN): Added am33.igen.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Jul 13 13:26:20 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c: Clarify error message reporting an unknown board.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-16  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * interp.c (program_interrupt): Detect undesired recursion using
-       static flag.  Set NMIRC register's SYSEF flag during
-       --board=stdeval1 mode.
-       * dv-mn103-int.c (write_icr): Add backdoor address to allow CPU to
-       set SYSEF flag.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Define a POLL_QUIT_INTERVAL
-       for use in the simulator so that the poll_quit callback is
-       not called too often.
-
-Tue Mar  9 21:26:41 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103int.c (mn103int_ioctl): Return something.
-       * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around &&
-       within ||.
-
-Tue Feb 16 23:57:17 1999  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300.igen (retf): Fix return address computation and store
-       the new pc value into nia.
-
-1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o.
-       * interp.c (sim_open): Add stub mn103002 cache control memory regions.
-       Set OPERATING_ENVIRONMENT on "stdeval1" board.
-       (mn10300_core_signal): New function to intercept memory errors.
-       (program_interrupt): New function to dispatch to exception vector
-       (mn10300_exception_*): New functions to snapshot pre/post exception
-       state.
-       * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal.
-       (SIM_ENGINE_HALT_HOOK): Do nothing.
-       (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*().
-       (_sim_cpu): Add exc_* fields to store register value snapshots.
-       * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O.
-       Various endianness and warning fixes.
-       * mn10300.igen (illegal): Call program_interrupt on error.
-       (break): Call program_interrupt on breakpoint
-
-       Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
-       merged in:
-       * dv-mn103int.c (mn103int_ioctl): New function for NMI
-       generation. (mn103int_finish): Install it as ioctl handler.
-       * dv-mn103tim.c: Support timer 6 specially.  Endianness fixes.
-
-Wed Oct 14 12:11:05 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Allow autoincrement stores using the same register
-       for source and destination operands.
-
-Mon Aug 31 10:19:55 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu".
-
-Fri Aug 28 14:40:49 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * interp.c (sim_open): Check for invalid --board option, fix
-       indentation, allocate memory for mem control and DMA regs.
-
-Wed Aug 26 09:29:38 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * mn10300.igen (div,divu): Fix divide instructions so divide by 0
-       behaves like the hardware.
-
-Mon Aug 24 11:50:09 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
-
-Wed Aug 12 12:36:07 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Handle case where first DSP operation modifies a
-       register used in the second DSP operation correctly.
-
-Tue Jul 28 10:10:25 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Detect cases where two operands must not match for
-       DSP instructions too.
-
-Mon Jul 27 12:04:17 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Detect cases where two operands must not match in
-       non-DSP instructions.
-
-Fri Jul 24 18:15:21 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * op_utils.c (do_syscall): Rewrite to use common/syscall.c.
-       (syscall_read_mem, syscall_write_mem): New functions for syscall
-       callbacks.
-       * mn10300_sim.h: Add prototypes for syscall_read_mem and
-       syscall_write_mem.
-       * mn10300.igen: Change C++ style comments to C style comments.
-       Check for divide by zero in div and divu ops.
-
-Fri Jul 24 12:49:28 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen (translate_xreg): New function.  Use it as needed.
-
-Thu Jul 23 10:05:28 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Add some missing instructions.
-
-       * am33.igen: Autoincrement loads/store fixes.
-
-Tue Jul 21 09:48:14 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen: Add mov_lCC DSP instructions.
-
-       * am33.igen: Add most am33 DSP instructions.
-
-Thu Jul  9 10:06:55 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300.igen: Fix Z bit for addc and subc instructions.
-       Minor fixes in multiply/divide patterns.
-
-       * am33.igen: Add missing mul[u] imm32,Rn.  Fix condition code
-       handling for many instructions.  Fix sign extension for some
-       24bit immediates.
-
-       * am33.igen: Fix Z bit for remaining addc/subc instructions.
-       Do not sign extend immediate for mov imm,XRn.
-       More random mul, mac & div fixes.
-       Remove some unused variables.
-       Sign extend 24bit displacement in memory addresses.
-
-       * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn.  Various
-       fixes to 2 register multiply, divide and mac instructions.  Set
-       Z,N correctly for sat16.  Sign extend 24 bit immediate for add,
-       and sub instructions.
-
-       * am33.igen: Add remaining non-DSP instructions.
-
-Wed Jul  8 16:29:12 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * am33.igen (translate_rreg): New function.  Use it as appropriate.
-
-       * am33.igen: More am33 instructions.  Fix "div".
-
-Mon Jul  6 15:39:22 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300.igen: Add am33 support.
-
-       * Makefile.in: Use multi-sim to support both a mn10300 and am33
-       simulator.
-
-       * am33.igen: Add many more am33 instructions.
-
-Wed Jul  1 17:07:09 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h (FETCH24): Define.
-
-       * mn10300_sim.h: Add defines for some registers found on the AM33.
-       * am33.igen: New file with some am33 support.
-
-Tue Jun 30 11:23:20 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h: Include bfd.h
-       (struct state): Add more room for processor specific registers.
-       (REG_E0): Define.
-
-Thu Jun 25 10:12:03 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * dv-mn103tim.c: Include sim-assert.h
-       * dv-mn103ser.c (do_polling_event): Check for incoming data on
-       serial line and schedule next polling event.
-       (read_status_reg): schedule events to check for incoming data on
-       serial line and issue interrupt if necessary.
-
-Fri Jun 19 16:47:27 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo).
-
-Fri Jun 19 11:59:26 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * interp.c (board): Rename am32 to stdeval1 as this is the name
-       consistently used to refer to the mn1030002 board.
-
-Thu June 18 14:37:14 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * interp.c (sim_open): Fix typo in address of EXTMD register
-       (0x34000280, not 0x3400280).
-
-Wed Jun 17 18:00:18 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (syscall): Handle change in opcode # for syscall.
-       * mn10300.igen (syscall): Likewise.
-
-Tue June 16 09:36:21 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
-       reset) are not enabled on reset.
-
-Sun June 14 17:04:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o
-       register bits.
-       * dv-mn103ser.c: Fill in methods for reading and writing to serial
-       device registers.
-       * interp.c (sim_open): Make the serial device a polling device.
-
-Fri June 12 16:24:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * dv-mn103iop.c: New file for handling am32 io ports.
-       * configure.in: Add mn103iop to hw_device list.
-       * configure: Re-generate.
-       * interp.c (sim_open): Create io port device.
-
-Wed June 10 14:34:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * dv-mn103int.c (external_group): Use enumerated types to access
-       correct group addresses.
-       * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
-       triggers an interrupt on the higher-numbered timer's port.
-
-Mon June 8 13:30:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-       * interp.c: (mn10300_option_handler): New function parses arguments
-       using sim-options.
-       * (board): Add --board option for specifying am32.
-       * (sim_open): Create new timer and serial devices and control
-       configuration of other am32 devices via board option.
-       * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
-       * dv-mn103cpu.c: Fix typos in opening comments.
-       * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
-       * configure.in: Add mn103tim and mn103ser to hw_device list.
-       * configure: Re-generate.
-
-Mon May 25 20:50:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
-
-       * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
-       sim-main.h. Declare a struct hw_descriptor instead of struct
-       hw_device_descriptor.
-
-Mon May 25 17:33:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
-       to struct hw_event.
-
-Fri May 22 12:17:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
-
-Wed May  6 13:29:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Create a polling PAL device.
-
-Fri May  1 16:39:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103int.c (mn103int_port_event):
-       (mn103int_port_event):
-       (mn103int_io_read_buffer):
-       (mn103int_io_write_buffer):
-
-       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
-       (mn103cpu_port_event): Ditto.
-       (mn103cpu_io_read_buffer): Ditto.
-       (mn103cpu_io_write_buffer): Ditto.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:19:55 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:19:07 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Tue Apr 14 10:03:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mn10300_sim.h: Declare all functions in op_utils.c using
-       INLINE_SIM_MAIN.
-       * op_utils.c: Ditto.
-       * sim-main.c: New file.  Include op_utils.c.
-
-       * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
-       differentiate between MOV/CMP immediate/register instructions.
-
-       * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
-       * configure: Regenerate.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (hw): Delete variable, moved to SIM_DESC.
-       (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
-       Handled by sim-module.
-       (sim_open): Do not anotate tree with trace properties, handled by
-       sim-hw.c
-       (sim_open): Call sim_hw_parse instead of hw_tree_parse.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Mar 26 20:46:18 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * dv-mn103cpu.c (deliver_mn103cpu_interrupt):  Save the entire PC
-       on the stack when delivering interrupts (not just the lower
-       half)...
-       * mn10300.igen (mov (Di,Am),Dn):  Fix decode.  Registers were
-       specified in the wrong order.
-
-Fri Mar 27 00:56:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
-       succeeding interrupts, clear pending_handler when the handler
-       isn't re-scheduled.
-
-Thu Mar 26 10:11:01 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
-
-       * Makefile.in (tmp-igen):  Prefix all usage of move-if-change
-       script with $(SHELL) to make NT native builds happy.
-       * configure:  Regenerate because of change to ../common/aclocal.m4.
-
-Thu Mar 26 11:22:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Make --enable-sim-common the default.
-       * configure: Re-generate.
-
-       * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
-       address into Sate.regs[REG_PC] instead of common struct.
-
-Wed Mar 25 17:42:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
-
-Wed Mar 25 12:08:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       * simops.c (OP_F0FD): Initialise variable 'sp'.
-
-Thu Mar 26 00:21:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * dv-mn103int.c (decode_group): A group register every 4 bytes not
-       8.
-       (write_icr): Rewrite equation updating request field.
-       (read_iagr): Fix check that interrupt is still pending.
-
-Wed Mar 25 16:14:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Tidy up device creation.
-
-       * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
-       value.
-       (mn103int_io_read_buffer): Convert absolute address to register
-       block offsets.
-       (read_icr, write_icr): Convert block offset into group offset.
-
-Wed Mar 25 15:08:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Create second 1mb memory region at
-       0x40000000.
-       (sim_open): Create a device tree.
-       (sim-hw.h): Include.
-       (do_interrupt): Delete, needs to use dv-mn103cpu.c
-
-       * dv-mn103int.c, dv-mn103cpu.c: New files.
-
-Wed Mar 25 08:47:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
-       Define.
-       (SP): Define.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 10:24:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim-options.h): Include.
-       (sim_kind, myname): Declare when not using common framework.
-
-       * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
-       functions found in op_utils.c
-
-       * mn10300.igen (add): Discard unused variables.
-
-       * configure, config.in: Re-generate with autoconf 2.12.1.
-
-Tue Mar 24 15:27:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
-
-       Add support for --enable-sim-common option.
-       * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
-       ! --enable-sim-common
-       (WITH_COMMON_OBJS): Files included if --enable-sim-common.
-       (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
-       (SIM_OBJS): Rewrite.
-       ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
-       (SIM_EXTRA_CFLAGS): New variable.
-       (clean-extra): Clean up igen files.
-       (../igen/igen,clean-igen,tmp-igen): New rules.
-       * configure.in: Add support for common framework via
-       --enable-sim-common.
-       * configure: Regenerate.
-       * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
-       (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
-       (init_system,sim_write,compare_simops): Likewise.
-       (sim_set_profile,sim_set_profile_size): Likewise.
-       (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
-       (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
-       (enum interrupt_type): New enum.
-       (interrupt_names): New global.
-       (do_interrupt): New function.
-       (sim_open): Define differently if WITH_COMMON.
-       (sim_close,sim_create_inferior,sim_do_command): Likewise.
-       * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
-       for WITH_COMMON.
-       * mn10300.igen: New file.
-       * mn10300.dc: New file.
-       * op_utils.c: New file.
-       * sim-main.h: New file.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Feb 27 18:36:04 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (inc): Fix typo.
-
-Wed Feb 25 01:59:29 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (signed multiply instructions): Cast input operands to
-       signed32 before casting them to signed64 so that the sign bit
-       is propagated properly.
-
-Mon Feb 23 20:23:19 1998  Mark Alexander  <marka@cygnus.com>
-
-       * Makefile.in: Last change was bad.  Define NL_TARGET
-       so that targ-vals.h will be used instead of syscall.h.
-       * simops.c: Use targ-vals.h instead of syscall.h.
-       (OP_F020): Disable unsupported system calls.
-
-Mon Feb 23 09:44:38 1998  Mark Alexander  <marka@cygnus.com>
-
-       * Makefile.in: Get header files from libgloss/mn10300/sys.
-
-Sun Feb 22 16:02:24 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Include sim-types.h.
-
-Wed Feb 18 13:07:08 1998  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (multiply instructions): Cast input operands to a
-       signed64/unsigned64 type as appropriate.
-
-Tue Feb 17 12:47:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Nov 11 10:38:52 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (call:16 call:32): Stack adjustment is determined solely
-       by the imm8 field.
-
-Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_load): Pass lma_p and sim_write args to
-       sim_load_file.
-
-Tue Oct 21 10:12:03 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Correctly handle register restores for "ret" and "retf"
-       instructions.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:41:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 16:14:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add ABFD argument.
-
-Tue Jun 24 13:46:20 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_resume): Clear State.exited.
-       (sim_stop_reason): If State.exited is nonzero, then indicate that
-       the simulator exited instead of stopped.
-       * mn10300_sim.h (struct _state): Add exited field.
-       * simops.c (syscall): Set State.exited for SYS_exit.
-
-Wed Jun 11 22:07:56 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix thinko in last change.
-
-Tue Jun 10 12:31:32 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: "call" stores the callee saved registers into the
-       stack!  Update the stack pointer properly when done with
-       register saves.
-
-       * simops.c: Fix return address computation for "call" instructions.
-
-Thu May 22 01:43:11 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_open): Fix typo.
-
-Wed May 21 23:27:58 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_resume): Add missing case in big switch
-       statement (for extb instruction).
-
-Tue May 20 17:51:30 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c: Replace all references to load_mem and store_mem
-       with references to load_byte, load_half, load_3_byte, load_word
-       and store_byte, store_half, store_3_byte, store_word.
-       (INLINE): Delete definition.
-       (load_mem_big): Likewise.
-       (max_mem): Make it global.
-       (dispatch): Make this function inline.
-       (load_mem, store_mem): Delete functions.
-       * mn10300_sim.h (INLINE): Define.
-       (RLW): Delete unused definition.
-       (load_mem, store_mem): Delete declarations.
-       (load_mem_big): New definition.
-       (load_byte, load_half, load_3_byte, load_word): New functions.
-       (store_byte, store_half, store_3_byte, store_word): New functions.
-       * simops.c:  Replace all references to load_mem and store_mem
-       with references to load_byte, load_half, load_3_byte, load_word
-       and store_byte, store_half, store_3_byte, store_word.
-
-Tue May 20 10:21:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add callback to arguments.
-       (sim_set_callbacks): Delete SIM_DESC argument.
-
-Mon May 19 13:54:22 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (dispatch): Make this an inline function.
-
-       * simops.c (syscall): Use callback->write regardless of
-       what file descriptor we're writing too.
-
-Sun May 18 16:46:31 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (load_mem_big): Remove function.  It's now a macro
-       defined elsewhere.
-       (compare_simops): New function.
-       (sim_open): Sort the Simops table before inserting entries
-       into the hash table.
-       * mn10300_sim.h: Remove unused #defines.
-       (load_mem_big): Define.
-
-Fri May 16 16:36:17 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (load_mem): If we get a load from an out of range
-       address, abort.
-       (store_mem): Likewise for stores.
-       (max_mem): New variable.
-
-Tue May  6 13:24:36 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h: Fix ordering of bits in the PSW.
-
-       * interp.c: Improve hashing routine to avoid long list
-       traversals for common instructions.  Add HASH_STAT support.
-       Rewrite opcode dispatch code using a big switch instead of
-       cascaded if/else statements.  Avoid useless calls to load_mem.
-
-Mon May  5 18:07:48 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h (struct _state): Add space for mdrq register.
-       (REG_MDRQ): Define.
-       * simops.c: Don't abort for trap.  Add support for the extended
-       instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
-       and "bsch".
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 18 14:04:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop): Add stub function.
-
-Thu Apr 17 03:26:59 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * interp.c (sim_kind, myname): New static locals.
-       (sim_open): Set sim_kind, myname.  Ignore -E arg.
-       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
-       load file into simulator.  Set start address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Wed Apr 16 19:30:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
-       only include if implemented by host.
-       (OP_F020): Typecast arg passed to time function;
-
-Mon Apr  7 23:57:49 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (syscall): Handle new mn10300 calling conventions.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr  4 20:02:37 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
-       corresponding change in opcodes directory.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Mar 20 11:58:02 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix register extraction for a two "movbu" variants.
-       Somewhat simplify "sub" instructions.
-       Correctly sign extend operands for "mul".  Put the correct
-       half of the result in MDR for "mul" and "mulu".
-       Implement remaining instructions.
-       Tweak opcode for "syscall".
-
-Tue Mar 18 14:21:21 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Do syscall emulation in "syscall" instruction.  Add
-       dummy "trap" instruction.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 12:54:45 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New SIM_DESC result.  Argument is now
-       in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Wed Mar 12 15:04:00 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix carry bit computation for "add" instructions.
-
-       * simops.c: Fix typos in bset insns.  Fix arguments to store_mem
-       for bset imm8,(d8,an) and bclr imm8,(d8,an).
-
-Wed Mar  5 15:00:10 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix register references when computing Z and N bits
-       for lsr imm8,dn.
-
-Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Fri Jan 24 10:47:25 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (init_system): Allocate 2^19 bytes of space for the
-       simulator.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Tue Jan 21 15:03:04 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Undo last change to "rol" and "ror", original code
-       was correct!
-
-Thu Jan 16 11:28:14 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix "rol" and "ror".
-
-Wed Jan 15 06:45:58 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix typo in last change.
-
-Mon Jan 13 13:22:35 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Use REG macros in few places not using them yet.
-
-Mon Jan  6 16:21:19 1997  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h (struct _state): Fix number of registers!
-
-Tue Dec 31 16:20:41 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * mn10300_sim.h (struct _state): Put all registers into a single
-       array to make gdb implementation easier.
-       (REG_*): Add definitions for all registers in the state array.
-       (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
-       * simops.c: Related changes.
-
-Wed Dec 18 10:10:45 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_resume): Handle 0xff as a single byte insn.
-
-       * simops.c: Fix overflow computation for "add" and "inc"
-       instructions.
-
-Mon Dec 16 10:03:52 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Handle "break" instruction.
-
-       * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
-
-Wed Dec 11 09:53:10 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * gencode.c (write_opcodes): Also write out the format of the
-       opcode.
-       * mn10300_sim.h (simops): Add "format" field.
-       * interp.c (sim_resume): Deal with endianness issues here.
-
-Tue Dec 10 15:05:37 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (REG0_4): Define.
-       Use REG0_4 for indexed loads/stores.
-
-Sat Dec  7 09:50:28 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (REG0_16): Fix typo.
-
-Fri Dec  6 14:13:34 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Call abort for any instruction that's not currently
-       simulated.
-
-       * simops.c: Define accessor macros to extract register
-       values from instructions.  Use them consistently.
-
-       * interp.c: Delete unused global variable "OP".
-       (sim_resume): Remove unused variable "opcode".
-       * simops.c: Fix some uninitialized variable problems, add
-       parens to fix various -Wall warnings.
-
-       * gencode.c (write_header): Add "insn" and "extension" arguments
-       to the OP_* declarations.
-       (write_template): Similarly for function templates.
-       * interp.c (insn, extension): Remove global variables.  Instead
-       pass them as arguments to the OP_* functions.
-       * mn10300_sim.h: Remove decls for "insn" and "extension".
-       * simops.c (OP_*): Accept "insn" and "extension" as arguments
-       instead of using globals.
-
-Thu Dec  5 22:26:31 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
-
-       * simops.c: Fix thinkos in last change to "inc dn".
-
-Wed Dec  4 10:57:53 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: "add imm,sp" does not effect the condition codes.
-       "inc dn" does effect the condition codes.
-
-Tue Dec  3 17:37:45 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Treat both operands as signed values for
-       "div" instruction.
-
-       * simops.c: Fix simulation of division instructions.
-       Fix typos/thinkos in several "cmp" and "sub" instructions.
-
-Mon Dec  2 12:31:40 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix carry bit handling in "sub" and "cmp"
-       instructions.
-
-       * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
-
-Sun Dec  1 16:05:42 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix overflow computation for many instructions.
-
-       * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
-
-       * simops.c: Fix "mov am, dn".
-
-       * simops.c: Fix more bugs in "add imm,an" and
-       "add imm,dn".
-
-Wed Nov 27 09:20:42 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix bugs in "movm" and "add imm,an".
-
-       * simops.c: Don't lose the upper 24 bits of the return
-       pointer in "call" and "calls" instructions.  Rough cut
-       at emulated system calls.
-
-       * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
-
-       * simops.c: Implement remaining 4 byte instructions.
-
-       * simops.c: Implement remaining 3 byte instructions.
-
-       * simops.c: Implement remaining 2 byte instructions.  Call
-       abort for instructions we're not implementing now.
-
-Tue Nov 26 15:43:41 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Implement lots of random instructions.
-
-       * simops.c: Implement "movm" and "bCC" insns.
-
-       * mn10300_sim.h (_state): Add another register (MDR).
-       (REG_MDR): Define.
-       * simops.c: Implement "cmp", "calls", "rets", "jmp" and
-       a few additional random insns.
-
-       * mn10300_sim.h (PSW_*): Define for CC status tracking.
-       (REG_D0, REG_A0, REG_SP): Define.
-       * simops.c: Implement "add", "addc" and a few other random
-       instructions.
-
-       * gencode.c, interp.c: Snapshot current simulator code.
-
-Mon Nov 25 12:46:38 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * Makefile.in, config.in, configure, configure.in: New files.
-       * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.
diff --git a/sim/mn10300/ChangeLog-2021 b/sim/mn10300/ChangeLog-2021
new file mode 100644 (file)
index 0000000..a4ff98a
--- /dev/null
@@ -0,0 +1,1809 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+       * op_utils.c, sim-main.h: Likewise.
+       * mn10300_sim.h: Delete sim-signal.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * mn10300_sim.h (u642dw, dw2u64): Change INLINE to INLINE2.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * mn10300.igen: Change abort to sim_engine_abort.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0.
+
+2021-06-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
+       with $(IGEN).
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c [!SIGTRAP] (SIGTRAP): Define to 5.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-mn103cpu.c, dv-mn103int.c, dv-mn103iop.c, dv-mn103ser.c,
+       dv-mn103tim.c, op_utils.c: Include defs.h.
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * mn10300_sim.h: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * op_utils.c: Delete sys/times.h include.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
+       * configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (INCLUDE): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (interp.o): Remove.
+       (idecode.o op_utils.o semantics.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.
+       * op_utils.c: Delete utime.h include.
+       * config.in, configure: Regenerate.
+
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+       * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen.
+       * mn10300.igen: Include am33-2.igen.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Set ASAN_OPTIONS when running igen.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (../igen/igen): Delete rule.
+       (tmp-igen): Delete ../igen make.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c, op_utils.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
+       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (mn10300_reg_store, mn10300_reg_fetch): Define.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (sim_store_register): Rename to ...
+       (mn10300_reg_store): ... this.
+       (sim_fetch_register): Rename to ...
+       (mn10300_reg_fetch): ... this.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (MN10300_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_WATCHPOINTS): Delete.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mn10300_callback): Delete.
+       (sim_open): Delete mn10300_callback assignment.
+       (program_interrupt): Call sim_io_printf.
+       * mn10300_sim.h (mn10300_callback): Delete.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_CORE): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * op_utils.c (do_syscall): Replace call to cb_syscall with
+       sim_syscall_multi.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * mn10300_sim.h (syscall_read_mem, syscall_write_mem): Delete.
+       * op_utils.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (do_syscall): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.  Set syscall.p2.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (get_byte, get_half, get_word, put_byte, put_half,
+       put_word): Delete.
+       (sim_fetch_register): Inline put_word call.
+       (sim_store_register): Inline get_word call.
+       * mn10300_sim.h (struct _state): Delete mem member.
+       (OP, Simops, get_byte, get_half, get_word, put_byte, put_half,
+       put_word, map): Delete.
+       * op_utils.c (MEMPTR): Delete.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (round_64, fpu_status_ok): Add static.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (mn10300_debug): Delete.
+       * mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete.
+       (struct _state): Delete exception and exited members.
+       [_WIN32] (SIGTRAP, SIGQUIT): Delete.
+       * op_utils.c (do_syscall): Call sim_engine_halt instead of setting
+       State.exception.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef
+       in terms of unsigned8, signed8, unsigned16, signed16, unsigned32,
+       and signed32 respectively.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (INLINE): Delete define.
+       * mn10300_sim.h (INLINE): Likewise.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+       (SIM_ADDR): Delete comment.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Change CIA_GET to
+       CPU_PC_GET and CIA_SET to CPU_PC_SET.
+       * interp.c (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
+       (program_interrupt): Change CIA_GET to CPU_PC_GET and CIA_SET to
+       CPU_PC_SET.
+       (mn10300_cpu_exception_trigger): Change CIA_SET to CPU_PC_SET.
+       (mn10300_cpu_exception_suspend): Likewise.
+       (mn10300_cpu_exception_resume): Likewise.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (MN10300_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (MN10300_OBJS): Add sim-cpu.o.
+       * interp.c (mn10300_pc_get, mn10300_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
+       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+       (sim_pc_get): Delete.
+       * sim-main.h (null_cia, NULL_CIA): Delete.
+       (SIM_CPU): Define.
+       (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Drop & and handle WITH_SMP.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_pc_get): New function.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac: Delete SIM_DV_SOCKSER_O check.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+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.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
+       string.h & strings.h & time.h.
+       * aclocal.m4, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-03-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * configure.ac: Fail if dv-sockser.o not available.
+       Error when --disable-sim-hardware is specified.
+       * tconfig.in: Conditionalize use of dv_sockser_install.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+
+2012-06-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * interp.c: Include config.h first.  Do not include sysdep.h.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-02-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * interp.c (sim_fetch_register): Return length, not -1.
+
+2012-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * sim-main.h: Reformat copyright header.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-11-07  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/9302
+       * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &.
+
+2011-10-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after common/acinclude.m4 update.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2011-06-20  Nick Clifton  <nickc@redhat.com>
+
+       * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * interp.c (sim_store_register): Update return value to
+       match new API.
+
+2010-04-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-mn103ser.c (sockser_addr, USE_SOCKSER_P): Delete
+       (do_polling_event): Change USE_SOCKSER_P to dv_sockser_status.
+       (read_status_reg): Likewise.
+       (write_txb): Likewise.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-06-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
+       * am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
+       2000-05-29  Alexandre Oliva  <aoliva@cygnus.com>
+       * interp.c (fpu_disabled_exception, fpu_unimp_exception,
+       fpu_check_signal_exception): Take additional state arguments.
+       Print exception type and call program_interrupt.  Adjust callers.
+       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
+       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
+       arguments.
+       * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
+       fpu_check_signal_exception): Adjust prototypes.
+       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
+       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
+       * am33-2.igen: Adjust calls.
+       2000-05-19  Alexandre Oliva  <aoliva@cygnus.com>
+       * op_utils.c (cmp2fcc): Moved...
+       * interp.c: ... here.
+       2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
+       * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
+       `signed64' where type width is relevant.
+       2000-05-15  Alexandre Oliva  <aoliva@cygnus.com>
+       * mn10300_sim.h: Include sim-fpu.h.
+       (FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
+       (fpu_check_signal_exception): Declare.
+       (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
+       (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
+       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
+       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
+       * interp.c (fpu_disabled_exception): Document.
+       (fpu_unimp_exception): Likewise.
+       (fpu_check_signal_exception): Define.
+       (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
+       (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
+       (REG2VAL, ROUND, VAL2REG): Define shorthands.
+       (fpu_status_ok): Define.
+       (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
+       fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
+       * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
+       fmadd, fmsub, fnmadd, fnmsub): Use new functions.
+       2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
+       * interp.c (sim_create_inferior): Set PSW bit to enable FP insns
+       if architecture is AM33/2.0.
+       * am33.igen: Include am33-2.igen.
+       2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
+       * mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
+       * am33.igen (movm): Likewise.
+       2000-04-19  Alexandre Oliva  <aoliva@cygnus.com>
+       * am33.igen: Added `*am33_2' to some instructions that were
+       missing it.
+       2000-04-07  Alexandre Oliva  <aoliva@cygnus.com>
+       * am33-2.igen: New file.  All insns implemented, but FP flags are
+       only set for fcmp, exceptional conditions are not handled yet.
+       * Makefile.in (IGEN_INSN): Added am33-2.igen.
+       (tmp-igen): Added -M am33_2.
+       * mn10300.igen, am33.igen: Added `*am33_2' to all insns.
+       * gencode.c: Support FMT_D3.
+       * mn10300_sim.h (dword): New type.
+       (struct _state): Added fpregs.
+       (REG_FPCR, FPCR): New define.  All assorted bitmaps.
+       (XS2FS, AS2FS, Xf2FD): New macros.
+       (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
+       (load_dword, store_dword): New functions or macros.
+       (u642dw, dw2u64): New functions.
+       (fpu_disabled_exception, fpu_unimp_exception): Declared.
+       * interp.c (fpu_disabled_exception): Defined; no actual
+       implementation.
+       (fpu_unimp_exception): Likewise.
+       * op_utils.c (cmp2fcc): New function.
+
+       * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
+       and definitions to ISO C.
+
+       * gencode.c, simops.c: Delete.
+       * Makefile.in: Remove non-COMMON dependencies and commands.
+
+       * configure.in: Use common simulator always.  Don't subst sim_gen
+       nor mn10300_common.
+       * configure: Rebuilt.
+       * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP,
+       WITHOUT_COMMON_RUN_OBJS): Remove.
+       (WITH_COMMON_OBJS): Rename to MN10300_OBJS.
+       (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP.
+       (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS.
+       (SIM_EXTRA_CFLAGS): Don't use @sim_gen@.
+       * interp.c: Remove non-common bits.
+       * mn10300_sim.h: Likewise.
+
+2003-08-28  Andrew Cagney  <cagney@redhat.com>
+
+       * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
+       "long".
+       (read_status_reg): Cast "serial_reg" to "long".
+       * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
+       "long".
+       (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_open, sim_create_inferior, sim_open)
+       (sim_create_inferior): Rename _bfd to bfd.
+
+2003-02-26  Andrew Cagney  <cagney@redhat.com>
+
+       * am33.igen: Call sim_engine_abort instead of abort.
+
+2003-02-26  David Carlton  <carlton@math.stanford.edu>
+
+       * dv-mn103tim.c (read_special_timer6_reg): Add break after
+       empty default: label.
+       (write_special_timer6_reg): Ditto.
+       Update copyright.
+
+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.
+
+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.
+
+2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
+       Depend on targ-vals.h.
+
+2001-04-15  J.T. Conklin  <jtc@redback.com>
+
+       * Makefile.in (simops.o): Add simops.h to dependency list.
+
+Wed Aug  9 02:24:53 2000  Graham Stott  <grahams@cygnus.co.uk>
+
+       * am33.igen: Warning clean-up.
+       (movm): Initialize PC and mask.
+       (mov, movbu, movhu): Set srcreg2 from RI0.
+       (bsch): Initialize c.
+       (sat16_cmp): Actually do the comparison.
+       (mov_llt): Do not overwrite dstreg with uninitialized variable.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-05-22  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * am33.igen: Fix leading comments of SP-relative offset insns that
+       referred to other registers.  Make their offsets unsigned.
+
+2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
+       genericXor, genericBtst): Use `unsigned32'.
+       * op_utils.c: Likewise.
+       * mn10300.igen, am33.igen: Use `unsigned32', `signed32',
+       `unsigned64' or `signed64' where type width is relevant.
+
+2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
+
+2000-04-09  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * am33.igen: Make SP-relative offsets unsigned.  Add `*am33' for
+       some instructions that were missing it.
+
+2000-03-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * Makefile.in (IGEN_INSN): Added am33.igen.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Jul 13 13:26:20 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c: Clarify error message reporting an unknown board.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-16  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * interp.c (program_interrupt): Detect undesired recursion using
+       static flag.  Set NMIRC register's SYSEF flag during
+       --board=stdeval1 mode.
+       * dv-mn103-int.c (write_icr): Add backdoor address to allow CPU to
+       set SYSEF flag.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Define a POLL_QUIT_INTERVAL
+       for use in the simulator so that the poll_quit callback is
+       not called too often.
+
+Tue Mar  9 21:26:41 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103int.c (mn103int_ioctl): Return something.
+       * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around &&
+       within ||.
+
+Tue Feb 16 23:57:17 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300.igen (retf): Fix return address computation and store
+       the new pc value into nia.
+
+1998-12-29  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o.
+       * interp.c (sim_open): Add stub mn103002 cache control memory regions.
+       Set OPERATING_ENVIRONMENT on "stdeval1" board.
+       (mn10300_core_signal): New function to intercept memory errors.
+       (program_interrupt): New function to dispatch to exception vector
+       (mn10300_exception_*): New functions to snapshot pre/post exception
+       state.
+       * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal.
+       (SIM_ENGINE_HALT_HOOK): Do nothing.
+       (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*().
+       (_sim_cpu): Add exc_* fields to store register value snapshots.
+       * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O.
+       Various endianness and warning fixes.
+       * mn10300.igen (illegal): Call program_interrupt on error.
+       (break): Call program_interrupt on breakpoint
+
+       Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
+       merged in:
+       * dv-mn103int.c (mn103int_ioctl): New function for NMI
+       generation. (mn103int_finish): Install it as ioctl handler.
+       * dv-mn103tim.c: Support timer 6 specially.  Endianness fixes.
+
+Wed Oct 14 12:11:05 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Allow autoincrement stores using the same register
+       for source and destination operands.
+
+Mon Aug 31 10:19:55 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu".
+
+Fri Aug 28 14:40:49 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * interp.c (sim_open): Check for invalid --board option, fix
+       indentation, allocate memory for mem control and DMA regs.
+
+Wed Aug 26 09:29:38 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * mn10300.igen (div,divu): Fix divide instructions so divide by 0
+       behaves like the hardware.
+
+Mon Aug 24 11:50:09 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
+
+Wed Aug 12 12:36:07 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Handle case where first DSP operation modifies a
+       register used in the second DSP operation correctly.
+
+Tue Jul 28 10:10:25 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Detect cases where two operands must not match for
+       DSP instructions too.
+
+Mon Jul 27 12:04:17 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Detect cases where two operands must not match in
+       non-DSP instructions.
+
+Fri Jul 24 18:15:21 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * op_utils.c (do_syscall): Rewrite to use common/syscall.c.
+       (syscall_read_mem, syscall_write_mem): New functions for syscall
+       callbacks.
+       * mn10300_sim.h: Add prototypes for syscall_read_mem and
+       syscall_write_mem.
+       * mn10300.igen: Change C++ style comments to C style comments.
+       Check for divide by zero in div and divu ops.
+
+Fri Jul 24 12:49:28 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen (translate_xreg): New function.  Use it as needed.
+
+Thu Jul 23 10:05:28 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Add some missing instructions.
+
+       * am33.igen: Autoincrement loads/store fixes.
+
+Tue Jul 21 09:48:14 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen: Add mov_lCC DSP instructions.
+
+       * am33.igen: Add most am33 DSP instructions.
+
+Thu Jul  9 10:06:55 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300.igen: Fix Z bit for addc and subc instructions.
+       Minor fixes in multiply/divide patterns.
+
+       * am33.igen: Add missing mul[u] imm32,Rn.  Fix condition code
+       handling for many instructions.  Fix sign extension for some
+       24bit immediates.
+
+       * am33.igen: Fix Z bit for remaining addc/subc instructions.
+       Do not sign extend immediate for mov imm,XRn.
+       More random mul, mac & div fixes.
+       Remove some unused variables.
+       Sign extend 24bit displacement in memory addresses.
+
+       * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn.  Various
+       fixes to 2 register multiply, divide and mac instructions.  Set
+       Z,N correctly for sat16.  Sign extend 24 bit immediate for add,
+       and sub instructions.
+
+       * am33.igen: Add remaining non-DSP instructions.
+
+Wed Jul  8 16:29:12 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * am33.igen (translate_rreg): New function.  Use it as appropriate.
+
+       * am33.igen: More am33 instructions.  Fix "div".
+
+Mon Jul  6 15:39:22 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300.igen: Add am33 support.
+
+       * Makefile.in: Use multi-sim to support both a mn10300 and am33
+       simulator.
+
+       * am33.igen: Add many more am33 instructions.
+
+Wed Jul  1 17:07:09 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h (FETCH24): Define.
+
+       * mn10300_sim.h: Add defines for some registers found on the AM33.
+       * am33.igen: New file with some am33 support.
+
+Tue Jun 30 11:23:20 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h: Include bfd.h
+       (struct state): Add more room for processor specific registers.
+       (REG_E0): Define.
+
+Thu Jun 25 10:12:03 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * dv-mn103tim.c: Include sim-assert.h
+       * dv-mn103ser.c (do_polling_event): Check for incoming data on
+       serial line and schedule next polling event.
+       (read_status_reg): schedule events to check for incoming data on
+       serial line and issue interrupt if necessary.
+
+Fri Jun 19 16:47:27 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo).
+
+Fri Jun 19 11:59:26 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * interp.c (board): Rename am32 to stdeval1 as this is the name
+       consistently used to refer to the mn1030002 board.
+
+Thu June 18 14:37:14 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * interp.c (sim_open): Fix typo in address of EXTMD register
+       (0x34000280, not 0x3400280).
+
+Wed Jun 17 18:00:18 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (syscall): Handle change in opcode # for syscall.
+       * mn10300.igen (syscall): Likewise.
+
+Tue June 16 09:36:21 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
+       reset) are not enabled on reset.
+
+Sun June 14 17:04:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o
+       register bits.
+       * dv-mn103ser.c: Fill in methods for reading and writing to serial
+       device registers.
+       * interp.c (sim_open): Make the serial device a polling device.
+
+Fri June 12 16:24:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * dv-mn103iop.c: New file for handling am32 io ports.
+       * configure.in: Add mn103iop to hw_device list.
+       * configure: Re-generate.
+       * interp.c (sim_open): Create io port device.
+
+Wed June 10 14:34:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * dv-mn103int.c (external_group): Use enumerated types to access
+       correct group addresses.
+       * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
+       triggers an interrupt on the higher-numbered timer's port.
+
+Mon June 8 13:30:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+       * interp.c: (mn10300_option_handler): New function parses arguments
+       using sim-options.
+       * (board): Add --board option for specifying am32.
+       * (sim_open): Create new timer and serial devices and control
+       configuration of other am32 devices via board option.
+       * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
+       * dv-mn103cpu.c: Fix typos in opening comments.
+       * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
+       * configure.in: Add mn103tim and mn103ser to hw_device list.
+       * configure: Re-generate.
+
+Mon May 25 20:50:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
+
+       * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
+       sim-main.h. Declare a struct hw_descriptor instead of struct
+       hw_device_descriptor.
+
+Mon May 25 17:33:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
+       to struct hw_event.
+
+Fri May 22 12:17:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
+
+Wed May  6 13:29:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Create a polling PAL device.
+
+Fri May  1 16:39:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103int.c (mn103int_port_event):
+       (mn103int_port_event):
+       (mn103int_io_read_buffer):
+       (mn103int_io_write_buffer):
+
+       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
+       (mn103cpu_port_event): Ditto.
+       (mn103cpu_io_read_buffer): Ditto.
+       (mn103cpu_io_write_buffer): Ditto.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:19:55 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:19:07 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Tue Apr 14 10:03:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mn10300_sim.h: Declare all functions in op_utils.c using
+       INLINE_SIM_MAIN.
+       * op_utils.c: Ditto.
+       * sim-main.c: New file.  Include op_utils.c.
+
+       * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
+       differentiate between MOV/CMP immediate/register instructions.
+
+       * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
+       * configure: Regenerate.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (hw): Delete variable, moved to SIM_DESC.
+       (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
+       Handled by sim-module.
+       (sim_open): Do not anotate tree with trace properties, handled by
+       sim-hw.c
+       (sim_open): Call sim_hw_parse instead of hw_tree_parse.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Mar 26 20:46:18 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * dv-mn103cpu.c (deliver_mn103cpu_interrupt):  Save the entire PC
+       on the stack when delivering interrupts (not just the lower
+       half)...
+       * mn10300.igen (mov (Di,Am),Dn):  Fix decode.  Registers were
+       specified in the wrong order.
+
+Fri Mar 27 00:56:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
+       succeeding interrupts, clear pending_handler when the handler
+       isn't re-scheduled.
+
+Thu Mar 26 10:11:01 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * Makefile.in (tmp-igen):  Prefix all usage of move-if-change
+       script with $(SHELL) to make NT native builds happy.
+       * configure:  Regenerate because of change to ../common/aclocal.m4.
+
+Thu Mar 26 11:22:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Make --enable-sim-common the default.
+       * configure: Re-generate.
+
+       * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
+       address into Sate.regs[REG_PC] instead of common struct.
+
+Wed Mar 25 17:42:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
+
+Wed Mar 25 12:08:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * simops.c (OP_F0FD): Initialise variable 'sp'.
+
+Thu Mar 26 00:21:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-mn103int.c (decode_group): A group register every 4 bytes not
+       8.
+       (write_icr): Rewrite equation updating request field.
+       (read_iagr): Fix check that interrupt is still pending.
+
+Wed Mar 25 16:14:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Tidy up device creation.
+
+       * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
+       value.
+       (mn103int_io_read_buffer): Convert absolute address to register
+       block offsets.
+       (read_icr, write_icr): Convert block offset into group offset.
+
+Wed Mar 25 15:08:49 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Create second 1mb memory region at
+       0x40000000.
+       (sim_open): Create a device tree.
+       (sim-hw.h): Include.
+       (do_interrupt): Delete, needs to use dv-mn103cpu.c
+
+       * dv-mn103int.c, dv-mn103cpu.c: New files.
+
+Wed Mar 25 08:47:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
+       Define.
+       (SP): Define.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 10:24:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim-options.h): Include.
+       (sim_kind, myname): Declare when not using common framework.
+
+       * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
+       functions found in op_utils.c
+
+       * mn10300.igen (add): Discard unused variables.
+
+       * configure, config.in: Re-generate with autoconf 2.12.1.
+
+Tue Mar 24 15:27:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       Add support for --enable-sim-common option.
+       * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
+       ! --enable-sim-common
+       (WITH_COMMON_OBJS): Files included if --enable-sim-common.
+       (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
+       (SIM_OBJS): Rewrite.
+       ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
+       (SIM_EXTRA_CFLAGS): New variable.
+       (clean-extra): Clean up igen files.
+       (../igen/igen,clean-igen,tmp-igen): New rules.
+       * configure.in: Add support for common framework via
+       --enable-sim-common.
+       * configure: Regenerate.
+       * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
+       (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
+       (init_system,sim_write,compare_simops): Likewise.
+       (sim_set_profile,sim_set_profile_size): Likewise.
+       (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
+       (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
+       (enum interrupt_type): New enum.
+       (interrupt_names): New global.
+       (do_interrupt): New function.
+       (sim_open): Define differently if WITH_COMMON.
+       (sim_close,sim_create_inferior,sim_do_command): Likewise.
+       * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
+       for WITH_COMMON.
+       * mn10300.igen: New file.
+       * mn10300.dc: New file.
+       * op_utils.c: New file.
+       * sim-main.h: New file.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Feb 27 18:36:04 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (inc): Fix typo.
+
+Wed Feb 25 01:59:29 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (signed multiply instructions): Cast input operands to
+       signed32 before casting them to signed64 so that the sign bit
+       is propagated properly.
+
+Mon Feb 23 20:23:19 1998  Mark Alexander  <marka@cygnus.com>
+
+       * Makefile.in: Last change was bad.  Define NL_TARGET
+       so that targ-vals.h will be used instead of syscall.h.
+       * simops.c: Use targ-vals.h instead of syscall.h.
+       (OP_F020): Disable unsupported system calls.
+
+Mon Feb 23 09:44:38 1998  Mark Alexander  <marka@cygnus.com>
+
+       * Makefile.in: Get header files from libgloss/mn10300/sys.
+
+Sun Feb 22 16:02:24 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Include sim-types.h.
+
+Wed Feb 18 13:07:08 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (multiply instructions): Cast input operands to a
+       signed64/unsigned64 type as appropriate.
+
+Tue Feb 17 12:47:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Nov 11 10:38:52 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (call:16 call:32): Stack adjustment is determined solely
+       by the imm8 field.
+
+Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_load): Pass lma_p and sim_write args to
+       sim_load_file.
+
+Tue Oct 21 10:12:03 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Correctly handle register restores for "ret" and "retf"
+       instructions.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:41:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 16:14:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add ABFD argument.
+
+Tue Jun 24 13:46:20 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_resume): Clear State.exited.
+       (sim_stop_reason): If State.exited is nonzero, then indicate that
+       the simulator exited instead of stopped.
+       * mn10300_sim.h (struct _state): Add exited field.
+       * simops.c (syscall): Set State.exited for SYS_exit.
+
+Wed Jun 11 22:07:56 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix thinko in last change.
+
+Tue Jun 10 12:31:32 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: "call" stores the callee saved registers into the
+       stack!  Update the stack pointer properly when done with
+       register saves.
+
+       * simops.c: Fix return address computation for "call" instructions.
+
+Thu May 22 01:43:11 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_open): Fix typo.
+
+Wed May 21 23:27:58 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_resume): Add missing case in big switch
+       statement (for extb instruction).
+
+Tue May 20 17:51:30 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c: Replace all references to load_mem and store_mem
+       with references to load_byte, load_half, load_3_byte, load_word
+       and store_byte, store_half, store_3_byte, store_word.
+       (INLINE): Delete definition.
+       (load_mem_big): Likewise.
+       (max_mem): Make it global.
+       (dispatch): Make this function inline.
+       (load_mem, store_mem): Delete functions.
+       * mn10300_sim.h (INLINE): Define.
+       (RLW): Delete unused definition.
+       (load_mem, store_mem): Delete declarations.
+       (load_mem_big): New definition.
+       (load_byte, load_half, load_3_byte, load_word): New functions.
+       (store_byte, store_half, store_3_byte, store_word): New functions.
+       * simops.c:  Replace all references to load_mem and store_mem
+       with references to load_byte, load_half, load_3_byte, load_word
+       and store_byte, store_half, store_3_byte, store_word.
+
+Tue May 20 10:21:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add callback to arguments.
+       (sim_set_callbacks): Delete SIM_DESC argument.
+
+Mon May 19 13:54:22 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (dispatch): Make this an inline function.
+
+       * simops.c (syscall): Use callback->write regardless of
+       what file descriptor we're writing too.
+
+Sun May 18 16:46:31 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (load_mem_big): Remove function.  It's now a macro
+       defined elsewhere.
+       (compare_simops): New function.
+       (sim_open): Sort the Simops table before inserting entries
+       into the hash table.
+       * mn10300_sim.h: Remove unused #defines.
+       (load_mem_big): Define.
+
+Fri May 16 16:36:17 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (load_mem): If we get a load from an out of range
+       address, abort.
+       (store_mem): Likewise for stores.
+       (max_mem): New variable.
+
+Tue May  6 13:24:36 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h: Fix ordering of bits in the PSW.
+
+       * interp.c: Improve hashing routine to avoid long list
+       traversals for common instructions.  Add HASH_STAT support.
+       Rewrite opcode dispatch code using a big switch instead of
+       cascaded if/else statements.  Avoid useless calls to load_mem.
+
+Mon May  5 18:07:48 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h (struct _state): Add space for mdrq register.
+       (REG_MDRQ): Define.
+       * simops.c: Don't abort for trap.  Add support for the extended
+       instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
+       and "bsch".
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 18 14:04:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop): Add stub function.
+
+Thu Apr 17 03:26:59 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * interp.c (sim_kind, myname): New static locals.
+       (sim_open): Set sim_kind, myname.  Ignore -E arg.
+       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
+       load file into simulator.  Set start address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Wed Apr 16 19:30:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
+       only include if implemented by host.
+       (OP_F020): Typecast arg passed to time function;
+
+Mon Apr  7 23:57:49 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (syscall): Handle new mn10300 calling conventions.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr  4 20:02:37 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
+       corresponding change in opcodes directory.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Mar 20 11:58:02 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix register extraction for a two "movbu" variants.
+       Somewhat simplify "sub" instructions.
+       Correctly sign extend operands for "mul".  Put the correct
+       half of the result in MDR for "mul" and "mulu".
+       Implement remaining instructions.
+       Tweak opcode for "syscall".
+
+Tue Mar 18 14:21:21 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Do syscall emulation in "syscall" instruction.  Add
+       dummy "trap" instruction.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 12:54:45 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New SIM_DESC result.  Argument is now
+       in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Wed Mar 12 15:04:00 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix carry bit computation for "add" instructions.
+
+       * simops.c: Fix typos in bset insns.  Fix arguments to store_mem
+       for bset imm8,(d8,an) and bclr imm8,(d8,an).
+
+Wed Mar  5 15:00:10 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix register references when computing Z and N bits
+       for lsr imm8,dn.
+
+Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Fri Jan 24 10:47:25 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (init_system): Allocate 2^19 bytes of space for the
+       simulator.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Tue Jan 21 15:03:04 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Undo last change to "rol" and "ror", original code
+       was correct!
+
+Thu Jan 16 11:28:14 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix "rol" and "ror".
+
+Wed Jan 15 06:45:58 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix typo in last change.
+
+Mon Jan 13 13:22:35 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Use REG macros in few places not using them yet.
+
+Mon Jan  6 16:21:19 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h (struct _state): Fix number of registers!
+
+Tue Dec 31 16:20:41 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10300_sim.h (struct _state): Put all registers into a single
+       array to make gdb implementation easier.
+       (REG_*): Add definitions for all registers in the state array.
+       (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
+       * simops.c: Related changes.
+
+Wed Dec 18 10:10:45 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_resume): Handle 0xff as a single byte insn.
+
+       * simops.c: Fix overflow computation for "add" and "inc"
+       instructions.
+
+Mon Dec 16 10:03:52 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Handle "break" instruction.
+
+       * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
+
+Wed Dec 11 09:53:10 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * gencode.c (write_opcodes): Also write out the format of the
+       opcode.
+       * mn10300_sim.h (simops): Add "format" field.
+       * interp.c (sim_resume): Deal with endianness issues here.
+
+Tue Dec 10 15:05:37 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (REG0_4): Define.
+       Use REG0_4 for indexed loads/stores.
+
+Sat Dec  7 09:50:28 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (REG0_16): Fix typo.
+
+Fri Dec  6 14:13:34 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Call abort for any instruction that's not currently
+       simulated.
+
+       * simops.c: Define accessor macros to extract register
+       values from instructions.  Use them consistently.
+
+       * interp.c: Delete unused global variable "OP".
+       (sim_resume): Remove unused variable "opcode".
+       * simops.c: Fix some uninitialized variable problems, add
+       parens to fix various -Wall warnings.
+
+       * gencode.c (write_header): Add "insn" and "extension" arguments
+       to the OP_* declarations.
+       (write_template): Similarly for function templates.
+       * interp.c (insn, extension): Remove global variables.  Instead
+       pass them as arguments to the OP_* functions.
+       * mn10300_sim.h: Remove decls for "insn" and "extension".
+       * simops.c (OP_*): Accept "insn" and "extension" as arguments
+       instead of using globals.
+
+Thu Dec  5 22:26:31 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
+
+       * simops.c: Fix thinkos in last change to "inc dn".
+
+Wed Dec  4 10:57:53 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: "add imm,sp" does not effect the condition codes.
+       "inc dn" does effect the condition codes.
+
+Tue Dec  3 17:37:45 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Treat both operands as signed values for
+       "div" instruction.
+
+       * simops.c: Fix simulation of division instructions.
+       Fix typos/thinkos in several "cmp" and "sub" instructions.
+
+Mon Dec  2 12:31:40 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix carry bit handling in "sub" and "cmp"
+       instructions.
+
+       * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
+
+Sun Dec  1 16:05:42 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix overflow computation for many instructions.
+
+       * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
+
+       * simops.c: Fix "mov am, dn".
+
+       * simops.c: Fix more bugs in "add imm,an" and
+       "add imm,dn".
+
+Wed Nov 27 09:20:42 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix bugs in "movm" and "add imm,an".
+
+       * simops.c: Don't lose the upper 24 bits of the return
+       pointer in "call" and "calls" instructions.  Rough cut
+       at emulated system calls.
+
+       * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
+
+       * simops.c: Implement remaining 4 byte instructions.
+
+       * simops.c: Implement remaining 3 byte instructions.
+
+       * simops.c: Implement remaining 2 byte instructions.  Call
+       abort for instructions we're not implementing now.
+
+Tue Nov 26 15:43:41 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Implement lots of random instructions.
+
+       * simops.c: Implement "movm" and "bCC" insns.
+
+       * mn10300_sim.h (_state): Add another register (MDR).
+       (REG_MDR): Define.
+       * simops.c: Implement "cmp", "calls", "rets", "jmp" and
+       a few additional random insns.
+
+       * mn10300_sim.h (PSW_*): Define for CC status tracking.
+       (REG_D0, REG_A0, REG_SP): Define.
+       * simops.c: Implement "add", "addc" and a few other random
+       instructions.
+
+       * gencode.c, interp.c: Snapshot current simulator code.
+
+Mon Nov 25 12:46:38 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in, config.in, configure, configure.in: New files.
+       * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
deleted file mode 100644 (file)
index b76988d..0000000
+++ /dev/null
@@ -1,752 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Change @MAINTAINER_MODE_TRUE@ to $(MAINT).
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (DTC): Delete.
-       * configure.ac: Delete AC_CHECK_TOOL call.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete sys/times.h include.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       * interp.c: Include targ-vals.h.
-       (sim_engine_run): Change numeric literals to SYS_ constants.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Luis Machado  <luis.machado@linaro.org>
-
-       * Makefile.in (moxie-gdb.dtb): Add maintainer mode dependency.
-       (install-dtb): Install prebuilt dtb file.
-       * moxie-gdb.dtb: New prebuilt file.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_create_inferior): Add const to avp.
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
-       * configure: Regenerate.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2019-12-14  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_engine_run): Make use of sim_io_* functions for
-       read/write/open system calls.  Implement the unlink system call.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-09-03  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_engine_run): Always pass scpu into
-       sim_engine_halt.  Process events within inner loop.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * Makefile.in (SIM_CFLAGS): Rename to ...
-       (SIM_EXTRA_CFLAGS): ... this.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_store_register): Rename to ...
-       (moxie_reg_store): ... this.
-       (sim_fetch_register): Rename to ...
-       (moxie_reg_fetch): ... this.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-10-11  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/18273
-       * interp.c (load_dtb): Close open file in error path.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (tracefile, tracing): Delete.
-       (MOXIE_TRACE_INSN): Call TRACE_INSN directly.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (TRACE): Rename to ...
-       (MOXIE_TRACE_INSN): ... this.
-       (sim_engine_run): Change TRACE to MOXIE_TRACE_INSN.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (wbat, wsat, wlat, rsat, rbat, rlat, sim_engine_run):
-       Change CIA_GET to CPU_PC_GET.
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (moxie_pc_get, moxie_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
-       CPU_PC_STORE for all cpus.
-       * sim-main.h (SIM_CPU): New typedef.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-resume.o.
-       * interp.c (moxie_regset): Delete exception.
-       (sim_resume): Rename to ...
-       (sim_engine_run): ... this.  Delete insts variable and references
-       to cpu.asregs.exception, and change most to sim_engine_halt.  Move
-       trailing insts and PC_REGNO updates into the loop.
-       (load_dtb): Delete open warning.  Change printf to sim_io_eprintf.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (moxie_extract_unsigned_integer): Mark static.  Update
-       prototype.  Change printf %d to %zu.
-       (moxie_store_unsigned_integer): Mark static.  Update prototype.
-       (wbat, wsat, wlat, rsat, rbat, rlat): Move INLINE after static.
-       (convert_target_flags): Mark static.
-       (sim_resume): Update prototype.  Move val decl above local code.
-       (sim_store_register, sim_fetch_register, sim_open, sim_close,
-       sim_create_inferior): Update prototype.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * interp.c: Delete gdb/callback.h include.  Add sim-options.h include.
-       (callback, myname, sim_kind): Delete.
-       (tracefile, tracine, TRACE): Move code together and add a TODO.
-       (struct moxie_regset): Add a TODO.
-       (cpu): Likewise.
-       (callback, issue_messages, sim_size, sim_write, sim_read, sim_trace,
-       sim_stop_reason, sim_stop, sim_info, sim_load, sim_set_callbacks):
-       Delete.
-       (set_initial_gprs): Change prototype to (void).
-       (free_state): New function.
-       (sim_open): Call sim_cpu_alloc_all, sim_parse_args, and
-       sim_analyze_program.  Move set_initial_gprs to the end.  Set
-       STATE_WATCHPOINTS pc data.  Delete callback, myname, and
-       issue_messages.  Call free_state on error.
-       (sim_create_inferior): Delete references to issue_messages and
-       set_initial_gprs.
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * sim-main.h (struct sim_state): Change cpu to a pointer array.
-       (STATE_CPU): Drop the &.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-command.o.
-       * interp.c (sim_do_command): Delete.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CLEAN): Delete.
-       (all): Drop interp.o dependency.
-       (interp.o, mcore-clean): Delete rules.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2015-02-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Delete sysdep.h and netinet/in.h includes.
-       Include string.h and unistd.h.
-       * sysdep.h: Delete.
-
-2015-02-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_kill): Delete unused func.
-
-2014-12-27  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (EXTRACT_OFFSET): Define.
-       (sim_resume): ldo/sto instructions now use 16 bit offset instead
-       of 32.  Also swap mul.x/umul.x opcodes (reversed by mistake).
-
-2014-12-25  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Whitespace changes to align with GDB
-       coding standard.
-
-2014-12-24  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add mul.x and umul.x instructions.
-
-2014-12-12  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add zex instructions.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-04-02  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add new sign-extend instructions.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-02-17  Mike Frysinger  <vapier@gentoo.org>
-
-       PR gdb/16450
-       * interp.c (interrupt): Delete.
-       (sim_resume): Delete signal(SIGINT) handling.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-26  Tom Tromey  <tromey@redhat.com>
-
-       * Makefile.in (dtbdir): Don't use gdb's version.in.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-01-17  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_open): Remove from debug output.
-
-2012-09-07  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Branches are now relative to the
-         address of the instruction following the branch.
-
-2012-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include config.h first.  Also include fcntl.h directly.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-       * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
-
-2010-02-03  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
-       instruction.
-
-2010-01-13  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_open): Add period to end of sentence in comment.
-
-2010-01-13  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_open): Initialize the SIM_DESC object properly
-       with sim_config() and sim_post_argv_init().
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-09-10  Anthony Green  <green@moxielogic.com>
-
-       * Makefile.in (install-dtb): New target.
-       (moxie-gdb.dtb): New target.
-       (SIM_CFLAGS): Define DTB macro on command line.
-       (SIM_OBJS): Use common infrastructire.
-       (dtbdir): Define install location for dtb file.
-
-       * sim-main.h: New file.
-       * moxie-gdb.dts: New file.
-       * configure.ac: Check for dtc.  Install dtb file.  Remove some old
-       cruft.
-       * configure: Regenerate.
-       * interp.c: Many changes to use common memory infrastructure.
-       (load_dtb): New function.
-       (sim_create_inferior): Call it.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-31  Anthony Green  <green@moxielogic.com>
-
-       * interp.c: Increase simulated memory to 16MB.
-       (sim_resume): Tweak swi system calls to support new ABI (up to 5
-       args in regs).  Also simluate proper exception processing for
-       Linux system calls.
-
-2009-07-30  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add system call software interrupt support.
-
-2009-06-11  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (INST2OFFSET): Define.
-       (sim_resume): Support new PC relative branch instructions.
-
-2009-05-09  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add missing breaks in switch.
-
-2008-10-03  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
-
-2008-09-10  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (NUM_SPRO_SREGS): New.
-       (struct moxie_regset): Add sregs.
-       (set_initial_gprs): Initialize sregs.
-       (sim_resume): Add gsr and ssr support.
-
-2008-09-04  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add inc and dec instructions.
-
-2008-09-04  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (struct moxie_regset): Use an unsigned long long to keep
-       track of instruction trace counts.
-       * interp.c (sim_resume): Ditto.
-       (sim_info): Ditto.
-
-2008-08-22  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Remove debugging code.
-
-2008-08-20  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (TRACE): Add new tracing infrastructure.
-       (sim_resume): Use it.
-       (reg_names): Add new registers.
-       (NUM_MOXIE_REGS): New registers.
-       (PC_REGNO): New registers.
-       (sim_resume): New instruction encodings.
-
-2008-08-16  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
-       (convert_target_flags): New function.
-
-2008-08-08  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add SYS_open and SYS_write system call support.
-
-2008-08-04  Anthony Green  <green@moxielogic.com>
-
-       * Makefile.in (SIM_EXTRA_LIBS): Add -lz.
-
-2008-08-04  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_create_inferior): Set argc & argv in the target.
-
-2008-04-12  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add brk.
-
-2008-04-10  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add static chain pointer to call frame.
-
-2008-03-24  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add missing breaks.
-       (sim_resume): Fix neg implementation.
-
-2008-03-23  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_load): Don't require a .bss section.
-
-2008-03-21  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
-       not, ashr, xor.
-
-2008-03-20  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (struct moxie_regset): Add condition code, cc.
-       (CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
-       (sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
-       bge, ble, bgeu, and bleu.
-       (rbat, rsat, wbat, wsat): New functions.
-       (sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
-       sta.b, st.s, sta.s, jmp.
-
-2008-03-19  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
-       jsra should set $fp == $sp.
-       Fix jsra and ret semantics.
-
-2008-03-18  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (sim_resume): Add push, pop and add.l.
-
-2008-03-16  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (EXTRACT_WORD): Define.
-       (rlat): Use EXTRACT_WORD.
-       (sim_resume): Add jsra and ret.
-
-2008-02-22  Anthony Green  <green@moxielogic.com>
-
-       * interp.c (reg_names): Define.
-       (sim_resume): Use reg_names.
-
-2008-02-21  Anthony Green  <green@moxielogic.com>
-
-       * config.in, configure, configure.ac, interp.c, Makefile.in,
-       sysdep.h: Created.
diff --git a/sim/moxie/ChangeLog-2021 b/sim/moxie/ChangeLog-2021
new file mode 100644 (file)
index 0000000..b76988d
--- /dev/null
@@ -0,0 +1,752 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Change @MAINTAINER_MODE_TRUE@ to $(MAINT).
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (DTC): Delete.
+       * configure.ac: Delete AC_CHECK_TOOL call.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete sys/times.h include.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       * interp.c: Include targ-vals.h.
+       (sim_engine_run): Change numeric literals to SYS_ constants.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Luis Machado  <luis.machado@linaro.org>
+
+       * Makefile.in (moxie-gdb.dtb): Add maintainer mode dependency.
+       (install-dtb): Install prebuilt dtb file.
+       * moxie-gdb.dtb: New prebuilt file.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_create_inferior): Add const to avp.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+       * configure: Regenerate.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2019-12-14  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_engine_run): Make use of sim_io_* functions for
+       read/write/open system calls.  Implement the unlink system call.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-09-03  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_engine_run): Always pass scpu into
+       sim_engine_halt.  Process events within inner loop.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * Makefile.in (SIM_CFLAGS): Rename to ...
+       (SIM_EXTRA_CFLAGS): ... this.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_store_register): Rename to ...
+       (moxie_reg_store): ... this.
+       (sim_fetch_register): Rename to ...
+       (moxie_reg_fetch): ... this.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-10-11  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/18273
+       * interp.c (load_dtb): Close open file in error path.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (tracefile, tracing): Delete.
+       (MOXIE_TRACE_INSN): Call TRACE_INSN directly.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (TRACE): Rename to ...
+       (MOXIE_TRACE_INSN): ... this.
+       (sim_engine_run): Change TRACE to MOXIE_TRACE_INSN.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (wbat, wsat, wlat, rsat, rbat, rlat, sim_engine_run):
+       Change CIA_GET to CPU_PC_GET.
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (moxie_pc_get, moxie_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call CPU_PC_FETCH &
+       CPU_PC_STORE for all cpus.
+       * sim-main.h (SIM_CPU): New typedef.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-resume.o.
+       * interp.c (moxie_regset): Delete exception.
+       (sim_resume): Rename to ...
+       (sim_engine_run): ... this.  Delete insts variable and references
+       to cpu.asregs.exception, and change most to sim_engine_halt.  Move
+       trailing insts and PC_REGNO updates into the loop.
+       (load_dtb): Delete open warning.  Change printf to sim_io_eprintf.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (moxie_extract_unsigned_integer): Mark static.  Update
+       prototype.  Change printf %d to %zu.
+       (moxie_store_unsigned_integer): Mark static.  Update prototype.
+       (wbat, wsat, wlat, rsat, rbat, rlat): Move INLINE after static.
+       (convert_target_flags): Mark static.
+       (sim_resume): Update prototype.  Move val decl above local code.
+       (sim_store_register, sim_fetch_register, sim_open, sim_close,
+       sim_create_inferior): Update prototype.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * interp.c: Delete gdb/callback.h include.  Add sim-options.h include.
+       (callback, myname, sim_kind): Delete.
+       (tracefile, tracine, TRACE): Move code together and add a TODO.
+       (struct moxie_regset): Add a TODO.
+       (cpu): Likewise.
+       (callback, issue_messages, sim_size, sim_write, sim_read, sim_trace,
+       sim_stop_reason, sim_stop, sim_info, sim_load, sim_set_callbacks):
+       Delete.
+       (set_initial_gprs): Change prototype to (void).
+       (free_state): New function.
+       (sim_open): Call sim_cpu_alloc_all, sim_parse_args, and
+       sim_analyze_program.  Move set_initial_gprs to the end.  Set
+       STATE_WATCHPOINTS pc data.  Delete callback, myname, and
+       issue_messages.  Call free_state on error.
+       (sim_create_inferior): Delete references to issue_messages and
+       set_initial_gprs.
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * sim-main.h (struct sim_state): Change cpu to a pointer array.
+       (STATE_CPU): Drop the &.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-command.o.
+       * interp.c (sim_do_command): Delete.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CLEAN): Delete.
+       (all): Drop interp.o dependency.
+       (interp.o, mcore-clean): Delete rules.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2015-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Delete sysdep.h and netinet/in.h includes.
+       Include string.h and unistd.h.
+       * sysdep.h: Delete.
+
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_kill): Delete unused func.
+
+2014-12-27  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (EXTRACT_OFFSET): Define.
+       (sim_resume): ldo/sto instructions now use 16 bit offset instead
+       of 32.  Also swap mul.x/umul.x opcodes (reversed by mistake).
+
+2014-12-25  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Whitespace changes to align with GDB
+       coding standard.
+
+2014-12-24  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add mul.x and umul.x instructions.
+
+2014-12-12  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add zex instructions.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-04-02  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add new sign-extend instructions.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-02-17  Mike Frysinger  <vapier@gentoo.org>
+
+       PR gdb/16450
+       * interp.c (interrupt): Delete.
+       (sim_resume): Delete signal(SIGINT) handling.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-26  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (dtbdir): Don't use gdb's version.in.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-01-17  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_open): Remove from debug output.
+
+2012-09-07  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Branches are now relative to the
+         address of the instruction following the branch.
+
+2012-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include config.h first.  Also include fcntl.h directly.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
+
+2010-02-03  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): nop is 0x0f, and 0x00 is an illegal
+       instruction.
+
+2010-01-13  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_open): Add period to end of sentence in comment.
+
+2010-01-13  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_open): Initialize the SIM_DESC object properly
+       with sim_config() and sim_post_argv_init().
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-09-10  Anthony Green  <green@moxielogic.com>
+
+       * Makefile.in (install-dtb): New target.
+       (moxie-gdb.dtb): New target.
+       (SIM_CFLAGS): Define DTB macro on command line.
+       (SIM_OBJS): Use common infrastructire.
+       (dtbdir): Define install location for dtb file.
+
+       * sim-main.h: New file.
+       * moxie-gdb.dts: New file.
+       * configure.ac: Check for dtc.  Install dtb file.  Remove some old
+       cruft.
+       * configure: Regenerate.
+       * interp.c: Many changes to use common memory infrastructure.
+       (load_dtb): New function.
+       (sim_create_inferior): Call it.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-31  Anthony Green  <green@moxielogic.com>
+
+       * interp.c: Increase simulated memory to 16MB.
+       (sim_resume): Tweak swi system calls to support new ABI (up to 5
+       args in regs).  Also simluate proper exception processing for
+       Linux system calls.
+
+2009-07-30  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add system call software interrupt support.
+
+2009-06-11  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (INST2OFFSET): Define.
+       (sim_resume): Support new PC relative branch instructions.
+
+2009-05-09  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add missing breaks in switch.
+
+2008-10-03  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
+
+2008-09-10  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (NUM_SPRO_SREGS): New.
+       (struct moxie_regset): Add sregs.
+       (set_initial_gprs): Initialize sregs.
+       (sim_resume): Add gsr and ssr support.
+
+2008-09-04  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add inc and dec instructions.
+
+2008-09-04  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (struct moxie_regset): Use an unsigned long long to keep
+       track of instruction trace counts.
+       * interp.c (sim_resume): Ditto.
+       (sim_info): Ditto.
+
+2008-08-22  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Remove debugging code.
+
+2008-08-20  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (TRACE): Add new tracing infrastructure.
+       (sim_resume): Use it.
+       (reg_names): Add new registers.
+       (NUM_MOXIE_REGS): New registers.
+       (PC_REGNO): New registers.
+       (sim_resume): New instruction encodings.
+
+2008-08-16  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add SYS_read, and fix SYS_open and SYS_write.
+       (convert_target_flags): New function.
+
+2008-08-08  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add SYS_open and SYS_write system call support.
+
+2008-08-04  Anthony Green  <green@moxielogic.com>
+
+       * Makefile.in (SIM_EXTRA_LIBS): Add -lz.
+
+2008-08-04  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_create_inferior): Set argc & argv in the target.
+
+2008-04-12  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add brk.
+
+2008-04-10  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add static chain pointer to call frame.
+
+2008-03-24  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add missing breaks.
+       (sim_resume): Fix neg implementation.
+
+2008-03-23  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_load): Don't require a .bss section.
+
+2008-03-21  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add swi, and, lshr, ashl, sub.l, neg, or,
+       not, ashr, xor.
+
+2008-03-20  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (struct moxie_regset): Add condition code, cc.
+       (CC_GT, CC_LT, CC_EQ, CC_GTU, CC_LTU): Define.
+       (sim_resume): Add jmpa, jsr, cmp, beq, bne, blt, bgt, bltu, bgtu,
+       bge, ble, bgeu, and bleu.
+       (rbat, rsat, wbat, wsat): New functions.
+       (sim_resume): Add ld.b, lda.b, ldi.b, ld.s, lda.s, ldi.s, st.b,
+       sta.b, st.s, sta.s, jmp.
+
+2008-03-19  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add ld.l, st.l, lda.l, sta.l.
+       jsra should set $fp == $sp.
+       Fix jsra and ret semantics.
+
+2008-03-18  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (sim_resume): Add push, pop and add.l.
+
+2008-03-16  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (EXTRACT_WORD): Define.
+       (rlat): Use EXTRACT_WORD.
+       (sim_resume): Add jsra and ret.
+
+2008-02-22  Anthony Green  <green@moxielogic.com>
+
+       * interp.c (reg_names): Define.
+       (sim_resume): Use reg_names.
+
+2008-02-21  Anthony Green  <green@moxielogic.com>
+
+       * config.in, configure, configure.ac, interp.c, Makefile.in,
+       sysdep.h: Created.
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
deleted file mode 100644 (file)
index 8aadf38..0000000
+++ /dev/null
@@ -1,522 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c: Include sim-signal.h.
-       * sim-main.h: Delete sim-signal.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * msp430-sim.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CHECK_HEADERS call.
-       * config.in, configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_LIBDEPS): Delete.
-
-2021-02-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_ALL): Delete.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-08-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
-
-       * msp430-sim.c (sim_open): Increase the size of the main memory region
-       to 0xFAC0.
-
-2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
-
-       * msp430-sim.c (put_op): For unsigned multiplication, explicitly cast
-       operands to the unsigned type before multiplying.
-       * msp430-sim.h (struct msp430_cpu_state): Fix types used to store hwmult
-       operands.
-
-2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
-
-       * msp430-sim.c (msp430_step_once): Ignore the carry flag when executing
-       an RRC instruction, if the ZC bit of the extension word is set.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-08-29  Jozef Lawrynowicz  <jozef.l@somniumtech.com>
-
-       * sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
-       arguments for variadic syscall "open".
-
-2016-08-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c: Delete bfd.h include.
-       (lookup_symbol, msp430_sim_close): Delete.
-       (sim_open): Change lookup_symbol to trace_sym_value.
-       * sim-main.h (struct sim_state): Delete symbol_table and
-       number_of_symbols.
-       (STATE_SYMBOL_TABLE, STATE_NUM_SYMBOLS, msp430_sim_close,
-       SIM_CLOSE_HOOK): Delete.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (loader_write_mem): Delete.
-       (lookup_symbol): Return -1 when abfd is NULL.
-       (sim_open): Delete prog_bfd variable.  Delete call to sim_load_file.
-       Delete prog_bfd check.
-
-2016-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete trace.o.
-       * msp430-sim.c: Delete dis-asm.h and trace.h includes.
-       (sim_open): Delete msp430_trace_init call.
-       (msp430_dis_read): Delete function.
-       (msp430_step_once): Replace disassembly logic with a call
-       to TRACE_DISASM.
-       * trace.c, trace.h: Delete files.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (sim_dis_read): Change private_data to application_data.
-       (msp430_step_once): Likewise.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * msp430-sim.c (get_op, put_op): Fix left shift of negative value.
-
-2015-12-07  Nick Clifton  <nickc@redhat.com>
-
-       * msp430-sim.c (sim_open): Check for needed memory at address
-       0x500 not 0x200.
-       (get_op): Add support for F5 hardware multiply addresses.
-       (put_op): Likewise.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
-       sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Rename to ...
-       (msp430_sim_close): ... this.  Delete call to sim_state_free.
-       * sim-main.h (msp430_sim_close): Declare.
-       (SIM_CLOSE_HOOK): Define.
-
-2015-06-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (trace_reg_put): Change TRACE_VPU to TRACE_REGISTER.
-       (trace_reg_get): Likewise.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (maybe_perform_syscall): Replace call to cb_syscall
-       with sim_syscall.
-
-2015-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c: Include sim-syscall.h.
-       (syscall_read_mem, syscall_write_mem): Delete.
-       (maybe_perform_syscall): Change syscall_read_mem/syscall_write_mem
-       to sim_syscall_read_mem/sim_syscall_write_mem.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (trace_reg_put): Replace TRACE_VPU_P/trace_generic
-       with TRACE_VPU.
-       (trace_reg_get): Likewise.
-       (get_op): Replace TRACE_MEMORY_P/trace_generic with TRACE_MEMORY.
-       (put_op): Likewise.
-       (msp430_dis_read): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
-       (do_flags): Likewise.
-       (maybe_perform_syscall): Replace TRACE_SYSCALL_P/trace_generic with
-       TRACE_SYSCALL.
-       (msp430_step_once): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
-       Replace TRACE_BRANCH_P/trace_generic with TRACE_BRANCH.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
-       TRACE_SYSCALL, TRACE_CORE, TRACE_EVENTS, TRACE_BRANCH,
-       trace_register, TRACE_REGISTER, TRACE_REG): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-04-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Delete run-sim.h include.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-       * configure.ac: Call the common inline & warning macros.
-       * msp430-sim.c: Include unistd.h & trace.h.
-       * trace.c: Include trace.h.
-       (load_file_and_line): Move FILE* decl to top of scope.
-       * trace.h (msp430_get_current_source_location): Adjust prototype to
-       match the function definition.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * msp430-sim.c (sim_open): Allocate memory regions matching those
-       declared in the libgloss/msp430 linker scripts.
-       Allow sim_load_file to fail.
-       (get_op): Test the correct address bit when checking for out of
-       range addresses.
-       Include the address in the error message when an illegal access to
-       the hardware multiplier is detected.
-       (put_op): Test the correct address bit when checking for out of
-       range addresses.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-19  Nick Clifton  <nickc@redhat.com>
-
-       * msp430-sim.c: Move static hardware multiply support variables
-       from here...
-       * msp430-sim.h (msp430_cpu_state): ... into here ...
-       * msp430-sim.c (get_op, put_op): ... and update references to use
-       the msp430_cpu_state structure.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-06-03  Nick Clifton  <nickc@redhat.com>
-
-       * msp430-sim.c (get_op): Handle reads of low result register when
-       in MAC mode.
-       (put_op): Copy MAC result into result words.
-       Handle writes to the low result register.
-
-2014-05-12  DJ Delorie  <dj@redhat.com>
-
-       * msp43-sim.c (sign_ext): Change to "long long" to support
-       sign-extending 32-bit values.
-
-2014-05-08  Nick Clifton  <nickc@redhat.com>
-
-       * msp430-sim.c (sim_open): Do not allocate memory over the
-       hardware multiply registers.
-       (get_op): Add support for reads from the hardware multiply
-       registers.
-       (put_op): Add support for writes to the hardware multiply
-       registers.
-       (msp430_step_once): Add support for the RETI instruction used by
-       the CPUX architecture.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim.c (sim_create_inferior): Set new_pc to the result of
-       bfd_get_start_address when abfd is not NULL and new_pc is zero.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * msp430-sim (maybe_perform_syscall): Change %d to %ld.
-       (msp430_step_once): Cast fprintf to fprintf_ftype.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-06-21  Nick Clifton  <nickc@redhat.com>
-
-       * Makefile.in: New.
-       * aclocal.m4: Generate.
-       * config.in: Generate.
-       * configure.ac: New.
-       * configure: Generate.
-       * msp430-sim.c: New.
-       * msp430-sim.h: New.
-       * sim-main.h: New.
-       * trace.c: New.
-       * trace.h: New.
diff --git a/sim/msp430/ChangeLog-2021 b/sim/msp430/ChangeLog-2021
new file mode 100644 (file)
index 0000000..8aadf38
--- /dev/null
@@ -0,0 +1,522 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c: Include sim-signal.h.
+       * sim-main.h: Delete sim-signal.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * msp430-sim.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CHECK_HEADERS call.
+       * config.in, configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_LIBDEPS): Delete.
+
+2021-02-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_ALL): Delete.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-08-07  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * msp430-sim.c (sim_open): Increase the size of the main memory region
+       to 0xFAC0.
+
+2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * msp430-sim.c (put_op): For unsigned multiplication, explicitly cast
+       operands to the unsigned type before multiplying.
+       * msp430-sim.h (struct msp430_cpu_state): Fix types used to store hwmult
+       operands.
+
+2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * msp430-sim.c (msp430_step_once): Ignore the carry flag when executing
+       an RRC instruction, if the ZC bit of the extension word is set.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-08-29  Jozef Lawrynowicz  <jozef.l@somniumtech.com>
+
+       * sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
+       arguments for variadic syscall "open".
+
+2016-08-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c: Delete bfd.h include.
+       (lookup_symbol, msp430_sim_close): Delete.
+       (sim_open): Change lookup_symbol to trace_sym_value.
+       * sim-main.h (struct sim_state): Delete symbol_table and
+       number_of_symbols.
+       (STATE_SYMBOL_TABLE, STATE_NUM_SYMBOLS, msp430_sim_close,
+       SIM_CLOSE_HOOK): Delete.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (loader_write_mem): Delete.
+       (lookup_symbol): Return -1 when abfd is NULL.
+       (sim_open): Delete prog_bfd variable.  Delete call to sim_load_file.
+       Delete prog_bfd check.
+
+2016-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete trace.o.
+       * msp430-sim.c: Delete dis-asm.h and trace.h includes.
+       (sim_open): Delete msp430_trace_init call.
+       (msp430_dis_read): Delete function.
+       (msp430_step_once): Replace disassembly logic with a call
+       to TRACE_DISASM.
+       * trace.c, trace.h: Delete files.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (sim_dis_read): Change private_data to application_data.
+       (msp430_step_once): Likewise.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * msp430-sim.c (get_op, put_op): Fix left shift of negative value.
+
+2015-12-07  Nick Clifton  <nickc@redhat.com>
+
+       * msp430-sim.c (sim_open): Check for needed memory at address
+       0x500 not 0x200.
+       (get_op): Add support for F5 hardware multiply addresses.
+       (put_op): Likewise.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
+       sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Rename to ...
+       (msp430_sim_close): ... this.  Delete call to sim_state_free.
+       * sim-main.h (msp430_sim_close): Declare.
+       (SIM_CLOSE_HOOK): Define.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (trace_reg_put): Change TRACE_VPU to TRACE_REGISTER.
+       (trace_reg_get): Likewise.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (maybe_perform_syscall): Replace call to cb_syscall
+       with sim_syscall.
+
+2015-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c: Include sim-syscall.h.
+       (syscall_read_mem, syscall_write_mem): Delete.
+       (maybe_perform_syscall): Change syscall_read_mem/syscall_write_mem
+       to sim_syscall_read_mem/sim_syscall_write_mem.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (trace_reg_put): Replace TRACE_VPU_P/trace_generic
+       with TRACE_VPU.
+       (trace_reg_get): Likewise.
+       (get_op): Replace TRACE_MEMORY_P/trace_generic with TRACE_MEMORY.
+       (put_op): Likewise.
+       (msp430_dis_read): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
+       (do_flags): Likewise.
+       (maybe_perform_syscall): Replace TRACE_SYSCALL_P/trace_generic with
+       TRACE_SYSCALL.
+       (msp430_step_once): Replace TRACE_ALU_P/trace_generic with TRACE_ALU.
+       Replace TRACE_BRANCH_P/trace_generic with TRACE_BRANCH.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (MAYBE_TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT,
+       TRACE_SYSCALL, TRACE_CORE, TRACE_EVENTS, TRACE_BRANCH,
+       trace_register, TRACE_REGISTER, TRACE_REG): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-04-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Delete run-sim.h include.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+       * configure.ac: Call the common inline & warning macros.
+       * msp430-sim.c: Include unistd.h & trace.h.
+       * trace.c: Include trace.h.
+       (load_file_and_line): Move FILE* decl to top of scope.
+       * trace.h (msp430_get_current_source_location): Adjust prototype to
+       match the function definition.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * msp430-sim.c (sim_open): Allocate memory regions matching those
+       declared in the libgloss/msp430 linker scripts.
+       Allow sim_load_file to fail.
+       (get_op): Test the correct address bit when checking for out of
+       range addresses.
+       Include the address in the error message when an illegal access to
+       the hardware multiplier is detected.
+       (put_op): Test the correct address bit when checking for out of
+       range addresses.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * msp430-sim.c: Move static hardware multiply support variables
+       from here...
+       * msp430-sim.h (msp430_cpu_state): ... into here ...
+       * msp430-sim.c (get_op, put_op): ... and update references to use
+       the msp430_cpu_state structure.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * msp430-sim.c (get_op): Handle reads of low result register when
+       in MAC mode.
+       (put_op): Copy MAC result into result words.
+       Handle writes to the low result register.
+
+2014-05-12  DJ Delorie  <dj@redhat.com>
+
+       * msp43-sim.c (sign_ext): Change to "long long" to support
+       sign-extending 32-bit values.
+
+2014-05-08  Nick Clifton  <nickc@redhat.com>
+
+       * msp430-sim.c (sim_open): Do not allocate memory over the
+       hardware multiply registers.
+       (get_op): Add support for reads from the hardware multiply
+       registers.
+       (put_op): Add support for writes to the hardware multiply
+       registers.
+       (msp430_step_once): Add support for the RETI instruction used by
+       the CPUX architecture.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim.c (sim_create_inferior): Set new_pc to the result of
+       bfd_get_start_address when abfd is not NULL and new_pc is zero.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * msp430-sim (maybe_perform_syscall): Change %d to %ld.
+       (msp430_step_once): Cast fprintf to fprintf_ftype.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in: New.
+       * aclocal.m4: Generate.
+       * config.in: Generate.
+       * configure.ac: New.
+       * configure: Generate.
+       * msp430-sim.c: New.
+       * msp430-sim.h: New.
+       * sim-main.h: New.
+       * trace.c: New.
+       * trace.h: New.
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
deleted file mode 100644 (file)
index 10d3006..0000000
+++ /dev/null
@@ -1,309 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Rename to ...
-       (or1k_sim_machs): ... this.
-       * sim-if.c (or1k_sim_machs): New decl.
-       (sim_open): Set STATE_MACH.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * arch.c (sim_machs): Mark const.
-
-2021-06-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (or1k32bf_record_trace_results): Delete function.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (CGEN_MAINT): Delete.
-       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * sim-if.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete cgen_init call.
-       * traps.c (or1k32bf_fpu_error): Replace STATE_RUN_FAST_P with
-       PROFILE_ANY_P and TRACE_ANY_P.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Move or1k-opc.h include.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Delete config.h include.
-       * or1k.c, sim-if.c, traps.c: Include defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
-       * configure: Regenerate.
-
-2021-05-04  Tom Tromey  <tromey@adacore.com>
-
-       * mloop.in: Include <stdlib.h>.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (mloop.o, arch.o, cpu.o, decode.o, sem.o)
-       (sem-switch.o, model.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * decode.c (or1k32bf_decode): Change TRACE_EXTRACT to
-       CGEN_TRACE_EXTRACT.
-
-2021-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * traps.c (or1k32bf_exception): Move handler_pc decl to top of scope.
-       (or1k32bf_mfspr): Move val decl to top of function body.
-
-2021-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete redundant sim-cpu.o, sim-hload.o,
-       sim-hrw.o, sim-reg.o, sim-reason.o, sim-engine.o, sim-model.o,
-       sim-stop.o, and $(TRAPS_OBJ) entries.
-       (SIM_RUN_OBJS): Delete.
-
-2021-01-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Include config.h.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
-       and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * cpu.c: Regenerate.
-       * cpu.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate.
-
-2018-10-05  Stafford Horne  <shorne@gmail.com>
-
-       * cpu.h: Regenerate.
-       * decode.c: Regenerate.
-       * decode.h: Regenerate.
-       * model.c: Regenerate.
-       * sem-switch.c: Regenerate.
-       * sem.c: Regenerate:
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * aclocal.m4: Generated.
-       * config.in: Generated.
-       * configure: Generated.
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * arch.c: Generated.
-       * arch.h: Generated.
-       * cpu.c: Generated.
-       * cpu.h: Generated.
-       * cpuall.h: Generated.
-       * decode.c: Generated.
-       * decode.h: Generated.
-       * model.c: Generated.
-       * sem-switch.c: Generated.
-       * sem.c: Generated.
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * README: New file.
-       * Makefile.in: New file.
-       * configure.ac: New file.
-       * mloop.in: New file.
-       * or1k-sim.h: New file.
-       * or1k.c: New file.
-       * sim-if.c: New file.
-       * sim-main.h: New file.
-       * traps.c: New file.
diff --git a/sim/or1k/ChangeLog-2021 b/sim/or1k/ChangeLog-2021
new file mode 100644 (file)
index 0000000..10d3006
--- /dev/null
@@ -0,0 +1,309 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_SCACHE call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * sim-if.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Rename to ...
+       (or1k_sim_machs): ... this.
+       * sim-if.c (or1k_sim_machs): New decl.
+       (sim_open): Set STATE_MACH.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch.c (sim_machs): Mark const.
+
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (or1k32bf_record_trace_results): Delete function.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * sim-if.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete cgen_init call.
+       * traps.c (or1k32bf_fpu_error): Replace STATE_RUN_FAST_P with
+       PROFILE_ANY_P and TRACE_ANY_P.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Move or1k-opc.h include.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Delete config.h include.
+       * or1k.c, sim-if.c, traps.c: Include defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
+       * configure: Regenerate.
+
+2021-05-04  Tom Tromey  <tromey@adacore.com>
+
+       * mloop.in: Include <stdlib.h>.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (mloop.o, arch.o, cpu.o, decode.o, sem.o)
+       (sem-switch.o, model.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode.c (or1k32bf_decode): Change TRACE_EXTRACT to
+       CGEN_TRACE_EXTRACT.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * traps.c (or1k32bf_exception): Move handler_pc decl to top of scope.
+       (or1k32bf_mfspr): Move val decl to top of function body.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete redundant sim-cpu.o, sim-hload.o,
+       sim-hrw.o, sim-reg.o, sim-reason.o, sim-engine.o, sim-model.o,
+       sim-stop.o, and $(TRAPS_OBJ) entries.
+       (SIM_RUN_OBJS): Delete.
+
+2021-01-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Include config.h.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * sim-if.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H,
+       and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * cpu.c: Regenerate.
+       * cpu.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate.
+
+2018-10-05  Stafford Horne  <shorne@gmail.com>
+
+       * cpu.h: Regenerate.
+       * decode.c: Regenerate.
+       * decode.h: Regenerate.
+       * model.c: Regenerate.
+       * sem-switch.c: Regenerate.
+       * sem.c: Regenerate:
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * aclocal.m4: Generated.
+       * config.in: Generated.
+       * configure: Generated.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * arch.c: Generated.
+       * arch.h: Generated.
+       * cpu.c: Generated.
+       * cpu.h: Generated.
+       * cpuall.h: Generated.
+       * decode.c: Generated.
+       * decode.h: Generated.
+       * model.c: Generated.
+       * sem-switch.c: Generated.
+       * sem.c: Generated.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * README: New file.
+       * Makefile.in: New file.
+       * configure.ac: New file.
+       * mloop.in: New file.
+       * or1k-sim.h: New file.
+       * or1k.c: New file.
+       * sim-if.c: New file.
+       * sim-main.h: New file.
+       * traps.c: New file.
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
deleted file mode 100644 (file)
index 68f6189..0000000
+++ /dev/null
@@ -1,4681 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (RESERVED_CFLAGS): Delete.
-       * configure.ac: Delete sim-reserved-bits.
-       * std-config.h (WITH_RESERVED_BITS): Delete.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Add -W flags from ../m4/sim_ac_option_warnings.m4.
-       Run compile tests against each flag.
-       * configure: Regenerate.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * main.c (sim_io_error): Add comment
-       * sim_calls.c (sim_io_error): Likewise.  Change "" to " ".
-       (error): Likewise.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (INLINE_CFLAGS): Change to $(SIM_INLINE).
-       * configure.ac: Delete sim-inline logic.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace ALL_INLINE with ALL_C_INLINE and
-       PSIM_INLINE_LOCALS with INLINE_LOCALS.
-       * inline.h: Likewise.
-       * options.c: Likewise.
-       * std-config.h: Likewise.  Include sim-inline.h explicitly.
-       (REVEAL_MODULE): Define to H_REVEALS_MODULE.
-       (INLINE_MODULE): Define to C_REVEALS_MODULE.
-       (PSIM_INLINE_LOCALS): Delete.
-       (ALL_INLINE): Delete.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Move intl vars to ../arch-subdir.mk.in.
-       * configure.ac: Delete ZW_GNU_GETTEXT_SISTER_DIR call.
-       * config.in, configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete toolchain vars.
-       * configure.ac: Likewise.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (LIBS): Add $(COMMON_LIBS).
-       (ZLIB): Use $(zlibdir).
-       * configure.ac: Delete AM_ZLIB & AC_PLUGINS calls.
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (WERROR_CFLAGS): Delete.
-       * configure.ac: Delete werror configure option.
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Include ../arch-subdir.mk.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Delete sim-signal.h include.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (ENDIAN_CFLAGS): Delete.
-       * configure.ac: Delete sim-endian.
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * igen.c (gen_semantics_h): Rename PAGE_SIZE to MPC860C0_PAGE_SIZE.
-       * ppc-instructions: Likewise.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_EXEEXT call.
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete sim-assert logic.
-       * config.in, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * altivec.igen: Change BIG_ENDIAN to BFD_ENDIAN_BIG.
-       * configure.ac: Change LITTLE_ENDIAN, BIG_ENDIAN, & 0 to
-       BFD_ENDIAN_LITTLE, BFD_ENDIAN_BIG, & BFD_ENDIAN_UNKNOWN respectively.
-       * emul_generic.c: Likewise.
-       * options.c (options_byte_order): Likewise.  Change int to bfd_endian.
-       * psim.c (current_target_byte_order): Change type to bfd_endian.
-       (psim_create): Change LITTLE_ENDIAN & BIG_ENDIAN to BFD_ENDIAN_LITTLE
-       & BFD_ENDIAN_BIG respectively.
-       * sim-endian-n.h: Likewise.
-       * sim-endian.c: Likewise.
-       * std-config.h: Include bfd.h.
-       (LITTLE_ENDIAN, BIG_ENDIAN): Delete.
-       (HOST_BYTE_ORDER): Change to BFD_ENDIAN_BIG & BFD_ENDIAN_LITTLE.
-       (WITH_TARGET_BYTE_ORDER): Change to BFD_ENDIAN_UNKNOWN.
-       (current_target_byte_order): Change type to bfd_endian.
-       (CURRENT_TARGET_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN.
-       * vm.c (vm_synchronize_context): Change LITTLE_ENDIAN & BIG_ENDIAN to
-       BFD_ENDIAN_LITTLE & BFD_ENDIAN_BIG respectively.
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * basics.h (__attribute__): Delete.
-       * misc.h (__attribute__): Likewise.
-       Include ansidecl.h.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.h: Include ansidecl.h.
-       (cpu_error): Change __attribute__ ((format (printf... to
-       ATTRIBUTE_PRINTF_3.
-       * device.h (device_error): Change __attribute__ ((format (printf...
-       to ATTRIBUTE_PRINTF_2.
-       * lf.h: Include ansidecl.h.
-       (lf_printf): Change __attribute__ ((format (printf... to
-       ATTRIBUTE_PRINTF_2.
-       * sim_callbacks.h (sim_io_printf_filtered): Change __attribute__
-       ((format (printf... to ATTRIBUTE_PRINTF_1.
-       * tree.h (tree_parse): Change __attribute__ ((format (printf... to
-       ATTRIBUTE_PRINTF_2.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * double.c: Include ansidecls.h.
-       * dp-bit.c: Change __attribute__ ((packed)) to ATTRIBUTE_PACKED.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * basics.h (NORETURN): Delete.
-       * sim_callbacks.h: Include ansidecl.h.  Change NORETURN to
-       ATTRIBUTE_NORETURN.
-       * sim_calls.c: Likewise.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * basics.h (UNUSED): Delete.
-       * gen-icache.c (print_icache_extraction): Change UNUSED to
-       ATTRIBUTE_UNUSED.
-       * idecode_expression.h: Likewise.  Include ansidecl.h.
-       * inline.h: Likewise.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * basics.h: Delete CONCAT* and XCONCAT* macros.
-       * corefile.c: Include symcat.h.
-       * idecode_fields.h: Likewise.
-       * sim-endian.c: Likewise.
-       * vm.c: Likewise.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * device.h (device_add_boolean_property): Rename bool arg to boolean.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (HOSTENDIAN_CFLAGS): Delete.
-       * configure.ac: Delete sim-hostendian logic.
-       * altivec_registers.h (WITH_HOST_BYTE_ORDER): Rename to ...
-       (HOST_BYTE_ORDER): ... this.
-       * options.c: Likewise.
-       * sim-endian.c: Likewise.
-       * psim.c (current_host_byte_order): Delete.
-       (CURRENT_HOST_BYTE_ORDER): Rename to ...
-       (HOST_BYTE_ORDER): ... this.
-       * sim-endian-n.h: Likewise.
-       * sim-endian.h: Delete all custom endian include & define logic.
-       * std-config.h (WITH_HOST_BYTE_ORDER): Delete.
-       (LITTLE_ENDIAN): Define fallback.
-       (BIG_ENDIAN): Likewise.
-       (HOST_BYTE_ORDER): Define based on WORDS_BIGENDIAN.
-       (current_host_byte_order, CURRENT_HOST_BYTE_ORDER): Delete.
-       * config.in, configure: Regenerate.
-
-2021-06-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (COMMON_OBJS_NAMES, +COMMON_OBJS): New variables.
-       (LIB_OBJ): Replace version.o with $(COMMON_OBJS).
-       (version.c, version.o): Delete rules.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Add $(EXEEXT) to run and psim.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Delete ALIGNMENT_CFLAGS.
-       * configure.ac: Delete sim-alignment.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete calls to ACX_PKGVERSION & ACX_BUGURL.
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete sim-stdio & sim-trace.
-       * debug.h: Define TRACE_* defines.
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_STRUCT_*, AC_TYPE_*, AC_CHECK_FUNCS,
-       AC_CHECK_HEADERS, and AC_HEADER_DIRENT calls.
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete sim-env configure option.
-       * defs.h: Include ../config.h.  Undefine PACKAGE* defines.
-       * std-config.h (ALL_ENVIRONMENT): Define.
-       * config.in, configure: Regenerate.
-
-2021-06-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * basics.h (NULL): Delete.
-       * gen-itable.c (NULL): Likewise.
-       * gen-model.c (NULL): Likewise.
-       * ld-cache.c (NULL): Likewise.
-       * ld-decode.c (NULL): Likewise.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (WERROR_CFLAGS): Add -Wno-format for mingw32 hosts.
-       * configure: Regenerate.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * emul_generic.c (emul_write_status): Rename errno to err.
-       (emul_write2_status): Likewise.
-       * emul_generic.h (emul_write_status, emul_write2_status): Likewise.
-       * emul_netbsd.c (errno): Delete.
-       * emul_unix.c (errno): Delete.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (INCLUDES): Add -I../..
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gentmap): Pass -DUSE_CONFIG_H.
-       * basics.h, debug.c, filter_filename.c, inline.c, sim-endian.c,
-       words.h: Replace config.h include with defs.h.
-       * defs.h: New file.
-
-2021-05-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (WERROR_CFLAGS): Define.
-       (STD_CFLAGS): Add $(WERROR_CFLAGS).
-       * configure.ac: Add --enable-werror.
-       * device.c (device_full_name): Delete full_name variable.
-       (device_clean): Delete system variable.
-       * emul_chirp.c (chirp_emul_getprop): Cast vars to unsigned long.
-       (chirp_emul_seek): Likewise.
-       * hw_glue.c (hw_glue_init_address): Use %zu format.
-       * hw_ide.c (hw_ide_io_read_buffer): Cast vars to unsigned long.
-       (hw_ide_io_write_buffer): Likewise.
-       * hw_init.c (update_for_binary_section): Cast vars to unsigned long.
-       * hw_phb.c (hw_phb_dma_read_buffer): Likewise.
-       (hw_phb_dma_write_buffer): Likewise.
-       * hw_shm.c (hw_shm_init_data): Delete d variable.
-       (hw_shm_attach_address_callback): Delete shm variable.
-       * igen.c (gen_semantics_c): Include tree.h.
-       * interrupts.c (alignment_interrupt): Cast vars to unsigned long.
-       * ld-insn.c (dump_insn_field): Cast vars to unsigned long.
-       * main.c (main): Add const to argv.
-       * options.c (print_options): Cast var to int.
-       * ppc-instructions: Add %s to format.  Delete shifted variable.  Add
-       parenthesis to binary operations.
-       * psim.c (find_arg): Add const to return and argv.
-       (is_num): Add const to string.
-       (psim_options): Add const to return and argv, and p & param.
-       (psim_command): Add const to argv, device, and media.
-       (psim_stack): Add const to argv and envp.
-       * psim.h: Add const to psim_options, psim_command, and psim_stack.
-       * tree.c (parse_reg_property): Delete & from sizeof.
-       * vm.c (om_virtual_to_real): Const vars to long.
-       * vm_n.h (vm_data_map_read_N): Change format to %zu.
-       (vm_data_map_write_N): Likewise.
-       * configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Update path.
-       * gdb-sim.c: Update include path.
-       * main.c: Likewise.
-       * psim.h: Likewise.
-       * sim_calls.c: Likewise.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * mon.c: Update includes.
-       * emul_unix.c: Update includes.
-       (do_unix_gettimeofday): Update condition.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (stamp-vals, stamp-map): New targets.
-       (targ-vals.h, targ-map.c): Update.
-       (clean): Remove files.
-
-2021-04-08  Tom Tromey  <tom@tromey.com>
-
-       * emul_unix.c: Include time.h.
-
-2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * Makefile.in: Set ASAN_OPTIONS when running igen.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (install): Install as run-ppc when not the primary arch.
-       (install-strip): Likewise.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (BUILD_LDFLAGS): Rename to ...
-       (LDFLAGS_FOR_BUILD): ... this.
-       (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
-       Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) to
-       $(LINK_FOR_BUILD).  Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) to
-       $(COMPILE_FOR_BUILD).
-
-2021-03-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gentmap, dgen, igen, tmp-filter, tmp-ld-decode,
-       tmp-ld-cache, tmp-ld-insn): Delete $(BUILD_LIBS).
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (check): Define.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (STD_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
-       (NOWARN_CFLAGS): Likewise.
-       (HDEFINES, TDEFINES): Delete.
-       * configure.ac: Delete AC_SUBST(HDEFINES) and bfd/configure.host
-       sourcing.
-       * configure: Regenerate.
-
-2021-01-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (version.c): Simplifiy args and call move-if-change.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete checks for stdlib.h, string.h,
-       strings.h, and time.h.
-       * config.in, configure: Regenerate.
-       * cpu.c, debug.c, device.c, device_table.c, device_table.h,
-       dgen.c, emul_bugapi.c, emul_chirp.c, emul_netbsd.c, emul_unix.c,
-       filter.c, hw_com.c, hw_eeprom.c, hw_nvram.c, hw_opic.c, hw_pal.c,
-       hw_phb.c, hw_sem.c, hw_shm.c, lf.c, main.c, misc.c, misc.h,
-       mon.c, pk_disklabel.c, psim.c, registers.c, sim_calls.c, table.c,
-       tree.c: Delete HAVE_ERRNO_H, HAVE_STDLIB_H, HAVE_STRING_H,
-       HAVE_STRINGS_H, HAVE_LIMITS_H, HAVE_TIME_H, and strings.h include.
-       * hw_nvram.c: Likewise.
-       (_hw_nvram_device): Always define host_time as time_t.
-       (hw_nvram_update_clock): Delete error fallback.
-       * gen-model.c (gen_model_c): Delete HAVE_STDLIB_H output.
-
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_memory_map): Define.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * gen-icache.c, igen.c: Include stdlib.h.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * acinclude.m4 (ACX_BUGURL): Change http:// to https://.
-       * configure: Regenerate.
-
-2020-10-20  Dr. David Alan Gilbert  <dgilbert@redhat.com>
-
-       * emul_netbsd.c (do_sigprocmask): Fix printf format.
-
-2020-07-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
-
-       * ld-insn.h (last_model, last_model_data, last_model_function,
-       last_model_internal, last_model_macro, last_model_static):
-       Delete.
-       (max_model_fields_len, model_data, model_functions,
-       model_internal, model_macros, model_static, models): Declare, but do not
-       define.
-       * ld-insn.c (last_model, last_model_data, last_model_function,
-       last_model_internal, last_model_macro, last_model_static,
-       max_model_fields_len, model_data, model_functions,
-       model_internal, model_macros, model_static, models): Define.
-
-2020-03-12  Kamil Rytarowski  <n54@gmx.com>
-
-       * emul_netbsd.c (netbsd_signal_names): Sync with NetBSD 9.99.49.
-
-2020-03-12  Kamil Rytarowski  <n54@gmx.com>
-
-       * emul_netbsd.c (netbsd_error_names): Sync with NetBSD 9.99.49.
-
-2019-12-19  Tom Tromey  <tromey@adacore.com>
-
-       PR build/24572:
-       * Makefile.in (install-strip): New target.
-
-2019-09-20  Alan Modra  <amodra@gmail.com>
-
-       * emul_generic.c (emul_add_tree_options): Delete old bfd code.
-
-2019-01-26  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (version.c): Use sim's create-version.sh.
-
-2018-05-09  Sebastian Rasmussen  <sebras@gmail.com>
-
-       * e500_registers.h: Comment typo fix.
-       * ppc-instructions (ppc_insn_mfcr): Likewise.
-
-2017-09-05  John Baldwin  <jhb@FreeBSD.org>
-
-       PR sim/20863
-       * sim_calls.c (error): New function.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.h: Include libiberty.h.
-       * emul_bugapi.c (emul_bugapi_instruction_name): Use ARRAY_SIZE.
-       * emul_generic.h: Include libiberty.h.
-       * emul_netbsd.c (emul_netbsd_syscalls): Use ARRAY_SIZE.
-       * emul_unix.c (convert_to_solaris_stat): Likewise.
-       (emul_solaris_syscalls): Likewise.
-       (emul_linux_syscalls): Likewise.
-       * options.c (print_options): Likewise.
-       * ppc-instructions: Likewise.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (sim-assert): Call AC_MSG_CHECKING,
-       AC_DEFINE_UNQUOTED, and AC_MSG_RESULT
-       (sim-env, sim-stdio, sim-trace): Delete.
-       * config.in, configure: Regenerate.
-       * Make-common.in (ENV_CFLAGS, TRACE_CFLAGS, ASSERT_CFLAGS,
-       STDIO_CFLAGS): Delete.
-       (CONFIG_CFLAGS): Delete $(ENV_CFLAGS), $(TRACE_CFLAGS),
-       $(ASSERT_CFLAGS), and $(STDIO_CFLAGS).
-       * std-config.h (WITH_ENVIRONMENT, WITH_TRACE, WITH_ASSERT,
-       WITH_STDIO): Delete.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete --enable-sim-regparm and sim_regparm,
-       and --enable-sim-stdcall and sim_stdcall.
-       * configure: Regenerate.
-       * Makefile.in (REGPARM_CFLAGS, STDCALL_CFLAGS): Delete.
-       (CONFIG_CFLAGS): Delete $(REGPARM_CFLAGS) and $(STDCALL_CFLAGS).
-       * inline.h: Delete REGPARM everywhere.
-       * options.c (print_options): Delete WITH_REGPARM and
-       WITH_STDCALL.
-       * std-config.h (WITH_REGPARM, WITH_STDCALL, REGPARM): Delete.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete --enable-sim-cflags and sim_cflags.
-       * configure: Regenerate.
-       * INSTALL: Delete all mention of --enable-sim-cflags.
-       * Makefile.in (SIM_CFLAGS): Delete.
-       (STD_CFLAGS, NOWARN_CFLAGS): Delete $(SIM_CFLAGS).
-       (psim): Likewise.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (sim-bswap): Delete.
-       * configure: Regenerate.
-       * INSTALL: Delete --enable-sim-bswap docs.
-       * Makefile.in (BSWAP_CFLAGS): Delete.
-       (CONFIG_CFLAGS): Delete $(BSWAP_CFLAGS).
-       * options.c (print_options): Delete WITH_BSWAP.
-       * sim-endian.h (htonl, ntohl): Delete.
-       * std-config.h (WITH_BSWAP): Delete.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * main.c (main): Pass SIM_OPEN_STANDALONE to psim_options and
-       psim_usage.
-       * psim.c (psim_usage): Add new kind arg.  Only show bug URL and
-       exit when kind is SIM_OPEN_STANDALONE.
-       (psim_options): Add new kind arg.  Pass kind down to all psim_usage
-       calls.  Replace error/break calls after psim_usage with return NULL.
-       Only exit with version case when kind is SIM_OPEN_STANDALONE.
-       * psim.h: Include gdb/remote-sim.h.
-       (psim_options): Add new kind arg.
-       (psim_usage): Likewise.
-       * sim_calls.c (sim_open): Pass kind to psim_options.  Return NULL
-       when it returns NULL.
-
-2015-12-29  Kevin Buettner  <kevinb@redhat.com>
-
-       * emul_netbsd.c (fd_closed): New static array.
-       (fdbad): New function.
-       (do_read, do_write, do_close, do_dup, do_ioctl, do_dup2, do_fcntl)
-       (do_fstatfs, do_fstat, do_lseek): Call `fdbad'.
-       (emul_netbsd_init): Initialize `fd_closed'.
-       * emul_unix.c (fd_closed): New static array.
-       (fdbad): New function.
-       (do_unix_read, do_unix_write, do_unix_close, do_unix_dup)
-       (do_unix_dup2, do_unix_lseek, do_solaris_fstat, do_solaris_ioctl)
-       (do_linux_fstat, do_linux_ioctl): Call `fdbad'.
-       (emul_solaris_init, emul_linux_init): Initialize `fd_closed'.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (TCONFIG_H): Delete.
-       (sim-fpu.o): Delete $(TCONFIG_H).
-       (tconfig.h): Delete rule.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/13834
-       * Makefile.in (gentmap): Change $< to $(srcdir)/../common/gentmap.c.
-       (callback.o): Change $< to $(srcdir)/../common/callback.c.
-       (options.o): Change $< to $(srcdir)/options.c.
-
-2015-11-17  Pedro Alves  <palves@redhat.com>
-
-       * debug.h (TRACE, ITRACE, DTRACE, DITRACE, PTRACE): Call
-       sim_io_printf_filtered instead of printf_filtered.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-29  Nick Clifton  <nickc@redhat.com>
-
-       PR 18273
-       * hw_htab.c (htab_map_binary): Fix overlap check.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (version.o): Change to using create-version.sh from gdb.
-       (create-version.sh): Delete.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * Makefile.in (INCLUDES): Add $(ZLIBINC).
-       (ZLIB, ZLIBINC): Define.
-       (BFD_LIB): Add $(ZLIB).
-
-2014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * ChangeLog, ChangeLog.00, hw_com.c, ld-cache.h, ppc-instructions:
-       Change immediatly to immediately.
-
-2014-08-27  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * basics.h, device.c, device.h, hw_htab.c, hw_memory.c:
-       Correct spelling in comments.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure.ac: Invoke AC_PLUGINS.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_do_command): Add const to cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_load): Add const to prog.
-
-2014-02-17  Aaro Koskinen  <aaro.koskinen@iki.fi>
-
-       PR gdb/12202
-       * Makefile.in (psim): Delete $(LIBS) from dependency.
-
-2013-10-15  Hans-Peter Nilsson  <hp@axis.com>
-
-       * Makefile.in (srcsim): New variable.
-       (version.c): Adjust call to $(srccom)/create-version.sh as per change.
-
-2013-06-28  Tom Tromey  <tromey@redhat.com>
-
-       * Make-common.in (version.c): Use version.in, not
-       common/version.in.
-
-2013-06-24  Joel Brobecker  <brobecker@adacore.com>
-
-       * Makefile.in (srccom): New variable.
-       (version.c): Update rule dependencies, and re-implement using
-       sim/common/create-version.sh.
-
-2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
-
-       revert:
-       2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
-       * ppc-instructions (isel): New instruction.
-
-2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * ppc-instructions (isel): New instruction.
-
-2012-12-19  Joel Brobecker  <brobecker@adacore.com>
-
-       * COPYING: Update to GPL version 3.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-       * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-14  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
-
-       * emul_unix.c (st_pad1, st_pad2, st_pad3): Undefine.
-
-2012-01-02  Joel Brobecker  <brobecker@adacore.com>
-
-       * dp-bit.c: Reformat copyright header.
-
-2011-02-11  Ben Golding  <ben_golding@yahoo.co.uk>
-
-       * events.c: add #include <stdlib.h> for free(). Fix PR build/13372.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-06-09  Joel Brobecker  <brobecker@adacore.com>
-
-       * psim.c (psim_options): Fix length of comparison when checking
-       for --sysroot= option.
-
-2011-06-08  Joel Brobecker  <brobecker@adacore.com>
-
-       * psim.c (psim_options): Add option that cause the error
-       in invalid-option error messages. Print the usage when
-       detecting an invalid long-name option.
-
-2011-06-08  Joel Brobecker  <brobecker@adacore.com>
-
-       * psim.c (psim_options): Accept and ignore `--sysroot=...'.
-
-2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
-
-       From Stephen Kitt  <steve@sk2.org>
-       * vm.c (vm_synchronize_context): Spelling fix in function
-       documentation.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_complete_command): New stub function.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * cap.c (cap_remove): Change zfree to free.
-       * corefile.c (core_init): Likewise.
-       * device.c (detach_device_interrupt_edge): Likewise.
-       (clean_device_interrupt_edges): Likewise.
-       (device_instance_delete): Likewise.
-       (device_set_property): Likewise.
-       (clean_device_properties): Likewise.
-       (device_add_range_array_property): Likewise.
-       (device_add_reg_array_property): Likewise.
-       * emul_bugapi.c (emul_bugapi_do_read): Likewise.
-       (emul_bugapi_do_write)
-       * emul_netbsd.c (write_direntries): Likewise.
-       (do_read): Likewise.
-       (do_write): Likewise.
-       (do_getdirentries): Likewise.
-       * emul_unix.c (do_unix_read): Likewise.
-       (do_unix_write): Likewise.
-       * events.c (event_queue_init): Likewise.
-       (event_queue_deschedule): Likewise.
-       (event_queue_process): Likewise.
-       * hw_disk.c (open_disk_image): Likewise.
-       (hw_disk_instance_delete): Likewise.
-       * hw_eeprom.c (hw_eeprom_instance_delete): Likewise.
-       * hw_htab.c (htab_dma_binary): Likewise.
-       * hw_init.c (update_for_binary_section): Likewise.
-       * hw_memory.c (hw_memory_set_available): Likewise.
-       (hw_memory_init_address): Likewise.
-       (hw_memory_instance_release): Likewise.
-       * pk_disklabel.c (disklabel_delete): Likewise.
-       * table.c (table_push): Likewise.
-       * tree.c (parse_reg_property): Likewise.
-       (parse_ranges_property): Likewise.
-       (parse_string_property): Likewise.
-       * main.c (zfree): Delete.
-       * sim_calls.c (zfree): Likewise.
-       * sim_callbacks.h (zfree): Likewise.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * gdb-sim.c (sim_store_register): Update return value to
-       match new API.
-
-2011-01-05  Joel Brobecker  <brobecker@adacore.com>
-
-       * psim.texinfo: Copyright year update.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim_calls.c (sim_write): Add const to buf arg.
-
-2010-02-14  Andreas Schwab  <schwab@linux-m68k.org>
-
-       * ppc-instructions: Fix missing assignment in last change.
-
-2010-02-05  Andreas Schwab  <schwab@linux-m68k.org>
-
-       * ppc-instructions: Fix aliasing bugs when calling
-       invalid_arithemetic_operation.
-
-2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * configure.ac: If build != host, create a separate build-config.h
-       file desecribing the build machine.
-       * configure: Regenerate.
-       * lf.c: Include build-config.h instead of config.h.
-       * dgen.c: Likewise.
-       * igen.c: Likewise.
-       * misc.c: Likewise.
-       * misc.h: Likewise.
-       * filter.c: Likewise.
-       * table.c: Likewise.
-
-2009-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * std-config.h: Fix spelling error.
-
-2009-09-22  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-       * main.c: Fix spelling error.
-
-2009-09-15  Andreas Tobler <andreast-list@fgznet.ch>
-           Doug Evans  <dje@google.com>
-
-       * configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * hw_sem.c: (HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * Makefile.in (datarootdir): New variable.
-
-2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * ppc-instructions (sync): Add L field.
-
-2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * ppc-instructions, ppc-spr-table: Add ability
-       to read tbrl and tbru special registers.
-
-2008-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>
-
-       * configure: Regenerated.
-       * configure.ac: Add test for System V shared memory and semaphore.
-       * debug.c, debug.h: Add trace support for new devices.
-       * hw_sem.c, hw_shm.c: New files.
-       * Makefile.in: Add hw_sem.c and hw_shm.c.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure.ac: Add test for libz and zlib.h.
-       * Makefile.in (LIBS): Set from @LIBS@.
-       * configure: Regenerate.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
-       * configure, config.in: Regenerated.
-       * Makefile.in (LIB_OBJ): Add version.o.
-       (version.c, version.o): New rules.
-       * psim.c (psim_usage): Add help parameter.  Print the bug URL.
-       Exit with code 0 for help.
-       (psim_options): Update calls to psim_usage.  Handle --help and
-       --version.
-       * psim.h (psim_usage): Update prototype.
-       * main.c (main): Update psim_usage call.
-
-2008-03-14  Nick Hudson  <nick.hudson@dsl.pipex.com
-
-       * configure.ac: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
-       * configure: Regenerate.
-
-2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * gdb-sim.c (regnum2spr): Rename to...
-       (sim_spr_register_name): ... this.  Make global.
-
-2007-09-04  Jerome Guitton  <guitton@adacore.com>
-
-       * sim/ppc/emul_bugapi.c (emul_bugapi_create): quote the file
-       name property before parsing it.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-11-22  Tom Marn <tom.marn@telargo.com>
-
-       Committed by Andrew Cagney.
-       * ppc-instructions: Implement optional PowerPC stfiwx instruction.
-
-2006-07-12  Fred Fish  <fnf@specifix.com>
-
-       * sim-endian.h (asm/byteorder.h): Don't include private kernel
-       header.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.in: Replace INTLLIBS and INTLDEPS with LIBINTL
-       and LIBINTL_DEP everywhere.
-       (INTL_DIR, INTL_SRC): Remove.
-       (INTL_CFLAGS): Use INCINTL.
-       * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR.
-       * configure: Regenerated.
-
-2006-05-05  Andreas Schwab  <schwab@suse.de>
-
-       * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
-       * configure: Regenerate.
-
-       * Makefile.in (CFLAGS_FOR_BUILD): Define.
-       (BUILD_CFLAGS): Use it instead of hardcoding "-g -O".
-       (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
-
-2006-04-23  Andreas Schwab  <schwab@suse.de>
-
-       * Makefile.in (tmp-ld-decode): Fix dependencies.
-       (tmp-ld-cache): Likewise.
-       (tmp-ld-insn): Likewise.
-
-2006-02-01  Mark Mitchell  <mark@codesourcery.com>
-
-       * emul_netbsd.c (emul_netbsd_create): Quote file-name property.
-       * emul_unix.c (emul_unix_create): Likewise.
-       * tree.c (libiberty.h): Include it.
-       (tree_quote_property): New function.
-       * tree.h (tree_quote_property): Declare.
-
-2006-01-25  Mark Mitchell  <mark@codesourcery.com>
-
-       * words.h (natural32): Define as "int".
-
-2006-01-23  Mark Mitchell  <mark@codesourcery.com>
-
-       * words.h (signed32): Define as "int".
-       (unsigned32): Define as "unsigned int".
-
-2005-11-28 Mark Mitchell  <mark@codesourcery.com>
-
-       * configure.ac (USE_WIN32API): Define it.
-       * configure.in: Regenerate.
-       * config.in: Likewise.
-       * emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
-       * emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.
-
-2005-11-28  Mark Mitchell  <mark@codesourcery.com>
-
-       * psim.c: Include gdb/signals.h.
-
-       * sim_calls.c (gdb/signals.h): Include it.
-       (sim_stop_reason): Use TARGET_SIGNAL_*.
-       * psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.
-
-2005-07-15  Ben Elliston  <bje@au.ibm.com>
-
-       * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
-
-2005-07-15  Ben Elliston  <bje@au.ibm.com>
-
-       * hw_init.c: Comment out tokens after #endif directive.
-       * hw_register.c: Likewise.
-       * hw_trace.c: Likewise.
-       * hw_vm.c: Likewise.
-
-2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>
-
-       * psim.c: Added libiberty.h header file.
-
-2005-04-18  Manoj Iyer  <manjo@austin.ibm.com>
-
-       * configure.ac: Added check for long long.
-       * config.in: Regenerated.
-       * configure: Regenerated.
-       * words.h: Modified logic to check for HAVE_LONG_LONG instead of
-       __GNUC__, added config.h header file.
-
-2005-03-25  Anthony Green  <green@redhat.com>
-
-       * tree.c (parse_reg_property): Fix memset usage.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure.ac: Delete AC_CONFIG_AUX_DIR.
-       * configure: Re-generate.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2005-01-03  Andreas Schwab  <schwab@suse.de>
-
-       * Makefile.in (hw_com.o, hw_eeprom.o): Depend on
-       $(DEVICE_TABLE_H).
-
-2004-11-16  Andreas Schwab  <schwab@suse.de>
-
-       * Makefile.in (defines.h): Depend on tmp-defines.
-       (hw.c hw.h): Depend on tmp-hw.
-       (pk.h): Depend on tmp-pk.
-
-2004-11-11  Andreas Schwab  <schwab@suse.de>
-
-       * sim_calls.c: Include "libiberty.h".
-
-2004-09-24  Ian Lance Taylor <ian@wasabisystems.com>
-
-       Committed by Andrew Cagney.
-       * configure.in: Check for sys/mount.h, sys/vfs.h, sys/statfs.h.
-       Check for struct statfs.
-       * emul_netbsd.c: If not HAVE_STRUCT_STATFS, #undef HAVE_FSTATFS.
-       * configure, config.in: Regenerate.
-
-2004-08-05  Nathanael Nerode  <neroden@gcc.gnu.org>
-
-       * Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc.
-
-2004-08-04  Andrew Cagney  <cagney@gnu.org>
-           Jim Blandy <jimb@redhat.com>
-
-       * sim_callbacks.h (simulator): Declare.
-       * Makefile.in (gdb-sim.o): New rule.
-       (MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c.
-       (DEFS_H): Delete.
-       (GDB_SIM_PPC_H): Define.
-       * gdb-sim.c: New file.
-       * sim_calls.c: Do not include "defs.h".
-       (simulator): Drop static.
-       (sim_store_register, sim_fetch_register): Delete.
-
-2004-08-04  Andrew Cagney  <cagney@gnu.org>
-
-       * Back out accidently committed change.
-
-2004-08-04  Jim Blandy  <jimb@redhat.com>
-
-       Use a fixed register numbering when communicating with the PowerPC
-       simulator.
-       * sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
-       include GDB's "defs.h".
-       (gdb_register_name_table): New variable.
-       (gdb_register_name_table_size): New enum constant.
-       (gdb_register_name): New function.
-       (sim_fetch_register, sim_store_register): Use gdb_register_name,
-       instead of calling gdbarch_register_name.
-       * Makefile.in (GDB_SIM_PPC_H): New variable.
-       (DEFS_H): Delete variable.
-       (sim_calls.o): Update dependencies.
-
-2004-07-26  Andrew Cagney  <cagney@gnu.org>
-
-       Problem from Olaf Hering <olh@suse.de>.
-       * Makefile.in (install, installdirs): Add DESTDIR.
-
-2004-07-10  Ben Elliston  <bje@au.ibm.com>
-
-       * tree.c (parse_integer_property): Comment typo fix.
-
-2004-07-06  Jim Blandy  <jimb@redhat.com>
-
-       * Makefile.in: Update all dependency information.
-       (BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H)
-       (EMUL_GENERIC_H): Values updated.
-       (ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H)
-       (ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H)
-       (COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H)
-       (COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H)
-       (DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H)
-       (EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H)
-       (FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H)
-       (GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H)
-       (GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H)
-       (ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H)
-       (IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H)
-       (LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H)
-       (OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H)
-       (SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H)
-       (SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H)
-       (TREE_H, VM_H, VM_N_H, WORDS_H): New variables.
-       (callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o)
-       (dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o)
-       (events.o, filter.o, filter_filename.o, filter_host.o)
-       (gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o)
-       (gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o)
-       (hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o)
-       (idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o)
-       (ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o)
-       (options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o)
-       (semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o)
-       (support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies.
-
-2004-06-28  Jim Blandy  <jimb@redhat.com>
-
-       * e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
-       unsigned type before or-ing it with a 64-bit value.
-
-2004-06-15  Alan Modra  <amodra@bigpond.net.au>
-
-       * hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size
-       instead of bfd_get_section_size_before_reloc.
-       (htab_dma_binary(bfd): Likewise.
-       * hw_init.c (update_for_binary_section(bfd): Likewise.
-
-2004-05-10  Daniel Jacobowitz  <dan@debian.org>
-
-       * configure.in (sim_fpu_cflags): Add -I../common.
-       * configure: Regenerated.
-
-2004-01-27  Andrew Cagney  <cagney@redhat.com>
-
-       * ppc-instructions: Update copyright.
-       (convert_to_integer): Add trailing ";" to label.
-
-2003-10-16  Michael Snyder  <msnyder@redhat.com>
-
-       * emul_netbsd.c: Only a comment may follow an #endif.
-
-2003-10-15  Michael Snyder  <msnyder@redhat.com>
-
-       * Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
-
-2003-06-22  Andrew Cagney  <cagney@redhat.com>
-
-       Written by matthew green <mrg@redhat.com>, with fixes from Aldy
-       Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and
-       Nick Clifton <nickc@redhat.com>.
-
-       * ppc-instructions: Include altivec.igen and e500.igen.
-       (model_busy, model_data): Add vr_busy and vscr_busy.
-       (model_trace_release): Trace vr_busy and vscr_busy.
-       (model_new_cycle): Update vr_busy and vscr_busy.
-       (model_make_busy): Update vr_busy and vscr_busy.
-       * registers.c (register_description): Add Altivec and e500
-       registers.
-       * psim.c (psim_read_register, psim_read_register): Handle Altivec
-       and e500 registers.
-       * ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers.
-       * configure.in (sim_filter): When *altivec* add "av".  When *spe*
-       or *simd* add e500.
-       (sim_float): When *altivec* define WITH_ALTIVEC.  When *spe* add
-       WITH_E500.
-       * configure: Re-generate.
-       * e500.igen, altivec.igen: New files.
-       * e500_expression.h, altivec_expression.h: New files.
-       * idecode_expression.h: Update copyright.  Include
-       "e500_expression.h" and "altivec_expression.h".
-       * e500_registers.h, altivec_registers.h: New files.
-       * registers.h: Update copyright.  Include "e500_registers.h" and
-       "altivec_registers.h".
-       (registers): Add Altivec and e500 specific registers.
-       * Makefile.in (IDECODE_H): Add "idecode_e500.h" and
-       "idecode_altivec.h".
-       (REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h".
-       (tmp-igen): Add dependencies on altivec.igen and e500.igen .
-
-2003-06-22  Andrew Cagney  <cagney@redhat.com>
-
-       Problems reported by Joshua LeVasseur.
-       * emul_chirp.c: Update copyright.
-       (chirp_emul_nextprop): Return the first property.
-       * hw_htab.c: Update copyright.
-       (htab_decode_hash_table): Fix check for htab size.
-
-2003-06-21  Andrew Cagney  <cagney@redhat.com>
-
-       * interrupts.c: Update copyright.
-       (external_interrupt): Fix test for already pending interrupt.
-       Problem found by Joshua LeVasseur.
-
-       * ppc-instructions: Add missing +8 line.  Found by blofeldus at
-       yahoo.com.
-
-2003-06-21  Andrew Cagney  <cagney@redhat.com>
-
-       From Ian Lance Taylor <ian@airs.com>: * hw_nvram.c
-       (hw_nvram_init_address): Correct call to memset--swap second and
-       third arguments.
-
-2003-06-21  Andrew Cagney  <cagney@redhat.com>
-
-       * hw_com.c (hw_com_device_init_data): Check that the output, and
-       not input file opened.  Pointed out by masahino tky3.3web.ne.jp.
-
-2003-06-20  Andrew Cagney  <cagney@redhat.com>
-
-       * sim_calls.c (sim_create_inferior): Assert that
-       psim_write_register succeeded.
-       (sim_fetch_register, sim_store_register): Make "regname" constant.
-       Delete Altivec hack.  Return result from psim_read_register /
-       psim_write_register.
-       * psim.h (psim_read_register, psim_write_register): Change return
-       type to int.  Update comments.
-       * psim.c: Update copyright.
-       (psim_stack): Assert that the psim_read_register worked.
-       (psim_read_register, psim_read_register): Return the register's
-       size.  Allocate the cooked buffer dynamically.
-       * hw_register.c: Update copyright.
-       (do_register_init): Check that psim_write_register succeeded.
-       * hw_init.c: Update copyright.
-       (create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert
-       that the register transfer worked.
-
-2003-06-19  Andrew Cagney  <cagney@redhat.com>
-
-       * ld-insn.h: Update copyright.
-       (cache_fields): Define.
-       (insn_table_fields): Add insn_field_6 and insn_field_7.
-       (load_insn_table): Pass in the "cache_rules".
-       * ld-insn.c: Update copyright.
-       (load_insn_table): Add parameter "cache_rules".  Handle "cache",
-       "computed" and "scratch" fields.
-       (main): Pass "cache_rules" to load_insn_table.
-       * ld-cache.h: Update copyright.
-       (append_cache_table): Declare.
-       * ld-cache.c: Update copyright.
-       (append_cache_table): New function.
-       (load_cache_table): Call.
-       * gen-model.c: Include "ld-cache.h".
-       * gen-itable.c: Include "ld-cache.h".
-       * igen.c: Move #include "ld-cache.h" to earlier.  Update
-       copyright.
-       (main): Permit a NULL "cache_rules".  Pass address of
-       "cache_rules" to load_insn_table.
-       * Makefile.in (tmp-ld-insn): Add "ld-cache.o".
-       (tmp-igen): Do not include ppc-cache-rules.
-       (gen-itable.o, gen-model.o): Add "ld-cache.h".
-       * ppc-cache-rules: Delete file.
-       * ppc-instructions: Add cache rules.
-
-2003-06-19  Andrew Cagney  <cagney@redhat.com>
-
-       * Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete.
-       (SIM_FPU_FLAGS): Define.
-       (icache.o): Delete explicit compile command.
-       (semantics.o, idecode.o): Delete explicit compile command.
-       (NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS.
-       * gen-support.c (gen_support_c): Generate #include of
-       "sim-inline.h" and "sim-fpu.h", but conditional on
-       HAVE_COMMON_FPU.
-       * gen-idecode.c (gen_idecode_c): Ditto.
-       * igen.c (gen_icache_c, gen_semantics_c): Wrap #include of
-       "sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional.
-       Move to before "support.h".
-       * Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update
-       copyright.
-
-2003-05-16  Ian Lance Taylor  <ian@airs.com>
-
-       * Makefile.in (various): Use $(SHELL) whenever we invoke
-       move-if-change.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-09-27  Andrew Cagney  <ac131313@redhat.com>
-
-       * hw_disk.c (hw_disk_init_address): Set device type to "block",
-       not "disk".
-
-2002-06-22  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in (INTL_SRC): Define.
-       (INTL_CFLAGS): Define.
-       (INTL_DIR): Define.
-       (STD_CFLAGS): Add INTL_CFLAGS.
-
-2002-06-17  Elena Zannoni  <ezannoni@redhat.com>
-
-       * psim.c (psim_options): Don't choke when gdb invokes us with
-       the --architecture option, just ignore it.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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
-       compatible format.
-       * gen-idecode.c (print_run_until_stop_body): Likewise.
-       * gen-model.c (gen_model_c): Likewise.
-
-2002-04-15  Elena Zannoni  <ezannoni@redhat.com>
-
-       * sim_calls.c (sim_fetch_register, sim_store_register): Return -1 for
-       AltiVec registers as a temporary stopgap.
-
-2002-03-24  David O'Brien  <obrien@FreeBSD.org>
-
-       * ppc/hw_disk.c: Export a disk device property.
-
-2002-03-23  Andrew Cagney  <ac131313@redhat.com>
-
-       From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
-       * ppc-instructions (lswx): Do the register control with the
-       register count.  Initialize the right register in the loop.
-       (mtfsfi) : Correct prefix for the instruction.
-
-2002-02-24  Andrew Cagney  <ac131313@redhat.com>
-
-       From wiz at danbala:
-       * std-config.h: Fix grammar and typos.  Update copyright.
-       Fix PR gdb/287.
-
-2002-01-12  matthew green  <mrg@redhat.com>
-
-       * Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
-       * igen.c (main): Change -I to add include paths for :include:
-       files.
-       Implement -G as per sim/igen, with just gen-icache=N support.
-       Call load_insn_table() with the built include path.
-
-       * ld-insn.c (parse_include_entry): New. Load an :include: file.
-       (load_insn_table): New `includes' argument.  Look for :include:
-       entries and call parse_include_entry() for them.
-       (main): Adjust load_insn_table() call.
-       * ld-insn.h (model_include_fields): New enum.
-       (load_insn_table): Update prototype.
-       * table.c (struct _open_table, struct _table): Rework
-       structures to handle included files.
-       (table_push): Move the guts of table_open() here.
-
-       * table.c (struct _open table, struct table): Make table object an
-       indirect ptr to the current table file.
-       (current_line, new_table_entry, next_line): Make file arg type
-       open_table.
-       (table_open): Use table_push.
-       (table_entry_read): Point variable file at current table, at eof, pop
-       last open table.
-
-       * misc.h (NZALLOC): New macro. From sim/igen.
-
-       * table.h, table.c (table_push): New function.
-
-2002-01-04  matthew green  <mrg@redhat.com>
-
-       * bits.c (LSMASKED64): New inline function.
-       (LSEXTRACTED64): Likewise.
-       * bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
-       sim/common/sim-bits.h
-       (LSMASKED64, LSEXTRACTED64): New functions definitions.
-       * Makefile.in (sim-bits.o): Remove target.
-
-       * main.c (zalloc): Fix typo in error message.
-
-2001-12-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure.in (sim_fpu): Don't add sim-bits.o.
-       * configure: Re-generate.
-
-2001-12-15  matthew green  <mrg@redhat.com>
-
-       * main.c: Include "defs.h", "bfd.h", "callback.h" and "remote-sim.h".
-       (sim_io_error): New function.
-       * sim_calls.c: (sim_io_error): New function.
-
-2001-12-14  matthew green  <mrg@redhat.com>
-
-       * Makefile.in (LIB_OBJ): Add @sim_fpu@.
-       (ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
-       (icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
-       (sim-fpu.o, sim-bits.o, tconfig.h): New targets.
-       * configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.  Add a
-       check for sim/common/sim-fpu.c.  Output sim_fpu and sim_fpu_cflags.
-       * configure: Regenerate.
-       * device.h (device_find_integer_array_property): Match function definition.
-       * gen-icache.c (print_icache_internal_function_declaration): Rename
-       INLINE_ICACHE to PSIM_INLINE_ICACHE.
-       * gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
-       to PSIM_INLINE_IDECODE.
-       * gen-semantics.c (print_semantic_function_header): Rename
-       EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
-       * gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
-       PSIM_INLINE_SUPPORT.
-       * igen.c (print_function_name): Also escape `(' and `)'.
-       (gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
-       (gen_semantics_c): Likewise.  Also output includes for "sim-fpu.h"
-       * inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
-       (EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
-       (STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
-       (INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
-       (EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
-       (INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
-       (EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
-       (INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
-       (EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
-       (INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
-       (EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
-       (INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
-       * options.c (options_inline): Fix names.
-       * sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
-       * sim-endian.h: Likewise.
-       * sim-main.h: New file.
-       * std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
-
-2001-12-01  Andrew Cagney  <ac131313@redhat.com>
-
-       From Mark Peek.
-       * ppc-spr-table: Add SDA and PIR.
-
-2001-10-29  Andrew Cagney  <ac131313@redhat.com>
-
-       * tree.c (parse_size): Assert #size-cells > 0.
-       (parse_address): Ditto for #address-cells.
-       (parse_reg_property): Only parse the size when #size-cells is
-       non-zero.
-
-2001-10-25  Andrew Cagney  <ac131313@redhat.com>
-
-       * emul_generic.c (OEA_MEMORY_SIZE): Increase to 4mb.
-       * hw_htab.c (htab_map_binary): Don't try to map the text section
-       when it is empty.
-       * emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
-       CHIRP_LOAD_BASE.
-       (emul_chirp_create): Map in the interrupt table.
-
-2001-07-16  Daniel Jacobowitz  <drow@mvista.com>
-
-       * Makefile.in: Add dependencies on $(CPU_H).
-
-Wed Mar  7 10:45:12 HST 2001  Glen Nakamura  <gen@lava.net>
-
-       * hw_init.c (dma_file): Fixed problem with loading last 1KB of
-       file.
-
-2001-03-04  Andrew Cagney  <ac131313@redhat.com>
-
-       * emul_netbsd.c [WITH_NetBSD_HOST]: Include <sys/mount.h> and
-       <errno.h>.
-       (do_stat): Only do SYS test when SYS_stat defined.
-       (do_sigprocmask): Ditto for SYS_sigprocmask.
-       (do_fstat): Ditto for SYS_fstat.
-       (do_getdirentries): Ditto for SYS_getdirentries.
-       (do_lstat): Ditto for SYS_lstat.
-
-2001-01-15  Geoffrey Keating  <geoffk@redhat.com>
-
-       * emul_netbsd.c (do_open): Translate the flag parameter to the
-       open syscall to the numbers supported by the host.
-
-2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
-
-       * sim-endian.h: Don't have parameters on macro definitions which
-       are simply renaming functions, to permit use of XCONCAT2 in both
-       the macro name and the arguments in a use of such a definition.
-
-2000-11-15  Jim Blandy  <jimb@redhat.com>
-
-       * sim_calls.c: Doc fix.
-       (sim_fetch_register, sim_store_register): Call
-       gdbarch_register_name directly, instead of going through
-       REGISTER_NAME macro.
-
-2000-10-24  Geoff Keating  <geoffk@cygnus.com>
-
-       * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Apr 28 15:59:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * events.c (event_queue_process): Call update_time_from_event
-       every time an event is removed from the queue.
-       (update_time_from_event): Delete assertion that a negative
-       time_from_event implies an empty event queue.
-
-Fri Apr 28 15:53:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interrupts.c (deliver_hardware_interrupt): Print time trace in
-       decimal.
-       * events.c (event_queue_process): Cleanup trace message.
-       (update_time_from_event): Trace full event queue.
-
-2000-03-25  Geoff Keating  <geoffk@cygnus.com>
-
-       * ppc-instructions (Disabled_Exponent_Underflow): Increment
-       the exponent when denormalizing.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure.in: Use AC_EXEEXT instead of AM_EXEEXT.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * sim_calls.c (POLL_QUIT_INTERVAL): Define. Used to tweak
-       the frequency at which the poll_quit callback is called.
-       (poll_quit_count): New global.
-       (sim_io_poll_quit): Only call the poll_quit callback
-       after the specified POLL_QUIT_INTERVAL.
-
-1999-02-22  Jim Lemke  <jlemke@cygnus.com>
-
-       * dc-complex: Force expansion on all bits of field BO.
-       Previously, the least-significant (prediction) bit was ignored.
-       * ppc-instructions (conditional branches): Implement mpc860c0 option.
-       * igen.c (gen_semantics_[ch]): Setup for mpc860c0 option.
-       * psim.c (is_num, psim_options): Added parsing for mpc860c0 option.
-       * interrupts.h: Added "mpc860c0_instruction_program_interrupt".
-       * interrupts.c (program_interrupt): Added handling for above interrupt.
-
-1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
-
-       Make the simulator compatible with the MPC750.  It would be nicer
-       to make this a real multi-sim, but that's more work than we have
-       time for.
-       * emul_generic.c (emul_add_tree_options): Only require strict
-       alignment if it was explicitly requested at configuration time.
-       Don't make it the default for little-endian machines.
-       * ppc-spr-table (UMMCR0, UMMCR1, UPMC1, UPMC2, USIA, UPMC3, UPMC4,
-       MMCR0, PMC1, PMC2, SIA, MMCR1, PMC3, PMC4, L2CR, ICTC, THRM1,
-       THRM2, THRM3): Plop in the MPC750 SPR registers.
-       (DABR): This is weird.  This was HID5, but the PPC spec says this
-       should be DABR; why did some random processor use it for something
-       else?  The HID5 entry dates back to the original checkin of the
-       simulator code in 1995, so remove it.
-       * sim_calls.c (register_names): Delete this; since the user can
-       now change GDB's list of register names dynamically, we can't
-       pretend there's a static mapping here.
-       (sim_fetch_register, sim_store_register): Call GDB's REGISTER_NAME
-       function to get the register name.  That ought to be accurate.
-       However, we're changing a compile-time dependency (using the
-       REGISTER_NAMES macro) into a link- and run-time dependency
-       (calling REGISTER_NAME, which happens to be a function call on the
-       PPC).
-
-1999-01-22  Jim Lemke <jlemke@cygnus.com>
-
-       * igen.c(gen_semantics_[ch]): setup/use of new option
-       (-o mpc860c0[=n]).
-       interrupts.[ch](mpc860c0_instruction_program_interrupt): added.
-       ppc-instructions(the four branch insn groups): detect problematic br's.
-       psim.c(is_num - added, psim_options): Parse and init new option.
-       These changes are currently under #ifdef WITH_OPTION_MPC860C0.
-
-1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
-
-       * hw_nvram.c (hw_nvram_bcd): Force value to fit in 0..99.
-
-Fri Nov 20 12:17:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * main.c (sim_io_poll_quit): Stub function.
-
-       * events.c (SIM_EVENTS_POLL_RATE): Define.
-       (sim_events_poll): Copy function from common/sim-events.c.
-       (event_queue_init): Copy scheduling of sim_events_poll from same.
-
-       * sim_callbacks.h, sim_calls.c (sim_io_poll_quit): New function,
-       poll the external environment.
-
-1998-11-19  Michael Meissner  <meissner@cygnus.com>
-
-       * ppc-instructions (is_{NaN,inf}): Use unsigned64 to get the
-       fractional type, so that quiet NaN's aren't treated like
-       Infinities.
-
-Mon Sep 28 09:42:45 1998  Drew Moseley  <dmoseley@cygnus.com>
-
-       * table.c (table_open): For cygwin hosts, we need to use the
-       return value from the read routine as the number of bytes to
-       process.  This apparently is due to text-mode vs binary-mode.  If
-       the mounts are done text-mode, then the size returnedby fstat()
-       may be different than the number of bytes "read" in text mode.
-
-Sun Oct  4 00:50:47 1998  Felix Lee  <flee@cygnus.com>
-
-       * emul_netbsd.c (do_open): fix order-of-evaluation problem.
-       (do_close): ditto.
-       (do_fstat): ditto.
-       (do_lstat): ditto.
-
-1998-09-03  Michael Meissner  <meissner@cygnus.com>
-
-       * emul_{netbsd,unix}.c: Update copyright year.
-
-Mon Jun 29 10:57:36 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
-
-       * sim_calls.c (sim_fetch_register, sim_store_register):
-       return zero when nothing to do.
-
-1998-06-26  Michael Meissner  <meissner@cygnus.com>
-
-       * configure.in (AC_CHECK_HEADERS): Don't check for sys/mount.h.
-       * configure: Regenerate.
-       * emul_{netbsd,unix}.c (toplevel): No longer try to include
-       sys/mount.h. It conflicts on Linux when gnu libc2 is used.
-
-Tue May 12 12:10:33 PDT 1998  James Ingham  <jingham@leda.cygnus.com>
-
-       * Makefile.in: The run target depended on a target psim$(EXEEXT),
-       but there was no such target, only plain psim.  So I changed the
-       run target to depend on psim.
-
-Sat May  2 01:10:12 1998  Stu Grossman  <grossman@babylon-5.cygnus.com>
-
-       * aclocal.m4:  Remove defs of AM_EXEEXT and AM_CYGWIN32.  These are
-       now defined in ../common/aclocal.m4, and the double definition causes
-       problems with AC_SUBST of EXEEXT.
-       * configure:  Regenerate.
-
-Wed Apr 29 15:44:52 1998  Geoffrey Noer  <noer@cygnus.com>
-
-       * aclocal.m4: new file for AM_EXEEXT macro
-       * configure.in: call AM_EXEEXT
-       * configure: regenerate with autoconf 2.12.1.
-       * Makefile.in: add EXEEXT support
-
-Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Sun Apr 26 15:19:51 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-       Don't call AC_C_CROSS.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:18:46 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * Makefile.in (top_builddir): New macro.
-       (INTLLIBS): New macro.
-       (INTLDEPS): Likewise.
-       (psim): Depend on INTLDEPS; link against INTLLIBS.
-       * configure.in: Call CY_GNU_GETTEXT.
-
-Wed Apr 22 14:28:48 1998  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.12.1.
-
-Fri Mar 13 09:25:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * psim.c (psim_read_register, psim_write_register): Handle updates
-       for FPSCR.
-
-       * registers.c (register_description): Reconize "FPSCR".
-
-       * emul_netbsd.c (emul_netbsd_create): When FP available, enable
-       MSR FP exception mode. Do not enable FPSCR bits.
-       * emul_unix.c (emul_unix_create): Ditto.
-
-Tue Feb 17 12:48:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Mon Feb  9 14:13:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ppc-instructions (fdiv, fdivs): Check for divide by zero.
-       (is_invalid_zero_divide, invalid_zero_divide_operation): New
-       functions.
-
-Wed Dec 10 17:38:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_load): Do not parse PROG using buildargv, use
-       raw value instead.
-
-1997-11-05  Felix Lee  <flee@cygnus.com>
-
-       * emul_chirp.c: #ifdef HAVE_UNISTD_H
-
-Wed Oct 15 08:50:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * corefile.c (core_attach): Pad out allocated memory regions so
-       that they are always correctly aligned.
-       (struct _core_mapping, core_map_attach, core_init,
-       new_core_mapping): Change free_buffer to type void*.
-
-Mon Oct  6 18:09:26 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * sim_calls.c (zfree): Call free correctly.
-
-Mon Sep 29 10:05:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (zfree): Use free, not mfree.
-       (sim_io_flush_stdoutput): Replace gdb_flush with callback ->
-       flush_stdout.
-
-Fri Sep 26 09:50:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ppc-instructions (sraw, slw, srw): From Charles Lefurgy, Fix
-       mask extracting shift amount. Correctly condition for setting XER
-       in sraw.
-       (ldhau): From Johannes Reisinger, update rA after load.
-
-Tue Sep  9 22:13:23 1997  Felix Lee  <flee@cygnus.com>
-
-       * basics.h (CONCAT*): token-pasting macros, if ALMOST_STDC,
-       for MSVC.
-       * words.h: __int64 instead of long long for MSVC.
-
-Wed Aug 27 10:24:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_create_inferior): Check the simulator was
-       initialized before creating inferior.
-
-       * idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
-       sign bit using 64 bit and not a 32 bit mask.
-
-Wed Aug 27 10:15:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
-       it has been used, not before.
-
-Tue Aug 26 10:41:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (entry_point): Delete variable.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-
-Mon Aug 25 16:17:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_open): Add ABFD argument.
-
-Thu Jul  3 10:18:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * ppc-instructions (PPC_INSN_INT): From Michael Thies - Monitoring
-       CR register updates dependant on RC value had logic backwards.
-
-       * ppc-instructions (Load String Word Immediate): From Brad Parker
-       - sense of wrap test in check for overwriting RA wrong.
-       (Load String Word Indexed): Ditto.
-
-       * configure.in: From Erik Landry - set sim_default_model not
-       sim_model for sim-default-model option.
-       * configure: Regenerate.
-
-       * interrupts.c (check_masked_interrupts): Schedule a hardware
-       interrupt delivery when FP interrupts get enabled.
-       (program_interrupt): Generate FP exceptions instead of aborting.
-       (deliver_hardware_interrupt): Deliver a FP exception if so
-       enabled.
-
-       * registers.h: Add definition of fpscr_vx_bits.
-
-       * idecode_expression.h (FPSCR_END): Always update FEX and VX bits
-       in FPSCR.
-       (FPSCR_END): Explicitly check for possible floating point
-       exception conditions.
-       (FPSCR_BEGIN): Simplify.
-
-       * ppc-instructions (Move From FPSCR): Enable.
-       (Move To FPSCR Bit 1): Ditto.
-       (Move To FPSCR Bit 0): Ditto.
-       (Move To FPSCR Field Immediate): Ditto.
-       (Move to Condition Register from FPSCR): Simplify.
-       (invalid_arithemetic_operation): Generate a QNaN when invalid
-       operation exception disabled.
-
-Tue May 20 10:22:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Delete.
-
-Tue Apr 22 22:36:57 1997  Mike Meissner  <meissner@cygnus.com>
-
-       * sim_callbacks.h (error): Make declaration match gdb's.
-       * main.c (error): Ditto.
-
-Fri Apr 18 17:03:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim_calls.c (sim_stop_reason): Simplify.  Was running implies
-       stopped/SIGINT. Exit implies a status code.
-
-       * psim.c (cntrl_c_simulation): From main.c.  Event function that
-       halts the simulator.
-       (psim_stop): New. Asynchronously schedule a stop simulator event.
-       (psim_run_until_stop): Delete. Made redundant by psim_stop.
-
-       * main.c (cntrl_c): Update.
-       (cntrl_c_simulation): Moved to psim.c.
-
-       * sim_calls.c (sim_stop): New function. Use psim_stop which
-       schedules a stop event.
-       (sim_resume): Drop SIGINT handler, now in gdb/main.c.
-       (sim_resume): Use psim_run as stop variable no longer needed.
-
-Fri Apr 18 17:03:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * psim.c (psim_options): Handle -E option correctly.
-       (psim_usage): Document.
-
-Thu Apr 17 03:28:03 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * psim.c (psim_options): Ignore -E option (sets endianness).
-       * sim_calls.c: #include bfd.h.
-       (entry_point): New static local.
-       (sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Tue Apr 15 14:57:18 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (INSTALL): Set to @INSTALL@.
-       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
-       (install): Depend upon installdirs.  Use $(program_transform_name)
-       directly, rather than using $(INSTALL_XFORM).
-       (installdirs): New target.
-
-Fri Apr  4 17:54:36 1997  Jim Wilson  <wilson@cygnus.com>
-
-       * Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
-       rather than the non-portable cat -n.
-
-Mon Apr 14 16:29:51 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (INSTALL): Change install.sh to install-sh.
-
-Tue Apr  1 18:15:14 1997  Jim Wilson  <wilson@cygnus.com>
-
-       * ppc-instructions: Change milhwu to mulhwu.
-
-Wed Apr  2 15:38:08 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim_calls.c (sim_open): New arg `kind'.
-
-Wed Apr  2 14:51:17 1997  Ian Lance Taylor  <ian@cygnus.com>
-
-       * COPYING: Update FSF address.
-
-Tue Mar 25 16:17:59 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * main.c (sim_io_read_stdin): Only compile unbuffered IO code if
-       all the required features are supported by the host OS.
-
-Tue Mar 25 12:13:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
-
-       * configure.in (enable-sim-endain): Correct typo in usage (from
-       Erik Landry <landry@ENGR.ORST.EDU>).
-       * configure: Re-generate.
-
-Fri Mar 14 18:23:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * Makefile.in (targ-vals.def): Re-do rule so that it works with
-       FreeBSD's make.  Didn't like $<.
-
-Thu Mar 13 12:55:48 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim_calls.c (sim_open): New SIM_DESC result.  Argument is now
-       in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Thu Feb 13 10:35:14 1997  Andrew Cagney  <cagney@phydeaux.cygnus.com>
-
-       * ppc-opcode-simple-array, ppc-opcode-simple-goto,
-       ppc-opcode-simple-switch, ppc-opcode-complex-array,
-       ppc-opcode-complex-goto, ppc-opcode-complex-switch,
-       ppc-opcode-jump, ppc-opcode-goto, ppc-opcode-flat: Delete,
-       superseeded by --sim-decode-mechanism option.
-
-       * ppc-opcode-simple, dc-simple: Rename to be 8.3
-       * ppc-opcode-complex, dc-complex: Ditto.
-       * ppc-opcode-stupid, dc-stupid: Ditto.
-       * ppc-opcode-test-1, dc-test.01: Ditto.
-       * ppc-opcode-test-2, dc-test.02: Ditto.
-
-       * configure.in (--enable-sim-opcode): Change prefix to dc- instead
-       of ppc-opcode-.
-
-Wed Feb 12 19:33:45 1997  Andrew Cagney  <cagney@phydeaux.cygnus.com>
-
-       * Many of the ppc-opcode-* files are identical baring the type of
-       lookup table.  Instead of having multiple tables, igen can do this
-       via an additional option.
-
-       * ld-decode.h, ld-decode.c (force_decode_gen_type): New function,
-       allow the type of generated table specified in the decode file to
-       be overridden.
-
-       * ld-decode.c (load_decode_table): Allow the table type to be
-       overridden.
-
-       * igen.c (main): Add -T <mechanism> option so that an overriding
-       instruction decode mechanism can be specified.
-
-       * configure.in: New option --sim-decode-mechanism to control
-       igen's new -T <mechanism> flag.
-       * Makefile.in (IGEN_FLAGS): Add IGEN_IDECODE_MECHANISM set by the
-       configure script.
-       * configure: Regenerate.
-
-Tue Feb 11 13:49:10 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * events.c (event_queue_create): Don't use NULL to initialize an
-       integer field.
-       (even_queue_{init,schedule_after_signal,tick}): Conditionalize use
-       of sigprocmask to appropriate autoconf test.
-
-       * main.c ({cntrl_c,main}): Use RETSIGTYPE for signal return type,
-       don't assume void.
-       * sim_calls.c (sim_{ctrl_c,resume}): Ditto.
-
-       * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c
-       includes our config.h.
-
-Tue Feb  4 13:42:59 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in: Fix typo in test for callback.c.
-       * configure: Regenerated.
-
-Fri Feb  7 10:04:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_chirp.c (emul_chirp_create): Handle a virtbase of -1 being
-       found in the device tree.
-
-Wed Feb  5 10:56:27 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * Property create/initialization still wasn't correctly ordered.
-       Should be delaying everything related to ihandle creation until
-       after the rest of the tree has been established.
-
-       * device.c (device_find_ihandle_runtime_property): Update.
-       (device_add_ihandle_runtime_property): Update.
-
-       * tree.c (parse_ihandle_property): Delay lookup of the device to
-       be opened until the ihandle initialization phase.
-       * tree.c (print_properties): Update.
-
-Wed Feb  5 10:56:27 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * gen-icache.c (print_icache_extraction): Add a reason parameter.
-       Augment each extracted field with a comment citing the codes
-       origin.  Should simplify tracking down incorrect cache
-       extractions.
-
-Tue Feb  4 17:44:51 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * gen-icache.c: Generalize code handling XXX_is_NNN so that it
-       works for normal and boolean table entries.
-
-       * psim.c (psim_write_memory): last_cpu == -1 or nr_cpus is now
-       valid.  Handle this just like *_{read,write}_register now handles
-       it.
-
-Mon Feb  3 17:18:16 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * events.c (insert_event_entry): Correct loop termination
-       assertions.
-
-Fri Jan 31 16:20:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * psim.c (psim_options): Add new option -c for max-iterations or
-       count.
-       (psim_usage): Document.
-       (psim_max_iterations_exceeded): New function, abort simulation if
-       max iterations exceeded.
-
-       * gen-idecode.c: Re-work the table lookup code so that it assumes
-       that the entry is a leaf by default.  Simplify the boolean table
-       entry code so that it involves a mask + test instead of shift +
-       shift + mask + test.
-
-       * gen-idecode.c: Correct generated igen body so that it no drops
-       or doubles clock interrupts.
-
-
-Thu Jan 30 11:23:20 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * Makefile.in (BUILT_SRC_WO_CONFIG): Change targ-vals.* to
-       @sim_targ_vals@
-
-       * configure.in (sim_callback, sim_targ_vals): Set sim_targ_valls
-       if common callback is present.
-
-Wed Jan 29 12:32:41 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (sim_callback): If the gdb is post 4.16, configure
-       callback support from the common directory.
-       * configure: Regenerate.
-
-       * Makefile.in (BUILT_SRC_WO_CONFIG): Add targ-vals.{h,def} and
-       targ-map.c.
-       (GDB_OBJ): Add callback support configured in.
-       (gentmap,targ-vals.def): Build from common directory.
-       (targ-vals.h,targ-map.c): Build by running gentmap.
-       (callback.o): Build from source in common directory.
-       (targ-map.o): Add dependency.
-       (clean): Remove gentmap.
-
-Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * igen wasn't aborting if the opcode table contained no valid
-       fields.
-
-       * misc.c (name2i): Possibly abort if an invalid name is
-       encountered.
-       * ld-decode.c: Abort if the table type isn't found.
-
-Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * When performance monitoring is disabled, it is still possible to
-       determine the simulation speed by looking at the number of elapsed
-       ticks recorded by the event queue.
-
-       * psim.c (psim_write_register, psim_read_register): Force the cpu
-       to zero when it is either of `-1' or `nr_cpus'.  In both cases the
-       next cpu would be zero any way.
-
-       * mon.c (mon_print_info): If possible, print the system cycle
-       performance.  This is an indication of the number of instructions
-       per second.
-
-Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * The code to allow an event queue to be updated during a signal
-       was missing.  For main.c, a cntrl-c simulation termination wasn't
-       handled cleanly.
-
-       * The simulation would not correctly restart if an event requested
-       that the simulation be halted.
-
-       * psim.c (psim_options): Add hack to -i option to optionally
-       include a level vis -i2.
-       (psim_usage): Document.
-
-       * main.c (cntrl_c, cntrl_c_simulation): New functions.  When a
-       cntrl-c occures schedule an event to halt the simulation.
-       (main): Catch CNTRL-C signals with the function cntrl_c.
-
-       * events.c (event_queue_process): Mask interrupts while
-       manipulating the async event queue.
-       (event_queue_init): Ditto.
-       (event_queue_schedule_after_signal): Ditto.
-
-       * events.c (event_queue_process): Mark the event queue as being in
-       the processing state when processing has started.  Adjust code
-       so that it is tolerant of halts.
-       (event_queue_init): Start the event queue out with processing
-       false.
-       (event_queue_tick): Check that processing isn't still being
-       performed.
-
-       * gen-idecode.c (print_run_until_stop_body): Call
-       event_queue_process_events to clear possibly pending events before
-       starting a simulation run.  Re-arange main loop so that simulator
-       is correctly restarted when an event halts the simulation.
-
-       * psim.c (psim_halt): Handle an event halting the simulation.
-       * psim.c (psim_init): Adjust initial cpu - == -1 - to match
-       reworked idecode.
-
-Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * ppc-opcode-complex: Correct typo - was expanding ORA instead of
-       RA.  Based on instruction frequency stats, expand additional
-       instructions.
-       * ppc-instructions: Change all `RA == 0' to RA_is_0.
-
-       * ppc-opcode-stupid: Move all but the basic table in -complex into
-       here.  Update to new format.
-
-       * Makefile.in (tmp-defines): New target. Force defines.h to always
-       be built.  Hence get ppc-opcode-goto to build.
-
-Tue Jan 28 13:00:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * hw_com.c (hw_com_instance_read, hw_com_instance_write):
-       Implement.
-
-Thu Jan 23 09:07:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * hw_trace.c (hw_trace_init_data): Delete.  The trace options need
-       to be initialized independant of the rest of the simulation
-       initalization.  Otherwize a trace option explictly set from gdb
-       could be overridden by hw_trace.
-
-       * psim.c (psim_options): Clarify reason why the trace ioctl occures.
-
-       * FIXME: The trace code is too scattered - hw_trace.c, psim.c,
-       debug.c.  It could be much simpler.
-
-Thu Jan 23 09:07:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * Some devices support removable media.  Add hooks to the disk
-       device so that it supports this.
-
-       * device.c (device_add_string_array_property,
-       device_find_string_array_property): New functions, manipulate
-       properties containing an array of strings.
-       (device_find_string_property): Allow a string array.
-       (device_init_static_properties): Update.
-       (device_init_runtime_properties): Update.
-
-       * hw_disk.c (hw_disk_ioctl): Add ioctl for changing the disk
-       media.  If no file image is specified, use the next one in the
-       image property list.
-       (hw_disk_init_address): Change the file property so that it is a
-       string array - use the first entry for the initial file image.
-
-       * tree.c (print_string_aray_property): New function - print a
-       string array.
-       (print_properties): Adjust.
-       (print_string): Write a string, handling double quotes.
-
-       * device.h: Define an ioctl to `change-media' with an optional new
-       media image.
-
-       * hw_disk.c: Allow floppy disk devices to be specified.
-
-       * psim.c (psim_command): New function, parse more complex psim
-       commands such as "change-media" and "trace".
-       * sim_calls.c (sim_do_command): Use.
-
-Wed Jan 22 09:38:33 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * For expressions like (RA == 0) that are entered in to the cache
-       as RA_is_0. If possible generate the result of the expression so
-       that the compiler gets a better chance of eliminating dead
-       branches.
-
-       * gen-icache.c (print_icache_extraction): For a cache entry of
-       the form <name>_is_<const> where it is a boolean field, generate
-       the result of the expression instead of the expression its self.
-       (print_icache_body): Remove code that was looking for *_is_0 and
-       then generating corresponding definitions.
-
-       * gen-icache.c (print_icache_struct): If there is no cache, do not
-       output expressions in idecode.h file.
-
-       * gen-icache.c (print_icache_body): Output them here.
-
-       * ppc-opcode-complex: Clarify constant values for SPR==LR register
-       expansion.
-
-       * ppc-cache-rules (RA_is_0, SPR_is_256): Two new cache entries.
-
-Wed Jan 22 12:24:52 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * The code that put values in and extracted values from the cache
-       was too compilicated.  The cache table did not allow values to be
-       computed from cache entries.  #defines could only be used when a
-       cache was present, remove the restriction.
-
-       * ld-cache.h, ld-cache.c: Add a new cache entry type - SCRATCH.  A
-       scratch variable is defined when a cache entry is beinf
-       filled. Change the definition of a COMPUTE variable to be defined
-       when the cache entry is being used.
-       * gen-icache.c: Update.
-
-       * ld-cache.h, ld-cache.c: Change field names so that their meaning
-       is more obvious.  old_name->field_name, new_name->derived_name.
-       * gen-icache.c: Update
-
-       * gen-icache.h, gen-icache.c (print_icache_body): Make the three
-       different types of cache code - put into cache, extract from
-       cache, no cache - an explicit argument to print_icache_body.
-       * gen-icache.c (print_icache_extraction): Ditto.
-
-       * gen-semantics.c (print_c_semantic): Update use.
-       * gen-idecode.c (print_jump_insn): Update use.
-       * gen-icache.c (print_icache_function): Update use.
-
-       * igen.c (main): Change 'R' option so that it does not force the
-       cache.
-
-       * configure.in (enable-sim-icache): Clarify description.  Make
-       #define one of the defaults regardless of the cache.  Probably
-       should revamp and add a separate option.
-
-Tue Jan 21 13:26:10 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * pk_disklabel.c (block_is_fdisk): Tidy up traces - use dos
-       partition numbering.
-       (pk_disklabel_create_instance): Partition 1..4 are valid - not
-       1..3.
-       (is_iso9660): New function, verify a CD9660 File system.
-       (pk_disklabel_create_instance): Start expanding so that active
-       partition selection is supported.
-
-Mon Jan 20 11:20:15 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * The cap object was retaining a reference to the instance of a
-       device after it was deleted. Instead add and remove cap's from the
-       cap db as they are created and deleted.  This ensuring that a
-       capibility is only used during the lifetime of the corresponding
-       object.
-
-       * cap.h, cap.c: Correct cap type - was signed32 should be
-       signed_cell.
-
-       * cap.c (cap_add, cap_remove): New methods for cap object that
-       allow the explicit addition and removal of internal objects that
-       the cap knows about.
-
-       * cap.c (cap_init): Rewrite.  Verify that the only objects
-       remaining in the cap data base are those that were entered first.
-       Thse objects will be the permenant ones.
-       * device.c (device_init_address): Remember to initialize the cap
-       database.
-
-       * device.c (device_create_instance_from): Explicitly add device
-       instances to the cap database.  Simplify create code.
-       (device_instance_delete): Explicitly remove device instances from
-       the cap database.
-
-       * device.c (device_create_from): Explicitly add a device to the
-       cap data base.
-
-       * device.c (device_create_from): Always set the cap members.
-
-       * hw_disk.c: Output the instance when tracing.
-
-Sun Jan 19 16:44:29 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * tree.c (split_device_specifier): Add support for aliases when
-       looking up a device. Now needs a device as an argument.
-       (split_property_specifier): Ditto.
-
-Sun Jan 19 15:28:23 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * The memory "claim" and "release" methods take an address and
-       size as arguments.  These may be multi cell values. Initially fix
-       the memory code so that they check/detect this.  Leave the
-       adjustment of any clients to later.
-
-       * hw_memory.c (hw_memory_instance_claim,
-       hw_memory_instance_release): Handle multi-cell memory devices.
-
-       * hw_memory.c (hw_memory_instance_claim): Be tolerant towards the
-       release of memory regions that were not claimed.
-
-Fri Jan 17 12:01:07 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * device.h, device.c (device_instance_call_method): Correct return
-       type - can return either 0 or -1, hence should be a signed type.
-       * device_table.h: Ditto.
-
-       * hw_memory.c (hw_memory_instance_claim,
-       hw_memory_instance_release): Update.
-       * hw_disk.c (hw_disk_max_transfer, hw_disk_block_size,
-       hw_disk_nr_blocks): Ditto.
-
-Fri Jan 17 11:50:13 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_chirp.c (chirp_emul_claim): Implement using the "claim"
-       method belonging to "/chosen/memory".
-       (chirm_emul_release): Ditto.
-
-       * Makefile.in (LIB_INLINE_SRC): Remove emul_* from list of files
-       that are inlined.  These modules are called via a table and are
-       not made inline.
-
-       * hw_init.c (update_for_binary_section): Fix failure to allocate
-       memory used by the binary in real-mode executions. If "claim"
-       property is present, allocate memory from the "/chosen/memory"
-       device.
-
-       * emul_chirp.c (emul_chirp_create): Specify that memory should be
-       claimed when loading a real image.
-
-       * hw_memory.c (hw_memory_instance_claim): Don't page align memory
-       allocations.
-
-       * hw_memory.c (hw_memory_instance_release): Avoid infinite loop
-       when merging adjacent memory chunks.
-
-Thu Jan 16 08:51:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * vm.h (vm_data_map_read_buffer, vm_data_map_write_buffer): Add
-       optional PROCESSOR & CIA args so that this routine also abort an
-       access.
-
-       * vm_n.h (vm_data_map_read_N, vm_data_map_write_N): For a
-       miss-aligned access when a transfer fails abort.
-
-       * emul_bugapi.c (emul_bugapi_do_write): Use emul_read_buffer
-       instead of the vm_read_buffer.
-       * emul_netbsd.c (do_write): Ditto.
-       * emul_unix.c (do_unix_write): Ditto.
-
-Wed Jan 15 14:38:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * configure.in (--enable-sim-jump): Default is NULL and not -E.
-       * configure: Regenerate.
-
-       * basics.h (__attribute__): Enable attributes if GCC >= 2.6.
-       (UNUSED): Only enable UNUSED if GCC >= 2.7.
-
-       * gen-icache.c (print_icache_extraction): Print UNUSED macro
-       instead of explicit __unused__ attribute.
-       (print_icache_body): Ditto.
-       * idecode_expression.h (FPSCR_BEGIN): Use UNUSED.
-
-Wed Jan 15 13:54:50 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * cpu.h, cpu.c (cpu_synchronize_context): Add CIA argument as
-       reference point.
-
-       * vm.c (vm_synchronize_context): Add PROCESSOR and CIA as
-       arguments so that there is a reference point for recovery.
-       (vm_synchronize_context): Pass processor+cia for errors.
-       (om_unpack_sr): Ditto.
-       (om_unpack_srs): Ditto.
-       * vm.c (vm_create): Review error messages.
-
-       * vm.c: Include "cpu.h" so that cpu_error is visible.
-
-       * ppc-instructions (Return From Interrupt): Pass CIA.
-       (Instruction Synchronize): Ditto.
-       * psim.c (psim_init): Ditto.
-
-Wed Jan 15 12:25:11 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * cpu.h, cpu.c (cpu_error): Aborts simulation with error message,
-       but also saves current processor state.
-
-       * basics.h: Move #include <stdarg.h> to here from device_table.h.
-
-       * interrupts.c (perform_oea_interrupt): Use.  No longer loose CIA
-       when simulation aborted.
-       (program_interrupt): Ditto.
-       (floating_point_unavailable_interrupt): Ditto.
-       (alignment_interrupt): Ditto.
-       (floating_point_assist_interrupt): Ditto.
-       (perform_oea_interrupt): Ditto.
-       (machine_check_interrupt): Ditto.
-
-Tue Jan 14 12:19:10 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * ppc-instructions (Move from Special Purpose Register): Support
-       move from DEC.
-
-Mon Jan 13 16:58:12 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * debug.h, debug.c: Add "interrupts" trace option.
-
-       * interrupts.c (data_storage_interrupt): Add tracing.
-       (machine_check_interrupt): Ditto.
-       (instruction_storage_interrupt): Ditto.
-       (alignment_interrupt): Ditto.
-       (program_interrupt): Ditto.
-       (floating_point_unavailable_interrupt): Ditto.
-       (system_call_interrupt): Ditto.
-       (floating_point_assist_interrupt): Ditto.
-       (deliver_hardware_interrupt): Ditto.
-
-       * interrupts.c (program_interrupt): For UEA mode, halt the
-       processor - so that the current state is saved - instead of
-       aborting.
-       (floating_point_unavailable_interrupt): Ditto.
-       (floating_point_assist_interrupt): Ditto.
-
-Thu Jan  2 09:10:41 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * interrupts.c (perform_oea_interrupt): Halt rather than abort on
-       a double interrupt.
-
-Wed Jan  1 22:54:52 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * ppc-instructions (Store Multiple Word, Load Multiple Word):
-       Enable.
-
-       * tree.c (print_properties): For an array consider printing it out
-       as an integer array.
-
-       * hw_memory.c (hw_memory_init_address): If an "available" property
-       is present, use that to initialize the available memory instead of
-       using the reg property.
-
-       * emul_generic.c (emul_add_tree_hardware): Add "available"
-       property to memory device.
-
-Fri Dec 20 13:19:07 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * ppc-instructions (Rotate Left Word then AND with Mask): Enable.
-
-       * device.c (device_instance_call_method): Was only looking at the
-       first method.
-
-       * hw_disk.c (hw_disk_nr_blocks): Implement #blocks method.
-       (hw_disk_block_size): Implement block-size method.
-       (hw_disk_max_transfer): Implement max-transfer method.
-
-       * hw_phb.c (hw_phb_init_address): Reinit the rest of the PHB.
-
-       * emul_chirp.c (chirp_emul_instance_to_path): Recover from an
-       invalid ihandle.
-       (chirp_emul_instance_to_package): Ditto.
-       (chirp_emul_method): Ditto.
-       (chirp_emul_read): Ditto.
-       (chirp_emul_write): Ditto.
-       (chirp_emul_close): Ditto.
-       (chirp_emul_seek): Ditto.
-       (chirp_emul_package_to_path): Ditto (for phandle).
-       (chirp_emul_package_to_path): Return the length.
-
-       * psim.c (psim_merge_device_file): Allow continuation lines.
-
-Thu Dec 19 11:09:43 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_chirp.c (chirp_emul_boot): Implement. Well report the new
-       string and exit.
-
-       * emul_chirp.c (chirp_emul_exit): Correct type of args struct
-       members - *_cell not host dependant int.
-
-Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * interrupts.c (perform_oea_interrupt): Print additional
-       information if a double interrupt is encountered.
-
-Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * psim.c (psim_merge_device_file): Tolerate an incorrect file-name
-       being specified with the -f option.
-       (psim_merge_device_file): Correct check for end of string.
-
-Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_chirp.c (chirp_emul_peer): Was falling off the end of the
-       list of devices. Return zero to the client instead.
-       * emul_chirp.c (chirp_emul_child): Ditto
-       * emul_chirp.c (chirp_emul_parent): Ditto
-
-       * device.c (device_root): Assert assumption about the device being
-       valid.
-
-Tue Dec 17 15:12:38 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_chirp.c (emul_chirp_create): Add description property to
-       each significant node in the device tree.
-       * emul_bugapi.c (emul_bugapi_create): Ditto.
-
-Fri Dec 13 14:30:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * main.c (sim_io_read_stdin): For a single byte STDIO read, use a
-       tempoary two byte buffer.  Single byte read with fgets will not
-       work.
-       * main.c: Include errno.h.
-       (sim_io_read_stdin): For non-STDIO, make it work.
-
-       * emul_chirp.c (chirp_emul_read): Return the correct error status.
-
-Fri Dec 13 14:30:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * std-config.h (WITH_STDIO): Don't hard-wire the STDIO mechanism.
-       Instead have each emulation default it to DO_USE_STDIO.
-
-       * emul_generic.c (emul_add_tree_options): Select the STDIO I/O
-       mechanism as the default if enabled or if nothing selected.
-
-       * sim_calls.c (sim_io_read_stdin): Passify GCC's desire for a
-       return value.
-       (sim_io_write_stdout): Ditto.
-       (sim_io_write_stderr): Ditto.
-       * main.c (sim_io_write_stdout): Ditto.
-       (sim_io_write_stderr): Ditto.
-       (sim_io_read_stdin): Ditto.
-
-Tue Dec 10 10:31:48 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_chirp.c (emul_chirp_instruction_call): Make *printf calls
-       type correct.
-       * vm.c (om_effective_to_virtual): Ditto.
-       * events.c (event_queue_schedule{,_after_signal}): Ditto.
-       (event_queue_{deschedule,process}): Ditto.
-       * hw_htab.c (htab_decode_hash_table): Ditto.
-       (htab_map_{page,binary}): Ditto.
-       * hw_opic.c (hw_opic_init_data): Ditto.
-       (handle_interrupt): Ditto.
-       (do_processor_init_register_{read,write}): Ditto.
-       (write_vector_priority_register): Ditto.
-       ({read,write}_destination_register): Ditto.
-       (do_suprious_vector_register_{read,write}): Ditto.
-       (do_current_task_priority_register_N_{read,write}): Ditto.
-       (do_timer_frequency_reporting_register_{read,write}): Ditto.
-       (do_timer_N_{current,base}_count_register_{read,write}): Ditto.
-       (do_ipi_N_dispatch_register_write): Ditto.
-       (do_vendor_identification_register_read): Ditto.
-       (do_feature_reporting_register_N_read): Ditto.
-       (do_global_configuration_register_N_{read,write}): Ditto.
-       * hw_phb.c (hw_phb_attach_address): Ditto.
-       (hw_phb_unit_decode): Ditto.
-       (hw_phb_address_to_attach_address): Ditto.
-       (hw_phb_io_{read,write}_buffer): Ditto.
-       * hw_ide.c (setup_fifo): Ditto.
-
-       * sim_calls.c ({defs,callback,remote-sim}.h): Find gdb include
-       files via -I<dir> instead of using "../../gdb/" prefixes.
-
-Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * debug.h: Add tracing for the pal device.
-       * hw_pal.c: Update.
-
-       * emul_chirp.c (chirp_emul_getprop): More tracing.
-
-Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * device.h, device.c (device_find_ihandle_runtime_property): New
-       function. Reverse of add_ihandle_runtime property.
-       (device_init_runtime_properties): Use it.
-
-       * device.c (find_property_entry): New function returns the
-       internal property spec.
-       (device_set_property): Use.
-       (device_find_property): Use.
-
-Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * psim.c (psim_merge_device_file): Strip newline from device
-       specs.
-
-Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * hw_htab.c (htab_map_binary): For overlapping text / data maps
-       merge the two.  Also check that the merge is safe.
-
-       * emul_chirp.c (emul_chirp_create): Add a description property to
-       the pte's so that they are easier to identify.
-
-       (emul_chirp_create): Don't specify a load address for the CHRP
-       image.  Always use the values specified by the executable.
-
-       * hw_htab.c (htab_map_page): Abort if a duplicate map is
-       encountered.
-
-Mon Dec  9 12:08:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * hw_htab.c (htab_map_page): Formatting.
-
-       * emul_chirp.c (emul_chirp_instruction_call): Check for a NULL
-       method name when handling the client call. Also check for other
-       bad call arguments.
-
-       * emul_chirp.c (emul_chirp_create): Allow real-mode?, real-base,
-       etc to be overriden.
-
-Mon Dec  9 12:08:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * os_emul.c (os_emul_create): Use tree find property instead of
-       device find property - sigh.
-
-Thu Dec  5 10:46:42 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * 961205: Release snapshot 961205.
-
-Thu Dec  5 10:46:42 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * configure.in (hostbitsize, bitsize): Fix typo in error message -
-       cannot contain a comma.
-       (sim-warnings): Check for more potential errors.
-
-       * psim.c (psim_usage): Add -f <file> option.  Specifies a file
-       containing device tree specifications that should be merged into
-       the device tree.
-
-       * configure.in: Sort options.
-       * configure: Rebuild
-
-Wed Dec  4 13:57:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * psim.c (psim_usage): Add -n option - specify number of
-       processors.
-
-       * emul_chirp.c: Add description.
-       * emul_bugapi.c: Ditto.
-       * emul_unix.c: Ditto.
-       * emul_netbsd.c: Ditto.
-
-Fri Nov 29 11:12:22 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * hw_pal.c (hw_pal_attach_address): New function, if an attach is
-       encountered, assume that it is the single disk.
-       * hw_pal.c: Add generic device/size decode methods.
-
-       * hw_nvram.c (hw_nvram_init_address): Use the first nonzero reg
-       property entry when determining the nvram size.
-
-       * hw_core.c: Add generic address/size decode methods.
-
-       * emul_chirp.c (emul_chirp_instruction_call): Return and trace
-       nonzero status from client functions.
-
-       * main.c (error): Always include a cariage return when writing out
-       errors.
-
-Wed Nov 20 00:36:55 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * sim_calls.c (sim_resume): Reset sim_should_run if single
-       stepping.
-
-Thu Nov 28 13:19:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
-
-       * emul_bugapi.c (emul_bugapi_do_diskio): Add support for multiple
-       optional disks.
-
-       * emul_generic.c (emul_add_tree_hardware): Drop the dummy eeprom.
-       Attach the pal - for I/O - as a pseudo device haning from the
-       firmware sub tree.
-
-       * emul_bugapi.c (emul_bugapi_create): Add a small memory device to
-       the device tree at the address of the hi-mem interrupt vector
-       addreses.  Used by bugapi to establish its trap instructions.
-
-       * debug.h: Add a new macro DITRACE for tracing device instances.
-
-       * debug.h: Extend the DTRACE macro so that it can also tests for
-       device specific tracint.
-
-       * device.h, device.c (device_trace): Add method to determine
-       device specific tracing.
-       (device_init_address): Set the devices tracing level.
-
-Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * tree.h, tree.c (tree_device): New files - separate out the
-       device parser and other tree operations from the device.
-
-       * inline.h, inline.c (INLINE_TREE): Add.
-       * device.h, device.c (device_tree_add_parsed): Delete.
-       * Makefile.in (tree.c): Add rules for new file.
-       * Makefile.in: Better order the emul_* files.
-
-       * emul_generic.c (emul_add_tree_hardware): Update.
-       * emul_netbsd.c (emul_netbsd_create): Update.
-       * emul_unix.c (emul_unix_create): Ditto.
-       * emul_chirp.c (emul_chirp_create): Ditto.
-       * emul_bugapi.c (emul_bugapi_create): Ditto.
-       * psim.c (psim_tree): Ditto.
-       * hw_init.c: Ditto.
-
-       * emul_generic.h: Include tree.h
-       * Makefile.in: Add to EMUL_GENERIC_H dependencies.
-
-       * device.h, device.c (device_root): New function - returns the
-       root of the tree.
-       * corefile.c: Use.
-
-       * device.h, device.c (device_clean): New function, clean up device
-       ready for next simulation run. This includes things like deleting
-       interrupt edges and properties created during the simulation and
-       also scrubbing any pre-defined properties.
-       * tree.c (tree_init): Use.
-
-       * device.h, device.c (device_init_static_properties): New
-       function.  Initialize any static predefined properties.  By static
-       we mean those that have values that can be determined before the
-       device tree initialization has started.
-       * tree.c (tree_init): Use.
-
-       * device.h, device.c (device_init_address): Add code to
-       check/verify the devices #address-cells and #size-cells.
-       (device_add_integer_property): Delete corresponding code.
-       (device_nr_address_cells, device_nr_data_cells): Check for
-       property when returning value.
-
-       * device.h, device.c (device_init_runtime_properties): New
-       function.  Initialize those properties that are not `static'.  At
-       present the only such property is the ihandle.
-       * tree.c (tree_init): Use.
-
-       * device.h, device.c (reg, ranges): Rework these so that they use
-       an array of the fundamental type - single reg or single range
-       entry.
-
-       * device.h, device.c (device_add_ihandle_runtime_property):
-       Re-implement the adding of an ihandle during tree construction so
-       that it better fits in with device initialization.
-
-Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h, device.c (device_ioctl): Add additional argument -
-       request - so that the caller must always specify the type of
-       the ioctl request.
-
-       * device_table.h: Update.
-       * hw_trace.c (hw_trace_ioctl): Ditto.
-       * hw_vm.c (hw_vm_ioctl_callback): Ditto.
-       * hw_init.c (hw_stack_ioctl_callback): Ditto.
-       * psim.c (psim_options): Ditto.
-
-Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * BUGS: Updated a bit.
-
-Wed Nov 20 14:06:37 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_opic.c: Finish - third round.
-
-Wed Nov 20 12:02:08 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_glue.c (hw_glue_io_read_buffer_callback): Fix miscalc of glue
-       reg index.
-       (hw_glue_io_write_buffer_callback): Ditto.
-
-Tue Nov 19 21:17:08 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * events.c (event_queue_process): Was incorrectly consuming future
-       events on the queue when they should be left alone.
-
-       * debug.h, debug.c (events): Add support for event queue tracing.
-       * events.c: Add event tracing.
-
-       * debug.h, debug.c: Order device trace options.
-
-Fri Nov 15 15:23:39 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * pk_disklabel.c (pk_disklabel_create_instance): Fix up some
-       warnings generated by GCC.
-
-Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * sim-endian.h: Add LE versions of byte swap macros.  Needed for
-       PCI devices which are little-endian.
-
-       * sim-endian-n.h (endian_le2h_N, endian_h2le_N): Ditto
-
-Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_iobus.c (hw_iobus_attach_address_callback): Change the iobus
-       so that it is implementing a 1-1 address map.
-
-       * emul_generic.c (emul_add_tree_hardware): Adjust.
-
-       * emul_generic.c (emul_add_tree_hardware): Don't add the nvram as
-       a default.
-
-Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (split_find_device): Be tolerant of missing unit
-       addresses.
-
-Fri Nov 15 16:49:49 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * basics.h (port_direction): New type, specify the direction of
-       any `port'.
-
-       * device.h, device.c (device_interrupt_decode): Include
-       specification of port direction in operations.
-       (device_interrupt_encode): Ditto.
-
-       * device_table.h: Add a direction field to the interrupt port
-       table.
-
-       * device.c (device_tree_add_parsed): Specify port direction.
-
-Thu Nov 14 21:38:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_opic.c: Finish - second round.
-
-Thu Nov  7 00:18:59 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_htab.c (htab_init_data_callback): Allow the virtual-address
-       to be specified as an array which allows 64bit addresses.
-
-       * device.c (device_find_integer_array_property): New function.
-       Simplify the querying of elements of an integer array.
-       (device_add_integer_property, device_find_integer_property):
-       Update to correctly use the cell type.
-
-       * vm.c (om_unpack_sr): Clarify shifting comment.
-       (om_pte_0_masked_vsid): Ditto. Add 64bit version.
-
-       * emul_chirp.c (emul_chirp_create): Initialize the segment
-       registers.
-
-       * vm.c (om_effective_to_virtual): Trace segment register use.
-
-       * hw_htab.c (htab_map_page): Print out the pteg base address to
-       simplify cross checking between vm and the htab.
-       (htab_decode_hash_table): Use device_error instead of error.
-       (htab_map_page): Ditto.
-       (htab_dma_binary): Ditto.
-       (htab_map_binary): Ditto.
-       (htab_init_data_callback): Ditto.
-
-Wed Nov  6 20:20:58 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * interrupts.h: Clarify what the optional instruction program
-       interrupt is - a subset of illegal instruction program interrupt.
-
-       * interrupts.c (program_interrupt): For UEA mode, clarify what an
-       optional instruction program interrupt is.
-       (program_interrupt): For OEA mode, as per spec, generate an
-       illegal instruction program interrupt when an optional instruction
-       is encountered.
-
-       * gen-semantics.c (print_semantic_body): Delete code
-       differentiating between an unimplemented floating point and normal
-       instruction.  Instead, such a case can be handled explicitly.
-
-       * ppc-instructions (store floating-point as integer word indexed):
-       Mark as optional.
-       (Floating Convert to Integer Doubleword): Make the floating point
-       assist interrupt explicit.
-       (Floating Convert To Integer Doubleword with round towards Zero):
-       Ditto.
-       (Floating Convert To Integer Word): Ditto
-       (Move From FPSCR): Ditto.
-       (Move to Condition Register from FPSCR): Ditto.
-       (Move To FPSCR Fields): Ditto.
-       (Move To FPSCR Field Immediate): Ditto.
-       (Move To FPSCR Bit 0): Ditto.
-       (Move To FPSCR Bit 1): Ditto.
-
-Mon Nov  4 12:49:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * corefile.c (core_map_read_buffer, core_map_write_buffer): Avoid
-       breaking up transfers.
-
-       * corefile.c: Adjust arguments so that the client server
-       relationship is clarified.
-
-       * hw_glue.c (hw_glue_init_address): Update so it can be attached
-       to a PCI bus.
-
-       * hw_disk.c (hw_disk_instance_write): Add more checks to disk IO -
-       looking for things like overflow/underflow.
-
-Sun Nov  3 18:45:20 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_generic.c (emul_add_tree_hardware): Hang the disk off the
-       PAL device instead of the IOBUS.  The disk must be attached to a
-       logical bus.
-
-       * hw_disk.c (hw_disk_init_address): Just use the unit address
-       directly in the attach - the rest isn't relevant.
-
-Sat Nov  2 21:48:57 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure.in (sim-hardware, sim-packages): Allow additional
-       hardware and packages to be prefixed as well as appended.
-
-       * Makefile.in (tmp-hw, tmp-pk): Retain the user specified order of
-       packages when building them.  Consequently, a user can override a
-       standard device by prefixing their own version.
-
-       * Makefile.in (hw_opic.o, hw_pci.o, hw_ide.o): Add dependencies.
-
-Fri Nov  1 14:42:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * mon.c (_cpu_mon): Add fields for counting 1, 2, 4, and 8 byte
-       reads and writes.
-       (mon_{read,write}): Count 1, 2, 4, and 8 byte reads/writes.
-       (mon_print_info): Correct typo regarding # of unaligned reads and
-       writes.  Print out how many 1, 2, 4, and 8 byte reads/writes there
-       are.
-
-Tue Oct 29 17:55:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (AC_CHECK_FUNCS): Add access.
-       * config{.in,ure}: Regenerate.
-
-       * emul_unix.c (do_unix_nop): System call that always succeeds.
-       (do_unix_access): Support access system call.
-       (solaris_descriptors): Make sigaltstack and sigaction nops.
-       ({solaris,linux}_descriptors): Add support for access.
-
-Tue, 8 Oct 18:42:26 1996  Jason Molenda <crash@cygnus.co.jp>
-
-       * Makefile.in (clean): Move config.log to distclean.
-
-Fri Nov  1 16:44:28 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * corefile-n.h (core_map_write_N): Improve abort messages.
-
-       * device.h, device.c (device_attach_address): Remove unused name
-       parameter.
-       (device_detach_address): Ditto.
-       * device_table.h, device_table.c: Update.
-       * hw_iobus.c (hw_iobus_attach_address_callback): Ditto.
-       * hw_nvram.c (hw_nvram_init_address): Ditto.
-       * hw_memory.c (hw_memory_init_address): Ditto.
-       * hw_vm.c (hw_vm_init_address_callback): Ditto.
-       (hw_vm_attach_address): Ditto.
-       (hw_vm_add_space): Ditto.
-       * hw_init.c (update_for_binary_section): Ditto.
-       * hw_core.c (hw_core_attach_address_callback): Ditto.
-
-       * hw_iobus.c (hw_iobus_attach_address_callback): Rewrite to handle
-       configurable parent busses.
-
-Wed Oct 30 18:46:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.c (generic_device_size_to_attach_size): Provide
-       limited support for multi-cell sizes.
-       (generic_device_address_to_attach_address): Ditto for addresses.
-
-Tue Oct 29 02:01:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_add_integer_property): Check for setting of
-       #address-cells and #size-cells properties.  For these, update the
-       corresponding device values.
-       (device_nr_address_cells, device_nr_size_cells): Use the value
-       from the device instead of the property.
-
-       * hw_core.c: Use generic address and size conversions for the top
-       bus.
-
-       * hw_memory.c (hw_memory_init_address): Tolerate case where
-       #address and #size cells is greater than 1.
-
-       * device.c (device_tree_print_device): Clean out printing of
-       properties.
-
-       * device.c (split_device_specifier): Don't detect comments here -
-       "#" can be a valid prefix - eg #size-cells.
-
-       * psim.c (psim_merge_device_file): Suppress comments and blank
-       lines here.
-
-       * emul_generic.c (emul_add_tree_hardware): Fix typo of incorrect
-       pal unit address.  Add the property /#address-cells to the root of
-       the tree.
-
-       * device.c (device_template_create_device): Check that the unit
-       address was successfully parsed.
-
-       * device_table.c (generic_device_unit_decode): Rewrite to better
-       handle multi-cell addresses.
-       (generic_device_unit_encode): Ditto.
-
-       * emul_generic.c (emul_add_tree_hardware): "reg" properties no
-       longer need the explicit array type - the parser takes care of it.
-
-       * pk_disklabel.c (pk_disklabel_create_instance): Add NULL return
-       to keep GCC happy.
-
-Mon Oct 28 22:55:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_ide.c: New file.  Model of a basic IDE interface attached to
-       a PCI bus.
-
-       * configure.in (hardware): Add the ide device to the default
-       configuration.
-       * configure: Regenerate.
-
-       * debug.h, debug.c: Add tracing option for the IDE device.
-
-Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_phb.c, hw_phb.h: New files - implement a PHB.
-
-       * configure.in (hardware): Add the phb to the list of devices to
-       build by default.
-
-Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_com.c: Review description.
-       * hw_disk.c: Ditto.
-       * hw_htab.c: Ditto.
-       * hw_eeprom.c: Ditto.
-       * hw_init.c: Ditto.
-       * hw_cpu.c: Ditto.
-
-       * hw_com.c: Update event handling.
-
-       * hw_disk.c: Implement tracing.
-
-Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.c (generic_device_init_address): Use
-       assigned-addresses property in preference to any other reg
-       property.
-
-Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h, device.c (device_find_ranges_property): New function.
-       Simplify the manipulation of "ranges" properties.
-
-       * device.c (device_add_parsed): Extend to include support for the
-       ranges property.
-
-       * device.c (device_add_parsed): Add assigned-addresses to the list
-       of reg type properties.
-
-       * device.c (device_tree_print_device): Add code to format and
-       print a ranges property.
-
-       * device.h, device.c (device_nr_address_cells,
-       device_nr_size_cells): New functions. Determine the values of the
-       standard properties #address-cells and #size-cells.  Both of which
-       are optional and have default values of two and one respectfuly.
-       Previously, code that determined #address-cells was incorrectly
-       using a value of one.
-
-Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * debug.h, debug.c: Sort debug options, Add entries for the
-       comming PHB device.
-
-Fri Oct 18 12:12:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * ppc-instructions (Floating Select): Add support for fsel unless
-       model is 601.  Allow user to filter out instruction unless -Fs is
-       passed to igen.
-       (Store Floating-Point as Integer Word Indexed): Raise optional
-       instruction program abort.  Allow user to filter out instruction
-       unless -Fs is passed to igen.
-       (Floating Square Root{, Single}): Ditto.
-       (Floating Reciprocal Estimate Single): Ditto.
-       (Floating Reciprocal Square Root Estimate): Ditto.
-
-       * configure.in (--enable-sim-filter): If not passed, pass 32,f,s
-       to igen.
-       * configure: Regenerate.
-
-       * interrupts.h (program_interrupt_reasons): Add
-       optional_instruction_program_interrupt.
-
-       * interrupts.c (program_interrupt): Call error with more detailed
-       information on program interrupts, particularly in user mode.  Add
-       support for optional_instruction_program_interrupt.
-
-Wed Sep 25 10:20:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_glue.c: New device.  Hooks for manipulating interrupt ports.
-
-       * debug.h, debug.c (trace_glue_device): Add tracing support for
-       the interrupt glue logic device.
-
-       * configure.in (hardware): Add glue device.
-       * configure: Regenerate.
-
-Tue Sep 24 20:55:38 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_tree_parse_integer_property): New function,
-       parse a list of integers as an array property.
-       (device_tree_add_parsed): Call it.
-
-       * device.c (device_tree_parse_string_property): New function,
-       parse a list of strings as a string property (with embeded
-       null's).  For moment, don't try to implement a complext string
-       parser.
-       (device_tree_add_parsed): Call it.
-
-Tue Sep 24 16:30:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_opic.c: New file.  OpenPIC interrupt controller.
-
-       * configure.in (hardware): Add opic device.
-       * configure: re-generate.
-
-       * hw_pic.c: Delete, replaced with hw_opic.c.
-
-       * debug.h, debug.c: Add debug option for OpenPIC device. -
-       opic-device.
-
-Tue Sep 24 16:30:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * Makefile.in (psim.o, idecode.o): Since idecode and not psim is
-       now the file that does all the inlining.
-
-       * Makefile.in (LIB_SRC, LIB_INLINE_SRC, idecode.o): Break out the
-       library source code that could be involved in an inlining.  Make
-       idecode.o only dependant on the inlined library source code.
-
-       * Makefile.in (LIB_OBJ): Put options last on the list so that it
-       is compiled last.
-
-       * std-config.h (DEVICE_INLINE): Only inline locals when the
-       default is to inline.
-
-Mon Sep 23 00:37:49 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_htab.c (htab_sum_binary): Determine the real-base for the
-       binary.
-
-       * hw_htab.c (htab_map_binary): Depending on the value of the
-       load-base, either map the program in as a contiguous section or as
-       separate sections controled by th binaries lma values.
-       (htab_init_data_callback): Ditto.
-
-Sun Sep 22 15:56:22 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_generic.c (emul_add_tree_options): Remove load-base option.
-
-       * emul_chirp.c (map_over_chirp_note): Add load_base field to note
-       struct.  Don't require the load_base field to be present - just
-       issue warning - it is a recent addition.
-       (emul_chirp_create): Support both virtual and physical modes.
-
-       * emul_chirp.c (emul_chirp_create): Add a stack initialization
-       property so that any arguments specified on the command line can
-       be passed on to user programs.
-
-       * hw_init.c (create_ppc_chirp_bootargs): Add support for chirp
-       argument passing to the pseudo device stack.
-
-Sat Sep 21 19:39:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_error): Make it more tolerant to incomplete
-       devices.
-
-       * hw_init.c (hw_data_init_data_callback): Extend the data device
-       so that it can perform initialization operations either dma or a
-       more complex instance open, seek, write operation.
-       * hw_init.c: Update the description of the data device to reflect
-       this.
-
-Sat Sep 21 00:13:02 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_event_queue_schedule,
-       device_event_queue_deschedule, device_event_queue_time): Have the
-       device object export the event operations.  Making these available
-       from the device object should hopefully simplify writing device
-       models.
-
-Fri Sep 20 14:04:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure.in (sim-hardware): Add eeprom device to default build.
-
-       * hw_eeprom.c: Rewrite so it works.
-
-       * debug.h, debug.c: Add tracing support for the eeprom and com
-       devices.
-
-Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * debug.h: Add disklabel-package and disk-device trace options.
-       debug.h (PTRACE): Add macro to simplify tracing in packages.
-
-Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_create_instance_from): Tighten up loop
-       searching for device instances.
-       (device_instance_delete): Ditto.
-       (device_instance_delete): Only leaf instances need to be removed
-       from a devices list of active instances.
-
-Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_disk.c: Add the cdrom as an alias.
-
-       * pk_disklabel.c (disklabel_delete): Implement, remembering to
-       delete the raw disk instance while we're at it.
-
-       * pk_disklabel.c (pk_disklabel_create_instance): Implement a
-       little bit more - still a long way to go.
-
-       * pk_disklabel.c (disklabel_write, disklabel_read): Remember the
-       new head position after a read or write.
-
-Thu Sep 19 13:05:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_chirp.c (chirp_emul_read): Allow reads to be longer then
-       the internal buffer.
-
-Thu Sep 19 13:05:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_chirp.c (chirp_read_t2h_args): Call memset-0 with the args
-       in the correct order.
-
-       * emul_chirp.c (chirp_emul_call_method): Correct computation for
-       the address of the first stack argument passed in from the client
-       program.
-
-Wed Sep 18 19:33:54 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * words.h: Add new types signed_cell and unsigned_cell which
-       correspond to the signed and unsigned IEEE 1275 memory locations.
-       * device.h, device.c, emul_chirp.c: Where refering to an IEEE 1275
-       memory cell, replace uses of unsigned32 with unsigned_cell.
-       * device_table.h: Ditto.
-
-       * sim-endian.h: Add new macros H2BE_cell and BE2H_cell which
-       convert cell sized values to from big endian.
-       * device.c, emul_chirp.c: Where refering to IEEE 1275 memory cells
-       use these new macros.
-
-Tue Sep 17 15:57:44 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_tree_add_parsed): Detect and report an
-       interrupt being attached to an invalid device. Was dumping core.
-
-Mon Sep 16 23:09:12 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h, device.c (device_address_to_attach_address,
-       device_size_to_attach_size): New functions.  Convert a devices
-       unit address or unit size structure into a form suitable for
-       passing on to the attach and detach functions.
-       * device_table.h: Add extra methods to device table.
-
-       * device.h, device.c (device_find_reg_property): New function.
-       For a reg type property, return the selected address + size
-       tupple, along with a positive success status.  Add a reg_property
-       to the list of property types.
-       * (device_tree_add_parsed): Make array properties with the name
-       reg or alternate-reg of type reg_property.
-
-       * hw_memory.c (hw_memory_init_address): Rewrite to use new
-       find_reg_property method.
-       * hw_nvram.c (hw_nvram_init_address): Ditto.
-
-       * device.c (device_tree_print_device): Add code to print out a reg
-       property.
-
-       * device_table.c (generic_device_address_to_attach_address,
-       generic_device_size_to_attach_size ): New functions.  Generic
-       functions for converting between unit and attach address or size.
-
-       * device_table.c (generic_device_init_address): Rewrite to use the
-       new find_reg and address convert functions.  Look for both reg and
-       alternate-reg properties.
-
-Mon Sep 16 23:09:12 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_com.c: New file.  A '550 serial device that can quickly be
-       attached to any bus.
-       * configure.in (enable-sim-hardware): Add the com device.
-       * configure: re-generate.
-
-Thu Sep 12 17:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_tree_verify_reg_unit_address): New
-       function. Check that the unit address as specified by the reg
-       property correctly corresponds to any unit address previously
-       specified by the devices name.
-       (device_tree_add_parsed): When adding a reg property, verify
-       that the unit-address - first value of property - correctly
-       matches any previous value specified when creating the device
-       node.
-
-Thu Sep 12 17:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * mon.c (mon_event): Remove assertion that an unsigned is >= 0.
-
-Fri Aug 16 12:05:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * device.c (device_full_name): Cast strdup to char *, since AIX
-       3.2.5 mistakenly declares the function to be const char *.
-       (device_create_from): Ditto.
-       (device_create_instance_from): Ditto.
-       (device_add_property): Ditto.
-
-Tue Aug 13 11:40:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * debug.c (trace_option): For -t all, do not set the
-       trace_dump_device_tree flag, so that the simulator is run.
-
-Tue Aug 13 11:40:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (options.o): Depend on defines.h.
-       (defines.h): New rule, go through config.h and make strings of all
-       of the #define HAVE_xxx macros.
-       (distclean): Remove defines.h.
-
-       * options.c (print_options): Print whether many of the
-       configuration macros are defined.
-
-       * main.c (main): If -t options and no filename, just print the
-       options, and don't print the usage message.
-
-Mon Aug 12 18:42:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in: Test whether /dev/zero works on the system, and if
-       it does, define HAVE_DEVZERO.
-       * configure: Regenerate.
-
-       * emul_generic.c (emul_add_tree_hardware): Do not add /iobus/disk
-       if we don't have a working /dev/zero on the system.
-
-       * emul_bugapi.c (emul_bugapi_init): If HAVE_DEVZERO is not
-       defined, don't add disk support.
-       (emul_bugapi_do_diskio): Ditto.
-       (emul_bugapi_instruction_call): Ditto.
-
-Wed Aug  7 14:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_unix.c (HAVE_TCGETATTR): If HAVE_TERMIOS_STRUCTURE is not
-       defined, make sure HAVE_TCGETATTR is #undef'ed
-
-Wed Aug  7 14:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * std-config.h (REGPARM): Only define REGPARM attributes if using
-       GNU C.  Test for __i686__ in case GCC ever defines it.  If not on
-       a x86 platform, define REGPARM as nothing.
-
-       * sim-endian.h (WITH_HOST_BYTE_ORDER): Test for i686 and __i686__
-       also.
-
-Wed Aug  7 20:19:55 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ld-decode.h, ld-decode.c: Rename goto_gen to the more correct
-       goto_switch_gen.
-       * gen-idecode.c: Ditto.
-
-       * gen-idecode.c (print_idecode_table): Comment out check for
-       switch/table combination until a bug with it is fixed.
-
-       * ppc-opcode-goto: New file.  Like complex and flat but uses
-       goto-switch instead of padded-switch for the tables.
-
-       * gen-idecode.c (print_goto_switch_name): New function.
-       (print_goto_switch_table_leaf): New function.
-       (print_goto_switch_break): New function.
-       (print_goto_switch_table): New function. Prints a jump table
-       that can be jumped into instead of a switch statement.
-
-       * gen-idecode.c (*switch_*): As an option output a switch that is
-       implemented using a jump table but only if the switch is not
-       boolean.
-
-Tue Aug  6 09:28:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (--enable-sim-{hardware,packages}): Fix typos.
-       * configure: Regenerate.
-
-       * device.c (device_instance_call_method): Fixup format message in
-       error case.  Return 0 in case of error to shut up compiler
-       warnings.
-
-Wed Aug  7 00:17:37 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.c (generic_device_unit_decode): Require a comma
-       between elements of a unit address.
-
-       * device.c (device_tree_print_device): For reg, alternate-reg and
-       ranges properties use special print functions.
-       (device_print_ranges_property): Print formatted ranges property.
-       (device_print_reg_property): Print formatted reg property.
-
-Tue Aug  6 21:35:18 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_tree_add_parsed): For reg, ranges and
-       alternate-reg properties use a special parser.
-       (device_tree_parse_reg_property): New function to parse a reg
-       property.
-       (device_tree_parse_ranges_property): New function to parse a
-       ranges property.
-       (device_encode_unit): Wrapper for encode_unit callback.
-       (device_decoce_unit): Wrapper for decode_unit callback.
-
-Wed Jul 31 00:02:30 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.h (device_instance_callbacks): Relace the claim and
-       release methods with a more general table mapping from method-name
-       to method-function.
-
-       * device.c (device_instance_call_method): New function.  Implement
-       the OpenBoot call-method client interface.  Attempts to locate the
-       instances method in the callback table.
-       (device_instance_claim, device_instance_release): Delete.
-       Replaced with call-method and a lookup table.
-
-       * emul_chirp.c (chirp_emul_call_method): Use the new device
-       instance call method and let that handle a client claim call.
-
-       * hw_htab.c (claim_memory): Wrapper function to call the memory
-       devices "claim" method using the new device-instance call-method
-       interface.  Replaces the previous direct calls to claim.
-       (htab_map_region): Use claim_memory.
-       (htab_init_data_callback): Ditto.
-
-       * hw_memory.c (hw_memory_instance_claim): Update function
-       interface so that it is compatible with call-method.
-       (hw_memory_instance_release): Ditto.
-       (hw_memory_instance_methods): New table of memory specific
-       methods claim and release.  Add to the hw_memory_callback
-       table.
-
-Tue Jul 30 21:26:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * psim.c (psim_init): Back out of change to initial value of
-       system->last_cpu.
-
-Tue Jul 30 21:12:24 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * sim_callbacks.h (sim_io_printf_filtered): Replace
-       printf_filtered with a local simulator specific version.  Add
-       #define printf_filtered to simplify updating of existing code.
-
-       * sim_callbacks.h (sim_io_write_stdout, sim_io_read_stdin,
-       sim_io_write_stderr): New functions.  Read / write to the
-       simulations stdin and stdout and stderr interfaces.  Merge in code
-       from hw_pal that previously handled async I/O.
-       (sim_io_flush_stdoutput): Rename flush_stdoutput.  Add #define
-       flush_stdoutput to simplify updating of existing code.
-
-       * hw_pal.c (scan_hw_pal, write_hw_pal,
-       hw_pal_instance_write_callback): Use the new sim_io functions.
-
-       * main.c: Implement standalone versions of the new sim_io
-       functions.  Include support for async I/O.
-       * sim_calls.c: Ditto.  This time using the gdb callback table.
-
-       * std-config.h (CURRENT_STDIO, current_stdio): New macro. Set up
-       stdio configuration so that it works in the same way as the rest
-       of the simulation.
-       * psim.c (psim_create): Initialize current_stdio from the device
-       tree.
-       * emul_generic.c (emul_add_tree_options): Enter a default value
-       for use-stdio in the device tree.
-
-Fri Jul 26 19:43:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-idecode.c (print_jump): Was always generating a jump back to
-       idecode.  Only necessary at tail of semantic code.
-       (print_jump): Was always setting the processor's cia, even during
-       startup when the processor was still undefined.
-       (print_jump): For safety, restart smp loop when cpu_nr >= nr_cpus,
-       not just equal.
-
-       * options.c (print_options): Add printing of WITH_REGPARM and
-       WITH_STDCALL.
-
-       * std-config.h (WITH_REGPARM, WITH_STDCALL): Provide default
-       (disabled) values if not defined.
-
-Fri Jul 26 00:36:35 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ppc-cache-rules (cache): Change RS and RB to cache instead of
-       compute.  The block move instructions use them.
-
-       * idecode_expression.h (FPSCR_SET): New macro, set specific FPSCR
-       register.
-       (CR_FIELD): New macro, extract specific CR register.
-       (FPSCR_FIELD): New macro, extract specific FPSCR register.
-
-       * registers.h (GPR): New macro, simplify accesses to GPR[i].
-
-       * bits.c (INSERTED): Covert INSERTED macro into a function.
-       (EXTRACTED): Conditionally compile on correct bit size macro.
-
-       * bits.h (BIT8): New macro, set a single bit in an 8 bit byte.
-
-       * ppc-instructions: With hints from Paul Martin, type in missing
-       some instruction semantics.  Leave disabled for the moment.
-       (Load Multiple Word): Ditto.
-       (Store Multiple Word): Ditto.
-       (Load String Word Immediate): Ditto.
-       (Load String Word Indexed): Ditto.
-       (Store String Word Immedate): Ditto.
-       (Store String Word Indexed): Ditto.
-       (Move to Condition Register from XER): Ditto.
-       (Move From Condition Register): Ditto.
-       (Move From FPSCR): Ditto.
-       (Move to Condition Register from FPSCR): Ditto.
-       (Move To FPSCR Field Immediate): Ditto.
-       (Move To FPSCR Fields): Ditto.
-       (Move To FPSCR Bit 0): Ditto.
-       (Move To FPSCR Bit 1): Ditto.
-
-Thu Jul 25 22:10:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * std-config.h (SEMANTICS_INLINE): By default, mask out the
-       inlining of semantic functions from DEFAULT_INLINE.  Almost all
-       configurations call the semantic code via a pointer so there is
-       little benefit.
-
-       * std-config.h (ICACHE_INLINE): Ditto.
-
-Thu Jul 25 20:07:30 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure.in (sim_regparm): Add configuration option for
-       enabling GCC's regparm attribute.
-       * (sim_stdcall): Add configuration option for enabling GCC's
-       stdcall attribute.
-
-       * Makefile.in (REGPARM_CFLAGS): Pass regparam configuration onto
-       compilations.
-       * (STDCALL_CFLAGS): Pass stdcall configuration onto compilations.
-
-       * std-config.h (REGPARM): Extend construction of REGPARM macro so
-       that it can include __stdcall__ function attribute.
-
-Wed Jul 24 19:04:20 1996  Andrew Cagney  <cagney@sawnoff>
-
-       * options.c (print_options): Include SUPPORT_INLINE in information
-       dump.
-
-       * gen-idecode.c (print_run_until_stop_body): Only generate loop
-       termination test if creating idecode_run_until_stop.  Push the
-       loop termination test back into each alternative branch.
-
-Wed Jul 24 15:47:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-icache.c (print_icache_function): Have the cache function
-       always update the cache_entries semantic and address fields.
-
-       * gen-idecode.c (print_idecode_switch_illegal): Include a break
-       when generating illegal instructions.  This was commented out
-       which is a hangover from looking a at switch statements generated
-       using indirect jumps.
-
-Tue Jul 23 20:57:01 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * igen.c (print_my_defines): Replaces print_define_my_index.
-       Print both a definition for MY_INDEX and MY_PREFIX.
-       * gen-icache.c (print_icache_function): Adjust.
-       * gen-idecode.c (print_jump_insn): Adjust.
-       * gen-semantics.c (print_c_semantic): Adjust.
-
-       * gen-support.c (gen_support_h): Add optional include to created
-       support.h so that, like cpu, it is optionally inlined for all
-       modules that include it.
-       * inline.h, inline.c: Adjust so that support.[hc] is handled the
-       same as cpu.[hc].
-
-       * idecode_fields.h (LABEL, GOTO): Macro's that create a unique
-       name for a lable and then branch to it.
-
-       * ppc-instructions (convert_to_integer, Floating Round to
-       Single-Precision, Floating Convert from Integer Doubleword): Use
-       LABEL and GOTO instead of the recently added switch statements.
-
-Wed Jul 24 14:02:42 1996  Andrew Cagney  <cagney@sawnoff.highland.com.au>
-
-       * gen-idecode.c (print_run_until_stop_body): Too many rparen in
-       generated code.
-
-Tue Jul 23 20:57:01 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure.in (--enable-sim-line-nr): Typo - sim_line-nr.
-       * (--enable-sim-inline): Reorder patern matching of arguments so
-       that SUPPORT=ALL_INLINE is reconized as *=* and not *_INLINE.
-
-       * configure: rebuild.
-
-Mon Jul 22 23:25:08 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * configure.in (--enable-sim-hardware, --enable-sim-packages): New
-       configuration options.  Let the user specify the packages or
-       hardware devices that are to be included in the build.  Makes it
-       possible for user packages to be specified.
-
-       * Makefile.in (tmp-pk, tmp-hw): Just use the list of packages and
-       hardware instead of checking it using ls.  configure.in should
-       have taken care of any problems.
-       (HW_SRC, HW_OBJ, PACKAGE_SRC, PACKAGE_OBJ): Set by configure.
-
-Mon Jul 22 22:38:59 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * psim.c (psim_options): Enter the argument to the memory size
-       option directly into the device tree.  Was using atol() which is
-       dangerously non portable.
-
-Mon Jul 22 22:17:08 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * configure.in (icache): Extend icache flag to include an insn
-       option.  If specifyed the insn - aka instruction - is included in
-       the instruction cache.  Make this the default.
-       * configure: re-generate.
-
-       * igen.c (main), igen.h: Add option -S - inSn - for specifying
-       that the instruction should be included in the icache.
-
-       * gen-icache.c (print_icache_body): If enabled, output code to put
-       the instruction into the icache.
-       (print_icache_struct): If enabled, add insn to the icache struct.
-
-Mon Jul 22 20:46:12 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * Makefile.in (BUILD_CFLAGS): Include -g when building the
-       generators.
-
-Mon Jul 22 20:00:25 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_generic.c (emul_add_tree_options): Was incorrectly setting
-       the strict-alignment option when hardwired for non-strict
-       alignment.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-semantics.c: Make the my_index variable a macro MY_INDEX.
-
-       * ppc-instructions: Adjust so that references are to MY_INDEX and
-       not my_index.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-idecode.c: Output the complete run_until_stop function
-       instead of just the code to handle a single instruction issue.
-       * : Have the generated idecode.c include inline.c (instead of psim.c).
-
-       * std-config.h: Change psim.c so that it isn't inlined (as this is
-       no longer needed).
-
-       * psim.c (run_until_stop): Delete the old run_until_stop function
-       instead calling the idecode_run and idecode_run_until_stop
-       functions that gen-idecode.c is now creating.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * dgen.c: Maintenance - update to use new features found in lf.c.
-
-       * filter_filename.c (filter_filename): Maintenance - make the
-       string constant.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * debug.c (TRACE, ITRACE, DTRACE): Have GCC instead of CPP
-       eliminate trace statements.
-
-       * debug.c: Change trace format so that it is consistent
-       (file:line-nr) with CC's error output.
-
-       * gen-itable.c (itable_c_insn): Add the source file name and
-       source line number to the instruction's informational entry.
-
-       * debug.c (ITRACE): Use the itable (and my_index) to get the
-       current instructions name and source line number.
-
-       * gen-semantics.c, gen-icache.c: Adjust generated ITRACE calls to
-       match new interface.
-
-       * emul_bugapi.c (emul_bugapi_instruction_call): Adjust
-       corresponding call to ITRACE so that it still matches.
-
-       * idecode_expression.h (ALU_END, CR0_COMPARE): Use TRACE instead
-       of ITRACE.  The CPP line directives would have previously set the
-       line-nr and file name so ITRACE isn't needed.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-idecode.c (print_jump_until_stop_body): New function and
-       idecode generation option.  Instead of generating and calling
-       separate functions containing the semantic and icache code
-       generate a single monolythic function and use goto's (and GCC's
-       indirect jump) to move between code blocks.
-
-       * Makefile.in: Add sim_jump flag to those passed to igen.
-
-       * configure.in: New option --enable-sim-jump (default disabled)
-
-       * ppc-instructions: Eliminate any uses of labels and goto's.
-       These result in duplicate declarations when a single flat function
-       is being create.
-
-       * ppc-opcode-jump: New file.  Set of opcode rules useful when
-       testing jumping idecodes.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * gen-idecode.c: Optionally include the semantic code for an
-       instruction in the function that is doing the decoding.
-
-       * igen.c: Add option (-C) to generate semantics in the instruction
-       decode functions.
-
-       * configure.in (--enable-sim-icache): Accept an option list such
-       as 1024,define.  Add a new choice to the list - semantic - which
-       will cause igen to generate instruction decode functions that
-       include the corresponding semantic code.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure.in: New option --enable-sim-line-nr (default enabled).
-       Enable/disable the inclusion of CPP line directives in the
-       generated files.  Such directives refer back to the source files
-       used when generating the simulator code.
-
-       * Makefile.in (sim_line_nr): Pass to igen.
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * igen.c (main): Revamp the options so that more letters are
-       available.
-
-       * configure.in: Adjust to match igen's revamped options
-
-Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * Makefile.in (pk.h, hw.h): Rewrite depenencies for hw.h (etc) so
-       that they use the same technique as igen (ie a dummy targets
-       tmp-pk and tmp-hw are created).
-
-Mon Jun 24 22:28:00 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * Makefile.in (BUILD_CFLAGS): Include WARNING_CFLAGS.
-
-Wed Jun 19 21:45:28 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ld-cache.[hc], ld-decode.[hc], ld-insn.[hc]: New files. Separate
-       out the loading of each of the tables from the rest of igen.
-       * Makefile.in: Adjust.
-       * igen.c: Adjust.
-
-       * gen-icache.[hc], gen-idecode.[hc], gen-itable.[hc],
-       gen-model.[hc], gen-semantics.[hc]: New files. Separate out the
-       code creating each separate set of generated files.
-       * Makefile.in: Adjust.
-       * igen.c: Adjust.
-
-       * gen-support.[ch]: New files. Output the support functions (found
-       in the ppc-instructions file) into a separate file.
-       * Makefile.in: Add.
-       * inline.h, inline.c: Add.
-       * std-config.h: Add.
-
-       * ld-cache.c: Re-design the cache table format.
-       * ppc-cache-rules: Update to new format.
-
-       * ld-decode.c: Re-design the decode table format.
-       * ppc-opcode-simple: Update to new format
-       * ppc-opcode-complex: Ditto
-       * ppc-opcode-flat: Ditto
-
-       * filter.h, filter.c: New files. Separate the opcode filter table
-       reading code from the rest of igen.c.  Re-design the filter so that
-       it works inclusivly not exclusivly.
-       * igen.c: Remove the opcode filter table loading code.
-       * Makefile.in (filter.o): Adjust
-       * configure.in: Adjust filter flag so that default includes 32bit
-       and floating point.
-       * ppc-instructions: Clean up filter fields so that only in use
-       entries are specified (ie delete `be').
-
-       * misc.c (name2i, i2name): New function.  Map between a string and
-       an integer value.
-
-Mon Jun 17 20:08:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * sim_calls.c (sim_close): If simulator not created, skip printing
-       of run information.
-
-Mon Jun 17 20:08:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * registers.c (register_description): Typo, insns not insn.
-
-       * ppc-instructions (model_get_number_of_stalls): New model function,
-       returns number of stalls for the specified processor.
-       * psim.c (psim_read_register): Add call to new function
-       model_get_number_of_stalls().
-
-       * ppc-instructions (model_get_number_of_cycles): New model function,
-       returns number of stalls for the specified processor.
-       * psim.c (psim_read_register): Add call to new function
-       model_get_number_of_cycles().
-
-Fri Jun 14 00:11:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.h: Don't pass the parent device into a devices
-       create function.  This makes the create function consistent with
-       the documentation.
-       * device.c (device_template_create_device): Ditto
-       * hw_pal.c (hw_pal_create): Ditto
-       * hw_core.c (hw_core_create): Ditto
-       * hw_vm.c (hw_vm_create): Ditto
-       * hw_disk.c (hw_disk_create): Ditto
-       * hw_nvram.c (hw_nvram_create): Ditto
-       * hw_memory.c (hw_memory_create): Ditto
-       * hw_cpu.c (hw_cpu_create): Ditto.
-
-       * device.c (split_find_device): Allow a null initial parent device.
-       (device_template_create_device): Ditto.
-
-       * device.c (device_create_from): Make local (static) only used
-       within device.c.
-       * device_table.h: typedef device_callbacks moved here (from
-       device.h) where it belongs.
-
-       * hw_core.c: New file. Implements just the core device using the
-       core object.
-
-       * corefile.c: Moved all core device functions into the new
-       hw_core.c file. core_device_create() disapears.
-
-       * psim.c (psim_tree): Use device_tree_add_parsed() to create the
-       core device.
-
-Thu Jun 13 00:09:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_init.c: Correct typo in comment.
-
-       * corefile.c (core_init): Remove any remaining references to a
-       default map.
-       (core_map_find_mapping): Ditto.
-
-Wed Jun 12 22:30:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * corefile.c (core_init): Make function global so that other
-       devices are able to use the full core object.
-
-       * corefile.c (core_create, core_from_device): Break core_create
-       into two functions.  The first creates a core object, the second
-       returns the core object associated with a core device.
-
-       * corefile.c (core_device_create): Use core_create to make the
-       core object.
-
-       * psim.c (psim_create): Use core_from_device() instead of
-       core_create().
-
-       * device.c (device_template_create_device): Make static as only
-       needed by functions internal to device.c.
-
-Fri Jun  7 23:47:18 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ppc-opcode-test-2: Remove description of fields.
-       * ppc-opcode-complex: Ditto
-       * ppc-opcode-flat: Ditto
-       * ppc-opcode-simple: Ditto
-       * ppc-opcode-stupid: Ditto
-       * ppc-opcode-test-1: Ditto
-       * ppc-cache-rules: Ditto
-
-       * igen.c: Add description of files as a comment at the front.
-
-Wed Jun 26 12:50:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in: Check for whether the termios and termio
-       structures are really defined, and whether or not, they define the
-       c_line field.
-       * configure: Regenerate.
-
-       * Makefile.in ({,TERMIO_}CFLAGS): Add TERMIO_CFLAGS options set by
-       configure.
-
-       * emul_unix.c: Various changes to allow for building on systems
-       with different termio and termios structures.  If host has both
-       termio and termios, just use termios.  No longer include
-       sys/ioctl.h.
-
-Wed Jun 26 12:26:55 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Wed Jun  5 23:53:42 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * corefile.h: Rewrite documentation so that it can be extracted and
-       converted into texinfo (and hence ready for translation into html,
-       tex or nroff).
-       * device.h: Ditto
-
-Thu Jun  6 09:52:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * hw_disk.c (SEEK_SET): If SEEK_SET is not defined, define as 0.
-
-Wed Jun  5 11:46:52 1996  Andrew Cagney  <cagney@puddin>
-
-       * hw_disk.c: Include <unistd.h> if available.  Under SunOS, that
-       is the source of SEEK_SET.
-
-Wed Jun  5 01:39:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * psim.c (psim_options): Correct type of dummy arguments being
-       passed to a device_ioctl call.
-
-       * hw_init.c (hw_data_init_data_callback): Adjust printf arguments.
-       (write_stack_arguments): Ditto.
-       * hw_trace.c: Instance callback entry no longer a table.
-
-Wed Jun  5 01:39:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_unix.c (do_unix_umask): Cast printf argument.
-       (convert_to_linux_termios): Use LINUX_VSWTC not LINUX_VSWCH
-
-Mon Jun  3 15:02:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * hw_init.c (update_for_binary_section): Abort if we find an
-       .interp section, which indicates the need for shared libraries to
-       be loaded.
-
-Mon Jun  3 15:02:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_unix.c (do_unix_{time,gettimeofday,getrusage}): Add support
-       for time, gettimeofday, and getrusage system calls.
-       ({solaris,linux}_descriptors): Add new system calls.
-       (do_get{,e}{uid,gid}): Use gid_t/uid_t types.
-       (do_get{,p}pid): Use pic_t types.
-
-       * configure.in (AC_TYPE_{GETGROUPS,SIGNAL}): Define.
-       (AC_TYPE_{MODE,OFF,PID,SIZE,UID}_T): Define.
-       * config{.in,ure}: Regenerate.
-
-Mon Jun  3 23:19:57 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_netbsd.c (emul_netbsd_create): Use the more specific names
-       `ppc-elf' and `ppc-xcoff' for the stack-type.
-       * emul_unix.c (emul_unix_create): Ditto.
-       * emul_bugapi.c (emul_bugapi_create): Ditto.
-       * hw_init.c: Reconize the new names.
-
-       * emul_unix.c (do_unix_break): Adjust so that the updated ioctl
-       call is used (no system parameter).
-
-Sun Jun  2 11:21:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_unix.{h,c}: New files to provide Solaris and Linux system
-       call emulations.
-
-       * Makefile.in (LIB_{SRC,OBJ}): Add emul_unix.{c,o}.
-       (os_emul.o): Depend on emul_unix.h.
-       (emul_unix.o): New dependency.
-
-       * configure.in (--enable-sim-alignment): Add 0|default to mean set
-       alignment to 0, which means use appropriate alignment for mode.
-       (AC_CHECK_FUNCS): Add new functions needed by emul_unix.c.
-       (AC_CHECK_HEADERS): Add new include files needed by emul_unix.c.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-
-       * emul_generic.c (emul_write2_status): New function to return
-       results in r3 and r4 for Solaris system calls.
-       (emul_do_system_call): If the system call is not support, but
-       there is a string for the system call name, print out the string
-       instead of the system call number.
-
-       * emul_generic.h (emul_write2_status): Declare it.
-
-       * emul_netbsd.c: Use /* */ around comment on #endif.
-
-       * os_emul.c: Include emul_unix.h.
-       (os_emulations): Add emulations for Solaris, and Linux.
-
-       * psim.c (psim_usage): Add message about solaris, linux
-       emulations.
-
-Thu May 30 00:00:10 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_iobus.c: Tidy up notes so that they can be auto-extracted.
-
-       * README: Correct PSIM's title
-
-Wed May 29 23:50:26 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * basics.h: New global type object_disposition, used to indicate
-       the status of objects when things are restarted.
-
-Fri May 17 17:28:52 1996  Andrew Cagney  <cagney@benjimen.highland.com.au>
-
-       * device_table.h: Change the interrupt descriptor structure so
-       that it includes an additional member - an upper bound on the
-       interrupts by that name.
-
-       * device.c (device_interrupt_decode): Allow a range of interrupt
-       ports (eg rst0 .. rst6) if the port descriptors bound is non zero.
-
-       * device.c (device_tree_print_device): Include a list of valid
-       interrupt ports when listing supported devices.
-
-       * device.h, device.c (device_child_interrupt_*): Delete. Not used.
-
-       * emul_generic.c (emul_add_tree_hardware): Modify the creation of
-       the interrupt net so that it uses int0 .. intN.
-
-Tue May 14 23:03:53 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h, device.c (device_ioctl): Drop the system argument.
-       Devices can not obtain this using the device_system() call.
-       * device_table.h: Adjust accordingly.
-       * hw_*.c: Adjust accordingly.
-       * emul_netbsd.c (do_break): Adjust call to vm device accordingly.
-       * psim.c (psim_options): Use a device_ioctl call to force the
-       hw_trace device to update the trace options.
-       * hw_trace.c: Replace the init function with an ioctl call.  Adjust
-       doc accordingly.
-
-       * psim.c (psim_init): Re-order initialization so that the
-       os-emulation is initialized after the device tree.  Without this,
-       os-emul's are not able to create instances or access properties
-       that contain an instance handle.
-
-       * device.h, device.c (device_add_*_property): Make these functions
-       internal to device.c.  The user has access to the more generic
-       device_tree_add_parsed function.  Differentiate between the initial
-       and current value for each property.
-       * (clean_device_properties): New function that deletes any
-       properties created after the start of a simulation and restores
-       the initial value of any others (ignoring ihandles).
-       * (init_device_properties): (Re)Initialize any properties that
-       contain ihandles. create
-
-       * (device_tree_init): Include calls to clean the device tree's
-       properties and then initialize them.  Document this in the device.h
-       file.
-
-Mon May  6 17:36:15 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * interrupts.c (decrementer_interrupt): Always pend a decrementer
-       interrupt even if it is not yet possible to deliver it.
-
-Wed May  1 12:26:51 1996  Andrew Cagney  <cagney@benjimen>
-
-       * mon.h, mon.c (mon_get_number_of_insns): Make this externally
-       visable adjusting the arguments so that the interface is correct.
-       (mon_print_info): Adjust calls.
-
-       * registers.h, registers.c (register_description): Add phony
-       cycle, insn and stall registers.
-
-       * psim.c (psim_read_register): Return nr of instructions for given
-       processor.
-
-Tue Apr 30 22:09:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_htab.c: New file. Extract contents from disk_table.c.
-       Contains a device that, during initialization will create a
-       PowerPC htab in memory.
-       * hw_register.c: New file. Extract contents from disk_table.c.
-       Contains a device that, during initialization, will parse its
-       property list and use that to initialize various processor
-       registers (not target specific).
-       * hw_vm.c: New file. Extract contents from disk_table.c.  Contains
-       a device that handles accesses to invalid virtual memory addresses
-       (in user mode).
-       * hw_init.c: New file. Extract contents from disk_table.c.  Misc
-       devices that can initialize memory from a file.
-       * hw_trace.c: New file. Extract contents from disk_table.c.
-       Configure trace options from property values.
-
-       * Makefile.in (hw_htab.o, hw_register.o, hw_vm.o, hw_init.o,
-       hw_trace.c): Add new device files.
-
-       * device_table.c: Remove above code, now in separate independant
-       files.
-
-Fri Apr 26 00:00:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_disk.c: New file.  Disk and CDROM device.
-
-       * Makefile.in (hw_disk.o): Add device hw_disk.c.
-
-       * pk_disklabel.c: New file.  Implement the miss-named disk-label
-       package.
-
-       * Makefile.in (pk.h): Create the file pk.h that contains a list of all
-       the packages.
-
-       * Makefile.in (hw.h, hw.c): Add dependancy on Makefile so that
-       they are re-created when the makefile is updated.
-
-       * emul_generic.c (emul_add_tree_hardware): Add a disk device
-       (below the iobus) to the device tree.  Include an ihandle of
-       the disk as /chosen/disk.
-
-       * emul_bugapi.c (emul_bugapi_create): Don't initialize the input,
-       output and (new) disk handles yet.
-       * (emul_bugapi_init): Initialize the input, output (and just added)
-       disk ihandles here.
-       * (emul_bugapi_do_diskio): New.  Performs disk i/o (well at least
-       what I think the behavour is).
-       * emul_bugapi.c (emul_bugapi_instruction_call): Add hook to disk
-       i/o bug call.  For RETURN call, exit using gpr[3]'s status even
-       though this isn't part of the spec - makes it possible for machine
-       code to signal the aporting of a simulation run.
-
-       * emul_chirp.c (chirp_emul_call_method): Add support for the
-       claim/release methods.
-       * (chirp_emul_exit): Add an optional exit status argument to
-       the exit method.  Makes it possible for chirp emul simulations
-       to abort upon an error.
-       * device.h, device.c (device_instance_claim,
-       device_instance_release): New methods for claiming and releasing
-       memory.
-       * hw_memory.c: add claim and release memory methods.
-       * hw_*: Use the claim memory method when allocating physical
-       memory.
-
-Thu Apr 18 23:38:10 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_nvram.c (hw_nvram_update_clock): Use the current not previous
-       time when updating the clock.
-
-       * hw_nvram.c: Tidy up documentation
-
-Fri May 24 10:08:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (AC_STRUCT_ST_{BLKSIZE,BLOCKS,RDEV}): Use these
-       macros to determine whether or not the appropriate st_<xxx> fields
-       exist in the stat structure.
-       (AC_CHECK_FUNCS): Check for all unix system calls used, except for
-       the real basic ones like open, read, write, etc.
-       * config{.in,ure}: Regenerate.
-
-       * emul_netbsd.c: Add support for missing system calls, and/or
-       missing stat fields.
-       (MAXPATHLEN): Undefine if including unistd.h, since sys/param.h
-       might define it.
-
-       * hw_pal.c (WITH_STDIO): Redefine if O_NDELAY, F_GETFL, or F_SETFL
-       are not defined.
-       (scan_hw_pal): Do not cause syntax error if O_NDELAY, F_GETFL, or
-       F_SETFL not defined.
-
-Tue May 21 17:24:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_netbsd.c (write_stat): Don't convert st_blocks unless the
-       host is netbsd.
-
-Thu May 16 10:56:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (AC_CHECK_HEADERS): Add sys/ioctl.h.
-       * config{.in,ure}: Regenerate.
-       * emul_netbsd.c: If HAVE_SYS_IOCTL_H is not defined, don't include
-       sys/ioctl.h.
-
-Tue May  7 17:28:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * hw_pal.c (hw_pal_instance_read_callback): Remove unused
-       variable.
-
-       * misc.c ({,target_}a2i): Rewrite to not use strtoul.
-
-       * Makefile.in ({spreg,misc}.o): Add dependency on .c file.
-       ({i,d}gen): Don't link in liberity.  Use BUILD_LIBS instead of
-       LIBS.
-
-Mon May  6 11:31:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * hw_pal.c (hw_pal_instance_read_callback): If using stdio, use
-       fgets to read line.  If not using stdio, do a simple blocking read
-       of len bytes.
-
-Fri May  3 15:07:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in: Correctly build simulator for build machine != host
-       machine.
-
-Tue Apr 30 18:46:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (--enable-hostendian): Rework so the default uses
-       the AC_C_BIGENDIAN results.  Only run AC_C_BIGENDIAN if not cross
-       compiling.
-       * configure: Regenerate.
-
-       * sim-endian.h: Add more tests for host endian to support more
-       platforms in a cross compilation environment.
-
-Wed Apr 17 14:38:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * hw_pal.c ({scan,write}_hw_pal): If WITH_STDIO == DO_USE_STDIO,
-       use stdio, instead of unpended read/printf_filtered.
-       (hw_pal_instance_write_callback): If WITH_STDIO == DO_USE_STDIO,
-       flush stdout after writing the characters.
-
-       * options.c (print_options): Print out WITH_STDIO.
-
-       * Makefile.in (STDIO_CFLAGS): Pass on result of @sim_stdio@
-       configuration variable.
-       (CONFIG_CFLAGS): Include STDIO_CFLAGS.
-       (hw.{c,h}): Allow for source dir != build dir, and for HW_SRC
-       files to contain directory pieces.
-
-       * std-config.h (DO{,NT}_USE_STDIO): New flags for whether we
-       should use stdio for console input.
-       (WITH_STDIO): If not defined, define as DONT_USE_STDIO.
-
-       * configure.in (--enable-sim-stdio): Add new switch to control
-       whether stdio is used for console I/O.
-       * configure: Regenerate.
-
-       * interrupts.c (external_interrupt): Declare it to be
-       INLINE_INTERRUPTS, not INLINE_CPU.
-
-Mon Apr 15 23:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * events.c (insert_event_entry): Allow events to be scheduled
-       *NOW* (at delta time 0).  Add assertions to clarify behavour of
-       event queue.
-
-       * events.c (update_time_from_event): New function. Calculates the
-       number of ticks from the next event.  Use this.
-
-Sun Apr 14 21:39:45 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_netbsd.c (do_break): Return 0 if success (instead of
-       adjusted break).
-
-       * device_table.c (vm_ioctl_callback): Don't return adjusted break
-       (isn't needed).
-
-Sun Apr 14 21:32:41 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_table.h: Change type of the device ioctl so that it
-       returns an int (status).
-       * device.h (device_ioctl): Ditto.
-       * device.c (device_ioctl): Ditto.
-
-       * device_table.c (stack_ioctl_callback): Return 0 status.
-       (vm_ioctl_callback): Ditto
-
-Sat Apr 13 00:00:24 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_netbsd.c (do_read): Correctly set the return value.
-       (do_getpid): Ditto.
-       (do_getuid): Ditto.
-       (do_geteuid): Ditto.
-       (do_dup): Ditto.
-       (do_getegid): Ditto.
-       (do_getgid): Ditto.
-       (do_sigprocmask): Ditto.
-       (do_umask): Ditto.
-       (do_dup2): Ditto.
-       (do_gettimeofday): Ditto.
-       (do_getrusage): Ditto.
-       (do_fstat): Ditto.
-       (do_stat): Ditto.
-       (do_lseek): Ditto.
-       (do___sysctl): Ditto.
-
-Fri Apr 12 20:56:47 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device_table.c (vm_ioctl_callback): Don't access the processor
-       registers directly, instead leave it to the caller to handle this.
-
-       * emul_netbsd.c (do_break): Which calls vm_ioctl_callback to
-       perform a break.  Pass in the new break value and set the
-       registers according to the result.
-
-       * emul_generic.c (emul_write_status): Change so that r3 contains
-       either status or errno and failure is indicated by SO.
-
-Thu Apr  4 23:03:38 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_bugapi.c (emul_bugapi_create): More strict check of OEA
-       address.
-
-Thu Apr  4 20:58:05 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * interrupts.h (interrupts): New structure contains state of
-       pending interrupts.
-
-       * cpu.c (cpu_interrupts): New function.  Pending interrupt status
-       in the cpu and grant access to it.  Add interrupts to cpu
-       structure.
-
-Fri Mar 29 22:09:25 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (device_tree_add_parsed): Check that the creation of a
-       device instance worked before using it.
-
-       * psim.c (psim_halt): Remove cia argument from psim_halt.  This
-       function does not save the CIA so do not pass it in.
-
-Fri Mar 29 21:30:56 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * hw_pal.c (hw_pal): Merge the halt and icu and console devices
-       found in device_table.c into a single hack pal.
-
-       * device_table.c (halt, icu, console): Delete.
-
-       * Makefile.in (hw_pal.o): New dependency.
-
-       * emul_generic.c (emul_add_tree_hardware): Re-arange device tree
-       so that it uses the pal instead of the icu/halt/console devices.
-       Wire the pal's interrupt ports up to the cpu nodes.
-
-Fri Mar 29 20:17:17 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * hw_iobus.c (hw_iobus_attach_address_callback): Move from
-       device_table.c to here.
-
-       * Makefile.in (hw_iobus.o): New dependency.
-
-Fri Mar 29 12:17:58 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * emul_bugapi.c (_os_emul_data): Add fields for output, input.
-       (emul_bugapi_create): Create input, output from /chosen/stdin and
-       /chosen/stdout.
-       (emul_bugapi_do_{read,write}): Switch to use device_instance
-       interface.
-       (emul_bugapi_instruction_call): Change calls to
-       emul_bugapi_do_{read,write} to pass device instance argument.
-
-Tue Mar 26 14:57:58 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * igen.c (idecode_switch_end): Fix 2/26 change so that an extra
-       default is not written out if a default was already written.
-
-       * psim.c (psim_{read,write}_register): Use sizeof unsigned_8 to
-       size cooked_buf, not sizeof natural_word, since floating point
-       registers are 8 bytes.
-
-Mon Mar 25 22:07:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * configure: Regenerate with autoconf 2.9.
-
-Thu Mar 21 00:14:26 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_table.h: Always include string headers.
-
-Thu Mar 21 00:06:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * main.c (error): Be careful to not try to print out statistics
-       when the simulation was never created.
-
-Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * basics.h: Move the event queue's definition to here so that it
-       can be refered to globally with out importing all of events.h.
-
-       * psim.h, psim.c (psim_event_queue): New function.  Grant access
-       to the simulation event queue.  Will make this the single point of
-       access (there is after all only one event queue in the
-       simulation).
-
-       * cpu.c (cpu_create): Use psim_event_queue to obtain the event
-       queue instead of it being passed in.  No longer allow access to
-       the cpu's copy of the event queue.
-
-Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * events.h, events.c (event_handler): Remove event_queue from
-       arguments passed to an event handler.  That argument is redundant
-       - the `data' should refer to a data structure that contains the
-       event queue if queing is needed.
-
-       * cpu.c (cpu_decrement_event): adjust
-
-       * events.c (event_queue_process): adjust
-
-Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.h, device.c (device_system): New, returns a handle for
-       the system given the device.
-
-       * device.c (device_address_init): Store a pointer back to the
-       system in each devices node.
-
-       * device_table.h: Don't pass `system' into each device when it is
-       being initialized, this is now available using device_system(me).
-
-       * device.c (device_address_init, device_data_init): Adjust.
-
-       * hw_cpu.c, hw_nvram.c, hw_memory.c, hw_eeprom.c, device_table.c:
-       Adjust.
-
-Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * interrupts.c (decrementer_interrupt, external_interrupt):
-       Remember that an interrupt wasn't delivered so that it can be
-       tried again later.
-
-       * interrupts.c (check_masked_interrupt): New function.  (re)
-       checks for the posibility that a recent change to the MSR may have
-       made it possible to deliver an interrupt that was previously
-       masked be the EE bit.
-
-       * ppc-instructions (mtmsr, mfmsr, rfi): Check for posibility of
-       a pending interrupt being delivered using check_masked_interrupt().
-
-       * cpu.c (cpu_decrement_event): Just call decrementer_interrupt()
-       leaving it to that module to handle both interrupt synchronization
-       and masking.
-
-       * cpu.c (struct _cpu): remove variables that were going to record
-       pending decrementer and external interrupts.
-
-Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * hw_cpu.c, hw_cpu.h: New files.  Implement a device that sits
-       between the interrupt controller and the simulators internal
-       processor model.  Maps device interrupts onto the processor
-       interrupt function calls.
-
-Mon Mar  4 06:06:54 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * hw_nvram.c: NVRAM device that includes a real-time clock that is
-       updated each second.
-
-Mon Mar  4 04:18:50 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h (attach_type): Remove attach_default type address
-       spaces.  Will replace with levels of callback memory.
-
-       * corefile.h, corefile.c (new_core_mapping), corefile.c
-       (core_map_attach): Replace default attach with a layerd callback
-       approach.
-
-Sun Mar  3 03:58:46 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (split_property_specifier): ensure that only a single
-       property is found.
-       (split_value): New function, parses the value part of a device
-       spec.
-
-       * device.c (device_tree_add_parsed): Use the interrupt conversion
-       functions to determine the interrupt port numbers.
-
-       * device_table.h: Add table that maps between an interrupts
-       symbolic name and its port number.
-
-       * device.h, device.c (device_interrupt_decode,
-       device_interrupt_encode): new functions use the recently added
-       interrupt port name/number tables to perform conversion.
-
-Sun Mar  3 03:23:59 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.h, device.c (device_set_array_property,
-       device_set_boolean_property, device_set_ihandle_property,
-       device_set_integer_property, device_set_string_property): New
-       functions - allow the value of a given property to be changed.
-
-       * device.h, device.c: Re-order declaration and definition of
-       property functions.
-
-Sun Mar  3 03:10:22 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * device.c (device_tree_print_device, device_tree_add_parsed):
-       Remove references to phandle properties.
-
-Wed Feb 28 00:43:07 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * Makefile.in (corefile.o): missing dependency on device_table.h
-       etc.
-
-Tue Feb 27 23:59:35 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * device_table.h: Revamp device init callbacks so that they are a
-       sub structure.
-       * device.c (device_init_data, device_init_address): If an init
-       callback is NULL assume it should do nothing.
-       * device_table.c (ignore_device_init, unimp_device_init): delete
-       as redundant.
-       * device_table.c, hw_memory.c: adjust.
-
-       * (io): ditto.
-       * (dma): ditto.
-       * (device_instance): ditto.
-       * (ioctl): ditto.
-       * (address nee config_address): ditto.
-       * (interrupt): ditto.
-
-Mon Feb 26 21:11:20 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * igen.c (idecode_switch_end): Output a default entry when the
-       switch statement is perfect.  Firstly stops GCC complaining about
-       an incomplete switch and secondly it will be eliminated by a good
-       compiler any way.
-
-Mon Feb 26 22:47:15 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * Makefile.in (hw.h, hw.c): New targets. Create from the list of
-       hw_*.c files. hw.h declares a device descriptor table for each hw
-       device while hw.c lists those tables in a form suitable for the
-       construction of a top leveltable in device_table.c.
-
-       * Makefile.in (device_table.o): now depends on hw.c a generated
-       table of hw.
-
-       * device_table.c (device_table): Re-arange the table of devices so
-       that two levels are possible.  Make use of hw.c.
-       * device_table.h: ditto.
-
-       * device.c (device_template_create_device): Handle new two level
-       device lookup table.
-       * device.c (device_usage): ditto.
-
-Mon Feb 26 22:24:00 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * device_table.c: Delete the memory device (moved to hw_memory.c).
-
-       * hw_memory.c: New file.  Just an OpenBoot memory device.
-
-Wed Jan 17 21:47:34 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (device_init_address): New.  Split initialization into
-       two stages, address and address spaces
-       * device.c (device_init_data): New. ... and data or other work.
-       With out this, devices try to modify memory before it as been
-       attached.
-
-       * device.c (device_tree_init): Update to perform staged
-       initialization.
-
-       * device.c (device_init): Delete.
-
-Wed Jan 17 21:43:09 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_table.c (data_*): Rewrite to make heaver use of property
-       nodes. Allow initialization by different data types.
-       * device_table.c (htab_* pte_*): Rewrite to use properties.
-
-       * emul_chirp.c (emul_chirp_create): Use
-       * emul_bugapi.c (emul_bugapi_create): Ditto
-       * emul_netbsd.c (emul_netbsd_create): Ditto
-
-Wed Jan 17 21:24:50 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_generic.c (emul_add_tree_options): Annotate existing tree
-       with options that haven't yet been specified.
-       * emul_generic.c (emul_add_tree_hardware): Annotate existing tree
-       with demo devices and properties.
-
-       * emul_chirp.c (emul_chirp_create): Update to use new
-       device_tree_add_parsed call and additional information now
-       included in the device tree.  Use emul_add_tree* functions to add
-       any missing details.
-       * emul_bugapi.c (emul_bugapi_create): Ditto
-       * emul_netbsd.c (emul_netbsd_create): Ditto
-
-Wed Jan 17 21:18:27 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (device_instance_create): New. Create/delete and
-       operate on instances of a device.
-       * device.c (device_instance_delete): Ditto
-       * device.c (device_instance_read): Ditto
-       * device.c (device_instance_write): Ditto
-       * device.c (device_instance_seek): Ditto
-       * device.c (device_instance_data): Ditto
-       * device.c (device_instance_name): Ditto
-       * device.c (device_instance_path): Ditto
-
-       * emul_chirp.c (chirp_emul_open): Implement using device_instance.
-       * emul_chirp.c (chirp_emul_close): Ditto
-       * emul_chirp.c (chirp_emul_read): Ditto
-       * emul_chirp.c (chirp_emul_write): Ditto
-       * emul_chirp.c (chirp_emul_seek): Ditto
-
-       * emul_chirp.c (chirp_read_t2h_args): Read arguments from device.
-       Being careful to convert all from target to host byte order.
-       * emul_chirp.c (chirp_write_h2t_args): Converse.
-
-Wed Jan 17 20:07:15 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (device_tree_add_parsed): New.  Rewrite code to add
-       devices to the device tree so that a single printf style function
-       is used.
-
-       * device.c (device_tree_add_*): Delete. Replaced by above.
-
-       * device.c (split_device_specifier): Functions to manipulate a
-       device specifier (path) breaking it into its components
-       * device.c (split_property_specifier): Ditto
-       * device.c (split_device_name): Ditto
-       * device.c (split_find_device): Ditto
-
-       * device.c (scan_*): Delete
-
-       * device.c (device_tree_find_device): Rewrite to use above.
-       * device.c (device_add_property): Ditto
-
-Wed Jan 17 19:51:56 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * psim.c(psim_options): Parse the psim options, installing their
-       value in the device tree.  Options are now first entered into a
-       device tree and then extracted out again when needed.  This allows
-       greater flexability in configuration.
-
-       * psim.c (psim_tree): Returns a basic device tree ready for
-       parsing by psim_options.
-       * psim.c (psim_usage): New.  Give usage to varing levels of detail
-       according to the verbosity.  In turn output device and trace
-       usage.
-
-       * main.c (main): Update to use new system
-       * sim_calls.c (sim_open, sim_do_command): Ditto
-
-       * psim.c (psim_options): Add `r' option - ram size.
-       * psim.c (psim_options): Add `o' option - openboot tree entry.
-       * psim.c (psim_options): Add `h'/`H' options - more help.
-
-       * debug.c (trace_usage): Add more detailed help.
-       * device.c (device_usage): New. Output help including a list of
-       the devices currently available in the device table.
-       * device_table.c: Add usage operator to each device.
-
-       * corefile.c (core_create, core_device_create): Adjust so that the
-       core device is created earlier for psim_tree().  Core can later be
-       created from it.
-
-       * psim.c (psim_create): Update to handle above way of creating
-       things.  Extract all information from the device tree.
-
-       * device_tree.c (trace_*): New device node, its properties are
-       used to set the value of the trace options.  Init this device (in
-       psim_options) when ever the options are updated.
-
-Wed Jan 17 19:46:07 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * debug.h: Add trace_print_info, trace_print_device_tree and
-       trace_dump_device_tree.  The first is a replacement for the
-       variable `print_info' found in main.c and sim_calls.c.  The latter
-       two enable the dumping of the entire device tree.
-
-       * debug.c: Add to trace_description table.
-
-       * main.c (main): Use above trace instead of local variable
-       * sim_calls.c (sim_close): Ditto
-
-       * device.c (device_tree_print_device): New.  Prints the device
-       tree in a format that is consistent with what can be parsed by the
-       device tree load from file code.
-
-       * psim.c (psim_create): Dump device tree if enabled. If nump
-       selected, exit psim immediately.
-
-Wed Jan 17 19:36:52 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * corefile-n.h (core_map_read_N): When mapping from an address to
-       a device, do not subtract the devices base.  The device its self
-       can do this.  Brings the behavour into line with OpenBoot.
-       * corefile-n.h (core_map_write_N): Ditto
-       * corefile.c (core_map_read_buffer): Ditto
-       * corefile.c (core_map_write_buffer): Ditto
-
-       * device_table.c (console_io_read_buffer_callback): Adjust to
-       handle biased address.
-       * device_table.c (console_io_write_buffer_callback): Ditto
-
-Wed Jan 17 18:36:09 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (attach_device_interrupt_edge): New. Interrupt model
-       did not allow interrupts to be wired up as a general net (edges).
-       Re-implement so that interrupt events can be passed to multiple
-       controllers and interrupt controllers can further propogate
-       interrupt events.
-
-       * device.c (attach_device_interrupt_edge) : New, Ditto
-       * device.c (detach_device_interrupt_edge) : New, Ditto
-       * device.c (clean_device_interrupt_edges) : New, Ditto
-       * device.c (device_interrupt_event) : New, Ditto
-       * device.c (device_interrupt_attach) : New, Ditto
-       * device.c (device_interrupt_detach) : New, Ditto
-       * device.c (device_child_interrupt_attach) : New, Ditto
-       * device.c (device_child_interrupt_detach) : New, Ditto
-
-       * device.c (device_attach_interrupt) : Delete old
-       * device.c (device_detach_interrupt) : Delete old
-       * device.c (device_interrupt) : Delete old
-       * device.c (device_interrupt_ack) : Delete old
-
-       * device_table.c (unimp_*) : Update to match
-
-       * device_table.c (icu_io_write_buffer_callback) : Update to use
-       interface.
-       * device_table.c (icu_interrupt_event_callback) : Ditto
-
-Wed Jan 17 18:18:40 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device.c (external_to_device) : New function that provides a
-       standard mapping between a devices internal representation (a
-       pointer) and its external (or what is passed to a client)
-       representation (a phandle).  Implement using the cap object
-       attached to the root node.
-
-       * device.c (device_to_external) : Ditto
-       * device.c (external_to_device_instance) : Ditto but for ihandle
-       and device instance.
-       * device.c (device_instance_to_external) : Ditto
-
-       * Makefile (device.o): Add dependency on cap.
-
-       * emul_chirp.c (struct _emul_chirp_data) : Elimate use of cap. Code
-       needing to translate between internal and external representations
-       changed to use the external_to_device et.al. device operations.
-       * emul_chirp.c (chirp_emul_*) : Ditto
-
-       * Makefile (emul_chirp.o): Remove dependency on cap
-
-Sat Jan  6 10:13:26 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * emul_chirp.c (map_over_chirp_note): Tighten up (and fix) checks
-       on OpenBoot note section.
-
-Fri Jan  5 20:28:53 1996  Andrew Cagney  <cagney@hignland.com.au>
-
-       * emul_generic.c (emul_write_buffer): Use vm faulting byte
-       read/write calls for buffer transfers.  This will cause a fault to
-       occure if the transfer fails.  CHRP catches the fault while the
-       others suffer the consequences.
-       (emul_read_buffer): Ditto.
-       (emul_write_word): Ditto.
-       (emul_read_word): Ditto.
-       (emul_read_string): Ditto.
-
-Fri Jan  5 18:55:34 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_chirp.c (emul_chirp_create, emul_chirp_instruction_call),
-       emul_generic (emul_blr_instruction): Use a real blr instruction to
-       return from a client service call.
-
-       * emul_chirp.c (services): Add all OpenBoot services to table.
-
-       * emul_generic.h, emul_bugapi.c (emul_bugapi_create), emul_chirp.c
-       (emul_chirp_create) : Use names instead of numbers for
-       instructions being stored in memory.
-
-Fri Jan  5 18:52:28 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * Makefile.in (maintainer-clean): Remove .log, core and *.core
-       (From NetBSD) files.
-
-Wed May 29 22:57:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ChangeLog.00, ChangeLog: ChangeLog from gdb-4.16 becomes
-       ChangeLog.00
diff --git a/sim/ppc/ChangeLog-2021 b/sim/ppc/ChangeLog-2021
new file mode 100644 (file)
index 0000000..13dda80
--- /dev/null
@@ -0,0 +1,6849 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (RESERVED_CFLAGS): Delete.
+       * configure.ac: Delete sim-reserved-bits.
+       * std-config.h (WITH_RESERVED_BITS): Delete.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add -W flags from ../m4/sim_ac_option_warnings.m4.
+       Run compile tests against each flag.
+       * configure: Regenerate.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * main.c (sim_io_error): Add comment
+       * sim_calls.c (sim_io_error): Likewise.  Change "" to " ".
+       (error): Likewise.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (INLINE_CFLAGS): Change to $(SIM_INLINE).
+       * configure.ac: Delete sim-inline logic.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace ALL_INLINE with ALL_C_INLINE and
+       PSIM_INLINE_LOCALS with INLINE_LOCALS.
+       * inline.h: Likewise.
+       * options.c: Likewise.
+       * std-config.h: Likewise.  Include sim-inline.h explicitly.
+       (REVEAL_MODULE): Define to H_REVEALS_MODULE.
+       (INLINE_MODULE): Define to C_REVEALS_MODULE.
+       (PSIM_INLINE_LOCALS): Delete.
+       (ALL_INLINE): Delete.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Move intl vars to ../arch-subdir.mk.in.
+       * configure.ac: Delete ZW_GNU_GETTEXT_SISTER_DIR call.
+       * config.in, configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete toolchain vars.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (LIBS): Add $(COMMON_LIBS).
+       (ZLIB): Use $(zlibdir).
+       * configure.ac: Delete AM_ZLIB & AC_PLUGINS calls.
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (WERROR_CFLAGS): Delete.
+       * configure.ac: Delete werror configure option.
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Include ../arch-subdir.mk.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Delete sim-signal.h include.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (ENDIAN_CFLAGS): Delete.
+       * configure.ac: Delete sim-endian.
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * igen.c (gen_semantics_h): Rename PAGE_SIZE to MPC860C0_PAGE_SIZE.
+       * ppc-instructions: Likewise.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_EXEEXT call.
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete sim-assert logic.
+       * config.in, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * altivec.igen: Change BIG_ENDIAN to BFD_ENDIAN_BIG.
+       * configure.ac: Change LITTLE_ENDIAN, BIG_ENDIAN, & 0 to
+       BFD_ENDIAN_LITTLE, BFD_ENDIAN_BIG, & BFD_ENDIAN_UNKNOWN respectively.
+       * emul_generic.c: Likewise.
+       * options.c (options_byte_order): Likewise.  Change int to bfd_endian.
+       * psim.c (current_target_byte_order): Change type to bfd_endian.
+       (psim_create): Change LITTLE_ENDIAN & BIG_ENDIAN to BFD_ENDIAN_LITTLE
+       & BFD_ENDIAN_BIG respectively.
+       * sim-endian-n.h: Likewise.
+       * sim-endian.c: Likewise.
+       * std-config.h: Include bfd.h.
+       (LITTLE_ENDIAN, BIG_ENDIAN): Delete.
+       (HOST_BYTE_ORDER): Change to BFD_ENDIAN_BIG & BFD_ENDIAN_LITTLE.
+       (WITH_TARGET_BYTE_ORDER): Change to BFD_ENDIAN_UNKNOWN.
+       (current_target_byte_order): Change type to bfd_endian.
+       (CURRENT_TARGET_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN.
+       * vm.c (vm_synchronize_context): Change LITTLE_ENDIAN & BIG_ENDIAN to
+       BFD_ENDIAN_LITTLE & BFD_ENDIAN_BIG respectively.
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * basics.h (__attribute__): Delete.
+       * misc.h (__attribute__): Likewise.
+       Include ansidecl.h.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.h: Include ansidecl.h.
+       (cpu_error): Change __attribute__ ((format (printf... to
+       ATTRIBUTE_PRINTF_3.
+       * device.h (device_error): Change __attribute__ ((format (printf...
+       to ATTRIBUTE_PRINTF_2.
+       * lf.h: Include ansidecl.h.
+       (lf_printf): Change __attribute__ ((format (printf... to
+       ATTRIBUTE_PRINTF_2.
+       * sim_callbacks.h (sim_io_printf_filtered): Change __attribute__
+       ((format (printf... to ATTRIBUTE_PRINTF_1.
+       * tree.h (tree_parse): Change __attribute__ ((format (printf... to
+       ATTRIBUTE_PRINTF_2.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * double.c: Include ansidecls.h.
+       * dp-bit.c: Change __attribute__ ((packed)) to ATTRIBUTE_PACKED.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * basics.h (NORETURN): Delete.
+       * sim_callbacks.h: Include ansidecl.h.  Change NORETURN to
+       ATTRIBUTE_NORETURN.
+       * sim_calls.c: Likewise.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * basics.h (UNUSED): Delete.
+       * gen-icache.c (print_icache_extraction): Change UNUSED to
+       ATTRIBUTE_UNUSED.
+       * idecode_expression.h: Likewise.  Include ansidecl.h.
+       * inline.h: Likewise.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * basics.h: Delete CONCAT* and XCONCAT* macros.
+       * corefile.c: Include symcat.h.
+       * idecode_fields.h: Likewise.
+       * sim-endian.c: Likewise.
+       * vm.c: Likewise.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * device.h (device_add_boolean_property): Rename bool arg to boolean.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (HOSTENDIAN_CFLAGS): Delete.
+       * configure.ac: Delete sim-hostendian logic.
+       * altivec_registers.h (WITH_HOST_BYTE_ORDER): Rename to ...
+       (HOST_BYTE_ORDER): ... this.
+       * options.c: Likewise.
+       * sim-endian.c: Likewise.
+       * psim.c (current_host_byte_order): Delete.
+       (CURRENT_HOST_BYTE_ORDER): Rename to ...
+       (HOST_BYTE_ORDER): ... this.
+       * sim-endian-n.h: Likewise.
+       * sim-endian.h: Delete all custom endian include & define logic.
+       * std-config.h (WITH_HOST_BYTE_ORDER): Delete.
+       (LITTLE_ENDIAN): Define fallback.
+       (BIG_ENDIAN): Likewise.
+       (HOST_BYTE_ORDER): Define based on WORDS_BIGENDIAN.
+       (current_host_byte_order, CURRENT_HOST_BYTE_ORDER): Delete.
+       * config.in, configure: Regenerate.
+
+2021-06-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (COMMON_OBJS_NAMES, +COMMON_OBJS): New variables.
+       (LIB_OBJ): Replace version.o with $(COMMON_OBJS).
+       (version.c, version.o): Delete rules.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Add $(EXEEXT) to run and psim.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Delete ALIGNMENT_CFLAGS.
+       * configure.ac: Delete sim-alignment.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete calls to ACX_PKGVERSION & ACX_BUGURL.
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete sim-stdio & sim-trace.
+       * debug.h: Define TRACE_* defines.
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_STRUCT_*, AC_TYPE_*, AC_CHECK_FUNCS,
+       AC_CHECK_HEADERS, and AC_HEADER_DIRENT calls.
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete sim-env configure option.
+       * defs.h: Include ../config.h.  Undefine PACKAGE* defines.
+       * std-config.h (ALL_ENVIRONMENT): Define.
+       * config.in, configure: Regenerate.
+
+2021-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * basics.h (NULL): Delete.
+       * gen-itable.c (NULL): Likewise.
+       * gen-model.c (NULL): Likewise.
+       * ld-cache.c (NULL): Likewise.
+       * ld-decode.c (NULL): Likewise.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (WERROR_CFLAGS): Add -Wno-format for mingw32 hosts.
+       * configure: Regenerate.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * emul_generic.c (emul_write_status): Rename errno to err.
+       (emul_write2_status): Likewise.
+       * emul_generic.h (emul_write_status, emul_write2_status): Likewise.
+       * emul_netbsd.c (errno): Delete.
+       * emul_unix.c (errno): Delete.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (INCLUDES): Add -I../..
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gentmap): Pass -DUSE_CONFIG_H.
+       * basics.h, debug.c, filter_filename.c, inline.c, sim-endian.c,
+       words.h: Replace config.h include with defs.h.
+       * defs.h: New file.
+
+2021-05-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (WERROR_CFLAGS): Define.
+       (STD_CFLAGS): Add $(WERROR_CFLAGS).
+       * configure.ac: Add --enable-werror.
+       * device.c (device_full_name): Delete full_name variable.
+       (device_clean): Delete system variable.
+       * emul_chirp.c (chirp_emul_getprop): Cast vars to unsigned long.
+       (chirp_emul_seek): Likewise.
+       * hw_glue.c (hw_glue_init_address): Use %zu format.
+       * hw_ide.c (hw_ide_io_read_buffer): Cast vars to unsigned long.
+       (hw_ide_io_write_buffer): Likewise.
+       * hw_init.c (update_for_binary_section): Cast vars to unsigned long.
+       * hw_phb.c (hw_phb_dma_read_buffer): Likewise.
+       (hw_phb_dma_write_buffer): Likewise.
+       * hw_shm.c (hw_shm_init_data): Delete d variable.
+       (hw_shm_attach_address_callback): Delete shm variable.
+       * igen.c (gen_semantics_c): Include tree.h.
+       * interrupts.c (alignment_interrupt): Cast vars to unsigned long.
+       * ld-insn.c (dump_insn_field): Cast vars to unsigned long.
+       * main.c (main): Add const to argv.
+       * options.c (print_options): Cast var to int.
+       * ppc-instructions: Add %s to format.  Delete shifted variable.  Add
+       parenthesis to binary operations.
+       * psim.c (find_arg): Add const to return and argv.
+       (is_num): Add const to string.
+       (psim_options): Add const to return and argv, and p & param.
+       (psim_command): Add const to argv, device, and media.
+       (psim_stack): Add const to argv and envp.
+       * psim.h: Add const to psim_options, psim_command, and psim_stack.
+       * tree.c (parse_reg_property): Delete & from sizeof.
+       * vm.c (om_virtual_to_real): Const vars to long.
+       * vm_n.h (vm_data_map_read_N): Change format to %zu.
+       (vm_data_map_write_N): Likewise.
+       * configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Update path.
+       * gdb-sim.c: Update include path.
+       * main.c: Likewise.
+       * psim.h: Likewise.
+       * sim_calls.c: Likewise.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * mon.c: Update includes.
+       * emul_unix.c: Update includes.
+       (do_unix_gettimeofday): Update condition.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (stamp-vals, stamp-map): New targets.
+       (targ-vals.h, targ-map.c): Update.
+       (clean): Remove files.
+
+2021-04-08  Tom Tromey  <tom@tromey.com>
+
+       * emul_unix.c: Include time.h.
+
+2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Set ASAN_OPTIONS when running igen.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (install): Install as run-ppc when not the primary arch.
+       (install-strip): Likewise.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (BUILD_LDFLAGS): Rename to ...
+       (LDFLAGS_FOR_BUILD): ... this.
+       (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define.
+       Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) to
+       $(LINK_FOR_BUILD).  Change $(CC_FOR_BUILD) $(BUILD_CFLAGS) to
+       $(COMPILE_FOR_BUILD).
+
+2021-03-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gentmap, dgen, igen, tmp-filter, tmp-ld-decode,
+       tmp-ld-cache, tmp-ld-insn): Delete $(BUILD_LIBS).
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (check): Define.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (STD_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
+       (NOWARN_CFLAGS): Likewise.
+       (HDEFINES, TDEFINES): Delete.
+       * configure.ac: Delete AC_SUBST(HDEFINES) and bfd/configure.host
+       sourcing.
+       * configure: Regenerate.
+
+2021-01-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (version.c): Simplifiy args and call move-if-change.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete checks for stdlib.h, string.h,
+       strings.h, and time.h.
+       * config.in, configure: Regenerate.
+       * cpu.c, debug.c, device.c, device_table.c, device_table.h,
+       dgen.c, emul_bugapi.c, emul_chirp.c, emul_netbsd.c, emul_unix.c,
+       filter.c, hw_com.c, hw_eeprom.c, hw_nvram.c, hw_opic.c, hw_pal.c,
+       hw_phb.c, hw_sem.c, hw_shm.c, lf.c, main.c, misc.c, misc.h,
+       mon.c, pk_disklabel.c, psim.c, registers.c, sim_calls.c, table.c,
+       tree.c: Delete HAVE_ERRNO_H, HAVE_STDLIB_H, HAVE_STRING_H,
+       HAVE_STRINGS_H, HAVE_LIMITS_H, HAVE_TIME_H, and strings.h include.
+       * hw_nvram.c: Likewise.
+       (_hw_nvram_device): Always define host_time as time_t.
+       (hw_nvram_update_clock): Delete error fallback.
+       * gen-model.c (gen_model_c): Delete HAVE_STDLIB_H output.
+
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_memory_map): Define.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * gen-icache.c, igen.c: Include stdlib.h.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (ACX_BUGURL): Change http:// to https://.
+       * configure: Regenerate.
+
+2020-10-20  Dr. David Alan Gilbert  <dgilbert@redhat.com>
+
+       * emul_netbsd.c (do_sigprocmask): Fix printf format.
+
+2020-07-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * ld-insn.h (last_model, last_model_data, last_model_function,
+       last_model_internal, last_model_macro, last_model_static):
+       Delete.
+       (max_model_fields_len, model_data, model_functions,
+       model_internal, model_macros, model_static, models): Declare, but do not
+       define.
+       * ld-insn.c (last_model, last_model_data, last_model_function,
+       last_model_internal, last_model_macro, last_model_static,
+       max_model_fields_len, model_data, model_functions,
+       model_internal, model_macros, model_static, models): Define.
+
+2020-03-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * emul_netbsd.c (netbsd_signal_names): Sync with NetBSD 9.99.49.
+
+2020-03-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * emul_netbsd.c (netbsd_error_names): Sync with NetBSD 9.99.49.
+
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24572:
+       * Makefile.in (install-strip): New target.
+
+2019-09-20  Alan Modra  <amodra@gmail.com>
+
+       * emul_generic.c (emul_add_tree_options): Delete old bfd code.
+
+2019-01-26  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (version.c): Use sim's create-version.sh.
+
+2018-05-09  Sebastian Rasmussen  <sebras@gmail.com>
+
+       * e500_registers.h: Comment typo fix.
+       * ppc-instructions (ppc_insn_mfcr): Likewise.
+
+2017-09-05  John Baldwin  <jhb@FreeBSD.org>
+
+       PR sim/20863
+       * sim_calls.c (error): New function.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.h: Include libiberty.h.
+       * emul_bugapi.c (emul_bugapi_instruction_name): Use ARRAY_SIZE.
+       * emul_generic.h: Include libiberty.h.
+       * emul_netbsd.c (emul_netbsd_syscalls): Use ARRAY_SIZE.
+       * emul_unix.c (convert_to_solaris_stat): Likewise.
+       (emul_solaris_syscalls): Likewise.
+       (emul_linux_syscalls): Likewise.
+       * options.c (print_options): Likewise.
+       * ppc-instructions: Likewise.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (sim-assert): Call AC_MSG_CHECKING,
+       AC_DEFINE_UNQUOTED, and AC_MSG_RESULT
+       (sim-env, sim-stdio, sim-trace): Delete.
+       * config.in, configure: Regenerate.
+       * Make-common.in (ENV_CFLAGS, TRACE_CFLAGS, ASSERT_CFLAGS,
+       STDIO_CFLAGS): Delete.
+       (CONFIG_CFLAGS): Delete $(ENV_CFLAGS), $(TRACE_CFLAGS),
+       $(ASSERT_CFLAGS), and $(STDIO_CFLAGS).
+       * std-config.h (WITH_ENVIRONMENT, WITH_TRACE, WITH_ASSERT,
+       WITH_STDIO): Delete.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete --enable-sim-regparm and sim_regparm,
+       and --enable-sim-stdcall and sim_stdcall.
+       * configure: Regenerate.
+       * Makefile.in (REGPARM_CFLAGS, STDCALL_CFLAGS): Delete.
+       (CONFIG_CFLAGS): Delete $(REGPARM_CFLAGS) and $(STDCALL_CFLAGS).
+       * inline.h: Delete REGPARM everywhere.
+       * options.c (print_options): Delete WITH_REGPARM and
+       WITH_STDCALL.
+       * std-config.h (WITH_REGPARM, WITH_STDCALL, REGPARM): Delete.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete --enable-sim-cflags and sim_cflags.
+       * configure: Regenerate.
+       * INSTALL: Delete all mention of --enable-sim-cflags.
+       * Makefile.in (SIM_CFLAGS): Delete.
+       (STD_CFLAGS, NOWARN_CFLAGS): Delete $(SIM_CFLAGS).
+       (psim): Likewise.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (sim-bswap): Delete.
+       * configure: Regenerate.
+       * INSTALL: Delete --enable-sim-bswap docs.
+       * Makefile.in (BSWAP_CFLAGS): Delete.
+       (CONFIG_CFLAGS): Delete $(BSWAP_CFLAGS).
+       * options.c (print_options): Delete WITH_BSWAP.
+       * sim-endian.h (htonl, ntohl): Delete.
+       * std-config.h (WITH_BSWAP): Delete.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * main.c (main): Pass SIM_OPEN_STANDALONE to psim_options and
+       psim_usage.
+       * psim.c (psim_usage): Add new kind arg.  Only show bug URL and
+       exit when kind is SIM_OPEN_STANDALONE.
+       (psim_options): Add new kind arg.  Pass kind down to all psim_usage
+       calls.  Replace error/break calls after psim_usage with return NULL.
+       Only exit with version case when kind is SIM_OPEN_STANDALONE.
+       * psim.h: Include gdb/remote-sim.h.
+       (psim_options): Add new kind arg.
+       (psim_usage): Likewise.
+       * sim_calls.c (sim_open): Pass kind to psim_options.  Return NULL
+       when it returns NULL.
+
+2015-12-29  Kevin Buettner  <kevinb@redhat.com>
+
+       * emul_netbsd.c (fd_closed): New static array.
+       (fdbad): New function.
+       (do_read, do_write, do_close, do_dup, do_ioctl, do_dup2, do_fcntl)
+       (do_fstatfs, do_fstat, do_lseek): Call `fdbad'.
+       (emul_netbsd_init): Initialize `fd_closed'.
+       * emul_unix.c (fd_closed): New static array.
+       (fdbad): New function.
+       (do_unix_read, do_unix_write, do_unix_close, do_unix_dup)
+       (do_unix_dup2, do_unix_lseek, do_solaris_fstat, do_solaris_ioctl)
+       (do_linux_fstat, do_linux_ioctl): Call `fdbad'.
+       (emul_solaris_init, emul_linux_init): Initialize `fd_closed'.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (TCONFIG_H): Delete.
+       (sim-fpu.o): Delete $(TCONFIG_H).
+       (tconfig.h): Delete rule.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/13834
+       * Makefile.in (gentmap): Change $< to $(srcdir)/../common/gentmap.c.
+       (callback.o): Change $< to $(srcdir)/../common/callback.c.
+       (options.o): Change $< to $(srcdir)/options.c.
+
+2015-11-17  Pedro Alves  <palves@redhat.com>
+
+       * debug.h (TRACE, ITRACE, DTRACE, DITRACE, PTRACE): Call
+       sim_io_printf_filtered instead of printf_filtered.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 18273
+       * hw_htab.c (htab_map_binary): Fix overlap check.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (version.o): Change to using create-version.sh from gdb.
+       (create-version.sh): Delete.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * Makefile.in (INCLUDES): Add $(ZLIBINC).
+       (ZLIB, ZLIBINC): Define.
+       (BFD_LIB): Add $(ZLIB).
+
+2014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * ChangeLog, ChangeLog.00, hw_com.c, ld-cache.h, ppc-instructions:
+       Change immediatly to immediately.
+
+2014-08-27  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * basics.h, device.c, device.h, hw_htab.c, hw_memory.c:
+       Correct spelling in comments.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Invoke AC_PLUGINS.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_do_command): Add const to cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_load): Add const to prog.
+
+2014-02-17  Aaro Koskinen  <aaro.koskinen@iki.fi>
+
+       PR gdb/12202
+       * Makefile.in (psim): Delete $(LIBS) from dependency.
+
+2013-10-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in (srcsim): New variable.
+       (version.c): Adjust call to $(srccom)/create-version.sh as per change.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Make-common.in (version.c): Use version.in, not
+       common/version.in.
+
+2013-06-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (srccom): New variable.
+       (version.c): Update rule dependencies, and re-implement using
+       sim/common/create-version.sh.
+
+2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       revert:
+       2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
+       * ppc-instructions (isel): New instruction.
+
+2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * ppc-instructions (isel): New instruction.
+
+2012-12-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * COPYING: Update to GPL version 3.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+       * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-14  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
+
+       * emul_unix.c (st_pad1, st_pad2, st_pad3): Undefine.
+
+2012-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * dp-bit.c: Reformat copyright header.
+
+2011-02-11  Ben Golding  <ben_golding@yahoo.co.uk>
+
+       * events.c: add #include <stdlib.h> for free(). Fix PR build/13372.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-06-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * psim.c (psim_options): Fix length of comparison when checking
+       for --sysroot= option.
+
+2011-06-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * psim.c (psim_options): Add option that cause the error
+       in invalid-option error messages. Print the usage when
+       detecting an invalid long-name option.
+
+2011-06-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * psim.c (psim_options): Accept and ignore `--sysroot=...'.
+
+2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
+
+       From Stephen Kitt  <steve@sk2.org>
+       * vm.c (vm_synchronize_context): Spelling fix in function
+       documentation.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_complete_command): New stub function.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * cap.c (cap_remove): Change zfree to free.
+       * corefile.c (core_init): Likewise.
+       * device.c (detach_device_interrupt_edge): Likewise.
+       (clean_device_interrupt_edges): Likewise.
+       (device_instance_delete): Likewise.
+       (device_set_property): Likewise.
+       (clean_device_properties): Likewise.
+       (device_add_range_array_property): Likewise.
+       (device_add_reg_array_property): Likewise.
+       * emul_bugapi.c (emul_bugapi_do_read): Likewise.
+       (emul_bugapi_do_write)
+       * emul_netbsd.c (write_direntries): Likewise.
+       (do_read): Likewise.
+       (do_write): Likewise.
+       (do_getdirentries): Likewise.
+       * emul_unix.c (do_unix_read): Likewise.
+       (do_unix_write): Likewise.
+       * events.c (event_queue_init): Likewise.
+       (event_queue_deschedule): Likewise.
+       (event_queue_process): Likewise.
+       * hw_disk.c (open_disk_image): Likewise.
+       (hw_disk_instance_delete): Likewise.
+       * hw_eeprom.c (hw_eeprom_instance_delete): Likewise.
+       * hw_htab.c (htab_dma_binary): Likewise.
+       * hw_init.c (update_for_binary_section): Likewise.
+       * hw_memory.c (hw_memory_set_available): Likewise.
+       (hw_memory_init_address): Likewise.
+       (hw_memory_instance_release): Likewise.
+       * pk_disklabel.c (disklabel_delete): Likewise.
+       * table.c (table_push): Likewise.
+       * tree.c (parse_reg_property): Likewise.
+       (parse_ranges_property): Likewise.
+       (parse_string_property): Likewise.
+       * main.c (zfree): Delete.
+       * sim_calls.c (zfree): Likewise.
+       * sim_callbacks.h (zfree): Likewise.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb-sim.c (sim_store_register): Update return value to
+       match new API.
+
+2011-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * psim.texinfo: Copyright year update.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim_calls.c (sim_write): Add const to buf arg.
+
+2010-02-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * ppc-instructions: Fix missing assignment in last change.
+
+2010-02-05  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * ppc-instructions: Fix aliasing bugs when calling
+       invalid_arithemetic_operation.
+
+2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * configure.ac: If build != host, create a separate build-config.h
+       file desecribing the build machine.
+       * configure: Regenerate.
+       * lf.c: Include build-config.h instead of config.h.
+       * dgen.c: Likewise.
+       * igen.c: Likewise.
+       * misc.c: Likewise.
+       * misc.h: Likewise.
+       * filter.c: Likewise.
+       * table.c: Likewise.
+
+2009-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * std-config.h: Fix spelling error.
+
+2009-09-22  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * main.c: Fix spelling error.
+
+2009-09-15  Andreas Tobler <andreast-list@fgznet.ch>
+           Doug Evans  <dje@google.com>
+
+       * configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * hw_sem.c: (HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (datarootdir): New variable.
+
+2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * ppc-instructions (sync): Add L field.
+
+2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * ppc-instructions, ppc-spr-table: Add ability
+       to read tbrl and tbru special registers.
+
+2008-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * configure: Regenerated.
+       * configure.ac: Add test for System V shared memory and semaphore.
+       * debug.c, debug.h: Add trace support for new devices.
+       * hw_sem.c, hw_shm.c: New files.
+       * Makefile.in: Add hw_sem.c and hw_shm.c.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Add test for libz and zlib.h.
+       * Makefile.in (LIBS): Set from @LIBS@.
+       * configure: Regenerate.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
+       * configure, config.in: Regenerated.
+       * Makefile.in (LIB_OBJ): Add version.o.
+       (version.c, version.o): New rules.
+       * psim.c (psim_usage): Add help parameter.  Print the bug URL.
+       Exit with code 0 for help.
+       (psim_options): Update calls to psim_usage.  Handle --help and
+       --version.
+       * psim.h (psim_usage): Update prototype.
+       * main.c (main): Update psim_usage call.
+
+2008-03-14  Nick Hudson  <nick.hudson@dsl.pipex.com
+
+       * configure.ac: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
+       * configure: Regenerate.
+
+2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb-sim.c (regnum2spr): Rename to...
+       (sim_spr_register_name): ... this.  Make global.
+
+2007-09-04  Jerome Guitton  <guitton@adacore.com>
+
+       * sim/ppc/emul_bugapi.c (emul_bugapi_create): quote the file
+       name property before parsing it.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-11-22  Tom Marn <tom.marn@telargo.com>
+
+       Committed by Andrew Cagney.
+       * ppc-instructions: Implement optional PowerPC stfiwx instruction.
+
+2006-07-12  Fred Fish  <fnf@specifix.com>
+
+       * sim-endian.h (asm/byteorder.h): Don't include private kernel
+       header.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in: Replace INTLLIBS and INTLDEPS with LIBINTL
+       and LIBINTL_DEP everywhere.
+       (INTL_DIR, INTL_SRC): Remove.
+       (INTL_CFLAGS): Use INCINTL.
+       * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR.
+       * configure: Regenerated.
+
+2006-05-05  Andreas Schwab  <schwab@suse.de>
+
+       * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
+       * configure: Regenerate.
+
+       * Makefile.in (CFLAGS_FOR_BUILD): Define.
+       (BUILD_CFLAGS): Use it instead of hardcoding "-g -O".
+       (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
+
+2006-04-23  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (tmp-ld-decode): Fix dependencies.
+       (tmp-ld-cache): Likewise.
+       (tmp-ld-insn): Likewise.
+
+2006-02-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * emul_netbsd.c (emul_netbsd_create): Quote file-name property.
+       * emul_unix.c (emul_unix_create): Likewise.
+       * tree.c (libiberty.h): Include it.
+       (tree_quote_property): New function.
+       * tree.h (tree_quote_property): Declare.
+
+2006-01-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * words.h (natural32): Define as "int".
+
+2006-01-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * words.h (signed32): Define as "int".
+       (unsigned32): Define as "unsigned int".
+
+2005-11-28 Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.ac (USE_WIN32API): Define it.
+       * configure.in: Regenerate.
+       * config.in: Likewise.
+       * emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
+       * emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.
+
+2005-11-28  Mark Mitchell  <mark@codesourcery.com>
+
+       * psim.c: Include gdb/signals.h.
+
+       * sim_calls.c (gdb/signals.h): Include it.
+       (sim_stop_reason): Use TARGET_SIGNAL_*.
+       * psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.
+
+2005-07-15  Ben Elliston  <bje@au.ibm.com>
+
+       * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
+
+2005-07-15  Ben Elliston  <bje@au.ibm.com>
+
+       * hw_init.c: Comment out tokens after #endif directive.
+       * hw_register.c: Likewise.
+       * hw_trace.c: Likewise.
+       * hw_vm.c: Likewise.
+
+2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * psim.c: Added libiberty.h header file.
+
+2005-04-18  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * configure.ac: Added check for long long.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+       * words.h: Modified logic to check for HAVE_LONG_LONG instead of
+       __GNUC__, added config.h header file.
+
+2005-03-25  Anthony Green  <green@redhat.com>
+
+       * tree.c (parse_reg_property): Fix memset usage.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure.ac: Delete AC_CONFIG_AUX_DIR.
+       * configure: Re-generate.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2005-01-03  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (hw_com.o, hw_eeprom.o): Depend on
+       $(DEVICE_TABLE_H).
+
+2004-11-16  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (defines.h): Depend on tmp-defines.
+       (hw.c hw.h): Depend on tmp-hw.
+       (pk.h): Depend on tmp-pk.
+
+2004-11-11  Andreas Schwab  <schwab@suse.de>
+
+       * sim_calls.c: Include "libiberty.h".
+
+2004-09-24  Ian Lance Taylor <ian@wasabisystems.com>
+
+       Committed by Andrew Cagney.
+       * configure.in: Check for sys/mount.h, sys/vfs.h, sys/statfs.h.
+       Check for struct statfs.
+       * emul_netbsd.c: If not HAVE_STRUCT_STATFS, #undef HAVE_FSTATFS.
+       * configure, config.in: Regenerate.
+
+2004-08-05  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * Makefile.in (GDB_INCLUDES): Remove bogus reference to mmalloc.
+
+2004-08-04  Andrew Cagney  <cagney@gnu.org>
+           Jim Blandy <jimb@redhat.com>
+
+       * sim_callbacks.h (simulator): Declare.
+       * Makefile.in (gdb-sim.o): New rule.
+       (MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c.
+       (DEFS_H): Delete.
+       (GDB_SIM_PPC_H): Define.
+       * gdb-sim.c: New file.
+       * sim_calls.c: Do not include "defs.h".
+       (simulator): Drop static.
+       (sim_store_register, sim_fetch_register): Delete.
+
+2004-08-04  Andrew Cagney  <cagney@gnu.org>
+
+       * Back out accidently committed change.
+
+2004-08-04  Jim Blandy  <jimb@redhat.com>
+
+       Use a fixed register numbering when communicating with the PowerPC
+       simulator.
+       * sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
+       include GDB's "defs.h".
+       (gdb_register_name_table): New variable.
+       (gdb_register_name_table_size): New enum constant.
+       (gdb_register_name): New function.
+       (sim_fetch_register, sim_store_register): Use gdb_register_name,
+       instead of calling gdbarch_register_name.
+       * Makefile.in (GDB_SIM_PPC_H): New variable.
+       (DEFS_H): Delete variable.
+       (sim_calls.o): Update dependencies.
+
+2004-07-26  Andrew Cagney  <cagney@gnu.org>
+
+       Problem from Olaf Hering <olh@suse.de>.
+       * Makefile.in (install, installdirs): Add DESTDIR.
+
+2004-07-10  Ben Elliston  <bje@au.ibm.com>
+
+       * tree.c (parse_integer_property): Comment typo fix.
+
+2004-07-06  Jim Blandy  <jimb@redhat.com>
+
+       * Makefile.in: Update all dependency information.
+       (BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H)
+       (EMUL_GENERIC_H): Values updated.
+       (ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H)
+       (ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H)
+       (COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H)
+       (COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H)
+       (DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H)
+       (EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H)
+       (FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H)
+       (GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H)
+       (GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H)
+       (ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H)
+       (IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H)
+       (LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H)
+       (OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H)
+       (SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H)
+       (SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H)
+       (TREE_H, VM_H, VM_N_H, WORDS_H): New variables.
+       (callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o)
+       (dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o)
+       (events.o, filter.o, filter_filename.o, filter_host.o)
+       (gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o)
+       (gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o)
+       (hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o)
+       (idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o)
+       (ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o)
+       (options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o)
+       (semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o)
+       (support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies.
+
+2004-06-28  Jim Blandy  <jimb@redhat.com>
+
+       * e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
+       unsigned type before or-ing it with a 64-bit value.
+
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size
+       instead of bfd_get_section_size_before_reloc.
+       (htab_dma_binary(bfd): Likewise.
+       * hw_init.c (update_for_binary_section(bfd): Likewise.
+
+2004-05-10  Daniel Jacobowitz  <dan@debian.org>
+
+       * configure.in (sim_fpu_cflags): Add -I../common.
+       * configure: Regenerated.
+
+2004-01-27  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-instructions: Update copyright.
+       (convert_to_integer): Add trailing ";" to label.
+
+2003-10-16  Michael Snyder  <msnyder@redhat.com>
+
+       * emul_netbsd.c: Only a comment may follow an #endif.
+
+2003-10-15  Michael Snyder  <msnyder@redhat.com>
+
+       * Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
+
+2003-06-22  Andrew Cagney  <cagney@redhat.com>
+
+       Written by matthew green <mrg@redhat.com>, with fixes from Aldy
+       Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and
+       Nick Clifton <nickc@redhat.com>.
+
+       * ppc-instructions: Include altivec.igen and e500.igen.
+       (model_busy, model_data): Add vr_busy and vscr_busy.
+       (model_trace_release): Trace vr_busy and vscr_busy.
+       (model_new_cycle): Update vr_busy and vscr_busy.
+       (model_make_busy): Update vr_busy and vscr_busy.
+       * registers.c (register_description): Add Altivec and e500
+       registers.
+       * psim.c (psim_read_register, psim_read_register): Handle Altivec
+       and e500 registers.
+       * ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers.
+       * configure.in (sim_filter): When *altivec* add "av".  When *spe*
+       or *simd* add e500.
+       (sim_float): When *altivec* define WITH_ALTIVEC.  When *spe* add
+       WITH_E500.
+       * configure: Re-generate.
+       * e500.igen, altivec.igen: New files.
+       * e500_expression.h, altivec_expression.h: New files.
+       * idecode_expression.h: Update copyright.  Include
+       "e500_expression.h" and "altivec_expression.h".
+       * e500_registers.h, altivec_registers.h: New files.
+       * registers.h: Update copyright.  Include "e500_registers.h" and
+       "altivec_registers.h".
+       (registers): Add Altivec and e500 specific registers.
+       * Makefile.in (IDECODE_H): Add "idecode_e500.h" and
+       "idecode_altivec.h".
+       (REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h".
+       (tmp-igen): Add dependencies on altivec.igen and e500.igen .
+
+2003-06-22  Andrew Cagney  <cagney@redhat.com>
+
+       Problems reported by Joshua LeVasseur.
+       * emul_chirp.c: Update copyright.
+       (chirp_emul_nextprop): Return the first property.
+       * hw_htab.c: Update copyright.
+       (htab_decode_hash_table): Fix check for htab size.
+
+2003-06-21  Andrew Cagney  <cagney@redhat.com>
+
+       * interrupts.c: Update copyright.
+       (external_interrupt): Fix test for already pending interrupt.
+       Problem found by Joshua LeVasseur.
+
+       * ppc-instructions: Add missing +8 line.  Found by blofeldus at
+       yahoo.com.
+
+2003-06-21  Andrew Cagney  <cagney@redhat.com>
+
+       From Ian Lance Taylor <ian@airs.com>: * hw_nvram.c
+       (hw_nvram_init_address): Correct call to memset--swap second and
+       third arguments.
+
+2003-06-21  Andrew Cagney  <cagney@redhat.com>
+
+       * hw_com.c (hw_com_device_init_data): Check that the output, and
+       not input file opened.  Pointed out by masahino tky3.3web.ne.jp.
+
+2003-06-20  Andrew Cagney  <cagney@redhat.com>
+
+       * sim_calls.c (sim_create_inferior): Assert that
+       psim_write_register succeeded.
+       (sim_fetch_register, sim_store_register): Make "regname" constant.
+       Delete Altivec hack.  Return result from psim_read_register /
+       psim_write_register.
+       * psim.h (psim_read_register, psim_write_register): Change return
+       type to int.  Update comments.
+       * psim.c: Update copyright.
+       (psim_stack): Assert that the psim_read_register worked.
+       (psim_read_register, psim_read_register): Return the register's
+       size.  Allocate the cooked buffer dynamically.
+       * hw_register.c: Update copyright.
+       (do_register_init): Check that psim_write_register succeeded.
+       * hw_init.c: Update copyright.
+       (create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert
+       that the register transfer worked.
+
+2003-06-19  Andrew Cagney  <cagney@redhat.com>
+
+       * ld-insn.h: Update copyright.
+       (cache_fields): Define.
+       (insn_table_fields): Add insn_field_6 and insn_field_7.
+       (load_insn_table): Pass in the "cache_rules".
+       * ld-insn.c: Update copyright.
+       (load_insn_table): Add parameter "cache_rules".  Handle "cache",
+       "computed" and "scratch" fields.
+       (main): Pass "cache_rules" to load_insn_table.
+       * ld-cache.h: Update copyright.
+       (append_cache_table): Declare.
+       * ld-cache.c: Update copyright.
+       (append_cache_table): New function.
+       (load_cache_table): Call.
+       * gen-model.c: Include "ld-cache.h".
+       * gen-itable.c: Include "ld-cache.h".
+       * igen.c: Move #include "ld-cache.h" to earlier.  Update
+       copyright.
+       (main): Permit a NULL "cache_rules".  Pass address of
+       "cache_rules" to load_insn_table.
+       * Makefile.in (tmp-ld-insn): Add "ld-cache.o".
+       (tmp-igen): Do not include ppc-cache-rules.
+       (gen-itable.o, gen-model.o): Add "ld-cache.h".
+       * ppc-cache-rules: Delete file.
+       * ppc-instructions: Add cache rules.
+
+2003-06-19  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete.
+       (SIM_FPU_FLAGS): Define.
+       (icache.o): Delete explicit compile command.
+       (semantics.o, idecode.o): Delete explicit compile command.
+       (NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS.
+       * gen-support.c (gen_support_c): Generate #include of
+       "sim-inline.h" and "sim-fpu.h", but conditional on
+       HAVE_COMMON_FPU.
+       * gen-idecode.c (gen_idecode_c): Ditto.
+       * igen.c (gen_icache_c, gen_semantics_c): Wrap #include of
+       "sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional.
+       Move to before "support.h".
+       * Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update
+       copyright.
+
+2003-05-16  Ian Lance Taylor  <ian@airs.com>
+
+       * Makefile.in (various): Use $(SHELL) whenever we invoke
+       move-if-change.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-09-27  Andrew Cagney  <ac131313@redhat.com>
+
+       * hw_disk.c (hw_disk_init_address): Set device type to "block",
+       not "disk".
+
+2002-06-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (INTL_SRC): Define.
+       (INTL_CFLAGS): Define.
+       (INTL_DIR): Define.
+       (STD_CFLAGS): Add INTL_CFLAGS.
+
+2002-06-17  Elena Zannoni  <ezannoni@redhat.com>
+
+       * psim.c (psim_options): Don't choke when gdb invokes us with
+       the --architecture option, just ignore it.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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
+       compatible format.
+       * gen-idecode.c (print_run_until_stop_body): Likewise.
+       * gen-model.c (gen_model_c): Likewise.
+
+2002-04-15  Elena Zannoni  <ezannoni@redhat.com>
+
+       * sim_calls.c (sim_fetch_register, sim_store_register): Return -1 for
+       AltiVec registers as a temporary stopgap.
+
+2002-03-24  David O'Brien  <obrien@FreeBSD.org>
+
+       * ppc/hw_disk.c: Export a disk device property.
+
+2002-03-23  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
+       * ppc-instructions (lswx): Do the register control with the
+       register count.  Initialize the right register in the loop.
+       (mtfsfi) : Correct prefix for the instruction.
+
+2002-02-24  Andrew Cagney  <ac131313@redhat.com>
+
+       From wiz at danbala:
+       * std-config.h: Fix grammar and typos.  Update copyright.
+       Fix PR gdb/287.
+
+2002-01-12  matthew green  <mrg@redhat.com>
+
+       * Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
+       * igen.c (main): Change -I to add include paths for :include:
+       files.
+       Implement -G as per sim/igen, with just gen-icache=N support.
+       Call load_insn_table() with the built include path.
+
+       * ld-insn.c (parse_include_entry): New. Load an :include: file.
+       (load_insn_table): New `includes' argument.  Look for :include:
+       entries and call parse_include_entry() for them.
+       (main): Adjust load_insn_table() call.
+       * ld-insn.h (model_include_fields): New enum.
+       (load_insn_table): Update prototype.
+       * table.c (struct _open_table, struct _table): Rework
+       structures to handle included files.
+       (table_push): Move the guts of table_open() here.
+
+       * table.c (struct _open table, struct table): Make table object an
+       indirect ptr to the current table file.
+       (current_line, new_table_entry, next_line): Make file arg type
+       open_table.
+       (table_open): Use table_push.
+       (table_entry_read): Point variable file at current table, at eof, pop
+       last open table.
+
+       * misc.h (NZALLOC): New macro. From sim/igen.
+
+       * table.h, table.c (table_push): New function.
+
+2002-01-04  matthew green  <mrg@redhat.com>
+
+       * bits.c (LSMASKED64): New inline function.
+       (LSEXTRACTED64): Likewise.
+       * bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
+       sim/common/sim-bits.h
+       (LSMASKED64, LSEXTRACTED64): New functions definitions.
+       * Makefile.in (sim-bits.o): Remove target.
+
+       * main.c (zalloc): Fix typo in error message.
+
+2001-12-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (sim_fpu): Don't add sim-bits.o.
+       * configure: Re-generate.
+
+2001-12-15  matthew green  <mrg@redhat.com>
+
+       * main.c: Include "defs.h", "bfd.h", "callback.h" and "remote-sim.h".
+       (sim_io_error): New function.
+       * sim_calls.c: (sim_io_error): New function.
+
+2001-12-14  matthew green  <mrg@redhat.com>
+
+       * Makefile.in (LIB_OBJ): Add @sim_fpu@.
+       (ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
+       (icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
+       (sim-fpu.o, sim-bits.o, tconfig.h): New targets.
+       * configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.  Add a
+       check for sim/common/sim-fpu.c.  Output sim_fpu and sim_fpu_cflags.
+       * configure: Regenerate.
+       * device.h (device_find_integer_array_property): Match function definition.
+       * gen-icache.c (print_icache_internal_function_declaration): Rename
+       INLINE_ICACHE to PSIM_INLINE_ICACHE.
+       * gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
+       to PSIM_INLINE_IDECODE.
+       * gen-semantics.c (print_semantic_function_header): Rename
+       EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+       * gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
+       PSIM_INLINE_SUPPORT.
+       * igen.c (print_function_name): Also escape `(' and `)'.
+       (gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+       (gen_semantics_c): Likewise.  Also output includes for "sim-fpu.h"
+       * inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
+       (EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
+       (STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
+       (INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
+       (EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
+       (INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
+       (EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
+       (INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
+       (EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
+       (INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
+       (EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
+       (INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
+       * options.c (options_inline): Fix names.
+       * sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
+       * sim-endian.h: Likewise.
+       * sim-main.h: New file.
+       * std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
+
+2001-12-01  Andrew Cagney  <ac131313@redhat.com>
+
+       From Mark Peek.
+       * ppc-spr-table: Add SDA and PIR.
+
+2001-10-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * tree.c (parse_size): Assert #size-cells > 0.
+       (parse_address): Ditto for #address-cells.
+       (parse_reg_property): Only parse the size when #size-cells is
+       non-zero.
+
+2001-10-25  Andrew Cagney  <ac131313@redhat.com>
+
+       * emul_generic.c (OEA_MEMORY_SIZE): Increase to 4mb.
+       * hw_htab.c (htab_map_binary): Don't try to map the text section
+       when it is empty.
+       * emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
+       CHIRP_LOAD_BASE.
+       (emul_chirp_create): Map in the interrupt table.
+
+2001-07-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in: Add dependencies on $(CPU_H).
+
+Wed Mar  7 10:45:12 HST 2001  Glen Nakamura  <gen@lava.net>
+
+       * hw_init.c (dma_file): Fixed problem with loading last 1KB of
+       file.
+
+2001-03-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * emul_netbsd.c [WITH_NetBSD_HOST]: Include <sys/mount.h> and
+       <errno.h>.
+       (do_stat): Only do SYS test when SYS_stat defined.
+       (do_sigprocmask): Ditto for SYS_sigprocmask.
+       (do_fstat): Ditto for SYS_fstat.
+       (do_getdirentries): Ditto for SYS_getdirentries.
+       (do_lstat): Ditto for SYS_lstat.
+
+2001-01-15  Geoffrey Keating  <geoffk@redhat.com>
+
+       * emul_netbsd.c (do_open): Translate the flag parameter to the
+       open syscall to the numbers supported by the host.
+
+2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
+
+       * sim-endian.h: Don't have parameters on macro definitions which
+       are simply renaming functions, to permit use of XCONCAT2 in both
+       the macro name and the arguments in a use of such a definition.
+
+2000-11-15  Jim Blandy  <jimb@redhat.com>
+
+       * sim_calls.c: Doc fix.
+       (sim_fetch_register, sim_store_register): Call
+       gdbarch_register_name directly, instead of going through
+       REGISTER_NAME macro.
+
+2000-10-24  Geoff Keating  <geoffk@cygnus.com>
+
+       * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 28 15:59:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * events.c (event_queue_process): Call update_time_from_event
+       every time an event is removed from the queue.
+       (update_time_from_event): Delete assertion that a negative
+       time_from_event implies an empty event queue.
+
+Fri Apr 28 15:53:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interrupts.c (deliver_hardware_interrupt): Print time trace in
+       decimal.
+       * events.c (event_queue_process): Cleanup trace message.
+       (update_time_from_event): Trace full event queue.
+
+2000-03-25  Geoff Keating  <geoffk@cygnus.com>
+
+       * ppc-instructions (Disabled_Exponent_Underflow): Increment
+       the exponent when denormalizing.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure.in: Use AC_EXEEXT instead of AM_EXEEXT.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * sim_calls.c (POLL_QUIT_INTERVAL): Define. Used to tweak
+       the frequency at which the poll_quit callback is called.
+       (poll_quit_count): New global.
+       (sim_io_poll_quit): Only call the poll_quit callback
+       after the specified POLL_QUIT_INTERVAL.
+
+1999-02-22  Jim Lemke  <jlemke@cygnus.com>
+
+       * dc-complex: Force expansion on all bits of field BO.
+       Previously, the least-significant (prediction) bit was ignored.
+       * ppc-instructions (conditional branches): Implement mpc860c0 option.
+       * igen.c (gen_semantics_[ch]): Setup for mpc860c0 option.
+       * psim.c (is_num, psim_options): Added parsing for mpc860c0 option.
+       * interrupts.h: Added "mpc860c0_instruction_program_interrupt".
+       * interrupts.c (program_interrupt): Added handling for above interrupt.
+
+1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       Make the simulator compatible with the MPC750.  It would be nicer
+       to make this a real multi-sim, but that's more work than we have
+       time for.
+       * emul_generic.c (emul_add_tree_options): Only require strict
+       alignment if it was explicitly requested at configuration time.
+       Don't make it the default for little-endian machines.
+       * ppc-spr-table (UMMCR0, UMMCR1, UPMC1, UPMC2, USIA, UPMC3, UPMC4,
+       MMCR0, PMC1, PMC2, SIA, MMCR1, PMC3, PMC4, L2CR, ICTC, THRM1,
+       THRM2, THRM3): Plop in the MPC750 SPR registers.
+       (DABR): This is weird.  This was HID5, but the PPC spec says this
+       should be DABR; why did some random processor use it for something
+       else?  The HID5 entry dates back to the original checkin of the
+       simulator code in 1995, so remove it.
+       * sim_calls.c (register_names): Delete this; since the user can
+       now change GDB's list of register names dynamically, we can't
+       pretend there's a static mapping here.
+       (sim_fetch_register, sim_store_register): Call GDB's REGISTER_NAME
+       function to get the register name.  That ought to be accurate.
+       However, we're changing a compile-time dependency (using the
+       REGISTER_NAMES macro) into a link- and run-time dependency
+       (calling REGISTER_NAME, which happens to be a function call on the
+       PPC).
+
+1999-01-22  Jim Lemke <jlemke@cygnus.com>
+
+       * igen.c(gen_semantics_[ch]): setup/use of new option
+       (-o mpc860c0[=n]).
+       interrupts.[ch](mpc860c0_instruction_program_interrupt): added.
+       ppc-instructions(the four branch insn groups): detect problematic br's.
+       psim.c(is_num - added, psim_options): Parse and init new option.
+       These changes are currently under #ifdef WITH_OPTION_MPC860C0.
+
+1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
+
+       * hw_nvram.c (hw_nvram_bcd): Force value to fit in 0..99.
+
+Fri Nov 20 12:17:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * main.c (sim_io_poll_quit): Stub function.
+
+       * events.c (SIM_EVENTS_POLL_RATE): Define.
+       (sim_events_poll): Copy function from common/sim-events.c.
+       (event_queue_init): Copy scheduling of sim_events_poll from same.
+
+       * sim_callbacks.h, sim_calls.c (sim_io_poll_quit): New function,
+       poll the external environment.
+
+1998-11-19  Michael Meissner  <meissner@cygnus.com>
+
+       * ppc-instructions (is_{NaN,inf}): Use unsigned64 to get the
+       fractional type, so that quiet NaN's aren't treated like
+       Infinities.
+
+Mon Sep 28 09:42:45 1998  Drew Moseley  <dmoseley@cygnus.com>
+
+       * table.c (table_open): For cygwin hosts, we need to use the
+       return value from the read routine as the number of bytes to
+       process.  This apparently is due to text-mode vs binary-mode.  If
+       the mounts are done text-mode, then the size returnedby fstat()
+       may be different than the number of bytes "read" in text mode.
+
+Sun Oct  4 00:50:47 1998  Felix Lee  <flee@cygnus.com>
+
+       * emul_netbsd.c (do_open): fix order-of-evaluation problem.
+       (do_close): ditto.
+       (do_fstat): ditto.
+       (do_lstat): ditto.
+
+1998-09-03  Michael Meissner  <meissner@cygnus.com>
+
+       * emul_{netbsd,unix}.c: Update copyright year.
+
+Mon Jun 29 10:57:36 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * sim_calls.c (sim_fetch_register, sim_store_register):
+       return zero when nothing to do.
+
+1998-06-26  Michael Meissner  <meissner@cygnus.com>
+
+       * configure.in (AC_CHECK_HEADERS): Don't check for sys/mount.h.
+       * configure: Regenerate.
+       * emul_{netbsd,unix}.c (toplevel): No longer try to include
+       sys/mount.h. It conflicts on Linux when gnu libc2 is used.
+
+Tue May 12 12:10:33 PDT 1998  James Ingham  <jingham@leda.cygnus.com>
+
+       * Makefile.in: The run target depended on a target psim$(EXEEXT),
+       but there was no such target, only plain psim.  So I changed the
+       run target to depend on psim.
+
+Sat May  2 01:10:12 1998  Stu Grossman  <grossman@babylon-5.cygnus.com>
+
+       * aclocal.m4:  Remove defs of AM_EXEEXT and AM_CYGWIN32.  These are
+       now defined in ../common/aclocal.m4, and the double definition causes
+       problems with AC_SUBST of EXEEXT.
+       * configure:  Regenerate.
+
+Wed Apr 29 15:44:52 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * aclocal.m4: new file for AM_EXEEXT macro
+       * configure.in: call AM_EXEEXT
+       * configure: regenerate with autoconf 2.12.1.
+       * Makefile.in: add EXEEXT support
+
+Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Sun Apr 26 15:19:51 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+       Don't call AC_C_CROSS.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:18:46 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in (top_builddir): New macro.
+       (INTLLIBS): New macro.
+       (INTLDEPS): Likewise.
+       (psim): Depend on INTLDEPS; link against INTLLIBS.
+       * configure.in: Call CY_GNU_GETTEXT.
+
+Wed Apr 22 14:28:48 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.12.1.
+
+Fri Mar 13 09:25:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * psim.c (psim_read_register, psim_write_register): Handle updates
+       for FPSCR.
+
+       * registers.c (register_description): Reconize "FPSCR".
+
+       * emul_netbsd.c (emul_netbsd_create): When FP available, enable
+       MSR FP exception mode. Do not enable FPSCR bits.
+       * emul_unix.c (emul_unix_create): Ditto.
+
+Tue Feb 17 12:48:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Mon Feb  9 14:13:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ppc-instructions (fdiv, fdivs): Check for divide by zero.
+       (is_invalid_zero_divide, invalid_zero_divide_operation): New
+       functions.
+
+Wed Dec 10 17:38:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_load): Do not parse PROG using buildargv, use
+       raw value instead.
+
+1997-11-05  Felix Lee  <flee@cygnus.com>
+
+       * emul_chirp.c: #ifdef HAVE_UNISTD_H
+
+Wed Oct 15 08:50:54 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * corefile.c (core_attach): Pad out allocated memory regions so
+       that they are always correctly aligned.
+       (struct _core_mapping, core_map_attach, core_init,
+       new_core_mapping): Change free_buffer to type void*.
+
+Mon Oct  6 18:09:26 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * sim_calls.c (zfree): Call free correctly.
+
+Mon Sep 29 10:05:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (zfree): Use free, not mfree.
+       (sim_io_flush_stdoutput): Replace gdb_flush with callback ->
+       flush_stdout.
+
+Fri Sep 26 09:50:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ppc-instructions (sraw, slw, srw): From Charles Lefurgy, Fix
+       mask extracting shift amount. Correctly condition for setting XER
+       in sraw.
+       (ldhau): From Johannes Reisinger, update rA after load.
+
+Tue Sep  9 22:13:23 1997  Felix Lee  <flee@cygnus.com>
+
+       * basics.h (CONCAT*): token-pasting macros, if ALMOST_STDC,
+       for MSVC.
+       * words.h: __int64 instead of long long for MSVC.
+
+Wed Aug 27 10:24:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_create_inferior): Check the simulator was
+       initialized before creating inferior.
+
+       * idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
+       sign bit using 64 bit and not a 32 bit mask.
+
+Wed Aug 27 10:15:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
+       it has been used, not before.
+
+Tue Aug 26 10:41:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (entry_point): Delete variable.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+
+Mon Aug 25 16:17:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_open): Add ABFD argument.
+
+Thu Jul  3 10:18:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ppc-instructions (PPC_INSN_INT): From Michael Thies - Monitoring
+       CR register updates dependant on RC value had logic backwards.
+
+       * ppc-instructions (Load String Word Immediate): From Brad Parker
+       - sense of wrap test in check for overwriting RA wrong.
+       (Load String Word Indexed): Ditto.
+
+       * configure.in: From Erik Landry - set sim_default_model not
+       sim_model for sim-default-model option.
+       * configure: Regenerate.
+
+       * interrupts.c (check_masked_interrupts): Schedule a hardware
+       interrupt delivery when FP interrupts get enabled.
+       (program_interrupt): Generate FP exceptions instead of aborting.
+       (deliver_hardware_interrupt): Deliver a FP exception if so
+       enabled.
+
+       * registers.h: Add definition of fpscr_vx_bits.
+
+       * idecode_expression.h (FPSCR_END): Always update FEX and VX bits
+       in FPSCR.
+       (FPSCR_END): Explicitly check for possible floating point
+       exception conditions.
+       (FPSCR_BEGIN): Simplify.
+
+       * ppc-instructions (Move From FPSCR): Enable.
+       (Move To FPSCR Bit 1): Ditto.
+       (Move To FPSCR Bit 0): Ditto.
+       (Move To FPSCR Field Immediate): Ditto.
+       (Move to Condition Register from FPSCR): Simplify.
+       (invalid_arithemetic_operation): Generate a QNaN when invalid
+       operation exception disabled.
+
+Tue May 20 10:22:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Delete.
+
+Tue Apr 22 22:36:57 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * sim_callbacks.h (error): Make declaration match gdb's.
+       * main.c (error): Ditto.
+
+Fri Apr 18 17:03:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim_calls.c (sim_stop_reason): Simplify.  Was running implies
+       stopped/SIGINT. Exit implies a status code.
+
+       * psim.c (cntrl_c_simulation): From main.c.  Event function that
+       halts the simulator.
+       (psim_stop): New. Asynchronously schedule a stop simulator event.
+       (psim_run_until_stop): Delete. Made redundant by psim_stop.
+
+       * main.c (cntrl_c): Update.
+       (cntrl_c_simulation): Moved to psim.c.
+
+       * sim_calls.c (sim_stop): New function. Use psim_stop which
+       schedules a stop event.
+       (sim_resume): Drop SIGINT handler, now in gdb/main.c.
+       (sim_resume): Use psim_run as stop variable no longer needed.
+
+Fri Apr 18 17:03:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * psim.c (psim_options): Handle -E option correctly.
+       (psim_usage): Document.
+
+Thu Apr 17 03:28:03 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * psim.c (psim_options): Ignore -E option (sets endianness).
+       * sim_calls.c: #include bfd.h.
+       (entry_point): New static local.
+       (sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Tue Apr 15 14:57:18 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (INSTALL): Set to @INSTALL@.
+       (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+       (install): Depend upon installdirs.  Use $(program_transform_name)
+       directly, rather than using $(INSTALL_XFORM).
+       (installdirs): New target.
+
+Fri Apr  4 17:54:36 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
+       rather than the non-portable cat -n.
+
+Mon Apr 14 16:29:51 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (INSTALL): Change install.sh to install-sh.
+
+Tue Apr  1 18:15:14 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * ppc-instructions: Change milhwu to mulhwu.
+
+Wed Apr  2 15:38:08 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim_calls.c (sim_open): New arg `kind'.
+
+Wed Apr  2 14:51:17 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * COPYING: Update FSF address.
+
+Tue Mar 25 16:17:59 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * main.c (sim_io_read_stdin): Only compile unbuffered IO code if
+       all the required features are supported by the host OS.
+
+Tue Mar 25 12:13:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
+
+       * configure.in (enable-sim-endain): Correct typo in usage (from
+       Erik Landry <landry@ENGR.ORST.EDU>).
+       * configure: Re-generate.
+
+Fri Mar 14 18:23:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * Makefile.in (targ-vals.def): Re-do rule so that it works with
+       FreeBSD's make.  Didn't like $<.
+
+Thu Mar 13 12:55:48 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim_calls.c (sim_open): New SIM_DESC result.  Argument is now
+       in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Thu Feb 13 10:35:14 1997  Andrew Cagney  <cagney@phydeaux.cygnus.com>
+
+       * ppc-opcode-simple-array, ppc-opcode-simple-goto,
+       ppc-opcode-simple-switch, ppc-opcode-complex-array,
+       ppc-opcode-complex-goto, ppc-opcode-complex-switch,
+       ppc-opcode-jump, ppc-opcode-goto, ppc-opcode-flat: Delete,
+       superseeded by --sim-decode-mechanism option.
+
+       * ppc-opcode-simple, dc-simple: Rename to be 8.3
+       * ppc-opcode-complex, dc-complex: Ditto.
+       * ppc-opcode-stupid, dc-stupid: Ditto.
+       * ppc-opcode-test-1, dc-test.01: Ditto.
+       * ppc-opcode-test-2, dc-test.02: Ditto.
+
+       * configure.in (--enable-sim-opcode): Change prefix to dc- instead
+       of ppc-opcode-.
+
+Wed Feb 12 19:33:45 1997  Andrew Cagney  <cagney@phydeaux.cygnus.com>
+
+       * Many of the ppc-opcode-* files are identical baring the type of
+       lookup table.  Instead of having multiple tables, igen can do this
+       via an additional option.
+
+       * ld-decode.h, ld-decode.c (force_decode_gen_type): New function,
+       allow the type of generated table specified in the decode file to
+       be overridden.
+
+       * ld-decode.c (load_decode_table): Allow the table type to be
+       overridden.
+
+       * igen.c (main): Add -T <mechanism> option so that an overriding
+       instruction decode mechanism can be specified.
+
+       * configure.in: New option --sim-decode-mechanism to control
+       igen's new -T <mechanism> flag.
+       * Makefile.in (IGEN_FLAGS): Add IGEN_IDECODE_MECHANISM set by the
+       configure script.
+       * configure: Regenerate.
+
+Tue Feb 11 13:49:10 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * events.c (event_queue_create): Don't use NULL to initialize an
+       integer field.
+       (even_queue_{init,schedule_after_signal,tick}): Conditionalize use
+       of sigprocmask to appropriate autoconf test.
+
+       * main.c ({cntrl_c,main}): Use RETSIGTYPE for signal return type,
+       don't assume void.
+       * sim_calls.c (sim_{ctrl_c,resume}): Ditto.
+
+       * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c
+       includes our config.h.
+
+Tue Feb  4 13:42:59 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in: Fix typo in test for callback.c.
+       * configure: Regenerated.
+
+Fri Feb  7 10:04:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_chirp.c (emul_chirp_create): Handle a virtbase of -1 being
+       found in the device tree.
+
+Wed Feb  5 10:56:27 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * Property create/initialization still wasn't correctly ordered.
+       Should be delaying everything related to ihandle creation until
+       after the rest of the tree has been established.
+
+       * device.c (device_find_ihandle_runtime_property): Update.
+       (device_add_ihandle_runtime_property): Update.
+
+       * tree.c (parse_ihandle_property): Delay lookup of the device to
+       be opened until the ihandle initialization phase.
+       * tree.c (print_properties): Update.
+
+Wed Feb  5 10:56:27 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * gen-icache.c (print_icache_extraction): Add a reason parameter.
+       Augment each extracted field with a comment citing the codes
+       origin.  Should simplify tracking down incorrect cache
+       extractions.
+
+Tue Feb  4 17:44:51 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * gen-icache.c: Generalize code handling XXX_is_NNN so that it
+       works for normal and boolean table entries.
+
+       * psim.c (psim_write_memory): last_cpu == -1 or nr_cpus is now
+       valid.  Handle this just like *_{read,write}_register now handles
+       it.
+
+Mon Feb  3 17:18:16 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * events.c (insert_event_entry): Correct loop termination
+       assertions.
+
+Fri Jan 31 16:20:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * psim.c (psim_options): Add new option -c for max-iterations or
+       count.
+       (psim_usage): Document.
+       (psim_max_iterations_exceeded): New function, abort simulation if
+       max iterations exceeded.
+
+       * gen-idecode.c: Re-work the table lookup code so that it assumes
+       that the entry is a leaf by default.  Simplify the boolean table
+       entry code so that it involves a mask + test instead of shift +
+       shift + mask + test.
+
+       * gen-idecode.c: Correct generated igen body so that it no drops
+       or doubles clock interrupts.
+
+
+Thu Jan 30 11:23:20 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * Makefile.in (BUILT_SRC_WO_CONFIG): Change targ-vals.* to
+       @sim_targ_vals@
+
+       * configure.in (sim_callback, sim_targ_vals): Set sim_targ_valls
+       if common callback is present.
+
+Wed Jan 29 12:32:41 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (sim_callback): If the gdb is post 4.16, configure
+       callback support from the common directory.
+       * configure: Regenerate.
+
+       * Makefile.in (BUILT_SRC_WO_CONFIG): Add targ-vals.{h,def} and
+       targ-map.c.
+       (GDB_OBJ): Add callback support configured in.
+       (gentmap,targ-vals.def): Build from common directory.
+       (targ-vals.h,targ-map.c): Build by running gentmap.
+       (callback.o): Build from source in common directory.
+       (targ-map.o): Add dependency.
+       (clean): Remove gentmap.
+
+Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * igen wasn't aborting if the opcode table contained no valid
+       fields.
+
+       * misc.c (name2i): Possibly abort if an invalid name is
+       encountered.
+       * ld-decode.c: Abort if the table type isn't found.
+
+Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * When performance monitoring is disabled, it is still possible to
+       determine the simulation speed by looking at the number of elapsed
+       ticks recorded by the event queue.
+
+       * psim.c (psim_write_register, psim_read_register): Force the cpu
+       to zero when it is either of `-1' or `nr_cpus'.  In both cases the
+       next cpu would be zero any way.
+
+       * mon.c (mon_print_info): If possible, print the system cycle
+       performance.  This is an indication of the number of instructions
+       per second.
+
+Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * The code to allow an event queue to be updated during a signal
+       was missing.  For main.c, a cntrl-c simulation termination wasn't
+       handled cleanly.
+
+       * The simulation would not correctly restart if an event requested
+       that the simulation be halted.
+
+       * psim.c (psim_options): Add hack to -i option to optionally
+       include a level vis -i2.
+       (psim_usage): Document.
+
+       * main.c (cntrl_c, cntrl_c_simulation): New functions.  When a
+       cntrl-c occures schedule an event to halt the simulation.
+       (main): Catch CNTRL-C signals with the function cntrl_c.
+
+       * events.c (event_queue_process): Mask interrupts while
+       manipulating the async event queue.
+       (event_queue_init): Ditto.
+       (event_queue_schedule_after_signal): Ditto.
+
+       * events.c (event_queue_process): Mark the event queue as being in
+       the processing state when processing has started.  Adjust code
+       so that it is tolerant of halts.
+       (event_queue_init): Start the event queue out with processing
+       false.
+       (event_queue_tick): Check that processing isn't still being
+       performed.
+
+       * gen-idecode.c (print_run_until_stop_body): Call
+       event_queue_process_events to clear possibly pending events before
+       starting a simulation run.  Re-arange main loop so that simulator
+       is correctly restarted when an event halts the simulation.
+
+       * psim.c (psim_halt): Handle an event halting the simulation.
+       * psim.c (psim_init): Adjust initial cpu - == -1 - to match
+       reworked idecode.
+
+Wed Jan 29 12:14:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * ppc-opcode-complex: Correct typo - was expanding ORA instead of
+       RA.  Based on instruction frequency stats, expand additional
+       instructions.
+       * ppc-instructions: Change all `RA == 0' to RA_is_0.
+
+       * ppc-opcode-stupid: Move all but the basic table in -complex into
+       here.  Update to new format.
+
+       * Makefile.in (tmp-defines): New target. Force defines.h to always
+       be built.  Hence get ppc-opcode-goto to build.
+
+Tue Jan 28 13:00:19 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * hw_com.c (hw_com_instance_read, hw_com_instance_write):
+       Implement.
+
+Thu Jan 23 09:07:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * hw_trace.c (hw_trace_init_data): Delete.  The trace options need
+       to be initialized independant of the rest of the simulation
+       initalization.  Otherwize a trace option explictly set from gdb
+       could be overridden by hw_trace.
+
+       * psim.c (psim_options): Clarify reason why the trace ioctl occures.
+
+       * FIXME: The trace code is too scattered - hw_trace.c, psim.c,
+       debug.c.  It could be much simpler.
+
+Thu Jan 23 09:07:26 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * Some devices support removable media.  Add hooks to the disk
+       device so that it supports this.
+
+       * device.c (device_add_string_array_property,
+       device_find_string_array_property): New functions, manipulate
+       properties containing an array of strings.
+       (device_find_string_property): Allow a string array.
+       (device_init_static_properties): Update.
+       (device_init_runtime_properties): Update.
+
+       * hw_disk.c (hw_disk_ioctl): Add ioctl for changing the disk
+       media.  If no file image is specified, use the next one in the
+       image property list.
+       (hw_disk_init_address): Change the file property so that it is a
+       string array - use the first entry for the initial file image.
+
+       * tree.c (print_string_aray_property): New function - print a
+       string array.
+       (print_properties): Adjust.
+       (print_string): Write a string, handling double quotes.
+
+       * device.h: Define an ioctl to `change-media' with an optional new
+       media image.
+
+       * hw_disk.c: Allow floppy disk devices to be specified.
+
+       * psim.c (psim_command): New function, parse more complex psim
+       commands such as "change-media" and "trace".
+       * sim_calls.c (sim_do_command): Use.
+
+Wed Jan 22 09:38:33 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * For expressions like (RA == 0) that are entered in to the cache
+       as RA_is_0. If possible generate the result of the expression so
+       that the compiler gets a better chance of eliminating dead
+       branches.
+
+       * gen-icache.c (print_icache_extraction): For a cache entry of
+       the form <name>_is_<const> where it is a boolean field, generate
+       the result of the expression instead of the expression its self.
+       (print_icache_body): Remove code that was looking for *_is_0 and
+       then generating corresponding definitions.
+
+       * gen-icache.c (print_icache_struct): If there is no cache, do not
+       output expressions in idecode.h file.
+
+       * gen-icache.c (print_icache_body): Output them here.
+
+       * ppc-opcode-complex: Clarify constant values for SPR==LR register
+       expansion.
+
+       * ppc-cache-rules (RA_is_0, SPR_is_256): Two new cache entries.
+
+Wed Jan 22 12:24:52 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * The code that put values in and extracted values from the cache
+       was too compilicated.  The cache table did not allow values to be
+       computed from cache entries.  #defines could only be used when a
+       cache was present, remove the restriction.
+
+       * ld-cache.h, ld-cache.c: Add a new cache entry type - SCRATCH.  A
+       scratch variable is defined when a cache entry is beinf
+       filled. Change the definition of a COMPUTE variable to be defined
+       when the cache entry is being used.
+       * gen-icache.c: Update.
+
+       * ld-cache.h, ld-cache.c: Change field names so that their meaning
+       is more obvious.  old_name->field_name, new_name->derived_name.
+       * gen-icache.c: Update
+
+       * gen-icache.h, gen-icache.c (print_icache_body): Make the three
+       different types of cache code - put into cache, extract from
+       cache, no cache - an explicit argument to print_icache_body.
+       * gen-icache.c (print_icache_extraction): Ditto.
+
+       * gen-semantics.c (print_c_semantic): Update use.
+       * gen-idecode.c (print_jump_insn): Update use.
+       * gen-icache.c (print_icache_function): Update use.
+
+       * igen.c (main): Change 'R' option so that it does not force the
+       cache.
+
+       * configure.in (enable-sim-icache): Clarify description.  Make
+       #define one of the defaults regardless of the cache.  Probably
+       should revamp and add a separate option.
+
+Tue Jan 21 13:26:10 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * pk_disklabel.c (block_is_fdisk): Tidy up traces - use dos
+       partition numbering.
+       (pk_disklabel_create_instance): Partition 1..4 are valid - not
+       1..3.
+       (is_iso9660): New function, verify a CD9660 File system.
+       (pk_disklabel_create_instance): Start expanding so that active
+       partition selection is supported.
+
+Mon Jan 20 11:20:15 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * The cap object was retaining a reference to the instance of a
+       device after it was deleted. Instead add and remove cap's from the
+       cap db as they are created and deleted.  This ensuring that a
+       capibility is only used during the lifetime of the corresponding
+       object.
+
+       * cap.h, cap.c: Correct cap type - was signed32 should be
+       signed_cell.
+
+       * cap.c (cap_add, cap_remove): New methods for cap object that
+       allow the explicit addition and removal of internal objects that
+       the cap knows about.
+
+       * cap.c (cap_init): Rewrite.  Verify that the only objects
+       remaining in the cap data base are those that were entered first.
+       Thse objects will be the permenant ones.
+       * device.c (device_init_address): Remember to initialize the cap
+       database.
+
+       * device.c (device_create_instance_from): Explicitly add device
+       instances to the cap database.  Simplify create code.
+       (device_instance_delete): Explicitly remove device instances from
+       the cap database.
+
+       * device.c (device_create_from): Explicitly add a device to the
+       cap data base.
+
+       * device.c (device_create_from): Always set the cap members.
+
+       * hw_disk.c: Output the instance when tracing.
+
+Sun Jan 19 16:44:29 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * tree.c (split_device_specifier): Add support for aliases when
+       looking up a device. Now needs a device as an argument.
+       (split_property_specifier): Ditto.
+
+Sun Jan 19 15:28:23 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * The memory "claim" and "release" methods take an address and
+       size as arguments.  These may be multi cell values. Initially fix
+       the memory code so that they check/detect this.  Leave the
+       adjustment of any clients to later.
+
+       * hw_memory.c (hw_memory_instance_claim,
+       hw_memory_instance_release): Handle multi-cell memory devices.
+
+       * hw_memory.c (hw_memory_instance_claim): Be tolerant towards the
+       release of memory regions that were not claimed.
+
+Fri Jan 17 12:01:07 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * device.h, device.c (device_instance_call_method): Correct return
+       type - can return either 0 or -1, hence should be a signed type.
+       * device_table.h: Ditto.
+
+       * hw_memory.c (hw_memory_instance_claim,
+       hw_memory_instance_release): Update.
+       * hw_disk.c (hw_disk_max_transfer, hw_disk_block_size,
+       hw_disk_nr_blocks): Ditto.
+
+Fri Jan 17 11:50:13 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_chirp.c (chirp_emul_claim): Implement using the "claim"
+       method belonging to "/chosen/memory".
+       (chirm_emul_release): Ditto.
+
+       * Makefile.in (LIB_INLINE_SRC): Remove emul_* from list of files
+       that are inlined.  These modules are called via a table and are
+       not made inline.
+
+       * hw_init.c (update_for_binary_section): Fix failure to allocate
+       memory used by the binary in real-mode executions. If "claim"
+       property is present, allocate memory from the "/chosen/memory"
+       device.
+
+       * emul_chirp.c (emul_chirp_create): Specify that memory should be
+       claimed when loading a real image.
+
+       * hw_memory.c (hw_memory_instance_claim): Don't page align memory
+       allocations.
+
+       * hw_memory.c (hw_memory_instance_release): Avoid infinite loop
+       when merging adjacent memory chunks.
+
+Thu Jan 16 08:51:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * vm.h (vm_data_map_read_buffer, vm_data_map_write_buffer): Add
+       optional PROCESSOR & CIA args so that this routine also abort an
+       access.
+
+       * vm_n.h (vm_data_map_read_N, vm_data_map_write_N): For a
+       miss-aligned access when a transfer fails abort.
+
+       * emul_bugapi.c (emul_bugapi_do_write): Use emul_read_buffer
+       instead of the vm_read_buffer.
+       * emul_netbsd.c (do_write): Ditto.
+       * emul_unix.c (do_unix_write): Ditto.
+
+Wed Jan 15 14:38:25 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * configure.in (--enable-sim-jump): Default is NULL and not -E.
+       * configure: Regenerate.
+
+       * basics.h (__attribute__): Enable attributes if GCC >= 2.6.
+       (UNUSED): Only enable UNUSED if GCC >= 2.7.
+
+       * gen-icache.c (print_icache_extraction): Print UNUSED macro
+       instead of explicit __unused__ attribute.
+       (print_icache_body): Ditto.
+       * idecode_expression.h (FPSCR_BEGIN): Use UNUSED.
+
+Wed Jan 15 13:54:50 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * cpu.h, cpu.c (cpu_synchronize_context): Add CIA argument as
+       reference point.
+
+       * vm.c (vm_synchronize_context): Add PROCESSOR and CIA as
+       arguments so that there is a reference point for recovery.
+       (vm_synchronize_context): Pass processor+cia for errors.
+       (om_unpack_sr): Ditto.
+       (om_unpack_srs): Ditto.
+       * vm.c (vm_create): Review error messages.
+
+       * vm.c: Include "cpu.h" so that cpu_error is visible.
+
+       * ppc-instructions (Return From Interrupt): Pass CIA.
+       (Instruction Synchronize): Ditto.
+       * psim.c (psim_init): Ditto.
+
+Wed Jan 15 12:25:11 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * cpu.h, cpu.c (cpu_error): Aborts simulation with error message,
+       but also saves current processor state.
+
+       * basics.h: Move #include <stdarg.h> to here from device_table.h.
+
+       * interrupts.c (perform_oea_interrupt): Use.  No longer loose CIA
+       when simulation aborted.
+       (program_interrupt): Ditto.
+       (floating_point_unavailable_interrupt): Ditto.
+       (alignment_interrupt): Ditto.
+       (floating_point_assist_interrupt): Ditto.
+       (perform_oea_interrupt): Ditto.
+       (machine_check_interrupt): Ditto.
+
+Tue Jan 14 12:19:10 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * ppc-instructions (Move from Special Purpose Register): Support
+       move from DEC.
+
+Mon Jan 13 16:58:12 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * debug.h, debug.c: Add "interrupts" trace option.
+
+       * interrupts.c (data_storage_interrupt): Add tracing.
+       (machine_check_interrupt): Ditto.
+       (instruction_storage_interrupt): Ditto.
+       (alignment_interrupt): Ditto.
+       (program_interrupt): Ditto.
+       (floating_point_unavailable_interrupt): Ditto.
+       (system_call_interrupt): Ditto.
+       (floating_point_assist_interrupt): Ditto.
+       (deliver_hardware_interrupt): Ditto.
+
+       * interrupts.c (program_interrupt): For UEA mode, halt the
+       processor - so that the current state is saved - instead of
+       aborting.
+       (floating_point_unavailable_interrupt): Ditto.
+       (floating_point_assist_interrupt): Ditto.
+
+Thu Jan  2 09:10:41 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * interrupts.c (perform_oea_interrupt): Halt rather than abort on
+       a double interrupt.
+
+Wed Jan  1 22:54:52 1997  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * ppc-instructions (Store Multiple Word, Load Multiple Word):
+       Enable.
+
+       * tree.c (print_properties): For an array consider printing it out
+       as an integer array.
+
+       * hw_memory.c (hw_memory_init_address): If an "available" property
+       is present, use that to initialize the available memory instead of
+       using the reg property.
+
+       * emul_generic.c (emul_add_tree_hardware): Add "available"
+       property to memory device.
+
+Fri Dec 20 13:19:07 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * ppc-instructions (Rotate Left Word then AND with Mask): Enable.
+
+       * device.c (device_instance_call_method): Was only looking at the
+       first method.
+
+       * hw_disk.c (hw_disk_nr_blocks): Implement #blocks method.
+       (hw_disk_block_size): Implement block-size method.
+       (hw_disk_max_transfer): Implement max-transfer method.
+
+       * hw_phb.c (hw_phb_init_address): Reinit the rest of the PHB.
+
+       * emul_chirp.c (chirp_emul_instance_to_path): Recover from an
+       invalid ihandle.
+       (chirp_emul_instance_to_package): Ditto.
+       (chirp_emul_method): Ditto.
+       (chirp_emul_read): Ditto.
+       (chirp_emul_write): Ditto.
+       (chirp_emul_close): Ditto.
+       (chirp_emul_seek): Ditto.
+       (chirp_emul_package_to_path): Ditto (for phandle).
+       (chirp_emul_package_to_path): Return the length.
+
+       * psim.c (psim_merge_device_file): Allow continuation lines.
+
+Thu Dec 19 11:09:43 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_chirp.c (chirp_emul_boot): Implement. Well report the new
+       string and exit.
+
+       * emul_chirp.c (chirp_emul_exit): Correct type of args struct
+       members - *_cell not host dependant int.
+
+Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * interrupts.c (perform_oea_interrupt): Print additional
+       information if a double interrupt is encountered.
+
+Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * psim.c (psim_merge_device_file): Tolerate an incorrect file-name
+       being specified with the -f option.
+       (psim_merge_device_file): Correct check for end of string.
+
+Wed Dec 18 17:49:59 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_chirp.c (chirp_emul_peer): Was falling off the end of the
+       list of devices. Return zero to the client instead.
+       * emul_chirp.c (chirp_emul_child): Ditto
+       * emul_chirp.c (chirp_emul_parent): Ditto
+
+       * device.c (device_root): Assert assumption about the device being
+       valid.
+
+Tue Dec 17 15:12:38 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_chirp.c (emul_chirp_create): Add description property to
+       each significant node in the device tree.
+       * emul_bugapi.c (emul_bugapi_create): Ditto.
+
+Fri Dec 13 14:30:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * main.c (sim_io_read_stdin): For a single byte STDIO read, use a
+       tempoary two byte buffer.  Single byte read with fgets will not
+       work.
+       * main.c: Include errno.h.
+       (sim_io_read_stdin): For non-STDIO, make it work.
+
+       * emul_chirp.c (chirp_emul_read): Return the correct error status.
+
+Fri Dec 13 14:30:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * std-config.h (WITH_STDIO): Don't hard-wire the STDIO mechanism.
+       Instead have each emulation default it to DO_USE_STDIO.
+
+       * emul_generic.c (emul_add_tree_options): Select the STDIO I/O
+       mechanism as the default if enabled or if nothing selected.
+
+       * sim_calls.c (sim_io_read_stdin): Passify GCC's desire for a
+       return value.
+       (sim_io_write_stdout): Ditto.
+       (sim_io_write_stderr): Ditto.
+       * main.c (sim_io_write_stdout): Ditto.
+       (sim_io_write_stderr): Ditto.
+       (sim_io_read_stdin): Ditto.
+
+Tue Dec 10 10:31:48 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_chirp.c (emul_chirp_instruction_call): Make *printf calls
+       type correct.
+       * vm.c (om_effective_to_virtual): Ditto.
+       * events.c (event_queue_schedule{,_after_signal}): Ditto.
+       (event_queue_{deschedule,process}): Ditto.
+       * hw_htab.c (htab_decode_hash_table): Ditto.
+       (htab_map_{page,binary}): Ditto.
+       * hw_opic.c (hw_opic_init_data): Ditto.
+       (handle_interrupt): Ditto.
+       (do_processor_init_register_{read,write}): Ditto.
+       (write_vector_priority_register): Ditto.
+       ({read,write}_destination_register): Ditto.
+       (do_suprious_vector_register_{read,write}): Ditto.
+       (do_current_task_priority_register_N_{read,write}): Ditto.
+       (do_timer_frequency_reporting_register_{read,write}): Ditto.
+       (do_timer_N_{current,base}_count_register_{read,write}): Ditto.
+       (do_ipi_N_dispatch_register_write): Ditto.
+       (do_vendor_identification_register_read): Ditto.
+       (do_feature_reporting_register_N_read): Ditto.
+       (do_global_configuration_register_N_{read,write}): Ditto.
+       * hw_phb.c (hw_phb_attach_address): Ditto.
+       (hw_phb_unit_decode): Ditto.
+       (hw_phb_address_to_attach_address): Ditto.
+       (hw_phb_io_{read,write}_buffer): Ditto.
+       * hw_ide.c (setup_fifo): Ditto.
+
+       * sim_calls.c ({defs,callback,remote-sim}.h): Find gdb include
+       files via -I<dir> instead of using "../../gdb/" prefixes.
+
+Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * debug.h: Add tracing for the pal device.
+       * hw_pal.c: Update.
+
+       * emul_chirp.c (chirp_emul_getprop): More tracing.
+
+Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * device.h, device.c (device_find_ihandle_runtime_property): New
+       function. Reverse of add_ihandle_runtime property.
+       (device_init_runtime_properties): Use it.
+
+       * device.c (find_property_entry): New function returns the
+       internal property spec.
+       (device_set_property): Use.
+       (device_find_property): Use.
+
+Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * psim.c (psim_merge_device_file): Strip newline from device
+       specs.
+
+Tue Dec 10 10:12:44 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * hw_htab.c (htab_map_binary): For overlapping text / data maps
+       merge the two.  Also check that the merge is safe.
+
+       * emul_chirp.c (emul_chirp_create): Add a description property to
+       the pte's so that they are easier to identify.
+
+       (emul_chirp_create): Don't specify a load address for the CHRP
+       image.  Always use the values specified by the executable.
+
+       * hw_htab.c (htab_map_page): Abort if a duplicate map is
+       encountered.
+
+Mon Dec  9 12:08:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * hw_htab.c (htab_map_page): Formatting.
+
+       * emul_chirp.c (emul_chirp_instruction_call): Check for a NULL
+       method name when handling the client call. Also check for other
+       bad call arguments.
+
+       * emul_chirp.c (emul_chirp_create): Allow real-mode?, real-base,
+       etc to be overriden.
+
+Mon Dec  9 12:08:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * os_emul.c (os_emul_create): Use tree find property instead of
+       device find property - sigh.
+
+Thu Dec  5 10:46:42 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * 961205: Release snapshot 961205.
+
+Thu Dec  5 10:46:42 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * configure.in (hostbitsize, bitsize): Fix typo in error message -
+       cannot contain a comma.
+       (sim-warnings): Check for more potential errors.
+
+       * psim.c (psim_usage): Add -f <file> option.  Specifies a file
+       containing device tree specifications that should be merged into
+       the device tree.
+
+       * configure.in: Sort options.
+       * configure: Rebuild
+
+Wed Dec  4 13:57:31 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * psim.c (psim_usage): Add -n option - specify number of
+       processors.
+
+       * emul_chirp.c: Add description.
+       * emul_bugapi.c: Ditto.
+       * emul_unix.c: Ditto.
+       * emul_netbsd.c: Ditto.
+
+Fri Nov 29 11:12:22 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * hw_pal.c (hw_pal_attach_address): New function, if an attach is
+       encountered, assume that it is the single disk.
+       * hw_pal.c: Add generic device/size decode methods.
+
+       * hw_nvram.c (hw_nvram_init_address): Use the first nonzero reg
+       property entry when determining the nvram size.
+
+       * hw_core.c: Add generic address/size decode methods.
+
+       * emul_chirp.c (emul_chirp_instruction_call): Return and trace
+       nonzero status from client functions.
+
+       * main.c (error): Always include a cariage return when writing out
+       errors.
+
+Wed Nov 20 00:36:55 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sim_calls.c (sim_resume): Reset sim_should_run if single
+       stepping.
+
+Thu Nov 28 13:19:46 1996  Andrew Cagney  <cagney@kremvax.tpgi.com.au>
+
+       * emul_bugapi.c (emul_bugapi_do_diskio): Add support for multiple
+       optional disks.
+
+       * emul_generic.c (emul_add_tree_hardware): Drop the dummy eeprom.
+       Attach the pal - for I/O - as a pseudo device haning from the
+       firmware sub tree.
+
+       * emul_bugapi.c (emul_bugapi_create): Add a small memory device to
+       the device tree at the address of the hi-mem interrupt vector
+       addreses.  Used by bugapi to establish its trap instructions.
+
+       * debug.h: Add a new macro DITRACE for tracing device instances.
+
+       * debug.h: Extend the DTRACE macro so that it can also tests for
+       device specific tracint.
+
+       * device.h, device.c (device_trace): Add method to determine
+       device specific tracing.
+       (device_init_address): Set the devices tracing level.
+
+Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * tree.h, tree.c (tree_device): New files - separate out the
+       device parser and other tree operations from the device.
+
+       * inline.h, inline.c (INLINE_TREE): Add.
+       * device.h, device.c (device_tree_add_parsed): Delete.
+       * Makefile.in (tree.c): Add rules for new file.
+       * Makefile.in: Better order the emul_* files.
+
+       * emul_generic.c (emul_add_tree_hardware): Update.
+       * emul_netbsd.c (emul_netbsd_create): Update.
+       * emul_unix.c (emul_unix_create): Ditto.
+       * emul_chirp.c (emul_chirp_create): Ditto.
+       * emul_bugapi.c (emul_bugapi_create): Ditto.
+       * psim.c (psim_tree): Ditto.
+       * hw_init.c: Ditto.
+
+       * emul_generic.h: Include tree.h
+       * Makefile.in: Add to EMUL_GENERIC_H dependencies.
+
+       * device.h, device.c (device_root): New function - returns the
+       root of the tree.
+       * corefile.c: Use.
+
+       * device.h, device.c (device_clean): New function, clean up device
+       ready for next simulation run. This includes things like deleting
+       interrupt edges and properties created during the simulation and
+       also scrubbing any pre-defined properties.
+       * tree.c (tree_init): Use.
+
+       * device.h, device.c (device_init_static_properties): New
+       function.  Initialize any static predefined properties.  By static
+       we mean those that have values that can be determined before the
+       device tree initialization has started.
+       * tree.c (tree_init): Use.
+
+       * device.h, device.c (device_init_address): Add code to
+       check/verify the devices #address-cells and #size-cells.
+       (device_add_integer_property): Delete corresponding code.
+       (device_nr_address_cells, device_nr_data_cells): Check for
+       property when returning value.
+
+       * device.h, device.c (device_init_runtime_properties): New
+       function.  Initialize those properties that are not `static'.  At
+       present the only such property is the ihandle.
+       * tree.c (tree_init): Use.
+
+       * device.h, device.c (reg, ranges): Rework these so that they use
+       an array of the fundamental type - single reg or single range
+       entry.
+
+       * device.h, device.c (device_add_ihandle_runtime_property):
+       Re-implement the adding of an ihandle during tree construction so
+       that it better fits in with device initialization.
+
+Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h, device.c (device_ioctl): Add additional argument -
+       request - so that the caller must always specify the type of
+       the ioctl request.
+
+       * device_table.h: Update.
+       * hw_trace.c (hw_trace_ioctl): Ditto.
+       * hw_vm.c (hw_vm_ioctl_callback): Ditto.
+       * hw_init.c (hw_stack_ioctl_callback): Ditto.
+       * psim.c (psim_options): Ditto.
+
+Thu Nov 21 12:05:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * BUGS: Updated a bit.
+
+Wed Nov 20 14:06:37 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_opic.c: Finish - third round.
+
+Wed Nov 20 12:02:08 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_glue.c (hw_glue_io_read_buffer_callback): Fix miscalc of glue
+       reg index.
+       (hw_glue_io_write_buffer_callback): Ditto.
+
+Tue Nov 19 21:17:08 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * events.c (event_queue_process): Was incorrectly consuming future
+       events on the queue when they should be left alone.
+
+       * debug.h, debug.c (events): Add support for event queue tracing.
+       * events.c: Add event tracing.
+
+       * debug.h, debug.c: Order device trace options.
+
+Fri Nov 15 15:23:39 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * pk_disklabel.c (pk_disklabel_create_instance): Fix up some
+       warnings generated by GCC.
+
+Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * sim-endian.h: Add LE versions of byte swap macros.  Needed for
+       PCI devices which are little-endian.
+
+       * sim-endian-n.h (endian_le2h_N, endian_h2le_N): Ditto
+
+Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_iobus.c (hw_iobus_attach_address_callback): Change the iobus
+       so that it is implementing a 1-1 address map.
+
+       * emul_generic.c (emul_add_tree_hardware): Adjust.
+
+       * emul_generic.c (emul_add_tree_hardware): Don't add the nvram as
+       a default.
+
+Sun Nov 17 17:59:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (split_find_device): Be tolerant of missing unit
+       addresses.
+
+Fri Nov 15 16:49:49 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * basics.h (port_direction): New type, specify the direction of
+       any `port'.
+
+       * device.h, device.c (device_interrupt_decode): Include
+       specification of port direction in operations.
+       (device_interrupt_encode): Ditto.
+
+       * device_table.h: Add a direction field to the interrupt port
+       table.
+
+       * device.c (device_tree_add_parsed): Specify port direction.
+
+Thu Nov 14 21:38:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_opic.c: Finish - second round.
+
+Thu Nov  7 00:18:59 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_htab.c (htab_init_data_callback): Allow the virtual-address
+       to be specified as an array which allows 64bit addresses.
+
+       * device.c (device_find_integer_array_property): New function.
+       Simplify the querying of elements of an integer array.
+       (device_add_integer_property, device_find_integer_property):
+       Update to correctly use the cell type.
+
+       * vm.c (om_unpack_sr): Clarify shifting comment.
+       (om_pte_0_masked_vsid): Ditto. Add 64bit version.
+
+       * emul_chirp.c (emul_chirp_create): Initialize the segment
+       registers.
+
+       * vm.c (om_effective_to_virtual): Trace segment register use.
+
+       * hw_htab.c (htab_map_page): Print out the pteg base address to
+       simplify cross checking between vm and the htab.
+       (htab_decode_hash_table): Use device_error instead of error.
+       (htab_map_page): Ditto.
+       (htab_dma_binary): Ditto.
+       (htab_map_binary): Ditto.
+       (htab_init_data_callback): Ditto.
+
+Wed Nov  6 20:20:58 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * interrupts.h: Clarify what the optional instruction program
+       interrupt is - a subset of illegal instruction program interrupt.
+
+       * interrupts.c (program_interrupt): For UEA mode, clarify what an
+       optional instruction program interrupt is.
+       (program_interrupt): For OEA mode, as per spec, generate an
+       illegal instruction program interrupt when an optional instruction
+       is encountered.
+
+       * gen-semantics.c (print_semantic_body): Delete code
+       differentiating between an unimplemented floating point and normal
+       instruction.  Instead, such a case can be handled explicitly.
+
+       * ppc-instructions (store floating-point as integer word indexed):
+       Mark as optional.
+       (Floating Convert to Integer Doubleword): Make the floating point
+       assist interrupt explicit.
+       (Floating Convert To Integer Doubleword with round towards Zero):
+       Ditto.
+       (Floating Convert To Integer Word): Ditto
+       (Move From FPSCR): Ditto.
+       (Move to Condition Register from FPSCR): Ditto.
+       (Move To FPSCR Fields): Ditto.
+       (Move To FPSCR Field Immediate): Ditto.
+       (Move To FPSCR Bit 0): Ditto.
+       (Move To FPSCR Bit 1): Ditto.
+
+Mon Nov  4 12:49:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * corefile.c (core_map_read_buffer, core_map_write_buffer): Avoid
+       breaking up transfers.
+
+       * corefile.c: Adjust arguments so that the client server
+       relationship is clarified.
+
+       * hw_glue.c (hw_glue_init_address): Update so it can be attached
+       to a PCI bus.
+
+       * hw_disk.c (hw_disk_instance_write): Add more checks to disk IO -
+       looking for things like overflow/underflow.
+
+Sun Nov  3 18:45:20 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_generic.c (emul_add_tree_hardware): Hang the disk off the
+       PAL device instead of the IOBUS.  The disk must be attached to a
+       logical bus.
+
+       * hw_disk.c (hw_disk_init_address): Just use the unit address
+       directly in the attach - the rest isn't relevant.
+
+Sat Nov  2 21:48:57 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure.in (sim-hardware, sim-packages): Allow additional
+       hardware and packages to be prefixed as well as appended.
+
+       * Makefile.in (tmp-hw, tmp-pk): Retain the user specified order of
+       packages when building them.  Consequently, a user can override a
+       standard device by prefixing their own version.
+
+       * Makefile.in (hw_opic.o, hw_pci.o, hw_ide.o): Add dependencies.
+
+Fri Nov  1 14:42:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * mon.c (_cpu_mon): Add fields for counting 1, 2, 4, and 8 byte
+       reads and writes.
+       (mon_{read,write}): Count 1, 2, 4, and 8 byte reads/writes.
+       (mon_print_info): Correct typo regarding # of unaligned reads and
+       writes.  Print out how many 1, 2, 4, and 8 byte reads/writes there
+       are.
+
+Tue Oct 29 17:55:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (AC_CHECK_FUNCS): Add access.
+       * config{.in,ure}: Regenerate.
+
+       * emul_unix.c (do_unix_nop): System call that always succeeds.
+       (do_unix_access): Support access system call.
+       (solaris_descriptors): Make sigaltstack and sigaction nops.
+       ({solaris,linux}_descriptors): Add support for access.
+
+Tue, 8 Oct 18:42:26 1996  Jason Molenda <crash@cygnus.co.jp>
+
+       * Makefile.in (clean): Move config.log to distclean.
+
+Fri Nov  1 16:44:28 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * corefile-n.h (core_map_write_N): Improve abort messages.
+
+       * device.h, device.c (device_attach_address): Remove unused name
+       parameter.
+       (device_detach_address): Ditto.
+       * device_table.h, device_table.c: Update.
+       * hw_iobus.c (hw_iobus_attach_address_callback): Ditto.
+       * hw_nvram.c (hw_nvram_init_address): Ditto.
+       * hw_memory.c (hw_memory_init_address): Ditto.
+       * hw_vm.c (hw_vm_init_address_callback): Ditto.
+       (hw_vm_attach_address): Ditto.
+       (hw_vm_add_space): Ditto.
+       * hw_init.c (update_for_binary_section): Ditto.
+       * hw_core.c (hw_core_attach_address_callback): Ditto.
+
+       * hw_iobus.c (hw_iobus_attach_address_callback): Rewrite to handle
+       configurable parent busses.
+
+Wed Oct 30 18:46:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.c (generic_device_size_to_attach_size): Provide
+       limited support for multi-cell sizes.
+       (generic_device_address_to_attach_address): Ditto for addresses.
+
+Tue Oct 29 02:01:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_add_integer_property): Check for setting of
+       #address-cells and #size-cells properties.  For these, update the
+       corresponding device values.
+       (device_nr_address_cells, device_nr_size_cells): Use the value
+       from the device instead of the property.
+
+       * hw_core.c: Use generic address and size conversions for the top
+       bus.
+
+       * hw_memory.c (hw_memory_init_address): Tolerate case where
+       #address and #size cells is greater than 1.
+
+       * device.c (device_tree_print_device): Clean out printing of
+       properties.
+
+       * device.c (split_device_specifier): Don't detect comments here -
+       "#" can be a valid prefix - eg #size-cells.
+
+       * psim.c (psim_merge_device_file): Suppress comments and blank
+       lines here.
+
+       * emul_generic.c (emul_add_tree_hardware): Fix typo of incorrect
+       pal unit address.  Add the property /#address-cells to the root of
+       the tree.
+
+       * device.c (device_template_create_device): Check that the unit
+       address was successfully parsed.
+
+       * device_table.c (generic_device_unit_decode): Rewrite to better
+       handle multi-cell addresses.
+       (generic_device_unit_encode): Ditto.
+
+       * emul_generic.c (emul_add_tree_hardware): "reg" properties no
+       longer need the explicit array type - the parser takes care of it.
+
+       * pk_disklabel.c (pk_disklabel_create_instance): Add NULL return
+       to keep GCC happy.
+
+Mon Oct 28 22:55:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_ide.c: New file.  Model of a basic IDE interface attached to
+       a PCI bus.
+
+       * configure.in (hardware): Add the ide device to the default
+       configuration.
+       * configure: Regenerate.
+
+       * debug.h, debug.c: Add tracing option for the IDE device.
+
+Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_phb.c, hw_phb.h: New files - implement a PHB.
+
+       * configure.in (hardware): Add the phb to the list of devices to
+       build by default.
+
+Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_com.c: Review description.
+       * hw_disk.c: Ditto.
+       * hw_htab.c: Ditto.
+       * hw_eeprom.c: Ditto.
+       * hw_init.c: Ditto.
+       * hw_cpu.c: Ditto.
+
+       * hw_com.c: Update event handling.
+
+       * hw_disk.c: Implement tracing.
+
+Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.c (generic_device_init_address): Use
+       assigned-addresses property in preference to any other reg
+       property.
+
+Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h, device.c (device_find_ranges_property): New function.
+       Simplify the manipulation of "ranges" properties.
+
+       * device.c (device_add_parsed): Extend to include support for the
+       ranges property.
+
+       * device.c (device_add_parsed): Add assigned-addresses to the list
+       of reg type properties.
+
+       * device.c (device_tree_print_device): Add code to format and
+       print a ranges property.
+
+       * device.h, device.c (device_nr_address_cells,
+       device_nr_size_cells): New functions. Determine the values of the
+       standard properties #address-cells and #size-cells.  Both of which
+       are optional and have default values of two and one respectfuly.
+       Previously, code that determined #address-cells was incorrectly
+       using a value of one.
+
+Fri Oct 25 21:28:25 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * debug.h, debug.c: Sort debug options, Add entries for the
+       comming PHB device.
+
+Fri Oct 18 12:12:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppc-instructions (Floating Select): Add support for fsel unless
+       model is 601.  Allow user to filter out instruction unless -Fs is
+       passed to igen.
+       (Store Floating-Point as Integer Word Indexed): Raise optional
+       instruction program abort.  Allow user to filter out instruction
+       unless -Fs is passed to igen.
+       (Floating Square Root{, Single}): Ditto.
+       (Floating Reciprocal Estimate Single): Ditto.
+       (Floating Reciprocal Square Root Estimate): Ditto.
+
+       * configure.in (--enable-sim-filter): If not passed, pass 32,f,s
+       to igen.
+       * configure: Regenerate.
+
+       * interrupts.h (program_interrupt_reasons): Add
+       optional_instruction_program_interrupt.
+
+       * interrupts.c (program_interrupt): Call error with more detailed
+       information on program interrupts, particularly in user mode.  Add
+       support for optional_instruction_program_interrupt.
+
+Wed Sep 25 10:20:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_glue.c: New device.  Hooks for manipulating interrupt ports.
+
+       * debug.h, debug.c (trace_glue_device): Add tracing support for
+       the interrupt glue logic device.
+
+       * configure.in (hardware): Add glue device.
+       * configure: Regenerate.
+
+Tue Sep 24 20:55:38 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_tree_parse_integer_property): New function,
+       parse a list of integers as an array property.
+       (device_tree_add_parsed): Call it.
+
+       * device.c (device_tree_parse_string_property): New function,
+       parse a list of strings as a string property (with embeded
+       null's).  For moment, don't try to implement a complext string
+       parser.
+       (device_tree_add_parsed): Call it.
+
+Tue Sep 24 16:30:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_opic.c: New file.  OpenPIC interrupt controller.
+
+       * configure.in (hardware): Add opic device.
+       * configure: re-generate.
+
+       * hw_pic.c: Delete, replaced with hw_opic.c.
+
+       * debug.h, debug.c: Add debug option for OpenPIC device. -
+       opic-device.
+
+Tue Sep 24 16:30:48 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * Makefile.in (psim.o, idecode.o): Since idecode and not psim is
+       now the file that does all the inlining.
+
+       * Makefile.in (LIB_SRC, LIB_INLINE_SRC, idecode.o): Break out the
+       library source code that could be involved in an inlining.  Make
+       idecode.o only dependant on the inlined library source code.
+
+       * Makefile.in (LIB_OBJ): Put options last on the list so that it
+       is compiled last.
+
+       * std-config.h (DEVICE_INLINE): Only inline locals when the
+       default is to inline.
+
+Mon Sep 23 00:37:49 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_htab.c (htab_sum_binary): Determine the real-base for the
+       binary.
+
+       * hw_htab.c (htab_map_binary): Depending on the value of the
+       load-base, either map the program in as a contiguous section or as
+       separate sections controled by th binaries lma values.
+       (htab_init_data_callback): Ditto.
+
+Sun Sep 22 15:56:22 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_generic.c (emul_add_tree_options): Remove load-base option.
+
+       * emul_chirp.c (map_over_chirp_note): Add load_base field to note
+       struct.  Don't require the load_base field to be present - just
+       issue warning - it is a recent addition.
+       (emul_chirp_create): Support both virtual and physical modes.
+
+       * emul_chirp.c (emul_chirp_create): Add a stack initialization
+       property so that any arguments specified on the command line can
+       be passed on to user programs.
+
+       * hw_init.c (create_ppc_chirp_bootargs): Add support for chirp
+       argument passing to the pseudo device stack.
+
+Sat Sep 21 19:39:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_error): Make it more tolerant to incomplete
+       devices.
+
+       * hw_init.c (hw_data_init_data_callback): Extend the data device
+       so that it can perform initialization operations either dma or a
+       more complex instance open, seek, write operation.
+       * hw_init.c: Update the description of the data device to reflect
+       this.
+
+Sat Sep 21 00:13:02 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_event_queue_schedule,
+       device_event_queue_deschedule, device_event_queue_time): Have the
+       device object export the event operations.  Making these available
+       from the device object should hopefully simplify writing device
+       models.
+
+Fri Sep 20 14:04:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure.in (sim-hardware): Add eeprom device to default build.
+
+       * hw_eeprom.c: Rewrite so it works.
+
+       * debug.h, debug.c: Add tracing support for the eeprom and com
+       devices.
+
+Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * debug.h: Add disklabel-package and disk-device trace options.
+       debug.h (PTRACE): Add macro to simplify tracing in packages.
+
+Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_create_instance_from): Tighten up loop
+       searching for device instances.
+       (device_instance_delete): Ditto.
+       (device_instance_delete): Only leaf instances need to be removed
+       from a devices list of active instances.
+
+Thu Sep 19 14:40:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_disk.c: Add the cdrom as an alias.
+
+       * pk_disklabel.c (disklabel_delete): Implement, remembering to
+       delete the raw disk instance while we're at it.
+
+       * pk_disklabel.c (pk_disklabel_create_instance): Implement a
+       little bit more - still a long way to go.
+
+       * pk_disklabel.c (disklabel_write, disklabel_read): Remember the
+       new head position after a read or write.
+
+Thu Sep 19 13:05:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_chirp.c (chirp_emul_read): Allow reads to be longer then
+       the internal buffer.
+
+Thu Sep 19 13:05:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_chirp.c (chirp_read_t2h_args): Call memset-0 with the args
+       in the correct order.
+
+       * emul_chirp.c (chirp_emul_call_method): Correct computation for
+       the address of the first stack argument passed in from the client
+       program.
+
+Wed Sep 18 19:33:54 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * words.h: Add new types signed_cell and unsigned_cell which
+       correspond to the signed and unsigned IEEE 1275 memory locations.
+       * device.h, device.c, emul_chirp.c: Where refering to an IEEE 1275
+       memory cell, replace uses of unsigned32 with unsigned_cell.
+       * device_table.h: Ditto.
+
+       * sim-endian.h: Add new macros H2BE_cell and BE2H_cell which
+       convert cell sized values to from big endian.
+       * device.c, emul_chirp.c: Where refering to IEEE 1275 memory cells
+       use these new macros.
+
+Tue Sep 17 15:57:44 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_tree_add_parsed): Detect and report an
+       interrupt being attached to an invalid device. Was dumping core.
+
+Mon Sep 16 23:09:12 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h, device.c (device_address_to_attach_address,
+       device_size_to_attach_size): New functions.  Convert a devices
+       unit address or unit size structure into a form suitable for
+       passing on to the attach and detach functions.
+       * device_table.h: Add extra methods to device table.
+
+       * device.h, device.c (device_find_reg_property): New function.
+       For a reg type property, return the selected address + size
+       tupple, along with a positive success status.  Add a reg_property
+       to the list of property types.
+       * (device_tree_add_parsed): Make array properties with the name
+       reg or alternate-reg of type reg_property.
+
+       * hw_memory.c (hw_memory_init_address): Rewrite to use new
+       find_reg_property method.
+       * hw_nvram.c (hw_nvram_init_address): Ditto.
+
+       * device.c (device_tree_print_device): Add code to print out a reg
+       property.
+
+       * device_table.c (generic_device_address_to_attach_address,
+       generic_device_size_to_attach_size ): New functions.  Generic
+       functions for converting between unit and attach address or size.
+
+       * device_table.c (generic_device_init_address): Rewrite to use the
+       new find_reg and address convert functions.  Look for both reg and
+       alternate-reg properties.
+
+Mon Sep 16 23:09:12 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_com.c: New file.  A '550 serial device that can quickly be
+       attached to any bus.
+       * configure.in (enable-sim-hardware): Add the com device.
+       * configure: re-generate.
+
+Thu Sep 12 17:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_tree_verify_reg_unit_address): New
+       function. Check that the unit address as specified by the reg
+       property correctly corresponds to any unit address previously
+       specified by the devices name.
+       (device_tree_add_parsed): When adding a reg property, verify
+       that the unit-address - first value of property - correctly
+       matches any previous value specified when creating the device
+       node.
+
+Thu Sep 12 17:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * mon.c (mon_event): Remove assertion that an unsigned is >= 0.
+
+Fri Aug 16 12:05:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * device.c (device_full_name): Cast strdup to char *, since AIX
+       3.2.5 mistakenly declares the function to be const char *.
+       (device_create_from): Ditto.
+       (device_create_instance_from): Ditto.
+       (device_add_property): Ditto.
+
+Tue Aug 13 11:40:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * debug.c (trace_option): For -t all, do not set the
+       trace_dump_device_tree flag, so that the simulator is run.
+
+Tue Aug 13 11:40:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (options.o): Depend on defines.h.
+       (defines.h): New rule, go through config.h and make strings of all
+       of the #define HAVE_xxx macros.
+       (distclean): Remove defines.h.
+
+       * options.c (print_options): Print whether many of the
+       configuration macros are defined.
+
+       * main.c (main): If -t options and no filename, just print the
+       options, and don't print the usage message.
+
+Mon Aug 12 18:42:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: Test whether /dev/zero works on the system, and if
+       it does, define HAVE_DEVZERO.
+       * configure: Regenerate.
+
+       * emul_generic.c (emul_add_tree_hardware): Do not add /iobus/disk
+       if we don't have a working /dev/zero on the system.
+
+       * emul_bugapi.c (emul_bugapi_init): If HAVE_DEVZERO is not
+       defined, don't add disk support.
+       (emul_bugapi_do_diskio): Ditto.
+       (emul_bugapi_instruction_call): Ditto.
+
+Wed Aug  7 14:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_unix.c (HAVE_TCGETATTR): If HAVE_TERMIOS_STRUCTURE is not
+       defined, make sure HAVE_TCGETATTR is #undef'ed
+
+Wed Aug  7 14:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * std-config.h (REGPARM): Only define REGPARM attributes if using
+       GNU C.  Test for __i686__ in case GCC ever defines it.  If not on
+       a x86 platform, define REGPARM as nothing.
+
+       * sim-endian.h (WITH_HOST_BYTE_ORDER): Test for i686 and __i686__
+       also.
+
+Wed Aug  7 20:19:55 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ld-decode.h, ld-decode.c: Rename goto_gen to the more correct
+       goto_switch_gen.
+       * gen-idecode.c: Ditto.
+
+       * gen-idecode.c (print_idecode_table): Comment out check for
+       switch/table combination until a bug with it is fixed.
+
+       * ppc-opcode-goto: New file.  Like complex and flat but uses
+       goto-switch instead of padded-switch for the tables.
+
+       * gen-idecode.c (print_goto_switch_name): New function.
+       (print_goto_switch_table_leaf): New function.
+       (print_goto_switch_break): New function.
+       (print_goto_switch_table): New function. Prints a jump table
+       that can be jumped into instead of a switch statement.
+
+       * gen-idecode.c (*switch_*): As an option output a switch that is
+       implemented using a jump table but only if the switch is not
+       boolean.
+
+Tue Aug  6 09:28:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (--enable-sim-{hardware,packages}): Fix typos.
+       * configure: Regenerate.
+
+       * device.c (device_instance_call_method): Fixup format message in
+       error case.  Return 0 in case of error to shut up compiler
+       warnings.
+
+Wed Aug  7 00:17:37 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.c (generic_device_unit_decode): Require a comma
+       between elements of a unit address.
+
+       * device.c (device_tree_print_device): For reg, alternate-reg and
+       ranges properties use special print functions.
+       (device_print_ranges_property): Print formatted ranges property.
+       (device_print_reg_property): Print formatted reg property.
+
+Tue Aug  6 21:35:18 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_tree_add_parsed): For reg, ranges and
+       alternate-reg properties use a special parser.
+       (device_tree_parse_reg_property): New function to parse a reg
+       property.
+       (device_tree_parse_ranges_property): New function to parse a
+       ranges property.
+       (device_encode_unit): Wrapper for encode_unit callback.
+       (device_decoce_unit): Wrapper for decode_unit callback.
+
+Wed Jul 31 00:02:30 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.h (device_instance_callbacks): Relace the claim and
+       release methods with a more general table mapping from method-name
+       to method-function.
+
+       * device.c (device_instance_call_method): New function.  Implement
+       the OpenBoot call-method client interface.  Attempts to locate the
+       instances method in the callback table.
+       (device_instance_claim, device_instance_release): Delete.
+       Replaced with call-method and a lookup table.
+
+       * emul_chirp.c (chirp_emul_call_method): Use the new device
+       instance call method and let that handle a client claim call.
+
+       * hw_htab.c (claim_memory): Wrapper function to call the memory
+       devices "claim" method using the new device-instance call-method
+       interface.  Replaces the previous direct calls to claim.
+       (htab_map_region): Use claim_memory.
+       (htab_init_data_callback): Ditto.
+
+       * hw_memory.c (hw_memory_instance_claim): Update function
+       interface so that it is compatible with call-method.
+       (hw_memory_instance_release): Ditto.
+       (hw_memory_instance_methods): New table of memory specific
+       methods claim and release.  Add to the hw_memory_callback
+       table.
+
+Tue Jul 30 21:26:14 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * psim.c (psim_init): Back out of change to initial value of
+       system->last_cpu.
+
+Tue Jul 30 21:12:24 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * sim_callbacks.h (sim_io_printf_filtered): Replace
+       printf_filtered with a local simulator specific version.  Add
+       #define printf_filtered to simplify updating of existing code.
+
+       * sim_callbacks.h (sim_io_write_stdout, sim_io_read_stdin,
+       sim_io_write_stderr): New functions.  Read / write to the
+       simulations stdin and stdout and stderr interfaces.  Merge in code
+       from hw_pal that previously handled async I/O.
+       (sim_io_flush_stdoutput): Rename flush_stdoutput.  Add #define
+       flush_stdoutput to simplify updating of existing code.
+
+       * hw_pal.c (scan_hw_pal, write_hw_pal,
+       hw_pal_instance_write_callback): Use the new sim_io functions.
+
+       * main.c: Implement standalone versions of the new sim_io
+       functions.  Include support for async I/O.
+       * sim_calls.c: Ditto.  This time using the gdb callback table.
+
+       * std-config.h (CURRENT_STDIO, current_stdio): New macro. Set up
+       stdio configuration so that it works in the same way as the rest
+       of the simulation.
+       * psim.c (psim_create): Initialize current_stdio from the device
+       tree.
+       * emul_generic.c (emul_add_tree_options): Enter a default value
+       for use-stdio in the device tree.
+
+Fri Jul 26 19:43:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-idecode.c (print_jump): Was always generating a jump back to
+       idecode.  Only necessary at tail of semantic code.
+       (print_jump): Was always setting the processor's cia, even during
+       startup when the processor was still undefined.
+       (print_jump): For safety, restart smp loop when cpu_nr >= nr_cpus,
+       not just equal.
+
+       * options.c (print_options): Add printing of WITH_REGPARM and
+       WITH_STDCALL.
+
+       * std-config.h (WITH_REGPARM, WITH_STDCALL): Provide default
+       (disabled) values if not defined.
+
+Fri Jul 26 00:36:35 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ppc-cache-rules (cache): Change RS and RB to cache instead of
+       compute.  The block move instructions use them.
+
+       * idecode_expression.h (FPSCR_SET): New macro, set specific FPSCR
+       register.
+       (CR_FIELD): New macro, extract specific CR register.
+       (FPSCR_FIELD): New macro, extract specific FPSCR register.
+
+       * registers.h (GPR): New macro, simplify accesses to GPR[i].
+
+       * bits.c (INSERTED): Covert INSERTED macro into a function.
+       (EXTRACTED): Conditionally compile on correct bit size macro.
+
+       * bits.h (BIT8): New macro, set a single bit in an 8 bit byte.
+
+       * ppc-instructions: With hints from Paul Martin, type in missing
+       some instruction semantics.  Leave disabled for the moment.
+       (Load Multiple Word): Ditto.
+       (Store Multiple Word): Ditto.
+       (Load String Word Immediate): Ditto.
+       (Load String Word Indexed): Ditto.
+       (Store String Word Immedate): Ditto.
+       (Store String Word Indexed): Ditto.
+       (Move to Condition Register from XER): Ditto.
+       (Move From Condition Register): Ditto.
+       (Move From FPSCR): Ditto.
+       (Move to Condition Register from FPSCR): Ditto.
+       (Move To FPSCR Field Immediate): Ditto.
+       (Move To FPSCR Fields): Ditto.
+       (Move To FPSCR Bit 0): Ditto.
+       (Move To FPSCR Bit 1): Ditto.
+
+Thu Jul 25 22:10:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * std-config.h (SEMANTICS_INLINE): By default, mask out the
+       inlining of semantic functions from DEFAULT_INLINE.  Almost all
+       configurations call the semantic code via a pointer so there is
+       little benefit.
+
+       * std-config.h (ICACHE_INLINE): Ditto.
+
+Thu Jul 25 20:07:30 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure.in (sim_regparm): Add configuration option for
+       enabling GCC's regparm attribute.
+       * (sim_stdcall): Add configuration option for enabling GCC's
+       stdcall attribute.
+
+       * Makefile.in (REGPARM_CFLAGS): Pass regparam configuration onto
+       compilations.
+       * (STDCALL_CFLAGS): Pass stdcall configuration onto compilations.
+
+       * std-config.h (REGPARM): Extend construction of REGPARM macro so
+       that it can include __stdcall__ function attribute.
+
+Wed Jul 24 19:04:20 1996  Andrew Cagney  <cagney@sawnoff>
+
+       * options.c (print_options): Include SUPPORT_INLINE in information
+       dump.
+
+       * gen-idecode.c (print_run_until_stop_body): Only generate loop
+       termination test if creating idecode_run_until_stop.  Push the
+       loop termination test back into each alternative branch.
+
+Wed Jul 24 15:47:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-icache.c (print_icache_function): Have the cache function
+       always update the cache_entries semantic and address fields.
+
+       * gen-idecode.c (print_idecode_switch_illegal): Include a break
+       when generating illegal instructions.  This was commented out
+       which is a hangover from looking a at switch statements generated
+       using indirect jumps.
+
+Tue Jul 23 20:57:01 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * igen.c (print_my_defines): Replaces print_define_my_index.
+       Print both a definition for MY_INDEX and MY_PREFIX.
+       * gen-icache.c (print_icache_function): Adjust.
+       * gen-idecode.c (print_jump_insn): Adjust.
+       * gen-semantics.c (print_c_semantic): Adjust.
+
+       * gen-support.c (gen_support_h): Add optional include to created
+       support.h so that, like cpu, it is optionally inlined for all
+       modules that include it.
+       * inline.h, inline.c: Adjust so that support.[hc] is handled the
+       same as cpu.[hc].
+
+       * idecode_fields.h (LABEL, GOTO): Macro's that create a unique
+       name for a lable and then branch to it.
+
+       * ppc-instructions (convert_to_integer, Floating Round to
+       Single-Precision, Floating Convert from Integer Doubleword): Use
+       LABEL and GOTO instead of the recently added switch statements.
+
+Wed Jul 24 14:02:42 1996  Andrew Cagney  <cagney@sawnoff.highland.com.au>
+
+       * gen-idecode.c (print_run_until_stop_body): Too many rparen in
+       generated code.
+
+Tue Jul 23 20:57:01 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure.in (--enable-sim-line-nr): Typo - sim_line-nr.
+       * (--enable-sim-inline): Reorder patern matching of arguments so
+       that SUPPORT=ALL_INLINE is reconized as *=* and not *_INLINE.
+
+       * configure: rebuild.
+
+Mon Jul 22 23:25:08 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.in (--enable-sim-hardware, --enable-sim-packages): New
+       configuration options.  Let the user specify the packages or
+       hardware devices that are to be included in the build.  Makes it
+       possible for user packages to be specified.
+
+       * Makefile.in (tmp-pk, tmp-hw): Just use the list of packages and
+       hardware instead of checking it using ls.  configure.in should
+       have taken care of any problems.
+       (HW_SRC, HW_OBJ, PACKAGE_SRC, PACKAGE_OBJ): Set by configure.
+
+Mon Jul 22 22:38:59 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * psim.c (psim_options): Enter the argument to the memory size
+       option directly into the device tree.  Was using atol() which is
+       dangerously non portable.
+
+Mon Jul 22 22:17:08 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.in (icache): Extend icache flag to include an insn
+       option.  If specifyed the insn - aka instruction - is included in
+       the instruction cache.  Make this the default.
+       * configure: re-generate.
+
+       * igen.c (main), igen.h: Add option -S - inSn - for specifying
+       that the instruction should be included in the icache.
+
+       * gen-icache.c (print_icache_body): If enabled, output code to put
+       the instruction into the icache.
+       (print_icache_struct): If enabled, add insn to the icache struct.
+
+Mon Jul 22 20:46:12 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * Makefile.in (BUILD_CFLAGS): Include -g when building the
+       generators.
+
+Mon Jul 22 20:00:25 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_generic.c (emul_add_tree_options): Was incorrectly setting
+       the strict-alignment option when hardwired for non-strict
+       alignment.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-semantics.c: Make the my_index variable a macro MY_INDEX.
+
+       * ppc-instructions: Adjust so that references are to MY_INDEX and
+       not my_index.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-idecode.c: Output the complete run_until_stop function
+       instead of just the code to handle a single instruction issue.
+       * : Have the generated idecode.c include inline.c (instead of psim.c).
+
+       * std-config.h: Change psim.c so that it isn't inlined (as this is
+       no longer needed).
+
+       * psim.c (run_until_stop): Delete the old run_until_stop function
+       instead calling the idecode_run and idecode_run_until_stop
+       functions that gen-idecode.c is now creating.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * dgen.c: Maintenance - update to use new features found in lf.c.
+
+       * filter_filename.c (filter_filename): Maintenance - make the
+       string constant.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * debug.c (TRACE, ITRACE, DTRACE): Have GCC instead of CPP
+       eliminate trace statements.
+
+       * debug.c: Change trace format so that it is consistent
+       (file:line-nr) with CC's error output.
+
+       * gen-itable.c (itable_c_insn): Add the source file name and
+       source line number to the instruction's informational entry.
+
+       * debug.c (ITRACE): Use the itable (and my_index) to get the
+       current instructions name and source line number.
+
+       * gen-semantics.c, gen-icache.c: Adjust generated ITRACE calls to
+       match new interface.
+
+       * emul_bugapi.c (emul_bugapi_instruction_call): Adjust
+       corresponding call to ITRACE so that it still matches.
+
+       * idecode_expression.h (ALU_END, CR0_COMPARE): Use TRACE instead
+       of ITRACE.  The CPP line directives would have previously set the
+       line-nr and file name so ITRACE isn't needed.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-idecode.c (print_jump_until_stop_body): New function and
+       idecode generation option.  Instead of generating and calling
+       separate functions containing the semantic and icache code
+       generate a single monolythic function and use goto's (and GCC's
+       indirect jump) to move between code blocks.
+
+       * Makefile.in: Add sim_jump flag to those passed to igen.
+
+       * configure.in: New option --enable-sim-jump (default disabled)
+
+       * ppc-instructions: Eliminate any uses of labels and goto's.
+       These result in duplicate declarations when a single flat function
+       is being create.
+
+       * ppc-opcode-jump: New file.  Set of opcode rules useful when
+       testing jumping idecodes.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * gen-idecode.c: Optionally include the semantic code for an
+       instruction in the function that is doing the decoding.
+
+       * igen.c: Add option (-C) to generate semantics in the instruction
+       decode functions.
+
+       * configure.in (--enable-sim-icache): Accept an option list such
+       as 1024,define.  Add a new choice to the list - semantic - which
+       will cause igen to generate instruction decode functions that
+       include the corresponding semantic code.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure.in: New option --enable-sim-line-nr (default enabled).
+       Enable/disable the inclusion of CPP line directives in the
+       generated files.  Such directives refer back to the source files
+       used when generating the simulator code.
+
+       * Makefile.in (sim_line_nr): Pass to igen.
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * igen.c (main): Revamp the options so that more letters are
+       available.
+
+       * configure.in: Adjust to match igen's revamped options
+
+Sun Jul 21 21:18:05 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * Makefile.in (pk.h, hw.h): Rewrite depenencies for hw.h (etc) so
+       that they use the same technique as igen (ie a dummy targets
+       tmp-pk and tmp-hw are created).
+
+Mon Jun 24 22:28:00 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * Makefile.in (BUILD_CFLAGS): Include WARNING_CFLAGS.
+
+Wed Jun 19 21:45:28 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ld-cache.[hc], ld-decode.[hc], ld-insn.[hc]: New files. Separate
+       out the loading of each of the tables from the rest of igen.
+       * Makefile.in: Adjust.
+       * igen.c: Adjust.
+
+       * gen-icache.[hc], gen-idecode.[hc], gen-itable.[hc],
+       gen-model.[hc], gen-semantics.[hc]: New files. Separate out the
+       code creating each separate set of generated files.
+       * Makefile.in: Adjust.
+       * igen.c: Adjust.
+
+       * gen-support.[ch]: New files. Output the support functions (found
+       in the ppc-instructions file) into a separate file.
+       * Makefile.in: Add.
+       * inline.h, inline.c: Add.
+       * std-config.h: Add.
+
+       * ld-cache.c: Re-design the cache table format.
+       * ppc-cache-rules: Update to new format.
+
+       * ld-decode.c: Re-design the decode table format.
+       * ppc-opcode-simple: Update to new format
+       * ppc-opcode-complex: Ditto
+       * ppc-opcode-flat: Ditto
+
+       * filter.h, filter.c: New files. Separate the opcode filter table
+       reading code from the rest of igen.c.  Re-design the filter so that
+       it works inclusivly not exclusivly.
+       * igen.c: Remove the opcode filter table loading code.
+       * Makefile.in (filter.o): Adjust
+       * configure.in: Adjust filter flag so that default includes 32bit
+       and floating point.
+       * ppc-instructions: Clean up filter fields so that only in use
+       entries are specified (ie delete `be').
+
+       * misc.c (name2i, i2name): New function.  Map between a string and
+       an integer value.
+
+Mon Jun 17 20:08:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * sim_calls.c (sim_close): If simulator not created, skip printing
+       of run information.
+
+Mon Jun 17 20:08:03 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * registers.c (register_description): Typo, insns not insn.
+
+       * ppc-instructions (model_get_number_of_stalls): New model function,
+       returns number of stalls for the specified processor.
+       * psim.c (psim_read_register): Add call to new function
+       model_get_number_of_stalls().
+
+       * ppc-instructions (model_get_number_of_cycles): New model function,
+       returns number of stalls for the specified processor.
+       * psim.c (psim_read_register): Add call to new function
+       model_get_number_of_cycles().
+
+Fri Jun 14 00:11:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.h: Don't pass the parent device into a devices
+       create function.  This makes the create function consistent with
+       the documentation.
+       * device.c (device_template_create_device): Ditto
+       * hw_pal.c (hw_pal_create): Ditto
+       * hw_core.c (hw_core_create): Ditto
+       * hw_vm.c (hw_vm_create): Ditto
+       * hw_disk.c (hw_disk_create): Ditto
+       * hw_nvram.c (hw_nvram_create): Ditto
+       * hw_memory.c (hw_memory_create): Ditto
+       * hw_cpu.c (hw_cpu_create): Ditto.
+
+       * device.c (split_find_device): Allow a null initial parent device.
+       (device_template_create_device): Ditto.
+
+       * device.c (device_create_from): Make local (static) only used
+       within device.c.
+       * device_table.h: typedef device_callbacks moved here (from
+       device.h) where it belongs.
+
+       * hw_core.c: New file. Implements just the core device using the
+       core object.
+
+       * corefile.c: Moved all core device functions into the new
+       hw_core.c file. core_device_create() disapears.
+
+       * psim.c (psim_tree): Use device_tree_add_parsed() to create the
+       core device.
+
+Thu Jun 13 00:09:29 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_init.c: Correct typo in comment.
+
+       * corefile.c (core_init): Remove any remaining references to a
+       default map.
+       (core_map_find_mapping): Ditto.
+
+Wed Jun 12 22:30:32 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * corefile.c (core_init): Make function global so that other
+       devices are able to use the full core object.
+
+       * corefile.c (core_create, core_from_device): Break core_create
+       into two functions.  The first creates a core object, the second
+       returns the core object associated with a core device.
+
+       * corefile.c (core_device_create): Use core_create to make the
+       core object.
+
+       * psim.c (psim_create): Use core_from_device() instead of
+       core_create().
+
+       * device.c (device_template_create_device): Make static as only
+       needed by functions internal to device.c.
+
+Fri Jun  7 23:47:18 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ppc-opcode-test-2: Remove description of fields.
+       * ppc-opcode-complex: Ditto
+       * ppc-opcode-flat: Ditto
+       * ppc-opcode-simple: Ditto
+       * ppc-opcode-stupid: Ditto
+       * ppc-opcode-test-1: Ditto
+       * ppc-cache-rules: Ditto
+
+       * igen.c: Add description of files as a comment at the front.
+
+Wed Jun 26 12:50:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: Check for whether the termios and termio
+       structures are really defined, and whether or not, they define the
+       c_line field.
+       * configure: Regenerate.
+
+       * Makefile.in ({,TERMIO_}CFLAGS): Add TERMIO_CFLAGS options set by
+       configure.
+
+       * emul_unix.c: Various changes to allow for building on systems
+       with different termio and termios structures.  If host has both
+       termio and termios, just use termios.  No longer include
+       sys/ioctl.h.
+
+Wed Jun 26 12:26:55 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Wed Jun  5 23:53:42 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * corefile.h: Rewrite documentation so that it can be extracted and
+       converted into texinfo (and hence ready for translation into html,
+       tex or nroff).
+       * device.h: Ditto
+
+Thu Jun  6 09:52:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * hw_disk.c (SEEK_SET): If SEEK_SET is not defined, define as 0.
+
+Wed Jun  5 11:46:52 1996  Andrew Cagney  <cagney@puddin>
+
+       * hw_disk.c: Include <unistd.h> if available.  Under SunOS, that
+       is the source of SEEK_SET.
+
+Wed Jun  5 01:39:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * psim.c (psim_options): Correct type of dummy arguments being
+       passed to a device_ioctl call.
+
+       * hw_init.c (hw_data_init_data_callback): Adjust printf arguments.
+       (write_stack_arguments): Ditto.
+       * hw_trace.c: Instance callback entry no longer a table.
+
+Wed Jun  5 01:39:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_unix.c (do_unix_umask): Cast printf argument.
+       (convert_to_linux_termios): Use LINUX_VSWTC not LINUX_VSWCH
+
+Mon Jun  3 15:02:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * hw_init.c (update_for_binary_section): Abort if we find an
+       .interp section, which indicates the need for shared libraries to
+       be loaded.
+
+Mon Jun  3 15:02:04 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_unix.c (do_unix_{time,gettimeofday,getrusage}): Add support
+       for time, gettimeofday, and getrusage system calls.
+       ({solaris,linux}_descriptors): Add new system calls.
+       (do_get{,e}{uid,gid}): Use gid_t/uid_t types.
+       (do_get{,p}pid): Use pic_t types.
+
+       * configure.in (AC_TYPE_{GETGROUPS,SIGNAL}): Define.
+       (AC_TYPE_{MODE,OFF,PID,SIZE,UID}_T): Define.
+       * config{.in,ure}: Regenerate.
+
+Mon Jun  3 23:19:57 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_netbsd.c (emul_netbsd_create): Use the more specific names
+       `ppc-elf' and `ppc-xcoff' for the stack-type.
+       * emul_unix.c (emul_unix_create): Ditto.
+       * emul_bugapi.c (emul_bugapi_create): Ditto.
+       * hw_init.c: Reconize the new names.
+
+       * emul_unix.c (do_unix_break): Adjust so that the updated ioctl
+       call is used (no system parameter).
+
+Sun Jun  2 11:21:17 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_unix.{h,c}: New files to provide Solaris and Linux system
+       call emulations.
+
+       * Makefile.in (LIB_{SRC,OBJ}): Add emul_unix.{c,o}.
+       (os_emul.o): Depend on emul_unix.h.
+       (emul_unix.o): New dependency.
+
+       * configure.in (--enable-sim-alignment): Add 0|default to mean set
+       alignment to 0, which means use appropriate alignment for mode.
+       (AC_CHECK_FUNCS): Add new functions needed by emul_unix.c.
+       (AC_CHECK_HEADERS): Add new include files needed by emul_unix.c.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+       * emul_generic.c (emul_write2_status): New function to return
+       results in r3 and r4 for Solaris system calls.
+       (emul_do_system_call): If the system call is not support, but
+       there is a string for the system call name, print out the string
+       instead of the system call number.
+
+       * emul_generic.h (emul_write2_status): Declare it.
+
+       * emul_netbsd.c: Use /* */ around comment on #endif.
+
+       * os_emul.c: Include emul_unix.h.
+       (os_emulations): Add emulations for Solaris, and Linux.
+
+       * psim.c (psim_usage): Add message about solaris, linux
+       emulations.
+
+Thu May 30 00:00:10 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_iobus.c: Tidy up notes so that they can be auto-extracted.
+
+       * README: Correct PSIM's title
+
+Wed May 29 23:50:26 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * basics.h: New global type object_disposition, used to indicate
+       the status of objects when things are restarted.
+
+Fri May 17 17:28:52 1996  Andrew Cagney  <cagney@benjimen.highland.com.au>
+
+       * device_table.h: Change the interrupt descriptor structure so
+       that it includes an additional member - an upper bound on the
+       interrupts by that name.
+
+       * device.c (device_interrupt_decode): Allow a range of interrupt
+       ports (eg rst0 .. rst6) if the port descriptors bound is non zero.
+
+       * device.c (device_tree_print_device): Include a list of valid
+       interrupt ports when listing supported devices.
+
+       * device.h, device.c (device_child_interrupt_*): Delete. Not used.
+
+       * emul_generic.c (emul_add_tree_hardware): Modify the creation of
+       the interrupt net so that it uses int0 .. intN.
+
+Tue May 14 23:03:53 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h, device.c (device_ioctl): Drop the system argument.
+       Devices can not obtain this using the device_system() call.
+       * device_table.h: Adjust accordingly.
+       * hw_*.c: Adjust accordingly.
+       * emul_netbsd.c (do_break): Adjust call to vm device accordingly.
+       * psim.c (psim_options): Use a device_ioctl call to force the
+       hw_trace device to update the trace options.
+       * hw_trace.c: Replace the init function with an ioctl call.  Adjust
+       doc accordingly.
+
+       * psim.c (psim_init): Re-order initialization so that the
+       os-emulation is initialized after the device tree.  Without this,
+       os-emul's are not able to create instances or access properties
+       that contain an instance handle.
+
+       * device.h, device.c (device_add_*_property): Make these functions
+       internal to device.c.  The user has access to the more generic
+       device_tree_add_parsed function.  Differentiate between the initial
+       and current value for each property.
+       * (clean_device_properties): New function that deletes any
+       properties created after the start of a simulation and restores
+       the initial value of any others (ignoring ihandles).
+       * (init_device_properties): (Re)Initialize any properties that
+       contain ihandles. create
+
+       * (device_tree_init): Include calls to clean the device tree's
+       properties and then initialize them.  Document this in the device.h
+       file.
+
+Mon May  6 17:36:15 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * interrupts.c (decrementer_interrupt): Always pend a decrementer
+       interrupt even if it is not yet possible to deliver it.
+
+Wed May  1 12:26:51 1996  Andrew Cagney  <cagney@benjimen>
+
+       * mon.h, mon.c (mon_get_number_of_insns): Make this externally
+       visable adjusting the arguments so that the interface is correct.
+       (mon_print_info): Adjust calls.
+
+       * registers.h, registers.c (register_description): Add phony
+       cycle, insn and stall registers.
+
+       * psim.c (psim_read_register): Return nr of instructions for given
+       processor.
+
+Tue Apr 30 22:09:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_htab.c: New file. Extract contents from disk_table.c.
+       Contains a device that, during initialization will create a
+       PowerPC htab in memory.
+       * hw_register.c: New file. Extract contents from disk_table.c.
+       Contains a device that, during initialization, will parse its
+       property list and use that to initialize various processor
+       registers (not target specific).
+       * hw_vm.c: New file. Extract contents from disk_table.c.  Contains
+       a device that handles accesses to invalid virtual memory addresses
+       (in user mode).
+       * hw_init.c: New file. Extract contents from disk_table.c.  Misc
+       devices that can initialize memory from a file.
+       * hw_trace.c: New file. Extract contents from disk_table.c.
+       Configure trace options from property values.
+
+       * Makefile.in (hw_htab.o, hw_register.o, hw_vm.o, hw_init.o,
+       hw_trace.c): Add new device files.
+
+       * device_table.c: Remove above code, now in separate independant
+       files.
+
+Fri Apr 26 00:00:07 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_disk.c: New file.  Disk and CDROM device.
+
+       * Makefile.in (hw_disk.o): Add device hw_disk.c.
+
+       * pk_disklabel.c: New file.  Implement the miss-named disk-label
+       package.
+
+       * Makefile.in (pk.h): Create the file pk.h that contains a list of all
+       the packages.
+
+       * Makefile.in (hw.h, hw.c): Add dependancy on Makefile so that
+       they are re-created when the makefile is updated.
+
+       * emul_generic.c (emul_add_tree_hardware): Add a disk device
+       (below the iobus) to the device tree.  Include an ihandle of
+       the disk as /chosen/disk.
+
+       * emul_bugapi.c (emul_bugapi_create): Don't initialize the input,
+       output and (new) disk handles yet.
+       * (emul_bugapi_init): Initialize the input, output (and just added)
+       disk ihandles here.
+       * (emul_bugapi_do_diskio): New.  Performs disk i/o (well at least
+       what I think the behavour is).
+       * emul_bugapi.c (emul_bugapi_instruction_call): Add hook to disk
+       i/o bug call.  For RETURN call, exit using gpr[3]'s status even
+       though this isn't part of the spec - makes it possible for machine
+       code to signal the aporting of a simulation run.
+
+       * emul_chirp.c (chirp_emul_call_method): Add support for the
+       claim/release methods.
+       * (chirp_emul_exit): Add an optional exit status argument to
+       the exit method.  Makes it possible for chirp emul simulations
+       to abort upon an error.
+       * device.h, device.c (device_instance_claim,
+       device_instance_release): New methods for claiming and releasing
+       memory.
+       * hw_memory.c: add claim and release memory methods.
+       * hw_*: Use the claim memory method when allocating physical
+       memory.
+
+Thu Apr 18 23:38:10 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_nvram.c (hw_nvram_update_clock): Use the current not previous
+       time when updating the clock.
+
+       * hw_nvram.c: Tidy up documentation
+
+Fri May 24 10:08:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (AC_STRUCT_ST_{BLKSIZE,BLOCKS,RDEV}): Use these
+       macros to determine whether or not the appropriate st_<xxx> fields
+       exist in the stat structure.
+       (AC_CHECK_FUNCS): Check for all unix system calls used, except for
+       the real basic ones like open, read, write, etc.
+       * config{.in,ure}: Regenerate.
+
+       * emul_netbsd.c: Add support for missing system calls, and/or
+       missing stat fields.
+       (MAXPATHLEN): Undefine if including unistd.h, since sys/param.h
+       might define it.
+
+       * hw_pal.c (WITH_STDIO): Redefine if O_NDELAY, F_GETFL, or F_SETFL
+       are not defined.
+       (scan_hw_pal): Do not cause syntax error if O_NDELAY, F_GETFL, or
+       F_SETFL not defined.
+
+Tue May 21 17:24:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_netbsd.c (write_stat): Don't convert st_blocks unless the
+       host is netbsd.
+
+Thu May 16 10:56:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (AC_CHECK_HEADERS): Add sys/ioctl.h.
+       * config{.in,ure}: Regenerate.
+       * emul_netbsd.c: If HAVE_SYS_IOCTL_H is not defined, don't include
+       sys/ioctl.h.
+
+Tue May  7 17:28:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * hw_pal.c (hw_pal_instance_read_callback): Remove unused
+       variable.
+
+       * misc.c ({,target_}a2i): Rewrite to not use strtoul.
+
+       * Makefile.in ({spreg,misc}.o): Add dependency on .c file.
+       ({i,d}gen): Don't link in liberity.  Use BUILD_LIBS instead of
+       LIBS.
+
+Mon May  6 11:31:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * hw_pal.c (hw_pal_instance_read_callback): If using stdio, use
+       fgets to read line.  If not using stdio, do a simple blocking read
+       of len bytes.
+
+Fri May  3 15:07:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in: Correctly build simulator for build machine != host
+       machine.
+
+Tue Apr 30 18:46:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (--enable-hostendian): Rework so the default uses
+       the AC_C_BIGENDIAN results.  Only run AC_C_BIGENDIAN if not cross
+       compiling.
+       * configure: Regenerate.
+
+       * sim-endian.h: Add more tests for host endian to support more
+       platforms in a cross compilation environment.
+
+Wed Apr 17 14:38:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * hw_pal.c ({scan,write}_hw_pal): If WITH_STDIO == DO_USE_STDIO,
+       use stdio, instead of unpended read/printf_filtered.
+       (hw_pal_instance_write_callback): If WITH_STDIO == DO_USE_STDIO,
+       flush stdout after writing the characters.
+
+       * options.c (print_options): Print out WITH_STDIO.
+
+       * Makefile.in (STDIO_CFLAGS): Pass on result of @sim_stdio@
+       configuration variable.
+       (CONFIG_CFLAGS): Include STDIO_CFLAGS.
+       (hw.{c,h}): Allow for source dir != build dir, and for HW_SRC
+       files to contain directory pieces.
+
+       * std-config.h (DO{,NT}_USE_STDIO): New flags for whether we
+       should use stdio for console input.
+       (WITH_STDIO): If not defined, define as DONT_USE_STDIO.
+
+       * configure.in (--enable-sim-stdio): Add new switch to control
+       whether stdio is used for console I/O.
+       * configure: Regenerate.
+
+       * interrupts.c (external_interrupt): Declare it to be
+       INLINE_INTERRUPTS, not INLINE_CPU.
+
+Mon Apr 15 23:30:56 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * events.c (insert_event_entry): Allow events to be scheduled
+       *NOW* (at delta time 0).  Add assertions to clarify behavour of
+       event queue.
+
+       * events.c (update_time_from_event): New function. Calculates the
+       number of ticks from the next event.  Use this.
+
+Sun Apr 14 21:39:45 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_netbsd.c (do_break): Return 0 if success (instead of
+       adjusted break).
+
+       * device_table.c (vm_ioctl_callback): Don't return adjusted break
+       (isn't needed).
+
+Sun Apr 14 21:32:41 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_table.h: Change type of the device ioctl so that it
+       returns an int (status).
+       * device.h (device_ioctl): Ditto.
+       * device.c (device_ioctl): Ditto.
+
+       * device_table.c (stack_ioctl_callback): Return 0 status.
+       (vm_ioctl_callback): Ditto
+
+Sat Apr 13 00:00:24 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_netbsd.c (do_read): Correctly set the return value.
+       (do_getpid): Ditto.
+       (do_getuid): Ditto.
+       (do_geteuid): Ditto.
+       (do_dup): Ditto.
+       (do_getegid): Ditto.
+       (do_getgid): Ditto.
+       (do_sigprocmask): Ditto.
+       (do_umask): Ditto.
+       (do_dup2): Ditto.
+       (do_gettimeofday): Ditto.
+       (do_getrusage): Ditto.
+       (do_fstat): Ditto.
+       (do_stat): Ditto.
+       (do_lseek): Ditto.
+       (do___sysctl): Ditto.
+
+Fri Apr 12 20:56:47 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device_table.c (vm_ioctl_callback): Don't access the processor
+       registers directly, instead leave it to the caller to handle this.
+
+       * emul_netbsd.c (do_break): Which calls vm_ioctl_callback to
+       perform a break.  Pass in the new break value and set the
+       registers according to the result.
+
+       * emul_generic.c (emul_write_status): Change so that r3 contains
+       either status or errno and failure is indicated by SO.
+
+Thu Apr  4 23:03:38 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_bugapi.c (emul_bugapi_create): More strict check of OEA
+       address.
+
+Thu Apr  4 20:58:05 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * interrupts.h (interrupts): New structure contains state of
+       pending interrupts.
+
+       * cpu.c (cpu_interrupts): New function.  Pending interrupt status
+       in the cpu and grant access to it.  Add interrupts to cpu
+       structure.
+
+Fri Mar 29 22:09:25 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (device_tree_add_parsed): Check that the creation of a
+       device instance worked before using it.
+
+       * psim.c (psim_halt): Remove cia argument from psim_halt.  This
+       function does not save the CIA so do not pass it in.
+
+Fri Mar 29 21:30:56 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * hw_pal.c (hw_pal): Merge the halt and icu and console devices
+       found in device_table.c into a single hack pal.
+
+       * device_table.c (halt, icu, console): Delete.
+
+       * Makefile.in (hw_pal.o): New dependency.
+
+       * emul_generic.c (emul_add_tree_hardware): Re-arange device tree
+       so that it uses the pal instead of the icu/halt/console devices.
+       Wire the pal's interrupt ports up to the cpu nodes.
+
+Fri Mar 29 20:17:17 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * hw_iobus.c (hw_iobus_attach_address_callback): Move from
+       device_table.c to here.
+
+       * Makefile.in (hw_iobus.o): New dependency.
+
+Fri Mar 29 12:17:58 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * emul_bugapi.c (_os_emul_data): Add fields for output, input.
+       (emul_bugapi_create): Create input, output from /chosen/stdin and
+       /chosen/stdout.
+       (emul_bugapi_do_{read,write}): Switch to use device_instance
+       interface.
+       (emul_bugapi_instruction_call): Change calls to
+       emul_bugapi_do_{read,write} to pass device instance argument.
+
+Tue Mar 26 14:57:58 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * igen.c (idecode_switch_end): Fix 2/26 change so that an extra
+       default is not written out if a default was already written.
+
+       * psim.c (psim_{read,write}_register): Use sizeof unsigned_8 to
+       size cooked_buf, not sizeof natural_word, since floating point
+       registers are 8 bytes.
+
+Mon Mar 25 22:07:13 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * configure: Regenerate with autoconf 2.9.
+
+Thu Mar 21 00:14:26 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_table.h: Always include string headers.
+
+Thu Mar 21 00:06:09 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * main.c (error): Be careful to not try to print out statistics
+       when the simulation was never created.
+
+Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * basics.h: Move the event queue's definition to here so that it
+       can be refered to globally with out importing all of events.h.
+
+       * psim.h, psim.c (psim_event_queue): New function.  Grant access
+       to the simulation event queue.  Will make this the single point of
+       access (there is after all only one event queue in the
+       simulation).
+
+       * cpu.c (cpu_create): Use psim_event_queue to obtain the event
+       queue instead of it being passed in.  No longer allow access to
+       the cpu's copy of the event queue.
+
+Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * events.h, events.c (event_handler): Remove event_queue from
+       arguments passed to an event handler.  That argument is redundant
+       - the `data' should refer to a data structure that contains the
+       event queue if queing is needed.
+
+       * cpu.c (cpu_decrement_event): adjust
+
+       * events.c (event_queue_process): adjust
+
+Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.h, device.c (device_system): New, returns a handle for
+       the system given the device.
+
+       * device.c (device_address_init): Store a pointer back to the
+       system in each devices node.
+
+       * device_table.h: Don't pass `system' into each device when it is
+       being initialized, this is now available using device_system(me).
+
+       * device.c (device_address_init, device_data_init): Adjust.
+
+       * hw_cpu.c, hw_nvram.c, hw_memory.c, hw_eeprom.c, device_table.c:
+       Adjust.
+
+Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * interrupts.c (decrementer_interrupt, external_interrupt):
+       Remember that an interrupt wasn't delivered so that it can be
+       tried again later.
+
+       * interrupts.c (check_masked_interrupt): New function.  (re)
+       checks for the posibility that a recent change to the MSR may have
+       made it possible to deliver an interrupt that was previously
+       masked be the EE bit.
+
+       * ppc-instructions (mtmsr, mfmsr, rfi): Check for posibility of
+       a pending interrupt being delivered using check_masked_interrupt().
+
+       * cpu.c (cpu_decrement_event): Just call decrementer_interrupt()
+       leaving it to that module to handle both interrupt synchronization
+       and masking.
+
+       * cpu.c (struct _cpu): remove variables that were going to record
+       pending decrementer and external interrupts.
+
+Sun Mar 17 22:40:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * hw_cpu.c, hw_cpu.h: New files.  Implement a device that sits
+       between the interrupt controller and the simulators internal
+       processor model.  Maps device interrupts onto the processor
+       interrupt function calls.
+
+Mon Mar  4 06:06:54 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * hw_nvram.c: NVRAM device that includes a real-time clock that is
+       updated each second.
+
+Mon Mar  4 04:18:50 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h (attach_type): Remove attach_default type address
+       spaces.  Will replace with levels of callback memory.
+
+       * corefile.h, corefile.c (new_core_mapping), corefile.c
+       (core_map_attach): Replace default attach with a layerd callback
+       approach.
+
+Sun Mar  3 03:58:46 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (split_property_specifier): ensure that only a single
+       property is found.
+       (split_value): New function, parses the value part of a device
+       spec.
+
+       * device.c (device_tree_add_parsed): Use the interrupt conversion
+       functions to determine the interrupt port numbers.
+
+       * device_table.h: Add table that maps between an interrupts
+       symbolic name and its port number.
+
+       * device.h, device.c (device_interrupt_decode,
+       device_interrupt_encode): new functions use the recently added
+       interrupt port name/number tables to perform conversion.
+
+Sun Mar  3 03:23:59 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.h, device.c (device_set_array_property,
+       device_set_boolean_property, device_set_ihandle_property,
+       device_set_integer_property, device_set_string_property): New
+       functions - allow the value of a given property to be changed.
+
+       * device.h, device.c: Re-order declaration and definition of
+       property functions.
+
+Sun Mar  3 03:10:22 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * device.c (device_tree_print_device, device_tree_add_parsed):
+       Remove references to phandle properties.
+
+Wed Feb 28 00:43:07 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * Makefile.in (corefile.o): missing dependency on device_table.h
+       etc.
+
+Tue Feb 27 23:59:35 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * device_table.h: Revamp device init callbacks so that they are a
+       sub structure.
+       * device.c (device_init_data, device_init_address): If an init
+       callback is NULL assume it should do nothing.
+       * device_table.c (ignore_device_init, unimp_device_init): delete
+       as redundant.
+       * device_table.c, hw_memory.c: adjust.
+
+       * (io): ditto.
+       * (dma): ditto.
+       * (device_instance): ditto.
+       * (ioctl): ditto.
+       * (address nee config_address): ditto.
+       * (interrupt): ditto.
+
+Mon Feb 26 21:11:20 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * igen.c (idecode_switch_end): Output a default entry when the
+       switch statement is perfect.  Firstly stops GCC complaining about
+       an incomplete switch and secondly it will be eliminated by a good
+       compiler any way.
+
+Mon Feb 26 22:47:15 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * Makefile.in (hw.h, hw.c): New targets. Create from the list of
+       hw_*.c files. hw.h declares a device descriptor table for each hw
+       device while hw.c lists those tables in a form suitable for the
+       construction of a top leveltable in device_table.c.
+
+       * Makefile.in (device_table.o): now depends on hw.c a generated
+       table of hw.
+
+       * device_table.c (device_table): Re-arange the table of devices so
+       that two levels are possible.  Make use of hw.c.
+       * device_table.h: ditto.
+
+       * device.c (device_template_create_device): Handle new two level
+       device lookup table.
+       * device.c (device_usage): ditto.
+
+Mon Feb 26 22:24:00 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * device_table.c: Delete the memory device (moved to hw_memory.c).
+
+       * hw_memory.c: New file.  Just an OpenBoot memory device.
+
+Wed Jan 17 21:47:34 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (device_init_address): New.  Split initialization into
+       two stages, address and address spaces
+       * device.c (device_init_data): New. ... and data or other work.
+       With out this, devices try to modify memory before it as been
+       attached.
+
+       * device.c (device_tree_init): Update to perform staged
+       initialization.
+
+       * device.c (device_init): Delete.
+
+Wed Jan 17 21:43:09 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_table.c (data_*): Rewrite to make heaver use of property
+       nodes. Allow initialization by different data types.
+       * device_table.c (htab_* pte_*): Rewrite to use properties.
+
+       * emul_chirp.c (emul_chirp_create): Use
+       * emul_bugapi.c (emul_bugapi_create): Ditto
+       * emul_netbsd.c (emul_netbsd_create): Ditto
+
+Wed Jan 17 21:24:50 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_generic.c (emul_add_tree_options): Annotate existing tree
+       with options that haven't yet been specified.
+       * emul_generic.c (emul_add_tree_hardware): Annotate existing tree
+       with demo devices and properties.
+
+       * emul_chirp.c (emul_chirp_create): Update to use new
+       device_tree_add_parsed call and additional information now
+       included in the device tree.  Use emul_add_tree* functions to add
+       any missing details.
+       * emul_bugapi.c (emul_bugapi_create): Ditto
+       * emul_netbsd.c (emul_netbsd_create): Ditto
+
+Wed Jan 17 21:18:27 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (device_instance_create): New. Create/delete and
+       operate on instances of a device.
+       * device.c (device_instance_delete): Ditto
+       * device.c (device_instance_read): Ditto
+       * device.c (device_instance_write): Ditto
+       * device.c (device_instance_seek): Ditto
+       * device.c (device_instance_data): Ditto
+       * device.c (device_instance_name): Ditto
+       * device.c (device_instance_path): Ditto
+
+       * emul_chirp.c (chirp_emul_open): Implement using device_instance.
+       * emul_chirp.c (chirp_emul_close): Ditto
+       * emul_chirp.c (chirp_emul_read): Ditto
+       * emul_chirp.c (chirp_emul_write): Ditto
+       * emul_chirp.c (chirp_emul_seek): Ditto
+
+       * emul_chirp.c (chirp_read_t2h_args): Read arguments from device.
+       Being careful to convert all from target to host byte order.
+       * emul_chirp.c (chirp_write_h2t_args): Converse.
+
+Wed Jan 17 20:07:15 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (device_tree_add_parsed): New.  Rewrite code to add
+       devices to the device tree so that a single printf style function
+       is used.
+
+       * device.c (device_tree_add_*): Delete. Replaced by above.
+
+       * device.c (split_device_specifier): Functions to manipulate a
+       device specifier (path) breaking it into its components
+       * device.c (split_property_specifier): Ditto
+       * device.c (split_device_name): Ditto
+       * device.c (split_find_device): Ditto
+
+       * device.c (scan_*): Delete
+
+       * device.c (device_tree_find_device): Rewrite to use above.
+       * device.c (device_add_property): Ditto
+
+Wed Jan 17 19:51:56 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * psim.c(psim_options): Parse the psim options, installing their
+       value in the device tree.  Options are now first entered into a
+       device tree and then extracted out again when needed.  This allows
+       greater flexability in configuration.
+
+       * psim.c (psim_tree): Returns a basic device tree ready for
+       parsing by psim_options.
+       * psim.c (psim_usage): New.  Give usage to varing levels of detail
+       according to the verbosity.  In turn output device and trace
+       usage.
+
+       * main.c (main): Update to use new system
+       * sim_calls.c (sim_open, sim_do_command): Ditto
+
+       * psim.c (psim_options): Add `r' option - ram size.
+       * psim.c (psim_options): Add `o' option - openboot tree entry.
+       * psim.c (psim_options): Add `h'/`H' options - more help.
+
+       * debug.c (trace_usage): Add more detailed help.
+       * device.c (device_usage): New. Output help including a list of
+       the devices currently available in the device table.
+       * device_table.c: Add usage operator to each device.
+
+       * corefile.c (core_create, core_device_create): Adjust so that the
+       core device is created earlier for psim_tree().  Core can later be
+       created from it.
+
+       * psim.c (psim_create): Update to handle above way of creating
+       things.  Extract all information from the device tree.
+
+       * device_tree.c (trace_*): New device node, its properties are
+       used to set the value of the trace options.  Init this device (in
+       psim_options) when ever the options are updated.
+
+Wed Jan 17 19:46:07 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * debug.h: Add trace_print_info, trace_print_device_tree and
+       trace_dump_device_tree.  The first is a replacement for the
+       variable `print_info' found in main.c and sim_calls.c.  The latter
+       two enable the dumping of the entire device tree.
+
+       * debug.c: Add to trace_description table.
+
+       * main.c (main): Use above trace instead of local variable
+       * sim_calls.c (sim_close): Ditto
+
+       * device.c (device_tree_print_device): New.  Prints the device
+       tree in a format that is consistent with what can be parsed by the
+       device tree load from file code.
+
+       * psim.c (psim_create): Dump device tree if enabled. If nump
+       selected, exit psim immediately.
+
+Wed Jan 17 19:36:52 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * corefile-n.h (core_map_read_N): When mapping from an address to
+       a device, do not subtract the devices base.  The device its self
+       can do this.  Brings the behavour into line with OpenBoot.
+       * corefile-n.h (core_map_write_N): Ditto
+       * corefile.c (core_map_read_buffer): Ditto
+       * corefile.c (core_map_write_buffer): Ditto
+
+       * device_table.c (console_io_read_buffer_callback): Adjust to
+       handle biased address.
+       * device_table.c (console_io_write_buffer_callback): Ditto
+
+Wed Jan 17 18:36:09 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (attach_device_interrupt_edge): New. Interrupt model
+       did not allow interrupts to be wired up as a general net (edges).
+       Re-implement so that interrupt events can be passed to multiple
+       controllers and interrupt controllers can further propogate
+       interrupt events.
+
+       * device.c (attach_device_interrupt_edge) : New, Ditto
+       * device.c (detach_device_interrupt_edge) : New, Ditto
+       * device.c (clean_device_interrupt_edges) : New, Ditto
+       * device.c (device_interrupt_event) : New, Ditto
+       * device.c (device_interrupt_attach) : New, Ditto
+       * device.c (device_interrupt_detach) : New, Ditto
+       * device.c (device_child_interrupt_attach) : New, Ditto
+       * device.c (device_child_interrupt_detach) : New, Ditto
+
+       * device.c (device_attach_interrupt) : Delete old
+       * device.c (device_detach_interrupt) : Delete old
+       * device.c (device_interrupt) : Delete old
+       * device.c (device_interrupt_ack) : Delete old
+
+       * device_table.c (unimp_*) : Update to match
+
+       * device_table.c (icu_io_write_buffer_callback) : Update to use
+       interface.
+       * device_table.c (icu_interrupt_event_callback) : Ditto
+
+Wed Jan 17 18:18:40 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device.c (external_to_device) : New function that provides a
+       standard mapping between a devices internal representation (a
+       pointer) and its external (or what is passed to a client)
+       representation (a phandle).  Implement using the cap object
+       attached to the root node.
+
+       * device.c (device_to_external) : Ditto
+       * device.c (external_to_device_instance) : Ditto but for ihandle
+       and device instance.
+       * device.c (device_instance_to_external) : Ditto
+
+       * Makefile (device.o): Add dependency on cap.
+
+       * emul_chirp.c (struct _emul_chirp_data) : Elimate use of cap. Code
+       needing to translate between internal and external representations
+       changed to use the external_to_device et.al. device operations.
+       * emul_chirp.c (chirp_emul_*) : Ditto
+
+       * Makefile (emul_chirp.o): Remove dependency on cap
+
+Sat Jan  6 10:13:26 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * emul_chirp.c (map_over_chirp_note): Tighten up (and fix) checks
+       on OpenBoot note section.
+
+Fri Jan  5 20:28:53 1996  Andrew Cagney  <cagney@hignland.com.au>
+
+       * emul_generic.c (emul_write_buffer): Use vm faulting byte
+       read/write calls for buffer transfers.  This will cause a fault to
+       occure if the transfer fails.  CHRP catches the fault while the
+       others suffer the consequences.
+       (emul_read_buffer): Ditto.
+       (emul_write_word): Ditto.
+       (emul_read_word): Ditto.
+       (emul_read_string): Ditto.
+
+Fri Jan  5 18:55:34 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_chirp.c (emul_chirp_create, emul_chirp_instruction_call),
+       emul_generic (emul_blr_instruction): Use a real blr instruction to
+       return from a client service call.
+
+       * emul_chirp.c (services): Add all OpenBoot services to table.
+
+       * emul_generic.h, emul_bugapi.c (emul_bugapi_create), emul_chirp.c
+       (emul_chirp_create) : Use names instead of numbers for
+       instructions being stored in memory.
+
+Fri Jan  5 18:52:28 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * Makefile.in (maintainer-clean): Remove .log, core and *.core
+       (From NetBSD) files.
+
+Wed May 29 22:57:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ChangeLog.00, ChangeLog: ChangeLog from gdb-4.16 becomes
+       ChangeLog.00
+
+Wed May 29 22:57:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+       * ChangeLog.00, ChangeLog: ChangeLog from gdb-4.16 becomes
+        ChangeLog.00
+
+Thu Apr  4 15:17:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * INSTALL: Fix some long lines and remove x86 specific options in
+       the examples.
+
+Sun Mar 31 15:47:33 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
+
+        * INSTALL: Update to reflect gdb-4.16.
+
+        * RUN: Update to reflect gdb-4.16.  Review notes on building a BSD
+        runtime environment.
+
+       * README: Point out copyright status of simulator in introduction.
+
+Thu Mar  7 19:53:49 1996  Michael Meissner  <meissner@cygnus.com>
+
+       * emul_netbsd.c: Only include sys/mount.h if HAVE_SYS_MOUNT_H is
+       defined.
+       * configure.in: Test for sys/mount.h.
+       * configure,config.in: Regenerate.
+
+Thu Feb 22 22:48:57 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * README, RUN, INSTALL: Update to reflect announcement
+       * psim: PSIM 1.0.1 released
+
+Thu Feb 22 14:01:56 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_bugapi.c (emul_bugapi_do_read): New function to handle
+       reads.
+       (emul_bugapi_instruction_call): Add support for .INCHR/.INLN
+       system calls.
+
+       * emul_bugapi.c (emul_bugapi_do_write): Call flush_stdoutput.
+       * emul_netbsd.c (do_write): Call flush_stdoutput.
+
+       * main.c (flush_stdoutput): Do fflush (stdout).
+       * sim_calls.c (flush_stdoutput): Do gdb_flush (gdb_stdout);
+       * sim_callbacks.h (flush_stdoutput): Declare.
+
+Wed Feb 21 10:39:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_bugapi.c (bug_mapping): New structure to map bug system
+       call numbers to a string.
+       (toplevel): Add remaining bugapi system calls.
+       (emul_bugapi_instruction_name): Map bugapi system call number to a
+       string.
+       (emul_bugapi_do_write): Common code to process write system calls.
+       (emul_bugapi_instruction_call): If os-emul tracing is on, trace
+       the system call.  Use the name to print unknown system call.
+       Correct implementation of _OUTLN.  Add support for _OUTSTR and
+       _PCRLR system calls.
+
+Wed Feb 21 17:07:27 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * NOTES: New file.  Ramblings on why things were done they way
+       they were.
+
+       * psim.c (psim_options): Didn't enter the model value into the
+       device tree as a string.
+
+       * cpu.c (cpu_synchronize_context): Wrong test for conditional
+       flush of cache.
+
+       * emul_generic.c (emul_add_tree_hardware): reg value didn't match
+       bus address.
+
+       * ppc-opcode-flat: new file. Generate an instruction decode
+       function like ppc-opcode-complex but use switch statements.
+
+       * INSTALL: document new opcode file, add example configurations.
+
+Tue Feb 20 18:42:31 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * main.c (main): rename psim instance (system) to simulation and
+       make global.
+       * main.c (error): print out performance even when an error occures.
+
+       * emul_bugapi.c (emul_bugapi_create): Fix argument passing.
+
+       * emul_generic.c (emul_add_tree_hardware): Move hardware devices
+       to 0x80000000 from 0x400000.
+
+Mon Feb 19 22:54:40 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-instructions (TLB Invalidate Entry, TLB Invalidate ALL):
+        Implement by passing on request to all processors.
+       * ppc-instructions (TLB Synchronize): Implement as empty, processor
+       tlb's are always in sync.
+
+       * cpu.c (cpu_page_tlb_invalidate_all): New function.  Pass on TLB
+        invalidate request to processors VM sub-system.
+       * cpu.c (cpu_page_tlb_invalidate_entry): Ditto.
+
+       * vm.c (vm_page_tlb_invalidate_all): New function. Mark all page
+        TLB entries as invalid.
+       * vm.c (vm_page_tlb_invalidate_entry): New function. Ditt but only
+       invalidate one TLB entry.
+
+       * psim.c (psim_init): Invalidate TLB's before (re)starting.
+
+Mon Feb 19 21:25:56 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_generic.c (emul_add_tree_options): Add argument
+        oea_interrupt_prefix (0 or 1) that specifies the prefix MSR[IP]
+        and hence the location of the interrupt vectors.  Add this to the
+        device tree.
+
+       * emul_chirp.c (emul_chirp_create): Allow configuration of
+        floating-point and interrupt prefix (default 0) using the above.
+
+       * emul_netbsd.c (emul_netbsd_create): Pass dummy arg for
+        interrupt-prefix.
+
+       * emul_bugapi.c (emul_bugapi_create): Allow configuration of
+        interrupt prefix (default 1) and configure interrupt table traps
+        accordingly.
+
+       * emul_generic.c (emul_add_tree_hardware): Include a small eeprom
+        in the list of devices.
+
+       * device_table.c: For moment fake eeprom device by a memory
+        device.  In future will need a proper eeprom device.
+
+Tue Feb 20 17:01:26 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * config.in: Regenerated.
+
+Fri Feb 16 10:42:27 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * psim.c: Include options.h so print_options is declared.
+
+Thu Feb 15 18:10:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_netbsd.c (toplevel): Do not include sys/resource.h if the
+       system doesn't have it, and turn off getrusage processing.
+       (write_rusage): #ifdef out if we don't have getrusage.
+       (do_getrusage): Define as 0 if we don't have getrusage.
+
+Wed Feb 14 17:38:12 1996  J. T. Conklin  <jtc@cygnus.com>
+
+       * configure.in (AC_HEADER_DIRENT): Add, so that we can figure out
+       where the directory functions are declared.
+       * configure: Regenerate
+
+       * emul_netbsd.c: Use the macros defined by configure to find the
+       appropriate directory functions.
+
+Thu Feb  8 00:53:13 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.in (xor_endian): Trace setting of xor-endian flag.
+
+Wed Feb  7 18:20:56 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * psim.c (psim_usage): Extend documentation.
+
+       * ppc-instructions (model-print): fix typo.
+
+Sun Feb  4 23:58:02 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.in (with-smp): Default configuration allow up to
+       five processors (but enable only one).
+
+       * emul_bugapi.c (emul_bugapi_create): If floating-point is
+       allowed, enable the floating point instruction set in the
+       msr.
+
+Tue Jan 30 22:52:32 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_chirp.c (chirp_emul_seek, chirp_emul_read,
+        chirp_emul_write): Tolerate invalid ihandles.
+
+       * device.c (device_instance_create, device_instance_delete):
+       init/delete instance name
+
+       * emul_chirp.c (emul_chirp_instruction_call): Read the nr args and
+        returns when determining the service.
+
+       * emul_chirp.c (chirp_read_t2h_args): Allow variable number of
+        args for the method "call-method".
+
+       * emul_chirp.c (chirp_emul_getprop): Tolerate a n_returns of zero
+        - should be one. Some OpenBoot code doesn't pass correct arg.
+
+       * emul_chirp.c (chirp_emul_getprop): Trace more property types.
+
+Tue Jan 30 19:12:29 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * RUN: New file. Describe how to run PSIM
+       * INSTALL: New file. Describe how to install PSIM
+       * README: New file. Overview PSIM.
+       * BUGS: New file. Briefly discuss bugs and limitations
+
+Wed Jan 24 20:28:08 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_bugapi.c (OEA_START_ADDRESS): Put it back to 0x100000,
+        wasn't correctly using GLD.
+
+Mon Jan 22 22:44:13 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_generic.c (emul_add_tree_options): Make default number of
+       active processors 1 (even when SMP enabled).
+
+Mon Jan 22 22:37:34 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_table.c (icu_io_read_buffer_callback): Add extra register
+        (at addr + 4) that returns number of processors.
+
+       * emul_generic.c (emul_add_tree_hardware): Update device node to
+        match.
+
+Mon Jan 22 22:00:42 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_bugapi.c (OEA_START_ADDRESS): Change to 0x4000 so that it
+        matches gas-960116/ld.
+
+Fri Jan 19 00:32:27 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * psim-960119 released - psim-1.0b01.
+
+Fri Jan 19 00:32:27 1996  Andrew Cagney - aka Noid  <cagney@highland.au.com>
+
+       * psim.c (psim_create): Re-order so that all options are set
+        before the CPU's are created.  Was breaking mon_create();
+
+       * psim.c (psim_create): Tidy up conflicting configuration errors.
+
+       * debug.c: Add missing print-info entry to trace table.
+
+       * os_emul.c (os_emul_create): Fix `-e' option. Was looking under
+        wrong name.
+
+       * psim.c (psim_options): Fix `-r' option. Was entering under wrong
+        name.
+
+Thu Jan 18 20:33:48 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * vm.c (om_unpack_bats): Fix checking of bat bits.
+
+       * emul_chirp.c (emul_chirp_create): Store address of OB in memory
+       in the os_emul_data structure.
+
+       * emul_bugapi.c (emul_bugapi_create): Store the address of the
+       bugapi code (in main memory) in the os_emul_data structure.
+
+Thu Jan 18 01:14:55 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * vm.c (om_translate_effective_to_real): Fix trace output.
+
+Wed Jan 17 22:21:55 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_table.c (generic_device_init_address): Create memory from
+        information obtained from `reg' property.
+       * device_table.c (vm_init_address_callback): Use information
+        obtained from properties.
+       * emul_netbsd.c (emul_netbsd_create): Update to create device and
+        property entries to match
+
+Tue Jan 16 09:50:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * idecode_expression.h (ALU_END): Add ITRACE of the result.
+
+       * ppc-instructions (Equivalent): Enable this instruction.
+       (Add to Minus One Extended): Ditto.
+       (Subtract from Minus One Extended): Ditto.
+       (Add/And/Or/Xor Immediate): Add alu trace of result.
+       (Add/And/Or/Xor Shifted Immediate): Ditto.
+       (And/Or/Equivalent/Nand/Nor): Ditto.
+       (And/Or with Complement): Ditto.
+       (Extend Sign Byte/Half Word): Ditto.
+       (Count Leading Zeros): Ditto.
+       (Shift Right Algerbraic Word): Ditto.
+       (Shift Right Algerbraic Word Immediate): Ditto.
+
+Tue Jan  9 15:10:27 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_bugapi.c (emul_bugapi_instruction_call) : Make format type
+       correct.
+       * emul_chirp.c (map_over_chirp_note) : Ditto
+       * emul_chirp.c (chirp_emul_test) : Ditto
+       * device_table.c (register_init): Ditto
+
+Tue Jan  9 14:16:26 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.in: Make disable-sim-switch default.  Switch only
+       useful if using --enable-sim-opcode=ppc-opcode-stupid and then
+       only marginally so.
+
+Mon Jan  8 12:17:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * device_table.c (register_init): Make format type correct.
+
+Wed Jan  3 19:21:46 1996  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_bugapi.c (emul_bugapi_create): Add nodes to init the
+       system-call trap to the emul instruction call instruction (Along
+       with an rfi and infinate loop).
+
+       * emul_bugapi.c (emul_bugapi_instruction_call): Expand to include
+       a few real PPC bug calls.  Test with simple hello world.
+
+Tue Jan  2 20:51:19 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
+
+       * device.h, device.c (device_child, device_sibling): New
+        functions.  Return corresponding device value.
+
+       * emul_chirp.c (chirp_emul_child, chirp_emul_peer,
+        chirp_emul_parent): New functions - emulate corresponding OpenBoot
+        interfaces.
+
+       * device_table.c (register_init): Extend properties attached to
+        register init node to allow a specific processor's register to be
+        specified.
+
+       * emul_chirp.c (emul_chirp_create): Init SMP correctly - the
+        initial PC for all processors is an infinate loop but then, for
+        processor zero, is quickly changed to be the correct code starting
+        address.
+
+       * emul_chirp.c (emul_chirp_create): Add fake bootpath
+        et.al. properties to tree.
+
+       * emul_chirp.c (chirp_emul_getproplen): New function.  Emulate the
+        getproplen OpenBoot call.
+
+       * emul_chirp.c (emul_chirp_instruction_call): Document other
+        possible chirp emulation internal states.
+
+       * emul_chirp.c (emul_chirp_instruction_call): Trace failed lookups
+       as well as successful ones.
+
+       * emul_chirp.c (emul_chirp_open): New function - handle open
+        client call.
+
+       * Makefile.in (maintainer-clean): Proper rule that eliminates more
+        junk.
+
+Tue Dec 19 13:00:11 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_chirp.c (chirp_emul_exit): Full out call.
+
+       * device_table.c (htab_map_page): Wasn't handling byte swap when
+       creating entries in the hash table.
+
+       * device.c (device_tree_find_node): Allow primative wild-card match
+       of device names with the path.
+
+       FIXME: As mentioned earlier, the device stuff needs work to bring
+       it into line with OpenBoot.  Part of this work is rewriting the
+       find_node function so that it behaves as specified in p1275.
+
+Mon Dec 18 19:58:56 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_chrp.c (chirp_emul_write, chirp_emul_finddevice): add
+       better tracing.
+
+       * emul_chrp.c: Change return type of emul functions to int.  Emul
+       functions either return -1 or zero so unsigned was a bit
+       dangerous.
+
+       * inline.h (*), igen.c, dgen.c, *: Update INLINE macros so that
+        they are paramaterised with the type of the function.  Gets around
+        the problem of `static' needing to come first with `attribute'
+        comming last.  Format declarations and definitions so that emacs
+       doesn't get confused.
+
+Fri Dec 15 17:06:44 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * std-config.h (PSIM_INLINE): Add missing inline configuration
+       control for the main loop.
+
+       * mon.c (mon_print_info): If monitoring disabled still print out
+       the number seconds used.
+
+       * psim.c (run_until_stop): Don't monitor the cache misses when
+       monitoring is disabled.
+
+       * configure.in (sim_mon, sim_monitor): Correct typo - sim_mon ->
+       sim_monitor for shell variable (or should that have been the other
+       way around?).
+
+       * vm.c (vm_synchronize_context): Fix wrong test for unsuported
+       change in endian-mode.
+
+       * std-config.h (WITH_REGPARM), inline.h (IDECODE_INLINE,
+       SEMANTICS_INLINE): Add -DWITH_REGPARM=<n> option.  Enables the
+       __attribute__((__regparm(WITH_REGPARM))) for some functions.
+       configure with --enable-sim-cflags="-DWITH_REGPARAM=3" (say).
+       Unfortunatly it tickles a bug (gcc?) and can't be used.
+
+Mon Dec 18 13:36:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * device.c (device_tree_add_device): Make trace fprintf arguments
+       type correct.
+       * device_table.c (htab_decode_hash_table): Ditto.
+       (htab_map_binary): Ditto.
+       (htab_init_callback): Ditto.
+       * vm.c (om_virtual_to_real): Ditto.
+
+Sat Dec 16 09:54:18 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
+
+       * emul_netbsd.c (emul_netbsd_create): Deal with new BFD that
+       changed how big/little endian support is recorded, while remaining
+       compatible with the old BFD with #ifdefs.
+       * emul_chirp.c (emul_chirp_create): Ditto.
+       * emul_bugapi.c (emul_bugapi_create): Ditto.
+
+Fri Dec 15 15:55:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * std-config.h (MODEL_INLINE): Turn off INLINE_MODULE by default.
+
+       * corefile.h: Delete declarations for unknown functions.
+       * device.h: Ditto.
+       * interrupts.h: Ditto.
+       * interrupts.c: Ditto.
+
+Thu Dec 14 18:49:34 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * lf.c (lf_print_function_type): New function.  Munges a function
+       type so that the prefix (eg INLINE...) is inserted after the type
+       but before any `*'.
+
+       * igen.c: Change to output functions using this.
+
+Wed Dec 13 23:47:00 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       FIXME: Emul CHIRP does not correctly implement the find device
+       function.
+
+       FIXME: Emul CHIRP and device do not implement device instance
+       operations.
+
+Wed Dec 13 23:47:00 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * options.c (options_inline): Function to output meaningful
+        description of the INLINE options.
+
+       * configure.in (inline): Replace inline magic numbers with macro
+        names. Map 1->LOCALS_INLINE and 2->ALL_INLINE.
+
+       * inline.h, inline.c: update to use inline method.
+
+       * std-config.h (CPU_INLINE), cpu.h, inline.h, inline.c: make cpu.h
+        inline always.
+
+       * std-config.h (EVENTS_INLINE): Inline events in psim.
+
+Wed Dec 13 22:01:21 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * device_table.c (htab_sum_binary): DMA binaries to correct byte
+        within a page.
+
+Tue Dec 12 22:51:18 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * psim.c (psim_merge_device_file): Change `=' to `==', was this an
+        error?
+
+Tue Dec  5 11:56:14 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-instructions (ppc_nr_mtcrf_crs, ppc_branch_conditional_name,
+       ppc_function_unit_name): Simplify by declaring these arrays as
+       pure and simple static (instead of STATIC_MODEL).
+
+Tue Dec  5 00:45:34 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * sim_calls.c (sim_create, sim_load), main.c (main), psim.c: Pass
+        an options device into psim_create() so that options can be merged
+        into the tree.
+
+       * device.c (*add*): Change semantics so the add functions only add
+        when the new device (or property) doesn't already exist.  This
+        allows merging of options and data.
+
+Mon Dec  4 17:12:13 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * Makefile.in (BASICS_H): Didn't include basics.h in the list of
+        header files to depend on.
+
+Mon Dec  4 17:12:13 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * std-config.h: (*_MODULE): Extend the <module>_inline macro's so
+        that they also allow control over static functions.  Rewrite
+        document to reflect this.
+
+       * std-config.h: (INLINE): Simplify definition, the above and
+        earlier changes to igen.h eliminate the need to be defensive about
+        enabling the inline of static functions.
+
+       * std-config.h: (SIM_ENDIAN_INLINE, BITS_INLINE): Document limited
+        suport for inlineing of modules for all callers.  Adjust relevant
+        macro's so that DEFAULT_INLINE will enable this.
+
+       * basics.h: Re-order #includes and definitions so that c-code for
+        basic include files does not call functions delcared in later
+        #includes.
+
+       * basics.h (__attribute__), sim_callbacks.h: Move attribute macro
+        to basics.h and add hack (include <stdio.h>) to try and bring that
+        and other possible conflicting macros into scope much earler.
+
+       * sim-endian.h,c (SIM_ENDIAN_INLINE) bits.h,c (BITS_INLINE):
+        Change to use the updated inline definitions.  If enabled
+        immediately include the corresponding c-code so that it will inline
+        for all modules.
+
+       * inline.h, inline.c (SIM_ENDIAN_INLINE, BITS_INLINE): Remove
+        these cases, moved to module specific header files.
+
+Sat Dec  2 18:37:51 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * vm.c, vm_n.c: Fix htab code.
+
+       * vm.c (vm_data_map_read_buffer): Was using EA not RA when reading
+        the data from core.
+
+       * device.c: Fix htab create code.
+
+Fri Nov 24 23:10:09 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * bits.h, bits.c (EXTRACTED): Convert to function, fix - had &&
+        instead of &.
+
+       * sim-endian.h (SWAP_N), sim-endian-n.h, sim-endian.c: How
+        embarasing - fix yet another bug in the swap code!  Simplify
+        everything by using more functions. Add host to big-endian byte
+        swapping support.
+
+Fri Nov 24 23:10:09 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * devices.h, devices.c: delete, replaced by the files
+        device_table.[ch] and device.[ch].
+       * device_tree.h, device_tree.c: ditto
+
+       * device_table.h, device_table.c: New files.  Contain a table of
+        devices.
+
+       * device.h, device.c, Makefile.in, std-config.h (DEVICE_INLINE),
+        options.c (print_options): New files.  Define the device object
+        along with any attached properties.
+
+       * device_tree.h, device_tree.c: Update to use new device object.
+        For convenience, change the printd functions into device_tree_add
+        functions.
+
+       * psim.c (create_*_tree): Use new device_tree create functions.
+
+       * corefile.h, corefile.c corefile-n.h (core_n.h): Update to use
+        the new device.h / device_table.h interface.  Rename core_n.h to
+        corefile-n.h to be consistent with other n files.
+
+       * Makefile.in (run): add corefile-n.h to dependencies for
+        corefile.
+
+       * basics.h (device_instance), device.h, device.c, device_table.h,
+        device_table.c: Add the concept of a device instance and operators
+        on these instances - corresponds to ihandle in OpenBoot speak.
+        Don't yet implement it.
+
+Tue Nov 14 12:27:08 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * emul_generic.h, emul_generic.c (emul_syscall_enter,
+       emul_syscall_exit): rename from emul_enter_call /
+       emul_exit_call. As only used by emul_do_system_call simplify
+       associated code.
+
+       * os_emul.h, os_emul.c, emul_generic.h: Correct and fill an
+       os_emul interface.
+
+       * os_emul.c, emul_bugapi.h, emul_bugapi.c, Makefile.in: Add
+       preliminary hooks for a kernel mode rom emulation.
+
+       * cap.h (new), cap.c (new): Capability data base.  Some emulations
+       pass object identifiers (capabilities?) to/from the simulated code
+       (for instance the phandle in OpenBoot).  The cap object is able to
+       check/map between internal and external (target program)
+       representations of each identifier.
+
+       * os_emul.c, emul_chirp.h, emul_chirp.c, Makefile.in: Add
+       preliminary hooks for a kernel mode IEEE-1275 emulation.
+
+       * cpu.h, cpu.c (cpu_create, cpu_os_emulation, cpu): Add os_emul to
+       list of arguments passed in when creating a cpu.  Grant access to
+       the element.
+
+       * std-config.h (OS_EMUL_INLINE), options.c (print_options),
+       inline.h, inline.c: New to allow control over inline of
+       corresponding code files.
+
+       * ppc-instructions (instruction_call): Add illegal instruction to
+       call the instruction-call emulation handler.
+
+       * interrupts.c (system_call_interrupt): Call renamed
+        os_emul_system_call function().
+
+       * emul_netbsd.c: Update to interface to generic emulation.  Since
+        all its functions are called via a table don't worry about any
+        inline.
+
+       * emul_generic.h, emul_generic.c, spa-*(delete): Remove references
+        and code for spa, no longer to be used.
+
+       * psim.c (create_chirp_device_tree): Fill out what was previously
+        the openboot create function so that it starts to create a full
+        OpenBoot device tree.
+
+Tue Nov 28 21:48:06 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * debug.h, debug.c: pte trace is made redundant by htab trace,
+        delete it.  Add vm to list of options.  Simplify tracing output so
+        lines are not as long.
+
+Tue Nov 14 12:27:08 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * events.h, events.c (event_queue_init), psim.c (psim_init): (re)
+       initialize the event queue.
+
+
+
+
+
+
+Tue Nov 28 13:38:26 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * sim-endian.h: Look at WORDS_BIGENDIAN to determine if the host
+       is big endian or little endian.  For SWAP_n, use htonl/htons if
+       host is little endian, not big endian and if WITH_NTOH is defined.
+
+       * configure{,.in} (--enable-sim-model-issue): Instead of defining
+       0/1, define it to be MODEL_ISSUE_{PROCESS,IGNORE}.  Add
+       AC_C_BIGENDIAN to determine if the host is big endian or not.
+       * config.in: Regenerate.
+
+       * std-config.h (WITH_MODEL_ISSUE): Default to 0.
+       (CURRENT_MODEL_ISSUE): Reference WITH_MODEL_ISSUE, and if that is
+       0, use current_model_issue.
+       (MODEL_ISSUE_{PROCESS,IGNORE}): Define as -1/1.
+
+       * psim.c (current_model_issue): New global variable.
+
+       * cpu.c (cpu_create): Use CURRENT_MODEL_ISSUE > 0 instead of
+       WITH_MODEL_ISSUE.
+       (cpu_{init,halt}): Ditto.
+       * mon.c (mon_print_info): Ditto.
+       * ppc-instructions (PPC_INSN_* macros, branch handling): Ditto.
+
+       * mon.c (mon_print_info): Print instructions/second if verbose > 0,
+       rather than > 1.
+
+       * main.c (main): Set current_model_issue to MODEL_ISSUE_PROCESS if
+       the -I switch is used.
+       * sim_calls (sim_open): Ditto.
+
+       * ppc-instructions (model support): Add support for determining
+       when we don't have enough writeback slots.  Add tracing for the
+       beginning of each cycle.
+
+Mon Nov 27 17:46:33 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * mon.c: Check for whether to include sys/types.h and sys/time.h.
+
+       * configure.in: Check for include files sys/types.h and
+       sys/time.h.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+       * cpu.h (CONST_ATTRIBUTE): Define as __attribute__((__const__)) if
+       not already defined.
+       (cpu_system): Use CONST_ATTRIBUTE, so that when we're not inlining
+       the world, the optimizer has a fair chance of CSE'ing function
+       calls.
+       (cpu_{monitor,nr,registers,model}): Ditto.
+
+       * std-config.h (MODEL_INLINE): If not defined, define as 1 if
+       DEFAULT_INLINE is non-zero, 0 otherwise, rather than just the
+       value of DEFAULT_INLINE.
+
+Fri Nov 24 11:24:34 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * lf.h (__attribute__): If not GCC and at least 2.7.0, define as
+       nothing.
+       (lf_printf): Add printf __attribute__, so the compiler will
+       automatically check the format string.
+
+       * configure{,.in} (--enable-sim-icache): If argument is define,
+       add -R to flags passed to igen.
+
+       * igen.c (stdlib.h): Include if the system supplies one.
+       (semantics_use_cache_struct): New global for -R flag to say
+       semantics is to use the cache structure directly rather than
+       putting the values into local variables.
+       (first_undef, last_undef): New structures to remember names to
+       #undef if -R.
+       (lf_print_c_extraction): If -R and this is semantics, emit names
+       as #defines pointing to the cache structure, rather than loading
+       the values into local variables.
+       (lf_print_c_semantic_function): If -R, #undef all of the names
+       defined in lf_print_c_extraction.
+       (main): Recognize -R.
+
+       * idecode_fields.h (SPR_*): Redefine spr_* macros as SPR_* to
+       avoid a name confict if -R passed to igen.
+
+       * ppc-instructions (mfspr, mtspr): Rename spr field to SPR.
+       (model_data): Add field to count the various # of CRs that the
+       mtcrf instruction used.
+       (model_mon_info): Return structures counting the # of CRs that the
+       mtcrf instruction used.
+       (branches, sync instructions): Do not call model functions if
+       WITH_MODEL_ISSUE is 0.
+
+       * mon.c (stdlib.h): Include if the system supplies one.
+       (mon_sort_instruction_names): New function to sort instruction
+       names alphabetically.
+       (mon_print_info): Call qsort with mon_sort_instruction_names to
+       sort instruction names.  Don't abort if WITH_MODEL_ISSUE is 0.
+
+       * debug.h (ITRACE): Make printf_filtered arguments type correct.
+       * idecode_expression.h (CR0_COMPARE): Ditto.
+       * psim.c (psim_read_register): Ditto.
+
+       * igen.c (lf_print_my_prefix): Use __attribute__((__unused__)) to
+       silence compiler warnings about unused automatically generated
+       variables.
+       (lf_print_c_extraction): Ditto.
+       * idecode_expression.h (FPSCR_BEGIN): Ditto.
+
+       * ppc-cache-rules: Define rules for making a bitmask for all
+       registers.
+
+       * ppc-instructions: Rewrite model specific functions to use the
+       bitmask of the register number, instead of using the register
+       pointer to get the register number, and then making the bitmask.
+
+Wed Nov 22 15:24:27 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppc-instructions (model_branches): Add conditional argument to
+       count the number of times each type of conditional branch is used.
+       (conditional branches): Pass B0 or -1 to model_branches.
+       (model_mon_info): Print out conditional branch counts.
+       (model-data): Add support for printing out conditional branch
+       types.
+
+Tue Nov 21 16:31:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * igen.c (insn_table_load_insns): Add support for model-static for
+       internal functions that should not be inlined.
+       (lf_print_c_semantic): Remove model_cleanup.
+       (gen_model_{c,h}): Ditto.
+
+       * ppc-instructions: Redo model specific support once again.  Add
+       floating point support to the model specific information.  Flesh
+       out all of the floating mutiply add/subtract instructions.  Add
+       better tracing support to the model specific information.
+
+Sun Nov 19 23:00:52 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppc-instructions (model data, model_busy): Rather than using a
+       bit mask for the busy units, just use a char array.  Also, only
+       support 2 function units an insn can use, rather than a loop.
+
+Fri Nov 17 14:08:08 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * table.c (table_entry_read): Move setting entry->line_nr to after
+       the model specific fields so the line numbers for the annex are
+       correct.
+
+       * cpu.c (cpu_{create,init,halt}): Check for WITH_MODEL_ISSUE
+       before calling the model functions.
+
+       * debug.c (trace_descriptor): Add trace_model support.
+       * debug.h (trace_options): Ditto.
+
+       * igen.c (gen_icache_h): Create type idecode_cache as void if not
+       caching instructions.
+       (gen_model_{c,h}): Drop model_issue support.  Add support for
+       model_cleanup.
+       (lf_print_my_prefix): Initialize a const itable_index with the
+       current index.
+       (lf_print_c_semantic): Call model_cleanup at the end of the
+       function to check for instructions that aren't supported yet by
+       the scheduling code.
+
+       * mon.h (count_type): New type for counters.
+       * mon.c: Use count_type instead of unsigned.
+
+       * ppc-instructions: Redo scheduling code once again.  Make it all
+       inline friendly.  Instead of having general code emitted by igen,
+       go the route of having each semantic routine call the appropriate
+       module.
+
+Thu Nov 16 09:52:26 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * table.c (table_entry_read): Allow the annex to have blank lines.
+
+       * ppc-instructions: Change lines in model stuff that just have a
+       tab to just newline.  Add 601 support.  Document most instructions
+       in terms of model specific timing information.  Drop 'FUNCTION'
+       from PPC_FUNCTION_UNIT_xxx enums.  Change PPC_UNIT_UNKNOWN ->
+       PPC_UNIT_BAD.  Add TRACE(trace_tbd) for all data cache
+       instruction.s.  Signal illegal instruciton if data cache block
+       invalidate is issued from problem state.
+
+       * igen.c (max_model_fields_len): New static to keep track of the
+       max size for the model specific fields.
+       (model_c_insn): Use max_model_fields_len to size fields.
+       (insn_table_insert_insn): Set max_model_fields_len.
+       (model_table_insert): Ditto.
+       (gen_model_{c,h}): Model_issue is now called with a processor
+       argument.
+
+       * debug.c (trace_description): Add support for trace_tbd.
+
+       * mon.c (mon_issue): Pass processor argument to model_issue.
+
+       * Makefile.in: Delete all function unit support, since the newer
+       table driven model support replaces it.
+       * cpu.{c,h}: Ditto.
+       * mon.c: Ditto.
+       * inline.{c,h}: Ditto.
+       * std-config.h: Ditto.
+       * options.c: Ditto.
+       * configure{,.in}: Ditto.
+       * Makefile.in: Ditto.
+       * psim.c: Ditto.
+       * function_unit.{c,h}: Delete these now usused files.
+
+       * std-config.h (WITH_MODEL_ISSUE): Add new macro on whether to
+       trace instructions in a model specific manor.
+       * options.c (print_options): Print it out.
+       * configure{,.in}: Add --enable-sim-model-issue option.
+       * Makefile.in: Add --enable-sim-model-issue flags.
+       * igen.c (lf_print_c_semantic): Add call to mon_issue here.  Check
+       for WITH_MODEL_ISSUE.
+       * mon.c (mon_issue): Remove call to mon_issue_here.
+
+       * ppc-instructions: Move branch tracing to the actual branch
+       instructions, rather than testing it in model_issue.  Add code to
+       code successful/unsuccessful branch predictions, and the number of
+       conditional branches that fell through.
+
+Wed Nov 15 17:32:13 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * cpu.h (cpu_model): Add declaration.
+
+       * cpu.c (struct _cpu): Add model_ptr to hold model specific
+       information.
+       (cpu_model): Return the model internal pointer.
+       (cpu_{create,init,halt}): Call the appropriate model function.
+
+       * inline.c (mon.c): Move include of mon.c after model.c.
+
+       * mon.c (_cpu_mon): Add fields to count unaligned memory
+       references.
+       (mon_issue): Call model_issue, not function_unit_issue.
+       (mon_{read,write}): Count # of unaligned memory accesses.
+       (mon_print_info): Switch to calling model_mon_info and
+       model_mon_info_free instead of function_unit version.  Print out
+       number of unaligned reads/writes.
+
+       * {ppc-instructions,igen.c}: More global changes to add model
+       specific features.
+
+       * inline.{c,h}: Provide for inlining options.c.
+       * options.{c,h}: Ditto.
+       * std-config.h: Add OPTIONS_INLINE.
+
+Tue Nov 14 04:47:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (devices.o, main.o): Update dependency.
+
+       * igen.c (gen_model_h): Use correct variable in loop.
+       (gen_model_c): Use strcmp, strcasecmp.
+       (gen_model_c): Use EXTERN_MODEL for arrays.
+       (gen_model_h): Use STATIC_MODEL for arrays.
+       (lf_print_c_semantic_function_header): Delete unused function.
+
+       * main.c (cpu.h): Include cpu.h to get model.h.
+
+       * inline.h ({EXTERN,STATIC}_MODEL): Define.
+
+Mon Nov 13 09:14:13 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * igen.c ({insn,model}_table_fields): Spell mnemonic correctly.
+       (gen_itable_h,itable_c_insn): Ditto.
+       (model support): Move model support around, add support for
+       model-data, model-internal.  Use annex field for model-macros
+       now.
+
+       * configure.in (--enable-sim-inline): If --enable-sim-inline=no,
+       also define INLINE as nothing.
+       * configure: Regenerate.
+
+       * std-config.h (INLINE): Rather than nuking INLINE, only define it
+       as __inline__ if any of the INLINE flags are non-zero.
+
+       * options.c (print_options): Print out WITH_XOR_ENDAIN.
+
+Mon Nov 13 23:03:45 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * ppc-instructions (rfi): Add missing code.
+
+       * cpu.c (cpu_get_time_base): Fix calculation of current value of
+        time base register.
+
+       * ppc-spr-table (TBL, TBU): Fix TBL/TBU entries - was confusing
+        m[tf]tb with m[tf]spr.
+
+       * ppc-instructions (mtspr, mfspr): Fix mttbl - wasn't storing
+        lower word.
+
+Mon Nov 13 21:35:37 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * std-config.h (INLINE, STATIC_INLINE): Was being set to static
+        inline..  Only problem being that with ppc-opcode-simple this gave
+        it the chance to inline all the idecode functions with potentially
+        disasterous results on a 16mb PC.  For moment hobble INLINE.
+
+       * configure.in, std-config.h (WITH_SMP): Make that 5 processors by
+        default ...
+
+       * configure.in: Tweek flags passed to gcc for --with-sim-warnings.
+        Firstly make them errors and secondly remove the options gcc-245
+        doesn't reconize.
+
+Mon Nov 13 17:57:24 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * misc.c (zalloc), cpu.c (cpu_init), devices
+       (console_io_read_buffer_callback, icu_io_read_buffer_callback,
+       vm_io_read_buffer_callback), main.c (zalloc), mon.c (memset),
+       sim_calls.c (zalloc) : replace bzero() with memset().
+
+       * emul_netbsd.c (write_direntries), psim.c (psim_read_register,
+       psim_write_register): replace bcopy() with memcpy().
+
+Sun Nov 12 20:55:41 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * configure.in: for --disable-sim-inline (--enable-sim-inline=no),
+        force DEFAULT_INLINE to 0 rather then trusting the std
+        configuration.
+
+Sun Nov 12 20:55:41 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * igen.c (lf_print_idecode_table, idecode_table_leaf): Fix
+        generation of switch entries in tables - treat the same as
+        cracking/semantic functions.
+
+       * igen.c (idecode_switch_end, idecode_switch_leaf): Fix generation
+        of a boolean switch statement (field zero or non-zero).
+
+       * ppc-opcode-test-1, ppc-opcode-test-2: New files.  These test the
+        switch/table generation ability of igen.
+
+       * igen.c (idecode_switch_leaf): Fix code output when a switch
+        statement needs to look up a table.
+
+       * igen.c (idecode_declare_if_switch): New function called from
+        gen_idecode_c - need to declare any idecode switch functions
+        before they are used in idecode tables.
+
+       * igen.c (lf_print_c_cracker_function, idecode_crack_leaf,
+        idecode_crack_insn): Add is_inline_function argument to code
+        printing cracker functions which indicates if STATIC_IDECODE or
+        STATIC_INLINE_IDECODE should be used for definition.  For
+        idecode_crack_insn (which implies not duplicating/expanding) don't
+        declare function as inline - we assume that the only time this is
+        code is generated is when things are being tested.  For
+        idecode_crack_leaf, make static (instead of INLINE) if the
+        instructions parent is a table as function will always be called
+        via a table.
+
+       * igen.c (idecode_expand_if_switch): Declare as STATIC_IDECODE not
+        STATIC_INLINE_IDECODE. Only the outermost idecode switch will be
+        called directly, all others are called via a table.
+
+       * igen.c (lf_print_semantic_function_header, semantics_h_leaf,
+        semantics_h_insn, semantics_h_function,
+        lf_print_c_semantic_function, semantics_c_function): Add
+        is_inline_function argument to lf_print_semantic_function_header
+        to indicate if an inline or static function declaration/definition
+        should be output.  Depending on situtation call accordingly:
+        functions (not instruction semantic routines) are always inline;
+        Semantic routines are made inline when there is no icache (cache
+        will contain the function address) and are duplicating (see above)
+        and the parent of the instruction is a switch statement.
+
+       * igen.c (opcode_field_new): Delete.  Code changed to use ZALLOC
+        and moved to insn_table_find_opcode_field.
+
+       * table.c (table_open): Fix typo (nr_model_fields vs nr_fields).
+
+       * igen.c (model_c_insn): Suggestion - document the name of the
+        instruction on each line of the instruction model table.
+
+Fri Nov 10 00:44:38 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * emul_netbsd.c (do_ioctl): Cleanup compilation.
+
+       * sim_callbacks.h (__attribute__): Only define if not defined (was
+        already defined on NetBSD host).
+
+Wed Nov  8 21:49:52 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * std-config.h (WITH_XOR_ENDIAN), configure.in, Makefile.in: New
+        macro, indicates if the PowerPC's horrible XOR endian mode should
+        be suported.  Add to configure and make.
+
+       * vm_n.h (vm_data_map_read_N, vm_data_map_write_N), vm.c
+        (vm_instruction_map_read): If XOR endian, xor the address
+       with a value from an xor table (indexed by size of access).
+
+       * vm.c (vm_synchronize_context), cpu.c (cpu_synchronize_context):
+        set up xor table to xor if there is a conflict between the
+        CURRENT_TARGET_ENDIAN and the endian indicated in the MSR.  Move
+        check of suported change of endian mode from cpu.c to vm.c.
+
+       * vm.c (vm_data_map_write_buffer, vm_data_map_read_buffer):
+        Hopefully added correct hack to handle XOR endian mode.
+
+       FIXME: If NONSTRICT alignment and XOR ENDIAN and MSR indicates
+        little endian mode, the model accepts miss aligned transfers.
+
+       FIXME: Need to create an `init' device that, during
+        initializatioin for XOR mode, it mushes (XOR address) all the dma
+        data before passing it on to the core for storage. Just like the
+        real thing really.
+
+Wed Nov  8 21:49:52 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * devices.c (halt_io_write_buffer_callback): Use value written to
+        halt device to determine exit status.  Thus allowing
+        success/failure of OEA tests.
+
+Wed Nov  8 00:10:38 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * ppc-instructions (icbi): If icache present flush it.
+
+Tue Nov  7 23:36:31 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * devices.c (htab_init_callback): Add code to create htab/pte.
+
+       * devices.c (dma_file, file_init_callback, htab_init_callback):
+        New function - Dma the named file into memory at the specified
+        address.  Use.
+
+       * device_tree.h, device_tree.c (scand_*): New functions.
+
+Tue Nov  7 23:36:31 1995  Andrew Cagney   <cagneyhighland.com.au>
+
+       * filter_filename.c, Makefile.in: Change so that only dependant on
+        a very limited nr of files.  Stops an unnecessary dependency.
+
+Tue Nov  7 15:44:33 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * core.c (core_map_find_mapping): Use cpu_halt rather than error
+       to abort an access to an undefined address.
+
+Sun Nov 12 07:58:09 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * igen.c (model_table_insert_{macro,function}): New functions.
+       (insn_table_load_insns): Call them.
+       (gen_model_h): Move section emiting model-macros to be first.
+       (model_{c,h}_function): New functions cloned from semantic
+       functions to print out the prototype and function for
+       model-functions.
+       (gen_model_{c,h}): Print out model-functions.
+
+       * ppc-instructions (model_{start,halt,print_info}): Add dummy
+       model-functions.
+
+       * options.c (print_options): Print out WITH_{,DEFAULT_}MODEL, not
+       WITH_PPC_{,DEFAULT_}_MODEL.
+       (options_ppc): Delete now unused function.
+       (cpu.h): Include cpu.h, not just basics.h.
+
+       * std-config.h (WITH_{,DEFAULT_}MODEL): Define.
+
+       * igen.c (model_macros, last_model_macro): New statics to keep
+       track of macros to go in model.h.
+       (insn_table_load_insns): Add model-macros to model_macros linked
+       list.
+       (model_table_fields): Add field for printable name.
+       (gen_model_h): If there are model macros defined, print them out.
+       Print out DEFAULT_MODEL as the first model if there any models
+       specified, otherwise MODEL_NONE.  Print out external decl for
+       current_model.  Print out decl for model_set.
+       (gen_model_c): Add function model_set.  Switch to use printable
+       name for the model, not the internal identifier used.
+
+       * psim.c (current_model): New global variable.
+
+       * ppc-instructions: Add macros for flag defines.  Switch first
+       model so 604 is first.
+
+       * main.c (main): Call model_set, not function_unit_model.
+       * sim_calls.c (sim_open): Ditto.
+       * sim_calls.c, Makefile.in: sim_calls.c now includes cpu.h.
+
+Sat Nov 11 07:27:41 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * mon.h (mon_events): New enumeration for other events we want to
+       handle.
+       (mon_event): Add declaration for function.
+
+       * mon.c (mon_event): New function.
+       (mon_print_info): Print icache misses.
+
+       * psim.c (run_until_stop): Monitor icache misses.
+
+       * configure.in (--enable-sim-inline): Fix typos in handling comma
+       separated inline options.
+       (--enable-sim-icache): Echo icache size.
+       * configure: Regenerate.
+
+       * igen.c (semantics_h_print_function): Emit STATIC_SEMANTICS
+       instead of INLINE_SEMANTICS so that the compiler won't keep all of
+       the semantic functions as inline RTL, given that the address of
+       the function is taken which forces outline calls anyway.
+       (lf_print_c_semantic_function_header): Ditto.
+       (gen_semantics_h): Define STATIC_SEMANTICS as nothing if not
+       defined.
+       (lf_print_c_cracker_function): Emit STATIC_IDECODE instead of
+       STATIC_INLINE_IDECODE.
+       (gen_idecode_c): Define STATIC_IDECODE if not defined.
+       (gen_model_h): Use #ifdefs to define types to hold model units,
+       cycles, and flags.
+       (model_table_insert): Add a sentinel functional unit at the end to
+       simplify loop processing.
+       (model_c_insn): Use <function-unit>_SENTINAL instead of 0 for any
+       instruction not specifing a function unit for the current model.
+       (gen_model_{c,h}): Provide bounds for model_time_mapping.
+
+       * inline.h (STATIC_SEMANTICS): Define to be static if
+       SEMANTICS_INLINE is defined.
+       (STATIC_IDECODE): Define to be static if IDECODE_INLINE is
+       defined.
+
+       * options.c (print_options): Fix typo.
+
+Fri Nov 10 06:39:46 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (--enable-sim-{opcode,config}): Use $srcdir when
+       check for the existence of files.
+       * configure: Regenerate.
+
+       * table.c (table): New field nr_model_fields.
+       (table_open): New parameter nr_model_fields.
+       (table_entry_read): Parse model fields that begin with a '*' after
+       each instruction.
+       * igen.c, dgen.c: Change callers of table_open.
+
+       * igen.c: Add support for dumping model specific information in
+       model.h and model.c.
+       (insn_field_name): Delete unused array.
+       (global variables): Make global variables static, so we can tell
+       when they are no longer used.
+       (cache_semantic_actual): Delete unused variable.
+       (insn_table_load_insns): If the insn is really a machine model,
+       call model_table_insert instead of other processing.
+       (model_table_insert): New function to handle defining the
+       functional units of a particular machine model.
+       (insn_table): Add last_function field so we can add functions at
+       the end.
+       (insn_table_insert_function): Use last_function field when
+       appending new function.
+
+       * ppc-instructions: Add a few model specific information for 603,
+       603e, and 604 for testing purposes.
+
+       * table.h (table_model_entry): New linked list to hold model
+       specific information, one per line.
+       (table_entry): Add model_first, model_last fields.
+
+       * configure.in (--enable-sim-inline): If gcc is found and
+       --enable-sim-inline is not specified, defaine DEFAULT_INLINE to 1,
+       not 2.
+       (--enable-sim-reserved-bits): New switch to check whether reserved
+       bits are set in the instruction.
+       (--enable-sim-opcode): Make complex the default.
+       (all switches): Add appropriate checks and error messages.
+       * configure: Regenerate.
+
+       * Makefile.in (RESERVED_CFLAGS): New variable set by
+       --enable-sim-reserved-bits.
+       (CONFIG_CFLAGS): Include RESERVED_CFLAGS.
+       (BUILT_SRC): igen now generates model.c and model.h.
+       (LIB_OBJ): Include table.o.
+       (tmp-igen): Add -m/-M options to write model.c/model.h.
+       (model.o): New object.
+       (CPU_H): Include model.h.
+
+       * cpu.h: Include model.h.
+
+       * std-config.h (WITH_RESERVED_BITS): Define.
+       (MODEL_INLINE): Ditto.
+
+       * options.c (print_options): Print out WITH_RESERVED_BITS.
+
+Thu Nov  9 12:22:15 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: If --silent, don't output information messages.
+       * configure: Regenerate.
+
+       * configure.in (--enable-sim-alignment): Fix typo in specifing non
+       strict alignment.
+       (--enable-sim-switch): Make default on.
+       (--enable-sim-duplicate): Make default on.
+       (--enable-sim-smp): Make default 0.
+       (--enable-sim-mon): Don't set sim_float if not set.
+       (--enable-sim-inline): If gcc is found and --enable-sim-inline is
+       not specified, define DEFAULT_INLINE to be 2.
+       (all --enable-sim-* rules): Echo rules set to non empty to file
+       descriptor 6.
+       * configure: Regenerate.
+
+       * options.c (options_env): Fix typo if WITH_ENV is 0.
+       (print_options): Print GCC compiler version if available and
+       date/time options was compiled.  If OPCODE_RULES, IGEN_FLAGS,
+       and/or DGEN_FLAGS are defined, print them.
+
+       * Makefile.in (all link actions): Pass SIM_CFLAGS as well as
+       CFLAGS.
+       (options.o): Compile options.o with OPCODE_RULES, IGEN_FLAGS, and
+       DGEN_FLAGS defined, so they can be printed out.
+
+       * igen.c (lf_print_c_validate): Check for WITH_ASSERT, so that
+       this test can be compiled away if the user really wants a fast
+       simulator by not doing assertion failures.
+
+Wed Nov  8 13:19:47 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * options.c: New file to print out all of the WITH_ options.
+       * options.h: New include file to declare print_options.
+       * debug.h (trace_options): Add trace_opts to call print_options.
+       * debug.c (trace_description): Add trace_opts support.
+       * main.c (main): If user requested options, print them.
+       * sim_calls.c (sim_open): Ditto.
+
+       * igen.c (opcode_field_new): Add void to make it a proper prototype.
+
+       * emul_generic.c (emul_enter_call): Make printf_filtered arguments
+       type correct.
+       * emul_netbsd.c (do_kill): Ditto.
+       * registers.c (registers_dump): Ditto.
+       * vm.c (om_translate_effective_to_real): Ditto.
+       * vm_n.h (vm_data_map_read_N): Ditto.
+       (vm_data_map_write_N): Ditto.
+       * devices.h (DTRACE_INIT): Ditto.
+       (DTRACE_{ATTACH,DETACH}_ADDRESS): Ditto.
+       (DTRACE_IO_{READ,WRITE}_BUFFER): Ditto.
+       (DTRACE_DMA_{READ,WRITE}_BUFFER): Ditto.
+       * devices.c (update_for_binary_section): Ditto.
+       (write_stack_arguments): Ditto.
+       (stack_ioctl_callback): Ditto.
+       * device_tree.c (device_tree_add_passthrough): Ditto.
+       (device_tree_{add,find}_device): Ditto.
+       (device_tree_{add,find}_integer): Ditto.
+       (device_tree_find_{string,boolean}): Ditto.
+       (device_tree_init{,_device}): Ditto.
+       (device_tree_dump): Ditto.
+       * sim_calls.c (sim_{read,write}): Ditto.
+       (sim_{fetch,store}_register): Ditto.
+       (sim_stop_reason): Ditto.
+
+       * sim_callbacks.h (printf_filtered): Declare with attribute
+       printf, so we can enable format checks.
+
+       * devices.c (console_io_{read,write}_buffer_callback): Cast swtich
+       argument to int, since ANSI doesn't allow long switch values.
+       * emul_netbsd.c (do___sysctl): Ditto.
+
+       * emul_netbsd.c (do___sysctl): Fix up printf call.
+
+       * corefile.c (core_translate): Don't do arithmetic with void *
+       pointers.  Cast to char * first.
+
+       * function_unit.c (FUNC_{LOAD,STORE}): Rename from {LOAD,STORE}
+       and change all uses.
+
+       * Makefile.in ({FUNC,MODEL,WARNING}_CFLAGS): New flags set by
+       configure --enable switches.
+       (CONFIG_CFLAGS): Include FUNC_CFLAGS and MODE_CFLAGS.
+       (.c.o): Include WARNING_CFLAGS.
+       (CPU_H): Include function_unit.h.
+       (LIB_OBJ): Include function_unit.o.
+       (BUILT_SRC_WO_CONFIG): Split from BUILT_SRC and do not include
+       config.h or ppc-config.h.
+       (BUILT_SRC): Include BUILT_SRC_WO_CONFIG, config.h and
+       ppc-config.h.
+       (filter_filename.o): Include config.h/ppc-config.h dependencies.
+       (idecode.o, semantics.o, psim.o): Specify CC line without
+       WARNING_CFLAGS so that we don't get all of the unused variable
+       warnings that are generated.
+       (function_unit.o): Add rule to build.
+       (main.o, sim_calls.o): Add function_unit.h, itable.h dependencies.
+       (mon.o): Include mon.c dependency.
+       (TAGS): Depend on BUILT_SRC.
+       (clean): Don't delete config.h or ppc-config.h
+
+       * basics.h (sim_callbacks.h): Move include after the include of
+       config.h and ppc-config.h.
+
+       * bits.{h,c} (ROTL32,ROTL64): Move these functions to bits.c.  Add
+       support for BITS_INLINE to inline these.  Add declarations to
+       bits.h.
+
+       * configure.in (--enable-sim-warnings): Add new option to specify
+       compiler warnings for all modules except idecode.o and semantics.o
+       which have lots of unused variables because they are machine
+       generated.
+       (--enable-sim-function-unit): New switch to configure whether
+       function unit support is compiled in or not.
+       (--enable-sim-{,default-}mode): New switches to control which cpu
+       model is used.
+       * configure: Regenerate.
+
+       * corefile.c (core_attach_address_callback): Delete unused
+       variable device_address.
+
+       * cpu.c (struct _cpu): Add function unit pointer field func_unit.
+       (cpu_create): If WITH_FUNCTION_UNIT, call function_unit_create.
+       (cpu_init): If WITH_FUNCTION_UNIT, call function_unit_init.
+       (cpu_halt): If WITH_FUNCTION_UNIT, call function_unit_halt.
+       (cpu_function_unit): New function to return func_unit field.
+
+       * cpu.h (function_unit.h): Include new include file.
+       (cpu_function_unit): Declare.
+
+       * debug.c (stdlib.h): Test HAVE_STDLIB_H, not HAVE_STDLIB.
+       (config.h): Include config.h.
+
+       * devices.c (icu_io_write_buffer_callback): Delete unused variable
+       system.
+
+       * emul_generic.c (emul_exit_call): Print out status value.
+
+       * emul_netbsd.c (do_read): Delete unused variable nr_moved.
+
+       * filter_filename.h (includes): Include config.h, ppc-config.h,
+       not basics.h.
+
+       * inline.c: Include bits.c if BITS_INLINE.  Include
+       function_unit.c if FUNCTION_UNIT_INLINE.
+
+       * inline.h (INLINE_BITS): Define if BITS_INLINE.
+       (INLINE_FUNCTION_UNIT): Define if FUNCTION_UNIT_INLINE.
+
+       * interrupts.c (instruction_storage_interrupt): Delete unused
+       variable nia.
+
+       * lf.h (config.h): Include config.h.
+
+       * main.c (includes): Include function_unit.c.  If HAVE_UNISTD_H,
+       include unistd.h.
+       (usage): Update for -m model, -i, and -I options.
+       (main): Delete unused variables stack_pointer and i.  Add support
+       for -i, -m model arguments.  Call psim_print_info with verbose ==
+       1 if -i, and verbose == 2 if -I.
+
+       * mon.c (stdio.h): Include stdio.h to pick up sprintf prototype.
+       (mon_issue): Call function_unit_issue if function units are
+       supported.
+       (mon_print_info): Take psim * argument.  Print out information
+       from function_unit if available.  Move read/write stats to always
+       print, instead of printing if verbose > 1.  Fix up plural
+       vs. singular usage.
+
+       * mon.h (mon_print_info): Update prototype.
+
+       * psim.c (current_ppc_model): Add global variable.
+       (psim_print_info): Pass system argument to mon_print_info.
+
+       * sim_calls.c (function_unit.h): Include.
+       (sim_open): Add support for -i and -m model options.  If -i call
+       psim_print_info with verbose == 1, if -I, with verbose == 2.
+       (sim_resume): Delete unused variable program_counter.
+
+       * std-config.h (WITH_FUNCTION_UNIT): Define.
+       (ppc_model): Add enumeration giving all PowerPC models currently
+       known about.
+       ({WITH,CURRENT}_PPC_MODEL): Define.
+       (FUNCTION_UNIT_INLINE): Define.
+
+       * table.c (config.h): Include config.h.
+
+       * vm.c (om_virtual_to_real): Print pte_word_{0,1} so the compiler
+       doesn't complain that they're unused.
+
+       * vm_n.h (vm_data_map_read_N): Delete unused variable rval.
+
+Mon Nov  6 23:15:54 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * sim-endian.c (ppc-endian.c), sim-endian.h (ppc-endian.h):
+        renameed.  These files are target independant.
+       * Makefile.in, basics.h: update for new name.
+
+       * sim-endian.h (SWAP_N), sim-endian.c (_SWAP_1): Rename existing
+        SWAP_<N> to _SWAP_<N> so that sim-endian.h can contain SWAP_N
+        macro's as required.
+
+       * sim-endian.c, sim-endian-n.h (new file): Move endian code into a
+        debugable header file.
+
+       * ppc-instructions (Byte-Reverse): Enable byte reverse
+        instructions using SWAP_N macros.
+
+Mon Nov  6 10:39:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (config.status): Remove references to config.make
+       and config.hdr.
+
+       * config.{make,hdr}: Delete, no longer used.
+       * build-psim: Ditto.
+
+Mon Nov  6 20:49:56 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * sim_calls.c (sim_open): Fix parsing of `target sim' options.
+
+       * device_tree.c (device_tree_add_string): Wasn't saving the value
+       of the string being entered into the tree.
+
+       * psim.c (create_filed_device_tree): Not terminating string device
+       names with a null.
+
+       * psim.c (psim_create): Use `env' instead of
+       `environment-architecture' to be consistent with configure.
+       Reconize user/uea, virtual/vea and operating/oea.
+
+Sat Nov  4 12:29:45 1995  Fred Fish  <fnf@cygnus.com>
+
+       * core.c:  Rename to corefile.c
+       * core.h:  Rename to corefile.h
+       * inline.c: Include corefile.h, renamed from core.h.
+       * cpu.h: Include corefile.h, renamed from core.h
+       * vm.c: Include corefile.h, renamed from core.h
+       * corefile.c: Include corefile.h rather than core.h
+       * README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
+       references.
+       * Makefile.in (CPU_H): Change core.h to corefile.h
+       (vm.o):  Change dependency to corefile.h
+       (LIB_SRC): Change core.c to corefile.c.
+       (LIB_OBJ): Change core.o to corefile.o.
+       (corefile.o):  Change dependencies to corefile.c, corefile.h.
+
+Fri Nov  3 11:37:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppc-instructions (data cache instructions): Make all data cache
+       instructions nops instead of invalid instructions.
+
+       * Makefile.in (CONFIG_CFLAGS): Add ALIGNMENT_CFLAGS and
+       TIMEBASE_CFLAGS which weren't included.
+
+Thu Nov  2 08:54:04 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in: Uncomment built file dependencies.
+
+       * configure.in: Rewrite --enable-sim switch handling to use the
+       autoconf builtins so it works correctly if the configure or
+       Makefile.in files are modified and make decides to rebuild
+       Makefile.  Also document all of the --enable-sim switches
+       supported.  Check whether getrusage and sys/resource.h are
+       supported.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * Makefile.in: Add support for all of the variables set with
+       --enable-sim switches.
+
+       * Makefile.in (clean): make clean now removes all built sources as
+       well.
+
+       * cpu.c: Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_UNISTD_H,
+       HAVE_TIME_H, HAVE_SYS_TIMES_H, HAVE_SYS_RESOURCE_H defined in
+       the generated config.h.
+       * debug.c: Ditto.
+       * device_tree.c: Ditto.
+       * devices.c: Ditto.
+       * dgen.c: Ditto.
+       * emul_netbsd.c: Ditto.
+       * igen.c: Ditto.
+       * lf.c: Ditto.
+       * misc.c: Ditto.
+       * psim.c: Ditto.
+       * registers.c: Ditto.
+       * sim_calls.c: Ditt.
+       * table.c: Ditto.
+
+
+       * main.c (main): Call psim_print_info with verbose == 2.
+
+       * mon.c (mon_print_info): Align the cpu number and number of
+       instructions fields.  Do not print an instruction category if the
+       CPU did not execute any of those instructions.  Print out number
+       of reads and writes.  If getrusage is supported, print out number
+       of simulated instructins per second.
+
+       * configure.in: Add support for --enable-sim-opcode=stupid.
+       * configure: Regenerate.
+
+Wed Nov  1 23:46:59 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * std-config (INLINE_DEVICE_TREE): Don't inline either of
+        device_tree.c or devices.c.  There is no significant gain.
+
+       * configure.in, Makefile.in: add --enable-sim-icache=[0-9]* and
+       IGEN_ICACHE macro.
+
+Wed Nov  1 23:46:59 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * igen.c (main), misc.h (target_a2i, i2target), misc.c: Add
+        functions to convert between target and igen internal bit numbers.
+        Make IO go through these functions. Add -b (bit size) and -h (high
+        bit nr) options to igen.  Typical usage would be: ./igen -b 16 -h
+        15 for a 16 bit instruction format with the msb given a number 15.
+
+Wed Nov  1 22:17:32 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * dgen.c (main): Was outputting optarg even when it was NULL.
+
+Tue Oct 31 23:48:33 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * vm_n.h (vm_data_map_load_N, vm_data_map_store_n), debug.h,
+        debug.c: Add tracing of load/store unit (virtual) with -t
+        load-store.
+
+Tue Oct 31 21:44:01 1995  Andrew Cagney   <cagney@highland.com.au>
+
+        * std-config.h (WITH_ENVIRONMENT): Add USER_ENVIRONMENT which does
+        not include things such as the time base and events.
+
+       * interrupt.c, sim_calls.c, cpu.h, vm.c, configure.in: Add UEA to
+       all environment switches for above.
+
+       * psim.c (psim_create): ditto - new device tree node name is
+        /options/environment-architecture with values user, virtual and
+        operating.
+
+Tue Oct 31 21:31:32 1995  Andrew Cagney   <cagney@highland.com.au>
+
+       * ppc-opcode-stupid: Third example of use of opcode table - this
+        one expands all mtspr/mfspr and branch instructions.  Appears to
+        give about a 10% gain in performance if everything enabled.  Also
+        takes about 150mb of swap to build.
+
+Wed Nov  1 10:49:48 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * emul_netbsd.c (do_exit): Print arguments and close parenthesis
+       if tracing, since exit doesn't go through emul_exit_call.
+       (do_read): Print arguments if tracing.
+       (do_write): Ditto.
+       (do_open): Ditto.
+       (do_break): Ditto.
+       (do_kill): Ditto.
+       (do_dup): Ditto.
+       (do_sigprocmask): Replace trace with printing arguments if
+       tracing.
+       (do_ioctl): Print arguments if tracing.
+       (do_umask): Ditto.
+       (do_dup2): Ditto.
+       (do_fcntl): Ditto.
+       (do_gettimeofday): Ditto.
+       (do_getrusage): Ditto.
+       (do_fstatfs): Ditto.
+
+       * filter_filename.c: New file to provide filter_filename to strip
+       the directory prefix from a file.
+       * filter_filename.h: New include file to declare filter_filename.
+
+       * debug.h: Include filter_filename.h.
+       (TRACE,DTRACE,ERROR): Use filter_filename on __FILE__.
+
+       * misc.h: Include filter_filename.h.
+       (ASSERT): Use filter_filename on __FILE__.
+
+       * igen.c (lf_print_my_prefix): Use filter_filename on the filename
+       argument.
+
+       * Makefile.in: Add filter_filename support.
+
+       * ppc-instructions (dcbi, icbi): Make these NOPs rather than
+       invalid instructions.
+
+       * configure.in: Add support for more --enable-sim-* switches.
+       Use config.make and config.hdr to write to Makefile and config.h
+       respectively.  Don't rewrite Makefile, just append to it.
+       * configure: Regenerate.
+       * config.{make,hdr}: New shell scripts.
+
+       * Makefile.in: Remove all variables set by configure.in.
+       (psim.o): Depend on $(BUILT_SRC) also.
+
+       * emul_netbsd.c (do_gettimeofday,do_getrusage): When comparing an
+       integer, use 0, not NULL.
+
+Tue Oct 31 15:20:04 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: Add support for --enable-sim-inline,
+       --enable-sim-bswap, --enable-sim-cflags, --enable-sim-complex,
+       --enable-sim-switch, --enable-sim-duplicate, --enable-sim-filter,
+       and --enable-sim-endian switch to control various Makefile
+       variables.
+       * configure: Regenerate from configure.in.
+       * Makefile.in: Add various Make variables that the various
+       switches alter.
+
+       * std-config.h (DEFAULT_INLINE): Don't set this to 2 if using GCC
+       and optimizing by default.
+
+Fri Oct 27 19:26:27 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * bits.h (ROTL32, ROTL64): Were functions, made them macros, now
+       make them functions again.  Appears 2.6.3 is confused by just a
+       macro.
+
+Thu Oct 26 18:31:58 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-endian.c (SWAP_8): Fix 8 byte swap!
+
+       * psim.c (psim_create): Not correctly checking that runtime
+       configuration of things like ENDIAN, ENVIRONMENT and ALIGNMENT
+       matched the compiled in ones.
+
+       * debug.h (ITRACE), igen.c: Tidy up more tracing flags -
+       trace_semantics is now different to trace_idecode, the former
+       checks the cache.
+
+Tue Oct 24 21:54:13 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-instructions (mtsrin): Missing instruction
+       * ppc-instructions (mfsrin): Missing instruction
+       * ppc-instructions (eieio): Missing instruction
+
+Tue Oct 24 20:55:29 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * build-psim: New shell script - see internals for usage,
+       simplifies the process of building custom simulators.
+
+Mon Oct 23 23:48:59 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * std-config.h (SEMANTICS_INLINE): Tidy up notes on each of the
+        INLINE macros.  Make SEMANTICS_INLINE == 1 if DEFAULT_INLINE == 2.
+        Don't use DEFAULT_INLINE to define REGISTERS_INLINE DEVICES_INLINE
+        DEVICE_TREE_INLINE or INTERRUPTS_INLINE as none of these are on
+        the instruction or data critical paths.
+
+       * FIXME: devices.c/emul_netbsd.c would benefit (slightly) from
+       the inclusion of device_tree.c/emul_generic.c.
+
+Mon Oct 23 00:31:50 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * os_emul.[hc], emul_generic.[hc], emul_netbsd.[hc]: replace
+        system.[hc].  Start of suport for multiple emulations and
+        emulation state (os_emul object).
+
+       * emul_generic.[hc]: Start of code to implement proper system call
+       tracing (from spy).
+
+Sun Oct 22 21:33:51 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * cpu.h, cpu.c (cpu_init): New function, zero the registers before
+        the processor is started. Fixes problem of registers being
+        undefined when restarting from within gdb.
+
+       * cpu.h, cpu.c (cpu_flush_icache): New function, flushes the
+        instruction cache (if present).  Fixes problem of cpu caching gdb
+        breakpoint instructions.
+
+       FIXME: PSIM sometimes aborts calling error(), it should instead
+       call sim_error() say which takes care of housekeeping such as
+       saving the CIA before calling error.
+
+       * NOTE: cpu_flush_cache() instead of cpu_synchronize_context() is
+       used when restarting a simulation because the latter has the
+       unwanted side effect (well I as a kernel hacker think it is) of
+       performing an isync when the instruction stream doesn't contain
+       one.
+
+Sun Oct 22 19:27:48 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * mon.h (new), mon.c (new), std-config.h (WITH_MON): Performance
+        monitoring module. Counts both instructions issued and
+        load/stores.
+
+       * NOTE: mon does not contain to count instruction loads as this
+       information is already available from the mon_issue() hook.
+
+       * igen.c (lf_print_c_semantic), vm_n.h: Add counting code.
+
+       * psim.h, psim.c (psim_create), cpu.h, cpu.c (cpu_create): Attach
+        a common monitor to each of the cpus. Delete
+        cpu_increment_number_of_insns() and cpu_get_number_of_insns()
+        replaced by copied code in mon.[hc].
+
+Sun Oct 22 18:42:45 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * sim_calls.c, main.c, psim.c (psim_create): always create
+        `WITH_SMP' cpus.  The actual number of CPU's active in a
+        simulation run is taken from the device node: /init/smp (an
+        integer). WITH_SMP changed to 2 (remember to put it back to 0).
+
+Fri Oct 20 17:26:54 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * system.c: More system call emulation.  If code appears NetBSD
+       specific, make conditional to being compiled on a NetBSD system
+       (sigh).
+
+Wed Oct 18 23:02:20 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * Makefile.in, gen.c(delete), igen.c(new), dgen.c(new),
+       lf.[ch](new), table.[ch](new): Split into two generators - igen
+       that outputs the instruction tables and dgen that outputs the spr
+       tables.  Add -f (filter out) flag to igen to filter out certain
+       instructions (ex 64 bit ones) from the created tables.  Include
+       $(LIBIBERTY_LIB) in link options in case host lacks some libc
+       functions.
+
+       * NOTE: igen, since it was originally written for the
+       PowerPC/RS6000, things the MSB is 0 and the LSB is 63{31}.
+
+       * Makefile.in, std-config.h, ppc-cache-rules(new),
+       ppc-opcode-complex(new), ppc-opcode-simple(new): (for igen) Create
+       cache-rule and opcode-rule tables from macros found std-config.h.
+       Delete corresponding macro's from std-config.h.
+
+       * igen.c (gen_itable_c, gen_itable_h), Makefile.in: code to output
+       an table of all the instructions.  Code to output a type
+       enumerating all the instructin names.
+
+       * igen.c(lf_print_c_semantic): Move call to increment instruction
+       counter so that it occures _after_ the instruction has been fully
+       validated, was double counting illegal/invalid instructions.  Add
+       conditional so only compiled in when WITH_PROFILE enabled (enabled
+       by default).
+
+       * igen.c, cpu.h, cpu.c(cpu_increment_number_of_insns): Include
+       itable.h, count individual instruction types not just total,
+       adjust reporting functions to output this.
+
+       * ppc-instructions (64 bit Load Doubleword with Update Indexed):
+       Had 32./ instead of 31./
+
+       * ppc-instructions (64 bit Store Double Word Conditional Indexed):
+       bitrot - updated to use newer CR register operators.
+
+       * ppc-instructions (64bit Floating Convert from Integer
+       Doubleword): Correct call to Round_Float().
+
+Mon Oct 16 00:31:20 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * basics.h: #include "sim_callbacks.h" earlier so that its
+       prototypes are declared in all other header files.
+
+       * bits.h, bits.c, idecode_expression.h (ROTL32, ROTL64): Update
+       doc in bits.h, remove dead code in bits.c, move ROTL32/ROTL64 into
+       bits.h.
+
+       * cpu.c(cpu_add_commas), device_tree.h, device_tree.c(scand_*):
+       Add size of buffer argument to functions writing a string into a
+       buffer.  Check for buffer overflow.
+
+Sun Oct 15 22:16:11 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * devices.h, devices.c, debug.h, debug.c: add macro's for tracing
+        of each device.  Make parameter names consistent so macros work.
+        Use macro's in device functions.
+
+       * device_tree.c, devices.h, devices.c: include path to device in a
+        devices node when creating it.
+
+       * device_tree.c, debug.h, debug.c: Add tracing of `device-tree'.
+
+       * core.c: add tracing of core-device, adjust parameter names in
+       core functions to be consistent with those in devices*.
+
+Sun Oct 15 20:33:20 1995  Andrew Cagney  <cagney@highland.com.au>
+
+        * debug.h, debug.c (trace_option): New function. Parses the trace
+        option, updating the trace array.
+
+       * debug.h, debug.c (trace_usage): New function. Outputs the list
+        of all possible trace options.
+
+       * sim_calls.c (sim_open), main.c (main): Use new trace_option() to
+       parse trace options specified with the simpler -t flag.  Adjust
+       usage.
+
+       * FIXME: basic parsing of command line options is still duplicated
+       by main.c and sim_calls.c
+
+Thu Oct 26 10:42:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (clean): Delete *.i and *.out files.
+
+       * ppc-endian.c (SWAP_n): Add SET argument to allow use of SWAP
+       macros for either assignment or return.  Fix SWAP_8 to use a
+       union, and two SWAP_4's.  Delete SWAP_N, since nobody uses it now.
+       (ENDIAN_N): Add SET argument to SWAP_n calls.  Delete macro defs
+       that hardwired swapping on/off, let optimizer delete dead code.
+
+       * main.c (main): Add printf that we caught a signal and print out
+       the failing address.
+
+Thu Oct 19 21:43:39 1995  Fred Fish  <fnf@fishfood.amigalib.com>
+
+       * Makefile.in:  Remove tabs from otherwise empty line.
+       Confuses many non-GNU versions of "make".
+
+Wed Oct 18 08:51:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (clean): Delete files produced by gen.
+
+Mon Oct 16 17:34:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * gen.c (lf_print_c_semantic_function): Move counting # of
+       instructions here so it works with caching.
+       (gen_idecode_c): Move from here.
+
+Wed Oct 11 17:13:15 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * gen.c, ppc-instructions, psim.c: Fix code for generating
+       cracking instruction cache.  Delete the code that cached just the
+       result from doing an instruction lookup - this ran slower than no
+       cache at all.
+
+Fri Oct 13 09:58:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (gen.o): Include $(INLINE_CFLAGS).
+
+       * debug.h (ppc_trace): Rename from trace, to avoid a conflict with
+       TCL when gdb is linked with the simulator.
+       * debug.c (ppc_trace): Ditto.
+       * sim_calls.c (sim_open): Change trace -> ppc_trace.
+       * main.c (main): Ditto.
+
+       * cpu.c (cpu_add_commas): Remove extra static.
+
+Thu Oct 12 11:35:53 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (psim.o): Now that inlines are turned on, make
+       psim.o depend on all sources.
+
+       * cpu.c (cpu_add_commas): New function to format a long with
+       commas.
+       (cpu_print_info): Use it to print number_of_insns.
+
+       * ppc-endian.c (SWAP_n): New macros to speed up byte swapping for
+       2, 4, and 8 bytes.
+       (ENDIAN_N): If both target and host byte orders are known, don't
+       bother testing CURRENT_{TARGET,HOST}_BYTE_ORDER.
+
+       * ppc-endian.h (target specific H2T_n/T2H_n macros): Remove #if 0
+       to allow target specific H2T_n/T2H_n macros to be used.
+       (htonl, ntohl): If compiled on a 486 by GCC and WITH_BSWAP is
+       non-zero, redefine the htonl/ntohl macros to use the BSWAP instead
+       of the 3 instruction sequence that runs on 386s.
+
+       * std-config.h (WITH_{HOST,TARGET}_BYTE_ORDER): Don't override if
+       specified on the compile line.
+       (WITH_BSWAP): If not defined, define as 0.
+
+       * Makefile.in (INLINE_CFLAGS): Add -DDEFAULT_INLINE=2 to add
+       default inline support.  Pass INLINE_CFLAGS when compiling.
+
+       * devices.{h,c} (unimp_device_ioctl): Use STATIC_DEVICES, not
+       INLINE_DEVICES since GCC doesn't like inline functions that
+       accept variable arguments.
+       (stack_ioctl_callback): Make function just static because GCC
+       doesn't like inline functions that accept variable arguments.
+
+       * devices.h (STATIC_DEVICES): Define as empty if not defined.
+
+       * inline.c: Correct pathnames of included C files to match current
+       implementation.
+
+       * inline.h (STATIC_DEVICES): If DEVICES_INLINE is defined to be
+       non-zero, define STATIC_DEVICES to be static.
+
+       * std-config.h (INLINE): If GNU C and optimizing, define this as
+       __inline__.
+       (DEFAULT_INLINE): If not defined, define as 0.
+       (ENDIAN_INLINE): If not defined, define as DEFAULT_INLINE.
+       ({CORE,VM,CPU,EVENTS,REGISTERS,INTERRUPTS}_INLINE): Ditto.
+       ({SPREG,IDECODE}_INLINE): Ditto.
+
+Wed Oct 11 17:13:15 1995  Andrew Cagney  <cagney@highland.com.au>
+
+        * ppc-instructions: Initial cut of floating point suport added.
+       Of note include - use of host IEEE floating point instructions,
+       use of PowerPC manual pseudo code to handle the FPSCR.  It is not
+       currently a pretty sight.
+
+       * memory_map.h, memory_map.c, memory_map_n.h, core.h, core.c:
+       merge into core.h, core.c, core_n.h. The type memory_map replaced
+       with core_map.  This removes a level of pointer indirection when
+       translating an address.
+
+       * memory_map.h, memory_map.c, memory_map_n.h: delete.
+
+       * Makefile.in et.al (sorry): tweek to use new core, core_map and
+       core.h.
+
+Wed Oct 11 12:10:26 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * sim_calls.c, main.c: Add -g (trace_gdb) option, add tracing to
+       most of the other functions in sim_calls.c.
+
+       * basics.h (CONCAT3), memory_map.c, memory_map_n.h, Makefile.in:
+       Add macros to better cover up `generic' code.  Makes it possible
+       to step through the generic code!
+
+       * vm.c, vm_n.h, Makefile.in: ditto
+
+Tue Oct 10 15:42:59 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * devices.h, devices.c, memory_map.h, memory_map.c: Changed
+       callback interface so that there is a read/write buffer but no
+       read/write_word.  VEA default memory read/write handler sometimes
+       couldn't resolve an access and of those some were for a memory
+       fault and some were because gdb was making a bogus request.
+
+       * devices.h, devices.c, memory_map.h, memory_map.c, vm.h, vm.c:
+       eliminate transfer_mode (raw or cooked) parameter from read/write
+       buffer.
+
+Fri Oct  6 20:23:56 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-instructions (fmul, fmuls): correct instruction format - had
+       FRB instead of FRC.
+
+Wed Oct  4 17:31:12 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * psim.c, device_tree.h, device_tree.c, devices.c (printd_*,
+       scand_*): new functions to parse/print fields in device names
+       while hiding any machine dependency.
+
+       * devices.c, psim.c: Change the stack init code so that it is
+       handled by a device.  Arguments passed across using a device ioctl
+       (hack).
+
+       * devices.h, devices.c: device ioctl callback changed to allow a
+       variable number of arguments.  This gives greater flexability and
+       greater chance of bugs.
+
+Tue Oct  3 22:01:56 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * main.c (printf_filtered, error): Missing va_end() to close off
+        variable argument use.
+
+       * Makefile.in (tmp-gencode): comment out hack to get around some
+        versions of make not handling files being created as side-effects.
+
+       * gen.c (lf_open): Add -n (real_file_name) option.  Specifies an
+        alternative file name to use in output files for things like #line
+        macros.
+
+        Makefile.in (tmp-gencode): Use gen -n so that debug info is
+        correct.
+
+       * Makefile.in (TARGETLIB): Use this instead of libsim.a in the
+       Makefile.
+
+Sat Oct  7 22:40:59 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * sim_calls.c (sim_set_callbacks): Define new function.
+
+Fri Oct  6 17:23:10 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * psim.c (psim_print_info): Print exit status or signal number.
+
+Mon Oct  2 11:46:37 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * cpu.c (struct _cpu): Add number_of_insns field to trace how many
+       instructions are executed.
+       (cpu_increment_number_of_insns): New function to increment the
+       number of instructions issued.
+       (cpu_get_number_of_insns): New function to return the number of
+       instructions issued.
+       (cpu_print_info): New function to print cpu related information.
+       At present, print the number of instructions executed.
+
+       * gen_idecode_c: Emit call to cpu_increment_number_of_insns within
+       idecode_issue.
+
+       * psim.c (psim_print_info): New function to iterate over each of
+       the CPU's calling cpu_print_info.
+
+       * psim.h,cpu.h: Add new declarations.
+
+       * sim_calls.c (sim_open): Add argument processing to add the same
+       switches main.c accepts for the standalone processor.
+       (sim_close): Call psim_print_info if -I.
+
+       * main.c (main): Add comment saying to update sim_calls.c when
+       adding switches.  Add -I to call psim_print_info when done.
+       (usage): Update usage message.
+
+Sun Oct  1 13:52:59 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * main.c (printf_filtered): Correct to match new prototype.
+
+Sat Sep 30 20:47:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * sim_callbacks.h (printf_filtered): Correct prototype.
+
+Thu Sep 21 16:26:49 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * device_tree.c (OEA_MEMORY_SIZE): Define if not defined to
+       0x100000.
+       (clayton_memory_size): Define as OEA_MEMORY_SIZE.
+
+       * std-config.h (WITH_TRACE): Default to 1 now.
+
+       * psim.c (write_stack_arguments): Don't write any stack arguments
+       if OEA.
+
+       * main.c (main): Switch to using getopt.  Make -p also set
+       trace_semantics.  Make -a turn on all trace flags.  Make -C turn
+       on console tracing.
+
+       * device_tree.c (create_option_device_node): Assume a program is
+       OEA if the start address is < 4096, not just == 0.
+
+Wed Sep 20 13:36:06 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New synonym for realclean.
+
+Sun Sep 10 10:23:56 1995  Michael Tiemann  <tiemann@axon.cygnus.com>
+
+       * registers.c (register_description): Add gdb synonyms for cr
+       (cnd) and msr (ps).
+
+Fri Sep  8 13:16:10 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (install): Don't install in $(tooldir).
+
+       * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
+       bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
+       AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES, AR,
+       and CC_FOR_BUILD.  Call AC_CHECK_HEADERS for various header files.
+       Touch stamp.h if creating config.h.
+       * configure: Rebuild.
+       * config.in: New file, created by autoheader.
+       * Makefile.in (AR): Define as @AR@.
+       (CC): New variable, defined as @CC@.
+       (CFLAGS): Define as @CFLAGS@.
+       (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@.
+       (RANLIB): Define as @RANLIB@.
+       (HDEFINES, TDEFINES): New variables.
+       (@host_makefile_frag@): Remove.
+       (mostlyclean): Make the same as clean, not distclean.
+       (clean): Remove config.log.
+       (distclean): Remove config.h and stamp-h.
+       (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
+       invoking config.status.
+       (config.h, stamp-h): New targets.
+       (gen, gen.o): Build with CC_FOR_BUILD, not CC.
+       (ppc-config.h): Rename from old config.h build.
+       * (basics.h,gen.c,ppc-endian.c,psim.c): Include ppc-config.h.
+
+Fri Sep  8 09:51:03 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure{,.in}: Don't include sysdep.h from bfd, since bfd no
+       longer provides it.
+       * basics.h (sysdep.h): Don't include it.
+       * Makefile.in (BASICS_H): Remove sysdep.h.
+
+Wed Sep  6 13:25:42 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * core.c (core_add_data): First growth of bss was being put at
+        wrong address (0) instead of &end.
+
+       * core.c (core_add_stack, core_add_data): Was not handling case
+        where bss/stack is grown across the current end-of-{bss,stack}.
+
+Wed Sep  6 00:46:10 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * system.c (system_call): Fix SYS_break - was aligning bss to a
+        page boundary instead of just an 8 byte one; On first call sbrk(0)
+        != sbrk(0).
+
+Thu Aug 24 14:48:54 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * Makefile.in (install): Fix install rule.
+
+Tue Aug 22 09:31:18 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * system.c (system_call): Add read support.
+
+       * main.c (main): -t sets trace_device_tree.  Correct usage message
+       to current reality.
+
+       * device_tree.c (update_memory_node_for_section): Make tracing
+       output line up.  If not code or readonly, assume that the section
+       is a data section and has read/write permissions.  Add readonly
+       support.
+
+       * core.c (create_core_from_addresses): Print end address in traces
+       and make tracing output line up.
+
+       * Makefile.in: Rewrite from Makefile to work with the Cygnus
+       environment, and support compiling in a different directory than
+       the sources reside in.
+
+       * ppc-endian.h: Rename from endian.h so that it doesn't get
+       confused with /usr/include/sys/endian.h on Linux.  Add Linux
+       endian support.
+
+       * ppc-endian.c: Rename to be consistant with ppc-endian.h.
+       Include ppc-endian.h, not endian.h.
+
+       * basics.h (sysdep.h): Include sysdep.h that configure makes.
+       Include ppc-endian.h, not endian.h.
+
+       * std-config.h: Rename from ppc-config.  Put #ifndefs around most
+       configuration macros, so they can be overridden via CFLAGS.  By
+       default, turn off tracing.
+
+       * configure.in: Clone from other simulator targets.
+       * configure: Generate via autoconf from configure.in.
+
+Sat Aug 19 09:05:32 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * ppc-instructions: fix srawi (was geting XER[CA] real wrong).
+
+       * interrupts.c (data_storage_interrupt): allow stack to grow by
+        upto one MB per increment.
+
+       * ppc-instructions: divw was computing rA / rA not rA / rB
+
+       * main.c (main): really stupid. Wasn't exiting with correct status
+
+Fri Aug 18 00:38:01 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * system.c (system_call): add system calls kill(2) and getpid(2).
+
+       * main.c (main): Check/return exit status when simulation
+        finishes.
+
+Thu Aug 17 14:29:18 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * device_tree.c (create_option_device_node): Alignment rules (at
+       least for the moment) now are for strict alignment only for LE OEA
+       mode.  (Because of compiler problems).
+
+       * system.c (system_call) SYS_exit: Wasn't exiting with correct status.
+
+Thu Aug 17 01:16:38 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * vm.c (DEFINE_VM_DATA_MAP_WRITE_N): For miss aligned transfer
+        forgot to return.
+
+       * system.c (system_call): didn't page align break argument before
+        determining increment break increment.
+
+       * psim/ppc: Re-arange entire directory structure so that
+        everything lives in the one directory.  While a pain for cleaning,
+        makes building across multiple architectures much simpler.
+
+       * devices.c, device_tree.c: Added code that provides a simple
+        illustration of how an interrupt control device could be
+        implemented.
+
+       * devices.c: Added code so that the dumb console device can read
+        (from stdin) as well as write to stdout.
diff --git a/sim/ppc/ChangeLog.00 b/sim/ppc/ChangeLog.00
deleted file mode 100644 (file)
index 9f6612f..0000000
+++ /dev/null
@@ -1,2168 +0,0 @@
-Wed May 29 22:57:40 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-       * ChangeLog.00, ChangeLog: ChangeLog from gdb-4.16 becomes
-        ChangeLog.00
-
-Thu Apr  4 15:17:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * INSTALL: Fix some long lines and remove x86 specific options in
-       the examples.
-
-Sun Mar 31 15:47:33 1996  Andrew Cagney  <cagney@kremvax.highland.com.au>
-
-        * INSTALL: Update to reflect gdb-4.16.
-
-        * RUN: Update to reflect gdb-4.16.  Review notes on building a BSD
-        runtime environment.
-
-       * README: Point out copyright status of simulator in introduction.
-
-Thu Mar  7 19:53:49 1996  Michael Meissner  <meissner@cygnus.com>
-
-       * emul_netbsd.c: Only include sys/mount.h if HAVE_SYS_MOUNT_H is
-       defined.
-       * configure.in: Test for sys/mount.h.
-       * configure,config.in: Regenerate.
-
-Thu Feb 22 22:48:57 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * README, RUN, INSTALL: Update to reflect announcement
-       * psim: PSIM 1.0.1 released
-
-Thu Feb 22 14:01:56 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_bugapi.c (emul_bugapi_do_read): New function to handle
-       reads.
-       (emul_bugapi_instruction_call): Add support for .INCHR/.INLN
-       system calls.
-
-       * emul_bugapi.c (emul_bugapi_do_write): Call flush_stdoutput.
-       * emul_netbsd.c (do_write): Call flush_stdoutput.
-
-       * main.c (flush_stdoutput): Do fflush (stdout).
-       * sim_calls.c (flush_stdoutput): Do gdb_flush (gdb_stdout);
-       * sim_callbacks.h (flush_stdoutput): Declare.
-
-Wed Feb 21 10:39:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_bugapi.c (bug_mapping): New structure to map bug system
-       call numbers to a string.
-       (toplevel): Add remaining bugapi system calls.
-       (emul_bugapi_instruction_name): Map bugapi system call number to a
-       string.
-       (emul_bugapi_do_write): Common code to process write system calls.
-       (emul_bugapi_instruction_call): If os-emul tracing is on, trace
-       the system call.  Use the name to print unknown system call.
-       Correct implementation of _OUTLN.  Add support for _OUTSTR and
-       _PCRLR system calls.
-
-Wed Feb 21 17:07:27 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * NOTES: New file.  Ramblings on why things were done they way
-       they were.
-       
-       * psim.c (psim_options): Didn't enter the model value into the
-       device tree as a string.
-       
-       * cpu.c (cpu_synchronize_context): Wrong test for conditional
-       flush of cache.
-
-       * emul_generic.c (emul_add_tree_hardware): reg value didn't match
-       bus address.
-       
-       * ppc-opcode-flat: new file. Generate an instruction decode
-       function like ppc-opcode-complex but use switch statements.
-
-       * INSTALL: document new opcode file, add example configurations.
-
-Tue Feb 20 18:42:31 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * main.c (main): rename psim instance (system) to simulation and
-       make global.
-       * main.c (error): print out performance even when an error occures.
-
-       * emul_bugapi.c (emul_bugapi_create): Fix argument passing.
-
-       * emul_generic.c (emul_add_tree_hardware): Move hardware devices
-       to 0x80000000 from 0x400000.
-
-Mon Feb 19 22:54:40 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-instructions (TLB Invalidate Entry, TLB Invalidate ALL):
-        Implement by passing on request to all processors.
-       * ppc-instructions (TLB Synchronize): Implement as empty, processor
-       tlb's are always in sync.
-
-       * cpu.c (cpu_page_tlb_invalidate_all): New function.  Pass on TLB
-        invalidate request to processors VM sub-system.
-       * cpu.c (cpu_page_tlb_invalidate_entry): Ditto.
-
-       * vm.c (vm_page_tlb_invalidate_all): New function. Mark all page
-        TLB entries as invalid.
-       * vm.c (vm_page_tlb_invalidate_entry): New function. Ditt but only
-       invalidate one TLB entry.
-
-       * psim.c (psim_init): Invalidate TLB's before (re)starting.
-
-Mon Feb 19 21:25:56 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_generic.c (emul_add_tree_options): Add argument
-        oea_interrupt_prefix (0 or 1) that specifies the prefix MSR[IP]
-        and hence the location of the interrupt vectors.  Add this to the
-        device tree.
-
-       * emul_chirp.c (emul_chirp_create): Allow configuration of
-        floating-point and interrupt prefix (default 0) using the above.
-
-       * emul_netbsd.c (emul_netbsd_create): Pass dummy arg for
-        interrupt-prefix.
-
-       * emul_bugapi.c (emul_bugapi_create): Allow configuration of
-        interrupt prefix (default 1) and configure interrupt table traps
-        accordingly.
-
-       * emul_generic.c (emul_add_tree_hardware): Include a small eeprom
-        in the list of devices.
-
-       * device_table.c: For moment fake eeprom device by a memory
-        device.  In future will need a proper eeprom device.
-
-Tue Feb 20 17:01:26 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * config.in: Regenerated.
-
-Fri Feb 16 10:42:27 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * psim.c: Include options.h so print_options is declared.
-
-Thu Feb 15 18:10:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_netbsd.c (toplevel): Do not include sys/resource.h if the
-       system doesn't have it, and turn off getrusage processing.
-       (write_rusage): #ifdef out if we don't have getrusage.
-       (do_getrusage): Define as 0 if we don't have getrusage.
-
-Wed Feb 14 17:38:12 1996  J. T. Conklin  <jtc@cygnus.com>
-
-       * configure.in (AC_HEADER_DIRENT): Add, so that we can figure out
-       where the directory functions are declared.
-       * configure: Regenerate
-
-       * emul_netbsd.c: Use the macros defined by configure to find the
-       appropriate directory functions.
-
-Thu Feb  8 00:53:13 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * configure.in (xor_endian): Trace setting of xor-endian flag.
-
-Wed Feb  7 18:20:56 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * psim.c (psim_usage): Extend documentation.
-
-       * ppc-instructions (model-print): fix typo.
-
-Sun Feb  4 23:58:02 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * configure.in (with-smp): Default configuration allow up to
-       five processors (but enable only one).
-
-       * emul_bugapi.c (emul_bugapi_create): If floating-point is
-       allowed, enable the floating point instruction set in the
-       msr.
-
-Tue Jan 30 22:52:32 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_chirp.c (chirp_emul_seek, chirp_emul_read,
-        chirp_emul_write): Tolerate invalid ihandles.
-
-       * device.c (device_instance_create, device_instance_delete):
-       init/delete instance name
-
-       * emul_chirp.c (emul_chirp_instruction_call): Read the nr args and
-        returns when determining the service.
-
-       * emul_chirp.c (chirp_read_t2h_args): Allow variable number of
-        args for the method "call-method".
-
-       * emul_chirp.c (chirp_emul_getprop): Tolerate a n_returns of zero
-        - should be one. Some OpenBoot code doesn't pass correct arg.
-
-       * emul_chirp.c (chirp_emul_getprop): Trace more property types.
-
-Tue Jan 30 19:12:29 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * RUN: New file. Describe how to run PSIM
-       * INSTALL: New file. Describe how to install PSIM
-       * README: New file. Overview PSIM.
-       * BUGS: New file. Briefly discuss bugs and limitations
-       
-Wed Jan 24 20:28:08 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_bugapi.c (OEA_START_ADDRESS): Put it back to 0x100000,
-        wasn't correctly using GLD.
-
-Mon Jan 22 22:44:13 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_generic.c (emul_add_tree_options): Make default number of
-       active processors 1 (even when SMP enabled).
-
-Mon Jan 22 22:37:34 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_table.c (icu_io_read_buffer_callback): Add extra register
-        (at addr + 4) that returns number of processors.
-
-       * emul_generic.c (emul_add_tree_hardware): Update device node to
-        match.
-
-Mon Jan 22 22:00:42 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_bugapi.c (OEA_START_ADDRESS): Change to 0x4000 so that it
-        matches gas-960116/ld.
-
-Fri Jan 19 00:32:27 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * psim-960119 released - psim-1.0b01.
-
-Fri Jan 19 00:32:27 1996  Andrew Cagney - aka Noid  <cagney@highland.au.com>
-
-       * psim.c (psim_create): Re-order so that all options are set
-        before the CPU's are created.  Was breaking mon_create();
-
-       * psim.c (psim_create): Tidy up conflicting configuration errors.
-
-       * debug.c: Add missing print-info entry to trace table.
-
-       * os_emul.c (os_emul_create): Fix `-e' option. Was looking under
-        wrong name.
-
-       * psim.c (psim_options): Fix `-r' option. Was entering under wrong
-        name.
-
-Thu Jan 18 20:33:48 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * vm.c (om_unpack_bats): Fix checking of bat bits.
-
-       * emul_chirp.c (emul_chirp_create): Store address of OB in memory
-       in the os_emul_data structure.
-
-       * emul_bugapi.c (emul_bugapi_create): Store the address of the
-       bugapi code (in main memory) in the os_emul_data structure.
-
-Thu Jan 18 01:14:55 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * vm.c (om_translate_effective_to_real): Fix trace output.
-
-Wed Jan 17 22:21:55 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_table.c (generic_device_init_address): Create memory from
-        information obtained from `reg' property.
-       * device_table.c (vm_init_address_callback): Use information
-        obtained from properties.
-       * emul_netbsd.c (emul_netbsd_create): Update to create device and
-        property entries to match
-
-Tue Jan 16 09:50:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * idecode_expression.h (ALU_END): Add ITRACE of the result.
-
-       * ppc-instructions (Equivalent): Enable this instruction.
-       (Add to Minus One Extended): Ditto.
-       (Subtract from Minus One Extended): Ditto.
-       (Add/And/Or/Xor Immediate): Add alu trace of result.
-       (Add/And/Or/Xor Shifted Immediate): Ditto.
-       (And/Or/Equivalent/Nand/Nor): Ditto.
-       (And/Or with Complement): Ditto.
-       (Extend Sign Byte/Half Word): Ditto.
-       (Count Leading Zeros): Ditto.
-       (Shift Right Algerbraic Word): Ditto.
-       (Shift Right Algerbraic Word Immediate): Ditto.
-
-Tue Jan  9 15:10:27 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_bugapi.c (emul_bugapi_instruction_call) : Make format type
-       correct.
-       * emul_chirp.c (map_over_chirp_note) : Ditto
-       * emul_chirp.c (chirp_emul_test) : Ditto
-       * device_table.c (register_init): Ditto
-
-Tue Jan  9 14:16:26 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * configure.in: Make disable-sim-switch default.  Switch only
-       useful if using --enable-sim-opcode=ppc-opcode-stupid and then
-       only marginally so.
-
-Mon Jan  8 12:17:22 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * device_table.c (register_init): Make format type correct.
-
-Wed Jan  3 19:21:46 1996  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_bugapi.c (emul_bugapi_create): Add nodes to init the
-       system-call trap to the emul instruction call instruction (Along
-       with an rfi and infinate loop).
-
-       * emul_bugapi.c (emul_bugapi_instruction_call): Expand to include
-       a few real PPC bug calls.  Test with simple hello world.
-
-Tue Jan  2 20:51:19 1996  Andrew Cagney - aka Noid  <cagney@highland.com.au>
-
-       * device.h, device.c (device_child, device_sibling): New
-        functions.  Return corresponding device value.
-
-       * emul_chirp.c (chirp_emul_child, chirp_emul_peer,
-        chirp_emul_parent): New functions - emulate corresponding OpenBoot
-        interfaces.
-
-       * device_table.c (register_init): Extend properties attached to
-        register init node to allow a specific processor's register to be
-        specified.
-
-       * emul_chirp.c (emul_chirp_create): Init SMP correctly - the
-        initial PC for all processors is an infinate loop but then, for
-        processor zero, is quickly changed to be the correct code starting
-        address.
-
-       * emul_chirp.c (emul_chirp_create): Add fake bootpath
-        et.al. properties to tree.
-
-       * emul_chirp.c (chirp_emul_getproplen): New function.  Emulate the
-        getproplen OpenBoot call.
-
-       * emul_chirp.c (emul_chirp_instruction_call): Document other
-        possible chirp emulation internal states.
-
-       * emul_chirp.c (emul_chirp_instruction_call): Trace failed lookups
-       as well as successful ones.
-       
-       * emul_chirp.c (emul_chirp_open): New function - handle open
-        client call.
-
-       * Makefile.in (maintainer-clean): Proper rule that eliminates more
-        junk.
-
-Tue Dec 19 13:00:11 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_chirp.c (chirp_emul_exit): Full out call.
-
-       * device_table.c (htab_map_page): Wasn't handling byte swap when
-       creating entries in the hash table.
-
-       * device.c (device_tree_find_node): Allow primative wild-card match
-       of device names with the path.
-
-       FIXME: As mentioned earlier, the device stuff needs work to bring
-       it into line with OpenBoot.  Part of this work is rewriting the
-       find_node function so that it behaves as specified in p1275.
-
-Mon Dec 18 19:58:56 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_chrp.c (chirp_emul_write, chirp_emul_finddevice): add
-       better tracing.
-
-       * emul_chrp.c: Change return type of emul functions to int.  Emul
-       functions either return -1 or zero so unsigned was a bit
-       dangerous.
-       
-       * inline.h (*), igen.c, dgen.c, *: Update INLINE macros so that
-        they are paramaterised with the type of the function.  Gets around
-        the problem of `static' needing to come first with `attribute'
-        comming last.  Format declarations and definitions so that emacs
-       doesn't get confused.
-
-Fri Dec 15 17:06:44 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * std-config.h (PSIM_INLINE): Add missing inline configuration
-       control for the main loop.
-
-       * mon.c (mon_print_info): If monitoring disabled still print out
-       the number seconds used.
-
-       * psim.c (run_until_stop): Don't monitor the cache misses when
-       monitoring is disabled.
-
-       * configure.in (sim_mon, sim_monitor): Correct typo - sim_mon ->
-       sim_monitor for shell variable (or should that have been the other
-       way around?).
-
-       * vm.c (vm_synchronize_context): Fix wrong test for unsuported
-       change in endian-mode.
-       
-       * std-config.h (WITH_REGPARM), inline.h (IDECODE_INLINE,
-       SEMANTICS_INLINE): Add -DWITH_REGPARM=<n> option.  Enables the
-       __attribute__((__regparm(WITH_REGPARM))) for some functions.
-       configure with --enable-sim-cflags="-DWITH_REGPARAM=3" (say).
-       Unfortunatly it tickles a bug (gcc?) and can't be used.
-
-Mon Dec 18 13:36:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * device.c (device_tree_add_device): Make trace fprintf arguments
-       type correct.
-       * device_table.c (htab_decode_hash_table): Ditto.
-       (htab_map_binary): Ditto.
-       (htab_init_callback): Ditto.
-       * vm.c (om_virtual_to_real): Ditto.
-
-Sat Dec 16 09:54:18 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
-
-       * emul_netbsd.c (emul_netbsd_create): Deal with new BFD that
-       changed how big/little endian support is recorded, while remaining
-       compatible with the old BFD with #ifdefs.
-       * emul_chirp.c (emul_chirp_create): Ditto.
-       * emul_bugapi.c (emul_bugapi_create): Ditto.
-
-Fri Dec 15 15:55:56 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * std-config.h (MODEL_INLINE): Turn off INLINE_MODULE by default.
-
-       * corefile.h: Delete declarations for unknown functions.
-       * device.h: Ditto.
-       * interrupts.h: Ditto.
-       * interrupts.c: Ditto.
-
-Thu Dec 14 18:49:34 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * lf.c (lf_print_function_type): New function.  Munges a function
-       type so that the prefix (eg INLINE...) is inserted after the type
-       but before any `*'.
-
-       * igen.c: Change to output functions using this.
-
-Wed Dec 13 23:47:00 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       FIXME: Emul CHIRP does not correctly implement the find device
-       function.
-
-       FIXME: Emul CHIRP and device do not implement device instance
-       operations.
-
-Wed Dec 13 23:47:00 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * options.c (options_inline): Function to output meaningful
-        description of the INLINE options.
-
-       * configure.in (inline): Replace inline magic numbers with macro
-        names. Map 1->LOCALS_INLINE and 2->ALL_INLINE.
-
-       * inline.h, inline.c: update to use inline method.
-
-       * std-config.h (CPU_INLINE), cpu.h, inline.h, inline.c: make cpu.h
-        inline always.
-
-       * std-config.h (EVENTS_INLINE): Inline events in psim.
-
-Wed Dec 13 22:01:21 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * device_table.c (htab_sum_binary): DMA binaries to correct byte
-        within a page.
-
-Tue Dec 12 22:51:18 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * psim.c (psim_merge_device_file): Change `=' to `==', was this an
-        error?
-
-Tue Dec  5 11:56:14 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-instructions (ppc_nr_mtcrf_crs, ppc_branch_conditional_name,
-       ppc_function_unit_name): Simplify by declaring these arrays as
-       pure and simple static (instead of STATIC_MODEL).
-
-Tue Dec  5 00:45:34 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * sim_calls.c (sim_create, sim_load), main.c (main), psim.c: Pass
-        an options device into psim_create() so that options can be merged
-        into the tree.
-
-       * device.c (*add*): Change semantics so the add functions only add
-        when the new device (or property) doesn't already exist.  This
-        allows merging of options and data.
-
-Mon Dec  4 17:12:13 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * Makefile.in (BASICS_H): Didn't include basics.h in the list of
-        header files to depend on.
-
-Mon Dec  4 17:12:13 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * std-config.h: (*_MODULE): Extend the <module>_inline macro's so
-        that they also allow control over static functions.  Rewrite
-        document to reflect this.
-
-       * std-config.h: (INLINE): Simplify definition, the above and
-        earlier changes to igen.h eliminate the need to be defensive about
-        enabling the inline of static functions.
-
-       * std-config.h: (SIM_ENDIAN_INLINE, BITS_INLINE): Document limited
-        suport for inlineing of modules for all callers.  Adjust relevant
-        macro's so that DEFAULT_INLINE will enable this.
-
-       * basics.h: Re-order #includes and definitions so that c-code for
-        basic include files does not call functions delcared in later
-        #includes.
-
-       * basics.h (__attribute__), sim_callbacks.h: Move attribute macro
-        to basics.h and add hack (include <stdio.h>) to try and bring that
-        and other possible conflicting macros into scope much earler.
-
-       * sim-endian.h,c (SIM_ENDIAN_INLINE) bits.h,c (BITS_INLINE):
-        Change to use the updated inline definitions.  If enabled
-        immediately include the corresponding c-code so that it will inline
-        for all modules.
-
-       * inline.h, inline.c (SIM_ENDIAN_INLINE, BITS_INLINE): Remove
-        these cases, moved to module specific header files.
-
-Sat Dec  2 18:37:51 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * vm.c, vm_n.c: Fix htab code.
-
-       * vm.c (vm_data_map_read_buffer): Was using EA not RA when reading
-        the data from core.
-
-       * device.c: Fix htab create code.
-
-Fri Nov 24 23:10:09 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * bits.h, bits.c (EXTRACTED): Convert to function, fix - had &&
-        instead of &.
-
-       * sim-endian.h (SWAP_N), sim-endian-n.h, sim-endian.c: How
-        embarasing - fix yet another bug in the swap code!  Simplify
-        everything by using more functions. Add host to big-endian byte
-        swapping support.
-
-Fri Nov 24 23:10:09 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * devices.h, devices.c: delete, replaced by the files
-        device_table.[ch] and device.[ch].
-       * device_tree.h, device_tree.c: ditto
-
-       * device_table.h, device_table.c: New files.  Contain a table of
-        devices.
-
-       * device.h, device.c, Makefile.in, std-config.h (DEVICE_INLINE),
-        options.c (print_options): New files.  Define the device object
-        along with any attached properties.
-
-       * device_tree.h, device_tree.c: Update to use new device object.
-        For convenience, change the printd functions into device_tree_add
-        functions.
-
-       * psim.c (create_*_tree): Use new device_tree create functions.
-
-       * corefile.h, corefile.c corefile-n.h (core_n.h): Update to use
-        the new device.h / device_table.h interface.  Rename core_n.h to
-        corefile-n.h to be consistent with other n files.
-
-       * Makefile.in (run): add corefile-n.h to dependencies for
-        corefile.
-
-       * basics.h (device_instance), device.h, device.c, device_table.h,
-        device_table.c: Add the concept of a device instance and operators
-        on these instances - corresponds to ihandle in OpenBoot speak.
-        Don't yet implement it.
-
-Tue Nov 14 12:27:08 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * emul_generic.h, emul_generic.c (emul_syscall_enter,
-       emul_syscall_exit): rename from emul_enter_call /
-       emul_exit_call. As only used by emul_do_system_call simplify
-       associated code.
-
-       * os_emul.h, os_emul.c, emul_generic.h: Correct and fill an
-       os_emul interface.
-
-       * os_emul.c, emul_bugapi.h, emul_bugapi.c, Makefile.in: Add
-       preliminary hooks for a kernel mode rom emulation.
-       
-       * cap.h (new), cap.c (new): Capability data base.  Some emulations
-       pass object identifiers (capabilities?) to/from the simulated code
-       (for instance the phandle in OpenBoot).  The cap object is able to
-       check/map between internal and external (target program)
-       representations of each identifier.
-       
-       * os_emul.c, emul_chirp.h, emul_chirp.c, Makefile.in: Add
-       preliminary hooks for a kernel mode IEEE-1275 emulation.
-
-       * cpu.h, cpu.c (cpu_create, cpu_os_emulation, cpu): Add os_emul to
-       list of arguments passed in when creating a cpu.  Grant access to
-       the element.
-
-       * std-config.h (OS_EMUL_INLINE), options.c (print_options),
-       inline.h, inline.c: New to allow control over inline of
-       corresponding code files.
-
-       * ppc-instructions (instruction_call): Add illegal instruction to
-       call the instruction-call emulation handler.
-       
-       * interrupts.c (system_call_interrupt): Call renamed
-        os_emul_system_call function().
-
-       * emul_netbsd.c: Update to interface to generic emulation.  Since
-        all its functions are called via a table don't worry about any
-        inline.
-
-       * emul_generic.h, emul_generic.c, spa-*(delete): Remove references
-        and code for spa, no longer to be used.
-
-       * psim.c (create_chirp_device_tree): Fill out what was previously
-        the openboot create function so that it starts to create a full
-        OpenBoot device tree.
-
-Tue Nov 28 21:48:06 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * debug.h, debug.c: pte trace is made redundant by htab trace,
-        delete it.  Add vm to list of options.  Simplify tracing output so
-        lines are not as long.
-
-Tue Nov 14 12:27:08 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * events.h, events.c (event_queue_init), psim.c (psim_init): (re)
-       initialize the event queue.
-
-
-
-
-
-
-Tue Nov 28 13:38:26 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * sim-endian.h: Look at WORDS_BIGENDIAN to determine if the host
-       is big endian or little endian.  For SWAP_n, use htonl/htons if
-       host is little endian, not big endian and if WITH_NTOH is defined.
-
-       * configure{,.in} (--enable-sim-model-issue): Instead of defining
-       0/1, define it to be MODEL_ISSUE_{PROCESS,IGNORE}.  Add
-       AC_C_BIGENDIAN to determine if the host is big endian or not.
-       * config.in: Regenerate.
-
-       * std-config.h (WITH_MODEL_ISSUE): Default to 0.
-       (CURRENT_MODEL_ISSUE): Reference WITH_MODEL_ISSUE, and if that is
-       0, use current_model_issue.
-       (MODEL_ISSUE_{PROCESS,IGNORE}): Define as -1/1.
-
-       * psim.c (current_model_issue): New global variable.
-
-       * cpu.c (cpu_create): Use CURRENT_MODEL_ISSUE > 0 instead of
-       WITH_MODEL_ISSUE.
-       (cpu_{init,halt}): Ditto.
-       * mon.c (mon_print_info): Ditto.
-       * ppc-instructions (PPC_INSN_* macros, branch handling): Ditto.
-
-       * mon.c (mon_print_info): Print instructions/second if verbose > 0,
-       rather than > 1.
-
-       * main.c (main): Set current_model_issue to MODEL_ISSUE_PROCESS if
-       the -I switch is used.
-       * sim_calls (sim_open): Ditto.
-
-       * ppc-instructions (model support): Add support for determining
-       when we don't have enough writeback slots.  Add tracing for the
-       beginning of each cycle.
-
-Mon Nov 27 17:46:33 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * mon.c: Check for whether to include sys/types.h and sys/time.h.
-
-       * configure.in: Check for include files sys/types.h and
-       sys/time.h.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-       * cpu.h (CONST_ATTRIBUTE): Define as __attribute__((__const__)) if
-       not already defined.
-       (cpu_system): Use CONST_ATTRIBUTE, so that when we're not inlining
-       the world, the optimizer has a fair chance of CSE'ing function
-       calls.
-       (cpu_{monitor,nr,registers,model}): Ditto.
-
-       * std-config.h (MODEL_INLINE): If not defined, define as 1 if
-       DEFAULT_INLINE is non-zero, 0 otherwise, rather than just the
-       value of DEFAULT_INLINE.
-
-Fri Nov 24 11:24:34 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * lf.h (__attribute__): If not GCC and at least 2.7.0, define as
-       nothing.
-       (lf_printf): Add printf __attribute__, so the compiler will
-       automatically check the format string.
-
-       * configure{,.in} (--enable-sim-icache): If argument is define,
-       add -R to flags passed to igen.
-
-       * igen.c (stdlib.h): Include if the system supplies one.
-       (semantics_use_cache_struct): New global for -R flag to say
-       semantics is to use the cache structure directly rather than
-       putting the values into local variables.
-       (first_undef, last_undef): New structures to remember names to
-       #undef if -R.
-       (lf_print_c_extraction): If -R and this is semantics, emit names
-       as #defines pointing to the cache structure, rather than loading
-       the values into local variables.
-       (lf_print_c_semantic_function): If -R, #undef all of the names
-       defined in lf_print_c_extraction.
-       (main): Recognize -R.
-
-       * idecode_fields.h (SPR_*): Redefine spr_* macros as SPR_* to
-       avoid a name confict if -R passed to igen.
-
-       * ppc-instructions (mfspr, mtspr): Rename spr field to SPR.
-       (model_data): Add field to count the various # of CRs that the
-       mtcrf instruction used.
-       (model_mon_info): Return structures counting the # of CRs that the
-       mtcrf instruction used.
-       (branches, sync instructions): Do not call model functions if
-       WITH_MODEL_ISSUE is 0.
-
-       * mon.c (stdlib.h): Include if the system supplies one.
-       (mon_sort_instruction_names): New function to sort instruction
-       names alphabetically.
-       (mon_print_info): Call qsort with mon_sort_instruction_names to
-       sort instruction names.  Don't abort if WITH_MODEL_ISSUE is 0.
-       
-       * debug.h (ITRACE): Make printf_filtered arguments type correct.
-       * idecode_expression.h (CR0_COMPARE): Ditto.
-       * psim.c (psim_read_register): Ditto.
-
-       * igen.c (lf_print_my_prefix): Use __attribute__((__unused__)) to
-       silence compiler warnings about unused automatically generated
-       variables.
-       (lf_print_c_extraction): Ditto.
-       * idecode_expression.h (FPSCR_BEGIN): Ditto.
-
-       * ppc-cache-rules: Define rules for making a bitmask for all
-       registers.
-
-       * ppc-instructions: Rewrite model specific functions to use the
-       bitmask of the register number, instead of using the register
-       pointer to get the register number, and then making the bitmask.
-
-Wed Nov 22 15:24:27 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * ppc-instructions (model_branches): Add conditional argument to
-       count the number of times each type of conditional branch is used.
-       (conditional branches): Pass B0 or -1 to model_branches.
-       (model_mon_info): Print out conditional branch counts.
-       (model-data): Add support for printing out conditional branch
-       types.
-
-Tue Nov 21 16:31:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * igen.c (insn_table_load_insns): Add support for model-static for
-       internal functions that should not be inlined.
-       (lf_print_c_semantic): Remove model_cleanup.
-       (gen_model_{c,h}): Ditto.
-
-       * ppc-instructions: Redo model specific support once again.  Add
-       floating point support to the model specific information.  Flesh
-       out all of the floating mutiply add/subtract instructions.  Add
-       better tracing support to the model specific information.
-
-Sun Nov 19 23:00:52 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * ppc-instructions (model data, model_busy): Rather than using a
-       bit mask for the busy units, just use a char array.  Also, only
-       support 2 function units an insn can use, rather than a loop.
-
-Fri Nov 17 14:08:08 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * table.c (table_entry_read): Move setting entry->line_nr to after
-       the model specific fields so the line numbers for the annex are
-       correct.
-
-       * cpu.c (cpu_{create,init,halt}): Check for WITH_MODEL_ISSUE
-       before calling the model functions.
-
-       * debug.c (trace_descriptor): Add trace_model support.
-       * debug.h (trace_options): Ditto.
-
-       * igen.c (gen_icache_h): Create type idecode_cache as void if not
-       caching instructions.
-       (gen_model_{c,h}): Drop model_issue support.  Add support for
-       model_cleanup.
-       (lf_print_my_prefix): Initialize a const itable_index with the
-       current index.
-       (lf_print_c_semantic): Call model_cleanup at the end of the
-       function to check for instructions that aren't supported yet by
-       the scheduling code.
-       
-       * mon.h (count_type): New type for counters.
-       * mon.c: Use count_type instead of unsigned.
-
-       * ppc-instructions: Redo scheduling code once again.  Make it all
-       inline friendly.  Instead of having general code emitted by igen,
-       go the route of having each semantic routine call the appropriate
-       module.
-
-Thu Nov 16 09:52:26 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * table.c (table_entry_read): Allow the annex to have blank lines.
-
-       * ppc-instructions: Change lines in model stuff that just have a
-       tab to just newline.  Add 601 support.  Document most instructions
-       in terms of model specific timing information.  Drop 'FUNCTION'
-       from PPC_FUNCTION_UNIT_xxx enums.  Change PPC_UNIT_UNKNOWN ->
-       PPC_UNIT_BAD.  Add TRACE(trace_tbd) for all data cache
-       instruction.s.  Signal illegal instruciton if data cache block
-       invalidate is issued from problem state.
-
-       * igen.c (max_model_fields_len): New static to keep track of the
-       max size for the model specific fields.
-       (model_c_insn): Use max_model_fields_len to size fields.
-       (insn_table_insert_insn): Set max_model_fields_len.
-       (model_table_insert): Ditto.
-       (gen_model_{c,h}): Model_issue is now called with a processor
-       argument.
-
-       * debug.c (trace_description): Add support for trace_tbd.
-
-       * mon.c (mon_issue): Pass processor argument to model_issue.
-
-       * Makefile.in: Delete all function unit support, since the newer
-       table driven model support replaces it.
-       * cpu.{c,h}: Ditto.
-       * mon.c: Ditto.
-       * inline.{c,h}: Ditto.
-       * std-config.h: Ditto.
-       * options.c: Ditto.
-       * configure{,.in}: Ditto.
-       * Makefile.in: Ditto.
-       * psim.c: Ditto.
-       * function_unit.{c,h}: Delete these now usused files.
-
-       * std-config.h (WITH_MODEL_ISSUE): Add new macro on whether to
-       trace instructions in a model specific manor.
-       * options.c (print_options): Print it out.
-       * configure{,.in}: Add --enable-sim-model-issue option.
-       * Makefile.in: Add --enable-sim-model-issue flags.
-       * igen.c (lf_print_c_semantic): Add call to mon_issue here.  Check
-       for WITH_MODEL_ISSUE.
-       * mon.c (mon_issue): Remove call to mon_issue_here.
-
-       * ppc-instructions: Move branch tracing to the actual branch
-       instructions, rather than testing it in model_issue.  Add code to
-       code successful/unsuccessful branch predictions, and the number of
-       conditional branches that fell through.
-
-Wed Nov 15 17:32:13 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * cpu.h (cpu_model): Add declaration.
-
-       * cpu.c (struct _cpu): Add model_ptr to hold model specific
-       information.
-       (cpu_model): Return the model internal pointer.
-       (cpu_{create,init,halt}): Call the appropriate model function.
-
-       * inline.c (mon.c): Move include of mon.c after model.c.
-
-       * mon.c (_cpu_mon): Add fields to count unaligned memory
-       references.
-       (mon_issue): Call model_issue, not function_unit_issue.
-       (mon_{read,write}): Count # of unaligned memory accesses.
-       (mon_print_info): Switch to calling model_mon_info and
-       model_mon_info_free instead of function_unit version.  Print out
-       number of unaligned reads/writes.
-
-       * {ppc-instructions,igen.c}: More global changes to add model
-       specific features.
-
-       * inline.{c,h}: Provide for inlining options.c.
-       * options.{c,h}: Ditto.
-       * std-config.h: Add OPTIONS_INLINE.
-
-Tue Nov 14 04:47:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (devices.o, main.o): Update dependency.
-
-       * igen.c (gen_model_h): Use correct variable in loop.
-       (gen_model_c): Use strcmp, strcasecmp.
-       (gen_model_c): Use EXTERN_MODEL for arrays.
-       (gen_model_h): Use STATIC_MODEL for arrays.
-       (lf_print_c_semantic_function_header): Delete unused function.
-
-       * main.c (cpu.h): Include cpu.h to get model.h.
-
-       * inline.h ({EXTERN,STATIC}_MODEL): Define.
-
-Mon Nov 13 09:14:13 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * igen.c ({insn,model}_table_fields): Spell mnemonic correctly.
-       (gen_itable_h,itable_c_insn): Ditto.
-       (model support): Move model support around, add support for
-       model-data, model-internal.  Use annex field for model-macros
-       now.
-
-       * configure.in (--enable-sim-inline): If --enable-sim-inline=no,
-       also define INLINE as nothing.
-       * configure: Regenerate.
-
-       * std-config.h (INLINE): Rather than nuking INLINE, only define it
-       as __inline__ if any of the INLINE flags are non-zero.
-
-       * options.c (print_options): Print out WITH_XOR_ENDAIN.
-
-Mon Nov 13 23:03:45 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * ppc-instructions (rfi): Add missing code.
-
-       * cpu.c (cpu_get_time_base): Fix calculation of current value of
-        time base register.
-
-       * ppc-spr-table (TBL, TBU): Fix TBL/TBU entries - was confusing
-        m[tf]tb with m[tf]spr.
-
-       * ppc-instructions (mtspr, mfspr): Fix mttbl - wasn't storing
-        lower word.
-
-Mon Nov 13 21:35:37 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * std-config.h (INLINE, STATIC_INLINE): Was being set to static
-        inline..  Only problem being that with ppc-opcode-simple this gave
-        it the chance to inline all the idecode functions with potentially
-        disasterous results on a 16mb PC.  For moment hobble INLINE.
-
-       * configure.in, std-config.h (WITH_SMP): Make that 5 processors by
-        default ...
-
-       * configure.in: Tweek flags passed to gcc for --with-sim-warnings.
-        Firstly make them errors and secondly remove the options gcc-245
-        doesn't reconize.
-
-Mon Nov 13 17:57:24 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * misc.c (zalloc), cpu.c (cpu_init), devices
-       (console_io_read_buffer_callback, icu_io_read_buffer_callback,
-       vm_io_read_buffer_callback), main.c (zalloc), mon.c (memset),
-       sim_calls.c (zalloc) : replace bzero() with memset().
-
-       * emul_netbsd.c (write_direntries), psim.c (psim_read_register,
-       psim_write_register): replace bcopy() with memcpy().
-       
-Sun Nov 12 20:55:41 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * configure.in: for --disable-sim-inline (--enable-sim-inline=no),
-        force DEFAULT_INLINE to 0 rather then trusting the std
-        configuration.
-
-Sun Nov 12 20:55:41 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * igen.c (lf_print_idecode_table, idecode_table_leaf): Fix
-        generation of switch entries in tables - treat the same as
-        cracking/semantic functions.
-
-       * igen.c (idecode_switch_end, idecode_switch_leaf): Fix generation
-        of a boolean switch statement (field zero or non-zero).
-
-       * ppc-opcode-test-1, ppc-opcode-test-2: New files.  These test the
-        switch/table generation ability of igen.
-
-       * igen.c (idecode_switch_leaf): Fix code output when a switch
-        statement needs to look up a table.
-
-       * igen.c (idecode_declare_if_switch): New function called from
-        gen_idecode_c - need to declare any idecode switch functions
-        before they are used in idecode tables.
-
-       * igen.c (lf_print_c_cracker_function, idecode_crack_leaf,
-        idecode_crack_insn): Add is_inline_function argument to code
-        printing cracker functions which indicates if STATIC_IDECODE or
-        STATIC_INLINE_IDECODE should be used for definition.  For
-        idecode_crack_insn (which implies not duplicating/expanding) don't
-        declare function as inline - we assume that the only time this is
-        code is generated is when things are being tested.  For
-        idecode_crack_leaf, make static (instead of INLINE) if the
-        instructions parent is a table as function will always be called
-        via a table.
-
-       * igen.c (idecode_expand_if_switch): Declare as STATIC_IDECODE not
-        STATIC_INLINE_IDECODE. Only the outermost idecode switch will be
-        called directly, all others are called via a table.
-
-       * igen.c (lf_print_semantic_function_header, semantics_h_leaf,
-        semantics_h_insn, semantics_h_function,
-        lf_print_c_semantic_function, semantics_c_function): Add
-        is_inline_function argument to lf_print_semantic_function_header
-        to indicate if an inline or static function declaration/definition
-        should be output.  Depending on situtation call accordingly:
-        functions (not instruction semantic routines) are always inline;
-        Semantic routines are made inline when there is no icache (cache
-        will contain the function address) and are duplicating (see above)
-        and the parent of the instruction is a switch statement.
-
-       * igen.c (opcode_field_new): Delete.  Code changed to use ZALLOC
-        and moved to insn_table_find_opcode_field.
-
-       * table.c (table_open): Fix typo (nr_model_fields vs nr_fields).
-
-       * igen.c (model_c_insn): Suggestion - document the name of the
-        instruction on each line of the instruction model table.
-
-Fri Nov 10 00:44:38 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * emul_netbsd.c (do_ioctl): Cleanup compilation.
-
-       * sim_callbacks.h (__attribute__): Only define if not defined (was
-        already defined on NetBSD host).
-
-Wed Nov  8 21:49:52 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * std-config.h (WITH_XOR_ENDIAN), configure.in, Makefile.in: New
-        macro, indicates if the PowerPC's horrible XOR endian mode should
-        be suported.  Add to configure and make.
-
-       * vm_n.h (vm_data_map_read_N, vm_data_map_write_N), vm.c
-        (vm_instruction_map_read): If XOR endian, xor the address
-       with a value from an xor table (indexed by size of access).
-
-       * vm.c (vm_synchronize_context), cpu.c (cpu_synchronize_context):
-        set up xor table to xor if there is a conflict between the
-        CURRENT_TARGET_ENDIAN and the endian indicated in the MSR.  Move
-        check of suported change of endian mode from cpu.c to vm.c.
-
-       * vm.c (vm_data_map_write_buffer, vm_data_map_read_buffer):
-        Hopefully added correct hack to handle XOR endian mode.
-
-       FIXME: If NONSTRICT alignment and XOR ENDIAN and MSR indicates
-        little endian mode, the model accepts miss aligned transfers.
-
-       FIXME: Need to create an `init' device that, during
-        initializatioin for XOR mode, it mushes (XOR address) all the dma
-        data before passing it on to the core for storage. Just like the
-        real thing really.
-
-Wed Nov  8 21:49:52 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * devices.c (halt_io_write_buffer_callback): Use value written to
-        halt device to determine exit status.  Thus allowing
-        success/failure of OEA tests.
-
-Wed Nov  8 00:10:38 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * ppc-instructions (icbi): If icache present flush it.
-
-Tue Nov  7 23:36:31 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * devices.c (htab_init_callback): Add code to create htab/pte.
-
-       * devices.c (dma_file, file_init_callback, htab_init_callback):
-        New function - Dma the named file into memory at the specified
-        address.  Use.
-
-       * device_tree.h, device_tree.c (scand_*): New functions.
-
-Tue Nov  7 23:36:31 1995  Andrew Cagney   <cagneyhighland.com.au>
-
-       * filter_filename.c, Makefile.in: Change so that only dependant on
-        a very limited nr of files.  Stops an unnecessary dependency.
-
-Tue Nov  7 15:44:33 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * core.c (core_map_find_mapping): Use cpu_halt rather than error
-       to abort an access to an undefined address.
-
-Sun Nov 12 07:58:09 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * igen.c (model_table_insert_{macro,function}): New functions.
-       (insn_table_load_insns): Call them.
-       (gen_model_h): Move section emiting model-macros to be first.
-       (model_{c,h}_function): New functions cloned from semantic
-       functions to print out the prototype and function for
-       model-functions.
-       (gen_model_{c,h}): Print out model-functions.
-
-       * ppc-instructions (model_{start,halt,print_info}): Add dummy
-       model-functions.
-
-       * options.c (print_options): Print out WITH_{,DEFAULT_}MODEL, not
-       WITH_PPC_{,DEFAULT_}_MODEL.
-       (options_ppc): Delete now unused function.
-       (cpu.h): Include cpu.h, not just basics.h.
-
-       * std-config.h (WITH_{,DEFAULT_}MODEL): Define.
-
-       * igen.c (model_macros, last_model_macro): New statics to keep
-       track of macros to go in model.h.
-       (insn_table_load_insns): Add model-macros to model_macros linked
-       list.
-       (model_table_fields): Add field for printable name.
-       (gen_model_h): If there are model macros defined, print them out.
-       Print out DEFAULT_MODEL as the first model if there any models
-       specified, otherwise MODEL_NONE.  Print out external decl for
-       current_model.  Print out decl for model_set.
-       (gen_model_c): Add function model_set.  Switch to use printable
-       name for the model, not the internal identifier used.
-
-       * psim.c (current_model): New global variable.
-
-       * ppc-instructions: Add macros for flag defines.  Switch first
-       model so 604 is first.
-
-       * main.c (main): Call model_set, not function_unit_model.
-       * sim_calls.c (sim_open): Ditto.
-       * sim_calls.c, Makefile.in: sim_calls.c now includes cpu.h.
-
-Sat Nov 11 07:27:41 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * mon.h (mon_events): New enumeration for other events we want to
-       handle.
-       (mon_event): Add declaration for function.
-
-       * mon.c (mon_event): New function.
-       (mon_print_info): Print icache misses.
-
-       * psim.c (run_until_stop): Monitor icache misses.
-
-       * configure.in (--enable-sim-inline): Fix typos in handling comma
-       separated inline options.
-       (--enable-sim-icache): Echo icache size.
-       * configure: Regenerate.
-
-       * igen.c (semantics_h_print_function): Emit STATIC_SEMANTICS
-       instead of INLINE_SEMANTICS so that the compiler won't keep all of
-       the semantic functions as inline RTL, given that the address of
-       the function is taken which forces outline calls anyway.
-       (lf_print_c_semantic_function_header): Ditto.
-       (gen_semantics_h): Define STATIC_SEMANTICS as nothing if not
-       defined.
-       (lf_print_c_cracker_function): Emit STATIC_IDECODE instead of
-       STATIC_INLINE_IDECODE.
-       (gen_idecode_c): Define STATIC_IDECODE if not defined.
-       (gen_model_h): Use #ifdefs to define types to hold model units,
-       cycles, and flags.
-       (model_table_insert): Add a sentinel functional unit at the end to
-       simplify loop processing.
-       (model_c_insn): Use <function-unit>_SENTINAL instead of 0 for any
-       instruction not specifing a function unit for the current model.
-       (gen_model_{c,h}): Provide bounds for model_time_mapping.
-       
-       * inline.h (STATIC_SEMANTICS): Define to be static if
-       SEMANTICS_INLINE is defined.
-       (STATIC_IDECODE): Define to be static if IDECODE_INLINE is
-       defined.
-       
-       * options.c (print_options): Fix typo.
-
-Fri Nov 10 06:39:46 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in (--enable-sim-{opcode,config}): Use $srcdir when
-       check for the existence of files.
-       * configure: Regenerate.
-
-       * table.c (table): New field nr_model_fields.
-       (table_open): New parameter nr_model_fields.
-       (table_entry_read): Parse model fields that begin with a '*' after
-       each instruction.
-       * igen.c, dgen.c: Change callers of table_open.
-
-       * igen.c: Add support for dumping model specific information in
-       model.h and model.c.
-       (insn_field_name): Delete unused array.
-       (global variables): Make global variables static, so we can tell
-       when they are no longer used.
-       (cache_semantic_actual): Delete unused variable.
-       (insn_table_load_insns): If the insn is really a machine model,
-       call model_table_insert instead of other processing.
-       (model_table_insert): New function to handle defining the
-       functional units of a particular machine model.
-       (insn_table): Add last_function field so we can add functions at
-       the end.
-       (insn_table_insert_function): Use last_function field when
-       appending new function.
-
-       * ppc-instructions: Add a few model specific information for 603,
-       603e, and 604 for testing purposes.
-       
-       * table.h (table_model_entry): New linked list to hold model
-       specific information, one per line.
-       (table_entry): Add model_first, model_last fields.
-
-       * configure.in (--enable-sim-inline): If gcc is found and
-       --enable-sim-inline is not specified, defaine DEFAULT_INLINE to 1,
-       not 2.
-       (--enable-sim-reserved-bits): New switch to check whether reserved
-       bits are set in the instruction.
-       (--enable-sim-opcode): Make complex the default.
-       (all switches): Add appropriate checks and error messages.
-       * configure: Regenerate.
-
-       * Makefile.in (RESERVED_CFLAGS): New variable set by
-       --enable-sim-reserved-bits.
-       (CONFIG_CFLAGS): Include RESERVED_CFLAGS.
-       (BUILT_SRC): igen now generates model.c and model.h.
-       (LIB_OBJ): Include table.o.
-       (tmp-igen): Add -m/-M options to write model.c/model.h.
-       (model.o): New object.
-       (CPU_H): Include model.h.
-
-       * cpu.h: Include model.h.
-
-       * std-config.h (WITH_RESERVED_BITS): Define.
-       (MODEL_INLINE): Ditto.
-
-       * options.c (print_options): Print out WITH_RESERVED_BITS.
-
-Thu Nov  9 12:22:15 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in: If --silent, don't output information messages.
-       * configure: Regenerate.
-
-       * configure.in (--enable-sim-alignment): Fix typo in specifing non
-       strict alignment.
-       (--enable-sim-switch): Make default on.
-       (--enable-sim-duplicate): Make default on.
-       (--enable-sim-smp): Make default 0.
-       (--enable-sim-mon): Don't set sim_float if not set.
-       (--enable-sim-inline): If gcc is found and --enable-sim-inline is
-       not specified, define DEFAULT_INLINE to be 2.
-       (all --enable-sim-* rules): Echo rules set to non empty to file
-       descriptor 6.
-       * configure: Regenerate.
-
-       * options.c (options_env): Fix typo if WITH_ENV is 0.
-       (print_options): Print GCC compiler version if available and
-       date/time options was compiled.  If OPCODE_RULES, IGEN_FLAGS,
-       and/or DGEN_FLAGS are defined, print them.
-
-       * Makefile.in (all link actions): Pass SIM_CFLAGS as well as
-       CFLAGS.
-       (options.o): Compile options.o with OPCODE_RULES, IGEN_FLAGS, and
-       DGEN_FLAGS defined, so they can be printed out.
-
-       * igen.c (lf_print_c_validate): Check for WITH_ASSERT, so that
-       this test can be compiled away if the user really wants a fast
-       simulator by not doing assertion failures.
-
-Wed Nov  8 13:19:47 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * options.c: New file to print out all of the WITH_ options.
-       * options.h: New include file to declare print_options.
-       * debug.h (trace_options): Add trace_opts to call print_options.
-       * debug.c (trace_description): Add trace_opts support.
-       * main.c (main): If user requested options, print them.
-       * sim_calls.c (sim_open): Ditto.
-       
-       * igen.c (opcode_field_new): Add void to make it a proper prototype.
-
-       * emul_generic.c (emul_enter_call): Make printf_filtered arguments
-       type correct.
-       * emul_netbsd.c (do_kill): Ditto.
-       * registers.c (registers_dump): Ditto.
-       * vm.c (om_translate_effective_to_real): Ditto.
-       * vm_n.h (vm_data_map_read_N): Ditto.
-       (vm_data_map_write_N): Ditto.
-       * devices.h (DTRACE_INIT): Ditto.
-       (DTRACE_{ATTACH,DETACH}_ADDRESS): Ditto.
-       (DTRACE_IO_{READ,WRITE}_BUFFER): Ditto.
-       (DTRACE_DMA_{READ,WRITE}_BUFFER): Ditto.
-       * devices.c (update_for_binary_section): Ditto.
-       (write_stack_arguments): Ditto.
-       (stack_ioctl_callback): Ditto.
-       * device_tree.c (device_tree_add_passthrough): Ditto.
-       (device_tree_{add,find}_device): Ditto.
-       (device_tree_{add,find}_integer): Ditto.
-       (device_tree_find_{string,boolean}): Ditto.
-       (device_tree_init{,_device}): Ditto.
-       (device_tree_dump): Ditto.
-       * sim_calls.c (sim_{read,write}): Ditto.
-       (sim_{fetch,store}_register): Ditto.
-       (sim_stop_reason): Ditto.
-
-       * sim_callbacks.h (printf_filtered): Declare with attribute
-       printf, so we can enable format checks.
-
-       * devices.c (console_io_{read,write}_buffer_callback): Cast swtich
-       argument to int, since ANSI doesn't allow long switch values.
-       * emul_netbsd.c (do___sysctl): Ditto.
-
-       * emul_netbsd.c (do___sysctl): Fix up printf call.
-       
-       * corefile.c (core_translate): Don't do arithmetic with void *
-       pointers.  Cast to char * first.
-       
-       * function_unit.c (FUNC_{LOAD,STORE}): Rename from {LOAD,STORE}
-       and change all uses.
-
-       * Makefile.in ({FUNC,MODEL,WARNING}_CFLAGS): New flags set by
-       configure --enable switches.
-       (CONFIG_CFLAGS): Include FUNC_CFLAGS and MODE_CFLAGS.
-       (.c.o): Include WARNING_CFLAGS.
-       (CPU_H): Include function_unit.h.
-       (LIB_OBJ): Include function_unit.o.
-       (BUILT_SRC_WO_CONFIG): Split from BUILT_SRC and do not include
-       config.h or ppc-config.h.
-       (BUILT_SRC): Include BUILT_SRC_WO_CONFIG, config.h and
-       ppc-config.h.
-       (filter_filename.o): Include config.h/ppc-config.h dependencies.
-       (idecode.o, semantics.o, psim.o): Specify CC line without
-       WARNING_CFLAGS so that we don't get all of the unused variable
-       warnings that are generated.
-       (function_unit.o): Add rule to build.
-       (main.o, sim_calls.o): Add function_unit.h, itable.h dependencies.
-       (mon.o): Include mon.c dependency.
-       (TAGS): Depend on BUILT_SRC.
-       (clean): Don't delete config.h or ppc-config.h
-
-       * basics.h (sim_callbacks.h): Move include after the include of
-       config.h and ppc-config.h.
-
-       * bits.{h,c} (ROTL32,ROTL64): Move these functions to bits.c.  Add
-       support for BITS_INLINE to inline these.  Add declarations to
-       bits.h.
-
-       * configure.in (--enable-sim-warnings): Add new option to specify
-       compiler warnings for all modules except idecode.o and semantics.o
-       which have lots of unused variables because they are machine
-       generated.
-       (--enable-sim-function-unit): New switch to configure whether
-       function unit support is compiled in or not.
-       (--enable-sim-{,default-}mode): New switches to control which cpu
-       model is used.
-       * configure: Regenerate.
-
-       * corefile.c (core_attach_address_callback): Delete unused
-       variable device_address.
-
-       * cpu.c (struct _cpu): Add function unit pointer field func_unit.
-       (cpu_create): If WITH_FUNCTION_UNIT, call function_unit_create.
-       (cpu_init): If WITH_FUNCTION_UNIT, call function_unit_init.
-       (cpu_halt): If WITH_FUNCTION_UNIT, call function_unit_halt.
-       (cpu_function_unit): New function to return func_unit field.
-
-       * cpu.h (function_unit.h): Include new include file.
-       (cpu_function_unit): Declare.
-
-       * debug.c (stdlib.h): Test HAVE_STDLIB_H, not HAVE_STDLIB.
-       (config.h): Include config.h.
-
-       * devices.c (icu_io_write_buffer_callback): Delete unused variable
-       system.
-
-       * emul_generic.c (emul_exit_call): Print out status value.
-
-       * emul_netbsd.c (do_read): Delete unused variable nr_moved.
-
-       * filter_filename.h (includes): Include config.h, ppc-config.h,
-       not basics.h.
-
-       * inline.c: Include bits.c if BITS_INLINE.  Include
-       function_unit.c if FUNCTION_UNIT_INLINE.
-
-       * inline.h (INLINE_BITS): Define if BITS_INLINE.
-       (INLINE_FUNCTION_UNIT): Define if FUNCTION_UNIT_INLINE.
-
-       * interrupts.c (instruction_storage_interrupt): Delete unused
-       variable nia.
-
-       * lf.h (config.h): Include config.h.
-
-       * main.c (includes): Include function_unit.c.  If HAVE_UNISTD_H,
-       include unistd.h.
-       (usage): Update for -m model, -i, and -I options.
-       (main): Delete unused variables stack_pointer and i.  Add support
-       for -i, -m model arguments.  Call psim_print_info with verbose ==
-       1 if -i, and verbose == 2 if -I.
-
-       * mon.c (stdio.h): Include stdio.h to pick up sprintf prototype.
-       (mon_issue): Call function_unit_issue if function units are
-       supported.
-       (mon_print_info): Take psim * argument.  Print out information
-       from function_unit if available.  Move read/write stats to always
-       print, instead of printing if verbose > 1.  Fix up plural
-       vs. singular usage.
-
-       * mon.h (mon_print_info): Update prototype.
-
-       * psim.c (current_ppc_model): Add global variable.
-       (psim_print_info): Pass system argument to mon_print_info.
-
-       * sim_calls.c (function_unit.h): Include.
-       (sim_open): Add support for -i and -m model options.  If -i call
-       psim_print_info with verbose == 1, if -I, with verbose == 2.
-       (sim_resume): Delete unused variable program_counter.
-
-       * std-config.h (WITH_FUNCTION_UNIT): Define.
-       (ppc_model): Add enumeration giving all PowerPC models currently
-       known about.
-       ({WITH,CURRENT}_PPC_MODEL): Define.
-       (FUNCTION_UNIT_INLINE): Define.
-
-       * table.c (config.h): Include config.h.
-
-       * vm.c (om_virtual_to_real): Print pte_word_{0,1} so the compiler
-       doesn't complain that they're unused.
-
-       * vm_n.h (vm_data_map_read_N): Delete unused variable rval.
-       
-Mon Nov  6 23:15:54 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * sim-endian.c (ppc-endian.c), sim-endian.h (ppc-endian.h):
-        renameed.  These files are target independant.
-       * Makefile.in, basics.h: update for new name.
-
-       * sim-endian.h (SWAP_N), sim-endian.c (_SWAP_1): Rename existing
-        SWAP_<N> to _SWAP_<N> so that sim-endian.h can contain SWAP_N
-        macro's as required.
-
-       * sim-endian.c, sim-endian-n.h (new file): Move endian code into a
-        debugable header file.
-
-       * ppc-instructions (Byte-Reverse): Enable byte reverse
-        instructions using SWAP_N macros.
-
-Mon Nov  6 10:39:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (config.status): Remove references to config.make
-       and config.hdr.
-
-       * config.{make,hdr}: Delete, no longer used.
-       * build-psim: Ditto.
-
-Mon Nov  6 20:49:56 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * sim_calls.c (sim_open): Fix parsing of `target sim' options.
-
-       * device_tree.c (device_tree_add_string): Wasn't saving the value
-       of the string being entered into the tree.
-
-       * psim.c (create_filed_device_tree): Not terminating string device
-       names with a null.
-       
-       * psim.c (psim_create): Use `env' instead of
-       `environment-architecture' to be consistent with configure.
-       Reconize user/uea, virtual/vea and operating/oea.
-
-Sat Nov  4 12:29:45 1995  Fred Fish  <fnf@cygnus.com>
-
-       * core.c:  Rename to corefile.c
-       * core.h:  Rename to corefile.h
-       * inline.c: Include corefile.h, renamed from core.h.
-       * cpu.h: Include corefile.h, renamed from core.h
-       * vm.c: Include corefile.h, renamed from core.h
-       * corefile.c: Include corefile.h rather than core.h
-       * README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
-       references.
-       * Makefile.in (CPU_H): Change core.h to corefile.h
-       (vm.o):  Change dependency to corefile.h
-       (LIB_SRC): Change core.c to corefile.c.
-       (LIB_OBJ): Change core.o to corefile.o.
-       (corefile.o):  Change dependencies to corefile.c, corefile.h.
-
-Fri Nov  3 11:37:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * ppc-instructions (data cache instructions): Make all data cache
-       instructions nops instead of invalid instructions.
-
-       * Makefile.in (CONFIG_CFLAGS): Add ALIGNMENT_CFLAGS and
-       TIMEBASE_CFLAGS which weren't included.
-
-Thu Nov  2 08:54:04 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in: Uncomment built file dependencies.
-       
-       * configure.in: Rewrite --enable-sim switch handling to use the
-       autoconf builtins so it works correctly if the configure or
-       Makefile.in files are modified and make decides to rebuild
-       Makefile.  Also document all of the --enable-sim switches
-       supported.  Check whether getrusage and sys/resource.h are
-       supported.
-       * config.in: Regenerate.
-       * configure: Regenerate.
-       * Makefile.in: Add support for all of the variables set with
-       --enable-sim switches.
-
-       * Makefile.in (clean): make clean now removes all built sources as
-       well.
-       
-       * cpu.c: Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_UNISTD_H,
-       HAVE_TIME_H, HAVE_SYS_TIMES_H, HAVE_SYS_RESOURCE_H defined in
-       the generated config.h.
-       * debug.c: Ditto.
-       * device_tree.c: Ditto.
-       * devices.c: Ditto.
-       * dgen.c: Ditto.
-       * emul_netbsd.c: Ditto.
-       * igen.c: Ditto.
-       * lf.c: Ditto.
-       * misc.c: Ditto.
-       * psim.c: Ditto.
-       * registers.c: Ditto.
-       * sim_calls.c: Ditt.
-       * table.c: Ditto.
-
-
-       * main.c (main): Call psim_print_info with verbose == 2.
-
-       * mon.c (mon_print_info): Align the cpu number and number of
-       instructions fields.  Do not print an instruction category if the
-       CPU did not execute any of those instructions.  Print out number
-       of reads and writes.  If getrusage is supported, print out number
-       of simulated instructins per second.
-       
-       * configure.in: Add support for --enable-sim-opcode=stupid.
-       * configure: Regenerate.
-
-Wed Nov  1 23:46:59 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * std-config (INLINE_DEVICE_TREE): Don't inline either of
-        device_tree.c or devices.c.  There is no significant gain.
-
-       * configure.in, Makefile.in: add --enable-sim-icache=[0-9]* and
-       IGEN_ICACHE macro.
-       
-Wed Nov  1 23:46:59 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * igen.c (main), misc.h (target_a2i, i2target), misc.c: Add
-        functions to convert between target and igen internal bit numbers.
-        Make IO go through these functions. Add -b (bit size) and -h (high
-        bit nr) options to igen.  Typical usage would be: ./igen -b 16 -h
-        15 for a 16 bit instruction format with the msb given a number 15.
-
-Wed Nov  1 22:17:32 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * dgen.c (main): Was outputting optarg even when it was NULL.
-
-Tue Oct 31 23:48:33 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * vm_n.h (vm_data_map_load_N, vm_data_map_store_n), debug.h,
-        debug.c: Add tracing of load/store unit (virtual) with -t
-        load-store.
-
-Tue Oct 31 21:44:01 1995  Andrew Cagney   <cagney@highland.com.au>
-
-        * std-config.h (WITH_ENVIRONMENT): Add USER_ENVIRONMENT which does
-        not include things such as the time base and events.
-
-       * interrupt.c, sim_calls.c, cpu.h, vm.c, configure.in: Add UEA to
-       all environment switches for above.
-
-       * psim.c (psim_create): ditto - new device tree node name is
-        /options/environment-architecture with values user, virtual and
-        operating.
-
-Tue Oct 31 21:31:32 1995  Andrew Cagney   <cagney@highland.com.au>
-
-       * ppc-opcode-stupid: Third example of use of opcode table - this
-        one expands all mtspr/mfspr and branch instructions.  Appears to
-        give about a 10% gain in performance if everything enabled.  Also
-        takes about 150mb of swap to build.
-
-Wed Nov  1 10:49:48 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * emul_netbsd.c (do_exit): Print arguments and close parenthesis
-       if tracing, since exit doesn't go through emul_exit_call.
-       (do_read): Print arguments if tracing.
-       (do_write): Ditto.
-       (do_open): Ditto.
-       (do_break): Ditto.
-       (do_kill): Ditto.
-       (do_dup): Ditto.
-       (do_sigprocmask): Replace trace with printing arguments if
-       tracing.
-       (do_ioctl): Print arguments if tracing.
-       (do_umask): Ditto.
-       (do_dup2): Ditto.
-       (do_fcntl): Ditto.
-       (do_gettimeofday): Ditto.
-       (do_getrusage): Ditto.
-       (do_fstatfs): Ditto.
-
-       * filter_filename.c: New file to provide filter_filename to strip
-       the directory prefix from a file.
-       * filter_filename.h: New include file to declare filter_filename.
-
-       * debug.h: Include filter_filename.h.
-       (TRACE,DTRACE,ERROR): Use filter_filename on __FILE__.
-
-       * misc.h: Include filter_filename.h.
-       (ASSERT): Use filter_filename on __FILE__.
-
-       * igen.c (lf_print_my_prefix): Use filter_filename on the filename
-       argument.
-
-       * Makefile.in: Add filter_filename support.
-
-       * ppc-instructions (dcbi, icbi): Make these NOPs rather than
-       invalid instructions.
-
-       * configure.in: Add support for more --enable-sim-* switches.
-       Use config.make and config.hdr to write to Makefile and config.h
-       respectively.  Don't rewrite Makefile, just append to it.
-       * configure: Regenerate.
-       * config.{make,hdr}: New shell scripts.
-       
-       * Makefile.in: Remove all variables set by configure.in.
-       (psim.o): Depend on $(BUILT_SRC) also.
-
-       * emul_netbsd.c (do_gettimeofday,do_getrusage): When comparing an
-       integer, use 0, not NULL.
-
-Tue Oct 31 15:20:04 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure.in: Add support for --enable-sim-inline,
-       --enable-sim-bswap, --enable-sim-cflags, --enable-sim-complex,
-       --enable-sim-switch, --enable-sim-duplicate, --enable-sim-filter,
-       and --enable-sim-endian switch to control various Makefile
-       variables.
-       * configure: Regenerate from configure.in.
-       * Makefile.in: Add various Make variables that the various
-       switches alter.
-
-       * std-config.h (DEFAULT_INLINE): Don't set this to 2 if using GCC
-       and optimizing by default.
-
-Fri Oct 27 19:26:27 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * bits.h (ROTL32, ROTL64): Were functions, made them macros, now
-       make them functions again.  Appears 2.6.3 is confused by just a
-       macro.
-
-Thu Oct 26 18:31:58 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-endian.c (SWAP_8): Fix 8 byte swap!
-
-       * psim.c (psim_create): Not correctly checking that runtime
-       configuration of things like ENDIAN, ENVIRONMENT and ALIGNMENT
-       matched the compiled in ones.
-
-       * debug.h (ITRACE), igen.c: Tidy up more tracing flags -
-       trace_semantics is now different to trace_idecode, the former
-       checks the cache.
-       
-Tue Oct 24 21:54:13 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-instructions (mtsrin): Missing instruction
-       * ppc-instructions (mfsrin): Missing instruction
-       * ppc-instructions (eieio): Missing instruction
-
-Tue Oct 24 20:55:29 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * build-psim: New shell script - see internals for usage,
-       simplifies the process of building custom simulators.
-
-Mon Oct 23 23:48:59 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * std-config.h (SEMANTICS_INLINE): Tidy up notes on each of the
-        INLINE macros.  Make SEMANTICS_INLINE == 1 if DEFAULT_INLINE == 2.
-        Don't use DEFAULT_INLINE to define REGISTERS_INLINE DEVICES_INLINE
-        DEVICE_TREE_INLINE or INTERRUPTS_INLINE as none of these are on
-        the instruction or data critical paths.
-       
-       * FIXME: devices.c/emul_netbsd.c would benefit (slightly) from
-       the inclusion of device_tree.c/emul_generic.c.
-
-Mon Oct 23 00:31:50 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * os_emul.[hc], emul_generic.[hc], emul_netbsd.[hc]: replace
-        system.[hc].  Start of suport for multiple emulations and
-        emulation state (os_emul object).
-
-       * emul_generic.[hc]: Start of code to implement proper system call
-       tracing (from spy).
-
-Sun Oct 22 21:33:51 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * cpu.h, cpu.c (cpu_init): New function, zero the registers before
-        the processor is started. Fixes problem of registers being
-        undefined when restarting from within gdb.
-
-       * cpu.h, cpu.c (cpu_flush_icache): New function, flushes the
-        instruction cache (if present).  Fixes problem of cpu caching gdb
-        breakpoint instructions.
-
-       FIXME: PSIM sometimes aborts calling error(), it should instead
-       call sim_error() say which takes care of housekeeping such as
-       saving the CIA before calling error.
-       
-       * NOTE: cpu_flush_cache() instead of cpu_synchronize_context() is
-       used when restarting a simulation because the latter has the
-       unwanted side effect (well I as a kernel hacker think it is) of
-       performing an isync when the instruction stream doesn't contain
-       one.
-
-Sun Oct 22 19:27:48 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * mon.h (new), mon.c (new), std-config.h (WITH_MON): Performance
-        monitoring module. Counts both instructions issued and
-        load/stores.
-
-       * NOTE: mon does not contain to count instruction loads as this
-       information is already available from the mon_issue() hook.
-
-       * igen.c (lf_print_c_semantic), vm_n.h: Add counting code.
-
-       * psim.h, psim.c (psim_create), cpu.h, cpu.c (cpu_create): Attach
-        a common monitor to each of the cpus. Delete
-        cpu_increment_number_of_insns() and cpu_get_number_of_insns()
-        replaced by copied code in mon.[hc].
-
-Sun Oct 22 18:42:45 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * sim_calls.c, main.c, psim.c (psim_create): always create
-        `WITH_SMP' cpus.  The actual number of CPU's active in a
-        simulation run is taken from the device node: /init/smp (an
-        integer). WITH_SMP changed to 2 (remember to put it back to 0).
-
-Fri Oct 20 17:26:54 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * system.c: More system call emulation.  If code appears NetBSD
-       specific, make conditional to being compiled on a NetBSD system
-       (sigh).
-
-Wed Oct 18 23:02:20 1995  Andrew Cagney  <cagney@highland.com.au>
-       
-       * Makefile.in, gen.c(delete), igen.c(new), dgen.c(new),
-       lf.[ch](new), table.[ch](new): Split into two generators - igen
-       that outputs the instruction tables and dgen that outputs the spr
-       tables.  Add -f (filter out) flag to igen to filter out certain
-       instructions (ex 64 bit ones) from the created tables.  Include
-       $(LIBIBERTY_LIB) in link options in case host lacks some libc
-       functions.
-
-       * NOTE: igen, since it was originally written for the
-       PowerPC/RS6000, things the MSB is 0 and the LSB is 63{31}.
-       
-       * Makefile.in, std-config.h, ppc-cache-rules(new),
-       ppc-opcode-complex(new), ppc-opcode-simple(new): (for igen) Create
-       cache-rule and opcode-rule tables from macros found std-config.h.
-       Delete corresponding macro's from std-config.h.
-       
-       * igen.c (gen_itable_c, gen_itable_h), Makefile.in: code to output
-       an table of all the instructions.  Code to output a type
-       enumerating all the instructin names.
-
-       * igen.c(lf_print_c_semantic): Move call to increment instruction
-       counter so that it occures _after_ the instruction has been fully
-       validated, was double counting illegal/invalid instructions.  Add
-       conditional so only compiled in when WITH_PROFILE enabled (enabled
-       by default).
-       
-       * igen.c, cpu.h, cpu.c(cpu_increment_number_of_insns): Include
-       itable.h, count individual instruction types not just total,
-       adjust reporting functions to output this.
-       
-       * ppc-instructions (64 bit Load Doubleword with Update Indexed):
-       Had 32./ instead of 31./
-
-       * ppc-instructions (64 bit Store Double Word Conditional Indexed):
-       bitrot - updated to use newer CR register operators.
-
-       * ppc-instructions (64bit Floating Convert from Integer
-       Doubleword): Correct call to Round_Float().
-
-Mon Oct 16 00:31:20 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * basics.h: #include "sim_callbacks.h" earlier so that its
-       prototypes are declared in all other header files.
-
-       * bits.h, bits.c, idecode_expression.h (ROTL32, ROTL64): Update
-       doc in bits.h, remove dead code in bits.c, move ROTL32/ROTL64 into
-       bits.h.
-
-       * cpu.c(cpu_add_commas), device_tree.h, device_tree.c(scand_*):
-       Add size of buffer argument to functions writing a string into a
-       buffer.  Check for buffer overflow.
-       
-Sun Oct 15 22:16:11 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * devices.h, devices.c, debug.h, debug.c: add macro's for tracing
-        of each device.  Make parameter names consistent so macros work.
-        Use macro's in device functions.
-
-       * device_tree.c, devices.h, devices.c: include path to device in a
-        devices node when creating it.
-
-       * device_tree.c, debug.h, debug.c: Add tracing of `device-tree'.
-
-       * core.c: add tracing of core-device, adjust parameter names in
-       core functions to be consistent with those in devices*.
-
-Sun Oct 15 20:33:20 1995  Andrew Cagney  <cagney@highland.com.au>
-
-        * debug.h, debug.c (trace_option): New function. Parses the trace
-        option, updating the trace array.
-
-       * debug.h, debug.c (trace_usage): New function. Outputs the list
-        of all possible trace options.
-
-       * sim_calls.c (sim_open), main.c (main): Use new trace_option() to
-       parse trace options specified with the simpler -t flag.  Adjust
-       usage.
-
-       * FIXME: basic parsing of command line options is still duplicated
-       by main.c and sim_calls.c
-
-Thu Oct 26 10:42:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (clean): Delete *.i and *.out files.
-
-       * ppc-endian.c (SWAP_n): Add SET argument to allow use of SWAP
-       macros for either assignment or return.  Fix SWAP_8 to use a
-       union, and two SWAP_4's.  Delete SWAP_N, since nobody uses it now.
-       (ENDIAN_N): Add SET argument to SWAP_n calls.  Delete macro defs
-       that hardwired swapping on/off, let optimizer delete dead code.
-
-       * main.c (main): Add printf that we caught a signal and print out
-       the failing address.
-
-Thu Oct 19 21:43:39 1995  Fred Fish  <fnf@fishfood.amigalib.com>
-
-       * Makefile.in:  Remove tabs from otherwise empty line.
-       Confuses many non-GNU versions of "make".
-
-Wed Oct 18 08:51:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (clean): Delete files produced by gen.
-
-Mon Oct 16 17:34:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * gen.c (lf_print_c_semantic_function): Move counting # of
-       instructions here so it works with caching.
-       (gen_idecode_c): Move from here.
-
-Wed Oct 11 17:13:15 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * gen.c, ppc-instructions, psim.c: Fix code for generating
-       cracking instruction cache.  Delete the code that cached just the
-       result from doing an instruction lookup - this ran slower than no
-       cache at all.
-
-Fri Oct 13 09:58:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (gen.o): Include $(INLINE_CFLAGS).
-
-       * debug.h (ppc_trace): Rename from trace, to avoid a conflict with
-       TCL when gdb is linked with the simulator.
-       * debug.c (ppc_trace): Ditto.
-       * sim_calls.c (sim_open): Change trace -> ppc_trace.
-       * main.c (main): Ditto.
-
-       * cpu.c (cpu_add_commas): Remove extra static.
-
-Thu Oct 12 11:35:53 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (psim.o): Now that inlines are turned on, make
-       psim.o depend on all sources.
-
-       * cpu.c (cpu_add_commas): New function to format a long with
-       commas.
-       (cpu_print_info): Use it to print number_of_insns.
-       
-       * ppc-endian.c (SWAP_n): New macros to speed up byte swapping for
-       2, 4, and 8 bytes.
-       (ENDIAN_N): If both target and host byte orders are known, don't
-       bother testing CURRENT_{TARGET,HOST}_BYTE_ORDER.
-
-       * ppc-endian.h (target specific H2T_n/T2H_n macros): Remove #if 0
-       to allow target specific H2T_n/T2H_n macros to be used.
-       (htonl, ntohl): If compiled on a 486 by GCC and WITH_BSWAP is
-       non-zero, redefine the htonl/ntohl macros to use the BSWAP instead
-       of the 3 instruction sequence that runs on 386s.
-
-       * std-config.h (WITH_{HOST,TARGET}_BYTE_ORDER): Don't override if
-       specified on the compile line.
-       (WITH_BSWAP): If not defined, define as 0.
-
-       * Makefile.in (INLINE_CFLAGS): Add -DDEFAULT_INLINE=2 to add
-       default inline support.  Pass INLINE_CFLAGS when compiling.
-
-       * devices.{h,c} (unimp_device_ioctl): Use STATIC_DEVICES, not
-       INLINE_DEVICES since GCC doesn't like inline functions that
-       accept variable arguments.
-       (stack_ioctl_callback): Make function just static because GCC
-       doesn't like inline functions that accept variable arguments.
-
-       * devices.h (STATIC_DEVICES): Define as empty if not defined.
-
-       * inline.c: Correct pathnames of included C files to match current
-       implementation.
-
-       * inline.h (STATIC_DEVICES): If DEVICES_INLINE is defined to be
-       non-zero, define STATIC_DEVICES to be static.
-
-       * std-config.h (INLINE): If GNU C and optimizing, define this as
-       __inline__.
-       (DEFAULT_INLINE): If not defined, define as 0.
-       (ENDIAN_INLINE): If not defined, define as DEFAULT_INLINE.
-       ({CORE,VM,CPU,EVENTS,REGISTERS,INTERRUPTS}_INLINE): Ditto.
-       ({SPREG,IDECODE}_INLINE): Ditto.        
-       
-Wed Oct 11 17:13:15 1995  Andrew Cagney  <cagney@highland.com.au>
-
-        * ppc-instructions: Initial cut of floating point suport added.
-       Of note include - use of host IEEE floating point instructions,
-       use of PowerPC manual pseudo code to handle the FPSCR.  It is not
-       currently a pretty sight.
-       
-       * memory_map.h, memory_map.c, memory_map_n.h, core.h, core.c:
-       merge into core.h, core.c, core_n.h. The type memory_map replaced
-       with core_map.  This removes a level of pointer indirection when
-       translating an address.
-
-       * memory_map.h, memory_map.c, memory_map_n.h: delete.
-
-       * Makefile.in et.al (sorry): tweek to use new core, core_map and
-       core.h.
-       
-Wed Oct 11 12:10:26 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * sim_calls.c, main.c: Add -g (trace_gdb) option, add tracing to
-       most of the other functions in sim_calls.c.
-
-       * basics.h (CONCAT3), memory_map.c, memory_map_n.h, Makefile.in:
-       Add macros to better cover up `generic' code.  Makes it possible
-       to step through the generic code!
-
-       * vm.c, vm_n.h, Makefile.in: ditto
-       
-Tue Oct 10 15:42:59 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * devices.h, devices.c, memory_map.h, memory_map.c: Changed
-       callback interface so that there is a read/write buffer but no
-       read/write_word.  VEA default memory read/write handler sometimes
-       couldn't resolve an access and of those some were for a memory
-       fault and some were because gdb was making a bogus request.
-
-       * devices.h, devices.c, memory_map.h, memory_map.c, vm.h, vm.c:
-       eliminate transfer_mode (raw or cooked) parameter from read/write
-       buffer.
-       
-Fri Oct  6 20:23:56 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-instructions (fmul, fmuls): correct instruction format - had
-       FRB instead of FRC.
-
-Wed Oct  4 17:31:12 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * psim.c, device_tree.h, device_tree.c, devices.c (printd_*,
-       scand_*): new functions to parse/print fields in device names
-       while hiding any machine dependency.
-
-       * devices.c, psim.c: Change the stack init code so that it is
-       handled by a device.  Arguments passed across using a device ioctl
-       (hack).
-
-       * devices.h, devices.c: device ioctl callback changed to allow a
-       variable number of arguments.  This gives greater flexability and
-       greater chance of bugs.
-
-Tue Oct  3 22:01:56 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * main.c (printf_filtered, error): Missing va_end() to close off
-        variable argument use.
-
-       * Makefile.in (tmp-gencode): comment out hack to get around some
-        versions of make not handling files being created as side-effects.
-
-       * gen.c (lf_open): Add -n (real_file_name) option.  Specifies an
-        alternative file name to use in output files for things like #line
-        macros.
-
-        Makefile.in (tmp-gencode): Use gen -n so that debug info is
-        correct.
-
-       * Makefile.in (TARGETLIB): Use this instead of libsim.a in the
-       Makefile.
-
-Sat Oct  7 22:40:59 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * sim_calls.c (sim_set_callbacks): Define new function.
-
-Fri Oct  6 17:23:10 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * psim.c (psim_print_info): Print exit status or signal number.
-
-Mon Oct  2 11:46:37 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * cpu.c (struct _cpu): Add number_of_insns field to trace how many
-       instructions are executed.
-       (cpu_increment_number_of_insns): New function to increment the
-       number of instructions issued.
-       (cpu_get_number_of_insns): New function to return the number of
-       instructions issued.
-       (cpu_print_info): New function to print cpu related information.
-       At present, print the number of instructions executed.
-
-       * gen_idecode_c: Emit call to cpu_increment_number_of_insns within
-       idecode_issue.
-
-       * psim.c (psim_print_info): New function to iterate over each of
-       the CPU's calling cpu_print_info.
-       
-       * psim.h,cpu.h: Add new declarations.
-
-       * sim_calls.c (sim_open): Add argument processing to add the same
-       switches main.c accepts for the standalone processor.
-       (sim_close): Call psim_print_info if -I.
-
-       * main.c (main): Add comment saying to update sim_calls.c when
-       adding switches.  Add -I to call psim_print_info when done.
-       (usage): Update usage message.
-
-Sun Oct  1 13:52:59 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * main.c (printf_filtered): Correct to match new prototype.
-
-Sat Sep 30 20:47:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * sim_callbacks.h (printf_filtered): Correct prototype.
-
-Thu Sep 21 16:26:49 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * device_tree.c (OEA_MEMORY_SIZE): Define if not defined to
-       0x100000.
-       (clayton_memory_size): Define as OEA_MEMORY_SIZE.
-
-       * std-config.h (WITH_TRACE): Default to 1 now.
-
-       * psim.c (write_stack_arguments): Don't write any stack arguments
-       if OEA.
-
-       * main.c (main): Switch to using getopt.  Make -p also set
-       trace_semantics.  Make -a turn on all trace flags.  Make -C turn
-       on console tracing.
-
-       * device_tree.c (create_option_device_node): Assume a program is
-       OEA if the start address is < 4096, not just == 0.
-
-Wed Sep 20 13:36:06 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (maintainer-clean): New synonym for realclean.
-
-Sun Sep 10 10:23:56 1995  Michael Tiemann  <tiemann@axon.cygnus.com>
-
-       * registers.c (register_description): Add gdb synonyms for cr
-       (cnd) and msr (ps).
-
-Fri Sep  8 13:16:10 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (install): Don't install in $(tooldir).
-
-       * configure.in: Call AC_CONFIG_HEADER.  Don't try to use
-       bfd/hosts/*.h file or bfd/config/*.mh file.  Call AC_PROG_CC and
-       AC_PROG_RANLIB.  Substitute in values for CFLAGS, HDEFINES, AR,
-       and CC_FOR_BUILD.  Call AC_CHECK_HEADERS for various header files.
-       Touch stamp.h if creating config.h.
-       * configure: Rebuild.
-       * config.in: New file, created by autoheader.
-       * Makefile.in (AR): Define as @AR@.
-       (CC): New variable, defined as @CC@.
-       (CFLAGS): Define as @CFLAGS@.
-       (CC_FOR_BUILD): New variable, defined as @CC_FOR_BUILD@.
-       (RANLIB): Define as @RANLIB@.
-       (HDEFINES, TDEFINES): New variables.
-       (@host_makefile_frag@): Remove.
-       (mostlyclean): Make the same as clean, not distclean.
-       (clean): Remove config.log.
-       (distclean): Remove config.h and stamp-h.
-       (Makefile): Don't depend upon @frags@.  Just rebuild Makefile when
-       invoking config.status.
-       (config.h, stamp-h): New targets.
-       (gen, gen.o): Build with CC_FOR_BUILD, not CC.
-       (ppc-config.h): Rename from old config.h build.
-       * (basics.h,gen.c,ppc-endian.c,psim.c): Include ppc-config.h.
-       
-Fri Sep  8 09:51:03 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * configure{,.in}: Don't include sysdep.h from bfd, since bfd no
-       longer provides it.
-       * basics.h (sysdep.h): Don't include it.
-       * Makefile.in (BASICS_H): Remove sysdep.h.
-
-Wed Sep  6 13:25:42 1995  Andrew Cagney  <cagney@highland.com.au>
-       * core.c (core_add_data): First growth of bss was being put at
-        wrong address (0) instead of &end.
-       * core.c (core_add_stack, core_add_data): Was not handling case
-        where bss/stack is grown across the current end-of-{bss,stack}.
-
-Wed Sep  6 00:46:10 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * system.c (system_call): Fix SYS_break - was aligning bss to a
-        page boundary instead of just an 8 byte one; On first call sbrk(0)
-        != sbrk(0).
-
-Thu Aug 24 14:48:54 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * Makefile.in (install): Fix install rule.
-
-Tue Aug 22 09:31:18 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * system.c (system_call): Add read support.
-
-       * main.c (main): -t sets trace_device_tree.  Correct usage message
-       to current reality.
-
-       * device_tree.c (update_memory_node_for_section): Make tracing
-       output line up.  If not code or readonly, assume that the section
-       is a data section and has read/write permissions.  Add readonly
-       support.
-
-       * core.c (create_core_from_addresses): Print end address in traces
-       and make tracing output line up.
-
-       * Makefile.in: Rewrite from Makefile to work with the Cygnus
-       environment, and support compiling in a different directory than
-       the sources reside in.
-
-       * ppc-endian.h: Rename from endian.h so that it doesn't get
-       confused with /usr/include/sys/endian.h on Linux.  Add Linux
-       endian support.
-
-       * ppc-endian.c: Rename to be consistant with ppc-endian.h.
-       Include ppc-endian.h, not endian.h.
-
-       * basics.h (sysdep.h): Include sysdep.h that configure makes.
-       Include ppc-endian.h, not endian.h.
-
-       * std-config.h: Rename from ppc-config.  Put #ifndefs around most
-       configuration macros, so they can be overridden via CFLAGS.  By
-       default, turn off tracing.
-
-       * configure.in: Clone from other simulator targets.
-       * configure: Generate via autoconf from configure.in.
-
-Sat Aug 19 09:05:32 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * ppc-instructions: fix srawi (was geting XER[CA] real wrong).
-
-       * interrupts.c (data_storage_interrupt): allow stack to grow by
-        upto one MB per increment.
-
-       * ppc-instructions: divw was computing rA / rA not rA / rB
-
-       * main.c (main): really stupid. Wasn't exiting with correct status
-
-Fri Aug 18 00:38:01 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * system.c (system_call): add system calls kill(2) and getpid(2).
-
-       * main.c (main): Check/return exit status when simulation
-        finishes.
-
-Thu Aug 17 14:29:18 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * device_tree.c (create_option_device_node): Alignment rules (at
-       least for the moment) now are for strict alignment only for LE OEA
-       mode.  (Because of compiler problems).
-
-       * system.c (system_call) SYS_exit: Wasn't exiting with correct status.
-
-Thu Aug 17 01:16:38 1995  Andrew Cagney  <cagney@highland.com.au>
-
-       * vm.c (DEFINE_VM_DATA_MAP_WRITE_N): For miss aligned transfer
-        forgot to return.
-
-       * system.c (system_call): didn't page align break argument before
-        determining increment break increment.
-
-       * psim/ppc: Re-arange entire directory structure so that
-        everything lives in the one directory.  While a pain for cleaning,
-        makes building across multiple architectures much simpler.
-
-       * devices.c, device_tree.c: Added code that provides a simple
-        illustration of how an interrupt control device could be
-        implemented.
-
-       * devices.c: Added code so that the dumb console device can read
-        (from stdin) as well as write to stdout.
-
diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog
deleted file mode 100644 (file)
index 275d5e8..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-       * pru.h, sim-main.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_PREREQ): Delete.
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h: Include config.h.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-11-12  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * pru.h (RS1SEL): New macro.
-       (RS1_WIDTH): New macro.
-       * pru.isa: Describe the LMBD instruction.
-
-2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * Makefile.in: New file.
-       * aclocal.m4: Regenerated.
-       * config.in: Regenerated.
-       * configure: Regenerated.
-       * configure.ac: New file.
-       * interp.c: New file.
-       * pru.h: New file.
-       * pru.isa: New file.
-       * sim-main.h: New file.
diff --git a/sim/pru/ChangeLog-2021 b/sim/pru/ChangeLog-2021
new file mode 100644 (file)
index 0000000..275d5e8
--- /dev/null
@@ -0,0 +1,209 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+       * pru.h, sim-main.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_PREREQ): Delete.
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h: Include config.h.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-11-12  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * pru.h (RS1SEL): New macro.
+       (RS1_WIDTH): New macro.
+       * pru.isa: Describe the LMBD instruction.
+
+2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * Makefile.in: New file.
+       * aclocal.m4: Regenerated.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+       * configure.ac: New file.
+       * interp.c: New file.
+       * pru.h: New file.
+       * pru.isa: New file.
+       * sim-main.h: New file.
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
deleted file mode 100644 (file)
index e9aa744..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
-       * interp.c (sim_open): Set STATE_MODEL_NAME.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Set STATE_MACHS.
-       (riscv_sim_machs): New decl.
-       * machs.c (sim_machs): Rename to ...
-       (riscv_sim_machs): ... this.
-
-2021-06-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * machs.c (sim_machs): Mark const.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Call sim_state_alloc_extra.
-       * sim-main.c (execute_a): Change sd to riscv_sim_state.
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-       (struct riscv_sim_state): New struct.
-       (RISCV_SIM_STATE): Define.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c, machs.c, sim-main.c: Replace config.h include with defs.h.
-
-2021-05-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c (mulhu): Change check to HAVE___INT128.
-       * config.in, configure: Regenerate.
-
-2021-05-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c (mulhu): Check if __SIZEOF_INT128__ is defined.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c (MAX, MIN): Delete.
-       (execute_a): Change MAX/MIN to max/min.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.c: Include gdb/sim-riscv.h.
-       (reg_fetch, reg_store): Define.
-       (initialize_cpu): Assign reg_fetch & reg_store.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in, configure.ac, interp.c, machs.c, machs.h,
-       model_list.def, sim-main.c, sim-main.h: New files.
-       * aclocal.m4, config.in, configure: Regenerated.
diff --git a/sim/riscv/ChangeLog-2021 b/sim/riscv/ChangeLog-2021
new file mode 100644 (file)
index 0000000..e9aa744
--- /dev/null
@@ -0,0 +1,211 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_DEFAULT_MODEL call.
+       * interp.c (sim_open): Set STATE_MODEL_NAME.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Set STATE_MACHS.
+       (riscv_sim_machs): New decl.
+       * machs.c (sim_machs): Rename to ...
+       (riscv_sim_machs): ... this.
+
+2021-06-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * machs.c (sim_machs): Mark const.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Call sim_state_alloc_extra.
+       * sim-main.c (execute_a): Change sd to riscv_sim_state.
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+       (struct riscv_sim_state): New struct.
+       (RISCV_SIM_STATE): Define.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c, machs.c, sim-main.c: Replace config.h include with defs.h.
+
+2021-05-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c (mulhu): Change check to HAVE___INT128.
+       * config.in, configure: Regenerate.
+
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c (mulhu): Check if __SIZEOF_INT128__ is defined.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c (MAX, MIN): Delete.
+       (execute_a): Change MAX/MIN to max/min.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.c: Include gdb/sim-riscv.h.
+       (reg_fetch, reg_store): Define.
+       (initialize_cpu): Assign reg_fetch & reg_store.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in, configure.ac, interp.c, machs.c, machs.h,
+       model_list.def, sim-main.c, sim-main.h: New files.
+       * aclocal.m4, config.in, configure: Regenerated.
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
deleted file mode 100644 (file)
index effa512..0000000
+++ /dev/null
@@ -1,384 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (open): Rename to ...
-       (is_open): ... this.
-       (sim_open, sim_close): Rename open to is_open.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c, gdb-if.c, load.c, main.c, mem.c, rl78.c, trace.c: Replace
-       config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Update path.
-       * gdb-if.c: Update include path.
-       * load.h: Likewise.
-
-2021-05-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c: Include libiberty.h.
-       (sim_do_command): Rewrite to use buildargv.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.c (trace_register_init): Add missing (void).
-       * gdb-if.c (rl78_signal_to_target, handle_step): Mark static.
-       (sim_do_command): Delete redundant for loop.
-       * mem.c (mirror_rom_base, mirror_ram_base, mirror_length): Mark static.
-       * mem.h (mem_set_mirror): New prototype.
-       * rl78.c (op_flags): Move psw decl to top of scope.
-       * trace.c: Include trace.h.
-       (load_file_and_line): Move file decl to top of scope.  Declare ret.
-       assign fread to ret and use to index f->data.
-       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * load.c (rl78_load): Use BFD_VMA_FMT and drop casts.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
-       (reg.o, rl78.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CHECK_HEADERS_ONCE.
-       * main.c: Delete HAVE_GETOPT_H.
-       * config.in, configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_memory_map): Define.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * cpu.h (pc): Change to an extern.
-       * cpu.c (pc): Define.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-07-27  Alan Modra  <amodra@gmail.com>
-
-       * load.c: Don't include libbfd.h.
-       (rl78_load): Don't use private iovec seek or read.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-30  DJ Delorie  <dj@redhat.com>
-
-       * cpu.c (g14_multiply): New.
-       * cpu.h (g14_multiply): New.
-       * load.c (rl78_load): Decode ISA completely.
-       * main.c (main): Expand -M to include other ISAs.
-       * rl78.c (decode_opcode): Decode based on ISA.
-       * trace.c (rl78_disasm_fn): New.
-       (sim_disasm_init): Reset it.
-       (sim_disasm_one): Get correct disassembler for ISA.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-23  Nick Clifton  <nickc@redhat.com>
-
-       * cpu.c (rl78_g10_mode): Declare.
-       (g13_multiply): Declare.
-       * cpu.h (rl78_g10_mode): Export.
-       (g13_multiply): Export.
-
-2015-03-20  Nick Clifton  <nickc@redhat.com>
-
-       * load.c (rl78_load): If the G10, G13 or G14 flag bits are set in
-       the ELF header use them to select the proper emulation mode.
-       * mem.c (mem_put_byte): Use mem_put_hi to store a value into the
-       MDB register.
-       (mem_get_byte): Use mem_get_hi to extract a value from the MDB
-       register.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
-       to top and add const.  Call strdup on cmd and free at end.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_load): Add const to prog.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-08-07  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (hw_breakpoints): Remove.
-       (sim_store_register): Add an assert() to make sure PC is in range.
-       Delete code which referenced hw_breakpoints[].
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-01-03  Nick Clifton  <nickc@redhat.com>
-
-       * mem.c (MDBL): Correct value.
-       (MDBH): Correct value.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-02-03  Kevin Buettner  <kevinb@redhat.com>
-
-       * Makefile.in (SIM_OBJS): Add gdb-if.o.
-       * gdb-if.c: New file.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
diff --git a/sim/rl78/ChangeLog-2021 b/sim/rl78/ChangeLog-2021
new file mode 100644 (file)
index 0000000..effa512
--- /dev/null
@@ -0,0 +1,384 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (open): Rename to ...
+       (is_open): ... this.
+       (sim_open, sim_close): Rename open to is_open.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c, gdb-if.c, load.c, main.c, mem.c, rl78.c, trace.c: Replace
+       config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Update path.
+       * gdb-if.c: Update include path.
+       * load.h: Likewise.
+
+2021-05-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c: Include libiberty.h.
+       (sim_do_command): Rewrite to use buildargv.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.c (trace_register_init): Add missing (void).
+       * gdb-if.c (rl78_signal_to_target, handle_step): Mark static.
+       (sim_do_command): Delete redundant for loop.
+       * mem.c (mirror_rom_base, mirror_ram_base, mirror_length): Mark static.
+       * mem.h (mem_set_mirror): New prototype.
+       * rl78.c (op_flags): Move psw decl to top of scope.
+       * trace.c: Include trace.h.
+       (load_file_and_line): Move file decl to top of scope.  Declare ret.
+       assign fread to ret and use to index f->data.
+       * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * load.c (rl78_load): Use BFD_VMA_FMT and drop casts.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
+       (reg.o, rl78.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CHECK_HEADERS_ONCE.
+       * main.c: Delete HAVE_GETOPT_H.
+       * config.in, configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_memory_map): Define.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * cpu.h (pc): Change to an extern.
+       * cpu.c (pc): Define.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * load.c: Don't include libbfd.h.
+       (rl78_load): Don't use private iovec seek or read.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * cpu.c (g14_multiply): New.
+       * cpu.h (g14_multiply): New.
+       * load.c (rl78_load): Decode ISA completely.
+       * main.c (main): Expand -M to include other ISAs.
+       * rl78.c (decode_opcode): Decode based on ISA.
+       * trace.c (rl78_disasm_fn): New.
+       (sim_disasm_init): Reset it.
+       (sim_disasm_one): Get correct disassembler for ISA.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-23  Nick Clifton  <nickc@redhat.com>
+
+       * cpu.c (rl78_g10_mode): Declare.
+       (g13_multiply): Declare.
+       * cpu.h (rl78_g10_mode): Export.
+       (g13_multiply): Export.
+
+2015-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * load.c (rl78_load): If the G10, G13 or G14 flag bits are set in
+       the ELF header use them to select the proper emulation mode.
+       * mem.c (mem_put_byte): Use mem_put_hi to store a value into the
+       MDB register.
+       (mem_get_byte): Use mem_get_hi to extract a value from the MDB
+       register.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
+       to top and add const.  Call strdup on cmd and free at end.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_load): Add const to prog.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-08-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (hw_breakpoints): Remove.
+       (sim_store_register): Add an assert() to make sure PC is in range.
+       Delete code which referenced hw_breakpoints[].
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-01-03  Nick Clifton  <nickc@redhat.com>
+
+       * mem.c (MDBL): Correct value.
+       (MDBH): Correct value.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-02-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (SIM_OBJS): Add gdb-if.o.
+       * gdb-if.c: New file.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
deleted file mode 100644 (file)
index 8a77a8d..0000000
+++ /dev/null
@@ -1,695 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Change to
-       @SIM_RX_CYCLE_ACCURATE_FLAGS@.
-       * configure.ac: Delete most content.  Moved sim-rx-cycle-accurate
-       to ...
-       * acinclude.m4: ... here.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Rename sim_cycle_accurate_flags to
-       sim_rx_cycle_accurate_flags.
-       * configure.ac: Likewise.
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to @sim_cycle_accurate_flags@.
-       * configure.ac: Move CYCLE_ACCURATE define from AC_DEFINE to
-       AC_SUBST.
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * README.txt: Change cycle-stats to sim-profile.
-       * configure.ac: Delete cycle-stats.
-       * mem.c: Change CYCLE_STATS to WITH_PROFILE
-       * rx.c: Likewise.
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * err.c: Include defs.h.
-       * fpu.c, gdb-if.c, load.c, main.c, mem.c, misc.c, reg.c, rx.c,
-       syscalls.c, trace.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c: Update include path.
-       * load.h: Likewise.
-       * syscalls.c: Likewise.
-
-2021-05-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c: Include libiberty.h.
-       (sim_do_command): Rewrite to use buildargv.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * load.c (rx_load): Use BFD_VMA_FMT and drop casts.
-
-2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * trace.c (op_printf): Likewise.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * load.c (rx_load): Cast size to long.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Delete.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (LIBS): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
-       (misc.o, reg.o, rx.o, syscalls.o, trace.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete AC_CHECK_HEADERS_ONCE.
-       * main.c: Delete HAVE_GETOPT_H.
-       * config.in, configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       (syscalls.o): Delete syscall.h.
-       * syscalls.c: Change syscall.h include to targ-vals.h.
-       (rx_syscall): Add TARGET_ prefix to all SYS_ constants.
-       * syscall.h: Removed.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-09  Luis Machado  <luis.machado@linaro.org>
-
-       * fpu.c (rxfp_itof): Initialize structure.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * trace.c (load_file_and_line): Use fread return value to index
-       the data.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * configure: Regenerate.
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * mem.c (mem_put_blk): Rename parameter, add cast from parameter
-       type to local type.  Remove cast later in the function.
-       (mem_get_blk): Likewise.
-       * mem.h (mem_put_blk): Rename parameter to match definition.
-       (mem_get_blk): Likewise.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * load.c: Replace 'elf/internal.h' and 'elf/common.h' includes
-       with 'elf-bfd.h' include.
-       * trace.c: Add 'trace.h' include.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * reg.c (trace_register_changes): Use PRIx64 in printf format
-       string.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * syscalls.c (rx_syscall): Move declaration of some variables to
-       the start of the enclosing block.
-       * trace.c (load_file_and_line): Likewise.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * reg.c (fpsw2str): Provide a format string to printf.
-       (trace_register_changes): Likewise.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * err.c (execution_error_exit_all): Delete.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * fpu.c (check_exceptions): Make static.
-       * gdb-if.c (handle_step): Likewise.
-       * mem.c (mem_put_byte): Likewise.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * cpu.h (trace_register_changes): Add void parameter type.
-       * err.c (ee_overrides): Likewise.
-       * mem.c (mem_usage_stats): Likewise.
-       (e): Likewise.
-       * reg.c (stack_heap_stats): Likewise.
-       * rx.c (pop): Likewise.
-       (poppc): Likewise.
-       (decode_opcode): Likewise.
-       * syscalls.c (arg): Likewise.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * gdb-if.c (sim_do_command): Work with a copy of the command.
-
-2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * gdb-if.c (sim_memory_map): New function.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * main.c: Delete HAVE_STDLIB_H.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * rx.c: Include libiberty.h.
-       (N_RXO, N_RXT): Use ARRAY_SIZE.
-
-2016-07-27  Alan Modra  <amodra@gmail.com>
-
-       * load.c: Don't include libbfd.h.
-       (rx_load): Don't use private iovec seek or read.
-
-2016-04-27  Nick Clifton  <nickc@redhat.com>
-
-       PR target/20000
-       * fpu.c (check_exceptions): Fix typo checking for signalling
-       NANs.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-10  Nick Clifton  <nickc@redhat.com>
-
-       * rx.c (id_names): Add nop4, nop5, nop6 and nop7.
-       (decode_opcode): Likewise.
-       (get_op): Handle RX_Operand_Zero_Indirect.
-       Handle RX_Bad_Size and RX_MAX_SIZE.
-       (put_op): Likewise.
-       (N_MAP): Increase to 90.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
-       (AC_ARG_ENABLE(cycle-stats)): Likewise.
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-24  Nick Clifton  <nickc@redhat.com>
-
-       PR sim/18273
-       * reg.c (put_reg): Fix check for valid register number.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2015-12-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * gdb-if.c (open): Rename to...
-       (rx_sim_is_open): This. Replace all uses of "open" by uses of
-       "rx_sim_is_open" throughout.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
-       to top and add const.  Call strdup on cmd and free at end.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_load): Add const to prog.
-
-2014-02-17  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (rx_signal_to_host):  Rename to
-       `rx_signal_to_gdb_signal'.  Make static.  Update all callers
-       to use new name.  Use signal names from include/gdb/signals.h.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-25  Nick Clifton  <nickc@redhat.com>
-
-       * rx.c (SHIFT_OP): A shift by zero still sets the condition
-       codes.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-01-16  Nick Clifton  <nickc@redhat.com>
-
-       * rx.c (decode_opcode): Handle RXO_satr.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-05-24  Pedro Alves  <palves@redhat.com>
-
-       PR gdb/7205
-
-       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-03-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
-       (CYCLE_STATS): Likewise.
-
-2012-03-02  Kevin Buettner  <kevinb@redhat.com>
-
-       * load.h (rx_load): Add `callback' parameter to function prototype.
-       (gdb/callback.h): Include.
-       * load.c (load.h): Include.
-       (xprintf, find_section_name_by_offset): New functions.
-       (rx_load): Add `callback' parameter.  Add code for printing
-       section loaded using GDB's printf facilities.
-       * gdb-if.c (sim_load, sim_create_inferior): Update calls to
-       rx_load().
-       * main.c (main): Likewise.
-       * syscalls.c, syscalls.h (get_callbacks): New function.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Rename from configure.in.
-
-2011-07-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.in: Add "dnl" before copyright notice.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_complete_command): New stub function.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * gdb-if.c (sim_store_register): Update return value to
-       match new API.
-
-2010-12-14  DJ Delorie  <dj@redhat.com>
-
-       * rx.c (decode_opcode): For "MVFC PC,", use the address of the
-       opcode, not the address following the opcode.
-       (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
-       the address following the opcode.
-
-2010-11-11  DJ Delorie  <dj@redhat.com>
-
-       * rx.c (lsb_count): New.
-       (divu_cycles): New.
-       (div_cycles): New.
-       (decode_opcode): Fix cycle count math for div, divu, suntil, and
-       swhile.
-
-2010-09-29  Kevin Buettner  <kevinb@redhat.com>
-
-       * mem.c (rx_mem_ptr): When invalidating the decode cache, account
-       for the fact that the instruction decoder never uses swapped
-       addresses.
-
-2010-09-29  Nick Clifton  <nickc@redhat.com>
-
-       * rx.c (decode_opcode: RXO_int): Only break out of the emulation
-       loop if rx_syscall() does not return a RX_STEPPED result.
-
-2010-09-23  Kevin Buettner  <kevinb@redhat.com>
-
-       * rx.c (decode_opcode): Add cycle information for RXO_smovu.
-
-2010-09-23  Kevin Buettner  <kevinb@redhat.com>
-
-       * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
-
-       * rx.c (decode_opcode): Declare `tx' as unsigned.
-
-       * cpu.h (reset_decoder): Declare.
-       * load.c (rx_load): Call `reset_decoder'.
-       * rx.c (reset_decoder): New function.
-
-2010-07-29  DJ Delorie  <dj@redhat.com>
-
-       * rx.c (decode_cache_base): New.
-       (id_names): Remove ediv and edivu.
-       (optype_names): Add TwoReg.
-       (maybe_get_mem_page): New.
-       (rx_get_byte): Call it.
-       (get_op): Add TwoReg support.
-       (put_op): Likewise.
-       (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
-       is a pointer now.
-       (DO_RETURN): New.  We use longjmp to return an exception result.
-       (decode_opcode): Make opcode a pointer to the decode cache.  Save
-       decoded opcode information and re-use.  Call DO_RETURN instead of
-       return throughout.  Remove ediv and edivu.
-       * mem.c (ptdc): New.  Adds decode cache.
-       (rx_mem_ptr): Support it.
-       (rx_mem_decode_cache): New.
-       * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
-       (rx_mem_decode_cache): Declare.
-       * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
-       * main.c (main): ...and here.  Use a fast loop if neither trace
-       nor disassemble is given.
-       * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
-       RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
-       valid code for anything.
-
-2010-07-27  DJ Delorie  <dj@redhat.com>
-
-       * README.txt: New.
-       * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
-       * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
-       New.  Default to enabled.
-       * configure: Regenerate.
-
-       * cpu.h (regs_type): Add cycle tracking info.
-       (reset_pipeline_stats): Declare.
-       (halt_pipeline_stats): Declare.
-       (pipeline_stats): Declare.
-       * main.c (done): Call pipeline_stats().
-       * mem.h (rx_mem_ptr): Moved to here ...
-       * mem.c (mem_ptr): ... from here.  Rename throughout.
-       (mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
-       statistics.  Move UART to SCI4.
-       (mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
-       * reg.c (init_regs): Set Rt reg to -1 (no reg).
-       * rx.c: Add cycle counting and statistics throughout.
-       (rx_get_byte): Optimize for speed.
-       (decode_opcode): Likewise.
-       (reset_pipeline_stats): New.
-       (halt_pipeline_stats): New.
-       (pipeline_stats): New.
-       * trace.c (sim_disasm_one): Print cycle count.
-
-2010-07-07  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
-
-2010-06-24  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (trace.h): Include.
-       (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
-
-2010-06-07  Nick Clifton  <nickc@redhat.com>
-
-       * reg.c (set_oszc): Use unsigned int for the mask.
-       (set_szc, set_osz, set_sz): Likewise.
-
-2010-05-28  Kevin Buettner  <kevinb@redhat.com>
-
-       * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * gdb-if.c (sim_write): Add const to buf arg.
-
-2010-01-30  Masaki Muranaka  <monaka@monami-software.com>
-
-       * configure.in: Check if the host has getopt.h.
-       * configure: Regenerate.
-       * config.in: Regenerate.
-       * main.c: Include config.h.
-       Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
-       Include getopt.h in case HAVE_GETOPT_H is defined.
-
-2009-12-22  Yoshinori Sato  <ysato@users.sourceforge.jp>
-
-       * rx/rx.c (decode_opcode): btst bit address mask fix.
-
-2009-11-30  DJ Delorie  <dj@redhat.com>
-
-       * rx/rx.c (decode_opcode): fix SWHILE logic.
-
-2009-10-27  DJ Delorie  <dj@redhat.com>
-           Kevin Buettner <kevinb@redhat.com>
-
-       * load.h: New.
-       * rx.c: New.
-       * syscalls.c: New.
-       * syscalls.h: New.
-       * load.c: New.
-       * configure.in: New.
-       * gdb-if.c: New.
-       * err.c: New.
-       * cpu.h: New.
-       * Makefile.in: New.
-       * fpu.c: New.
-       * mem.c: New.
-       * config.in: New.
-       * err.h: New.
-       * reg.c: New.
-       * mem.h: New.
-       * main.c: New.
-       * misc.h: New.
-       * trace.c: New.
-       * misc.c: New.
-       * syscall.h: New.
-       * trace.h: New.
-       * fpu.h: New.
diff --git a/sim/rx/ChangeLog-2021 b/sim/rx/ChangeLog-2021
new file mode 100644 (file)
index 0000000..8a77a8d
--- /dev/null
@@ -0,0 +1,695 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Change to
+       @SIM_RX_CYCLE_ACCURATE_FLAGS@.
+       * configure.ac: Delete most content.  Moved sim-rx-cycle-accurate
+       to ...
+       * acinclude.m4: ... here.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Rename sim_cycle_accurate_flags to
+       sim_rx_cycle_accurate_flags.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to @sim_cycle_accurate_flags@.
+       * configure.ac: Move CYCLE_ACCURATE define from AC_DEFINE to
+       AC_SUBST.
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * README.txt: Change cycle-stats to sim-profile.
+       * configure.ac: Delete cycle-stats.
+       * mem.c: Change CYCLE_STATS to WITH_PROFILE
+       * rx.c: Likewise.
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * err.c: Include defs.h.
+       * fpu.c, gdb-if.c, load.c, main.c, mem.c, misc.c, reg.c, rx.c,
+       syscalls.c, trace.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c: Update include path.
+       * load.h: Likewise.
+       * syscalls.c: Likewise.
+
+2021-05-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c: Include libiberty.h.
+       (sim_do_command): Rewrite to use buildargv.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * load.c (rx_load): Use BFD_VMA_FMT and drop casts.
+
+2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * trace.c (op_printf): Likewise.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * load.c (rx_load): Cast size to long.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Delete.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (LIBS): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (err.o, fpu.o, gdb-if.o, load.o, main.o, mem.o)
+       (misc.o, reg.o, rx.o, syscalls.o, trace.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete AC_CHECK_HEADERS_ONCE.
+       * main.c: Delete HAVE_GETOPT_H.
+       * config.in, configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       (syscalls.o): Delete syscall.h.
+       * syscalls.c: Change syscall.h include to targ-vals.h.
+       (rx_syscall): Add TARGET_ prefix to all SYS_ constants.
+       * syscall.h: Removed.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-09  Luis Machado  <luis.machado@linaro.org>
+
+       * fpu.c (rxfp_itof): Initialize structure.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * trace.c (load_file_and_line): Use fread return value to index
+       the data.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure: Regenerate.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mem.c (mem_put_blk): Rename parameter, add cast from parameter
+       type to local type.  Remove cast later in the function.
+       (mem_get_blk): Likewise.
+       * mem.h (mem_put_blk): Rename parameter to match definition.
+       (mem_get_blk): Likewise.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * load.c: Replace 'elf/internal.h' and 'elf/common.h' includes
+       with 'elf-bfd.h' include.
+       * trace.c: Add 'trace.h' include.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * reg.c (trace_register_changes): Use PRIx64 in printf format
+       string.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * syscalls.c (rx_syscall): Move declaration of some variables to
+       the start of the enclosing block.
+       * trace.c (load_file_and_line): Likewise.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * reg.c (fpsw2str): Provide a format string to printf.
+       (trace_register_changes): Likewise.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * err.c (execution_error_exit_all): Delete.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * fpu.c (check_exceptions): Make static.
+       * gdb-if.c (handle_step): Likewise.
+       * mem.c (mem_put_byte): Likewise.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cpu.h (trace_register_changes): Add void parameter type.
+       * err.c (ee_overrides): Likewise.
+       * mem.c (mem_usage_stats): Likewise.
+       (e): Likewise.
+       * reg.c (stack_heap_stats): Likewise.
+       * rx.c (pop): Likewise.
+       (poppc): Likewise.
+       (decode_opcode): Likewise.
+       * syscalls.c (arg): Likewise.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb-if.c (sim_do_command): Work with a copy of the command.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb-if.c (sim_memory_map): New function.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Call SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * main.c: Delete HAVE_STDLIB_H.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * rx.c: Include libiberty.h.
+       (N_RXO, N_RXT): Use ARRAY_SIZE.
+
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * load.c: Don't include libbfd.h.
+       (rx_load): Don't use private iovec seek or read.
+
+2016-04-27  Nick Clifton  <nickc@redhat.com>
+
+       PR target/20000
+       * fpu.c (check_exceptions): Fix typo checking for signalling
+       NANs.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-10  Nick Clifton  <nickc@redhat.com>
+
+       * rx.c (id_names): Add nop4, nop5, nop6 and nop7.
+       (decode_opcode): Likewise.
+       (get_op): Handle RX_Operand_Zero_Indirect.
+       Handle RX_Bad_Size and RX_MAX_SIZE.
+       (put_op): Likewise.
+       (N_MAP): Increase to 90.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_ARG_ENABLE(cycle-accurate)): Call AS_HELP_STRING.
+       (AC_ARG_ENABLE(cycle-stats)): Likewise.
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-24  Nick Clifton  <nickc@redhat.com>
+
+       PR sim/18273
+       * reg.c (put_reg): Fix check for valid register number.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2015-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb-if.c (open): Rename to...
+       (rx_sim_is_open): This. Replace all uses of "open" by uses of
+       "rx_sim_is_open" throughout.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_do_command): Add const to cmd.  Move args
+       to top and add const.  Call strdup on cmd and free at end.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_load): Add const to prog.
+
+2014-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (rx_signal_to_host):  Rename to
+       `rx_signal_to_gdb_signal'.  Make static.  Update all callers
+       to use new name.  Use signal names from include/gdb/signals.h.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-25  Nick Clifton  <nickc@redhat.com>
+
+       * rx.c (SHIFT_OP): A shift by zero still sets the condition
+       codes.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-01-16  Nick Clifton  <nickc@redhat.com>
+
+       * rx.c (decode_opcode): Handle RXO_satr.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-03-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
+       (CYCLE_STATS): Likewise.
+
+2012-03-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * load.h (rx_load): Add `callback' parameter to function prototype.
+       (gdb/callback.h): Include.
+       * load.c (load.h): Include.
+       (xprintf, find_section_name_by_offset): New functions.
+       (rx_load): Add `callback' parameter.  Add code for printing
+       section loaded using GDB's printf facilities.
+       * gdb-if.c (sim_load, sim_create_inferior): Update calls to
+       rx_load().
+       * main.c (main): Likewise.
+       * syscalls.c, syscalls.h (get_callbacks): New function.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Rename from configure.in.
+
+2011-07-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.in: Add "dnl" before copyright notice.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_complete_command): New stub function.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb-if.c (sim_store_register): Update return value to
+       match new API.
+
+2010-12-14  DJ Delorie  <dj@redhat.com>
+
+       * rx.c (decode_opcode): For "MVFC PC,", use the address of the
+       opcode, not the address following the opcode.
+       (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
+       the address following the opcode.
+
+2010-11-11  DJ Delorie  <dj@redhat.com>
+
+       * rx.c (lsb_count): New.
+       (divu_cycles): New.
+       (div_cycles): New.
+       (decode_opcode): Fix cycle count math for div, divu, suntil, and
+       swhile.
+
+2010-09-29  Kevin Buettner  <kevinb@redhat.com>
+
+       * mem.c (rx_mem_ptr): When invalidating the decode cache, account
+       for the fact that the instruction decoder never uses swapped
+       addresses.
+
+2010-09-29  Nick Clifton  <nickc@redhat.com>
+
+       * rx.c (decode_opcode: RXO_int): Only break out of the emulation
+       loop if rx_syscall() does not return a RX_STEPPED result.
+
+2010-09-23  Kevin Buettner  <kevinb@redhat.com>
+
+       * rx.c (decode_opcode): Add cycle information for RXO_smovu.
+
+2010-09-23  Kevin Buettner  <kevinb@redhat.com>
+
+       * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
+
+       * rx.c (decode_opcode): Declare `tx' as unsigned.
+
+       * cpu.h (reset_decoder): Declare.
+       * load.c (rx_load): Call `reset_decoder'.
+       * rx.c (reset_decoder): New function.
+
+2010-07-29  DJ Delorie  <dj@redhat.com>
+
+       * rx.c (decode_cache_base): New.
+       (id_names): Remove ediv and edivu.
+       (optype_names): Add TwoReg.
+       (maybe_get_mem_page): New.
+       (rx_get_byte): Call it.
+       (get_op): Add TwoReg support.
+       (put_op): Likewise.
+       (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
+       is a pointer now.
+       (DO_RETURN): New.  We use longjmp to return an exception result.
+       (decode_opcode): Make opcode a pointer to the decode cache.  Save
+       decoded opcode information and re-use.  Call DO_RETURN instead of
+       return throughout.  Remove ediv and edivu.
+       * mem.c (ptdc): New.  Adds decode cache.
+       (rx_mem_ptr): Support it.
+       (rx_mem_decode_cache): New.
+       * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
+       (rx_mem_decode_cache): Declare.
+       * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
+       * main.c (main): ...and here.  Use a fast loop if neither trace
+       nor disassemble is given.
+       * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
+       RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
+       valid code for anything.
+
+2010-07-27  DJ Delorie  <dj@redhat.com>
+
+       * README.txt: New.
+       * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
+       * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
+       New.  Default to enabled.
+       * configure: Regenerate.
+
+       * cpu.h (regs_type): Add cycle tracking info.
+       (reset_pipeline_stats): Declare.
+       (halt_pipeline_stats): Declare.
+       (pipeline_stats): Declare.
+       * main.c (done): Call pipeline_stats().
+       * mem.h (rx_mem_ptr): Moved to here ...
+       * mem.c (mem_ptr): ... from here.  Rename throughout.
+       (mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
+       statistics.  Move UART to SCI4.
+       (mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
+       * reg.c (init_regs): Set Rt reg to -1 (no reg).
+       * rx.c: Add cycle counting and statistics throughout.
+       (rx_get_byte): Optimize for speed.
+       (decode_opcode): Likewise.
+       (reset_pipeline_stats): New.
+       (halt_pipeline_stats): New.
+       (pipeline_stats): New.
+       * trace.c (sim_disasm_one): Print cycle count.
+
+2010-07-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
+
+2010-06-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (trace.h): Include.
+       (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
+
+2010-06-07  Nick Clifton  <nickc@redhat.com>
+
+       * reg.c (set_oszc): Use unsigned int for the mask.
+       (set_szc, set_osz, set_sz): Likewise.
+
+2010-05-28  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb-if.c (sim_write): Add const to buf arg.
+
+2010-01-30  Masaki Muranaka  <monaka@monami-software.com>
+
+       * configure.in: Check if the host has getopt.h.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * main.c: Include config.h.
+       Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
+       Include getopt.h in case HAVE_GETOPT_H is defined.
+
+2009-12-22  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * rx/rx.c (decode_opcode): btst bit address mask fix.
+
+2009-11-30  DJ Delorie  <dj@redhat.com>
+
+       * rx/rx.c (decode_opcode): fix SWHILE logic.
+
+2009-10-27  DJ Delorie  <dj@redhat.com>
+           Kevin Buettner <kevinb@redhat.com>
+
+       * load.h: New.
+       * rx.c: New.
+       * syscalls.c: New.
+       * syscalls.h: New.
+       * load.c: New.
+       * configure.in: New.
+       * gdb-if.c: New.
+       * err.c: New.
+       * cpu.h: New.
+       * Makefile.in: New.
+       * fpu.c: New.
+       * mem.c: New.
+       * config.in: New.
+       * err.h: New.
+       * reg.c: New.
+       * mem.h: New.
+       * main.c: New.
+       * misc.h: New.
+       * trace.c: New.
+       * misc.c: New.
+       * syscall.h: New.
+       * trace.h: New.
+       * fpu.h: New.
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
deleted file mode 100644 (file)
index e32e5df..0000000
+++ /dev/null
@@ -1,1848 +0,0 @@
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Removed.
-       * aclocal.m4: Removed.
-       * configure: Removed.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
-       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
-       * configure: Regenerate.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-       * interp.c (sim_open): Set current_alignment.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (SET_RC): Add parenthesis.
-       (sim_open): Add const to p.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Replace config.h include with defs.h.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c: Update include path.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * interp.c: Update includes.
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (SIM_EXTRA_DEPS): New variable.
-       (interp.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (NL_TARGET): Define.
-       * interp.c: Change syscall.h include to targ-vals.h.
-       (trap): Add TARGET_ prefix to all SYS_ constants.
-       * syscall.h: Removed.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-03-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode.o): New rule.
-       (gencode): Call LINK_FOR_BUILD.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
-       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2017-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * gencode.c: Include libiberty.h.
-       (conflict_warn): Use ARRAY_SIZE.
-       * interp.c (init_dsp): Likewise.
-
-2016-04-10  Oleg Endo  <olegendo@gcc.gnu.org>
-
-       * interp.c (dmul): Split into dmul_s and dmul_u.  Use explicit integer
-       width types and simplify implementation.
-       * gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u.
-
-2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
-
-       * interp.c (sim_memory_size): Default init to 30.
-       (parse_and_set_memory_size): Adjust upper bound to 31.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (count_argc): Delete.
-       (trap): Change count_argc to countargv.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-       * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER
-       to HOST_BYTE_ORDER.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * interp.c (target_little_endian): Change LITTLE_ENDIAN to
-       BFD_ENDIAN_LITTLE.
-       (host_little_endian): Likewise.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (sim_store_register): Rename to ...
-       (sh_reg_store): ... this.
-       (sim_fetch_register): Rename to ...
-       (sh_reg_fetch): ... this.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-11-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * gencode.c (tab): Pass sd into trap calls.
-       * interp.c (prog_argv, callback): Delete.
-       (parse_and_set_memory_size): Add SIM_DESC arg.
-       (trap): Declare callback and prog_argv.
-       (sim_resume): Declare callback.
-       (sim_info): Change callback->printf_filtered calls to sim_io_printf.
-       (sim_open): Delete callback assignment.  Pass sd to
-       parse_and_set_memory_size.
-       (parse_and_set_memory_size): Change callback->printf_filtered call
-       to sim_io_printf.
-       (sim_create_inferior): Delete prog_argv assignment.
-       (sim_do_command): Change callback->printf_filtered calls to
-       sim_io_printf.  Pass sd to parse_and_set_memory_size.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sh_pc_get, sh_pc_set): New functions.
-       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
-       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
-       * interp.c: Delete run-sim.h include.  Include sim-main.h, sim-base.h,
-       and sim-options.h.
-       (SEXT, SEXT32): Undefine.
-       (sim_write): Delete prototype.
-       (regstacktype, saved_state_type): Move to sim-main.h.
-       (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
-       (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER.
-       (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile,
-       sim_set_profile_size, sim_load, sim_set_callbacks,
-       sim_complete_command): Delete.
-       (sim_size): Mark static.
-       (init_pointers): Delete host_little_endian setup.
-       (sim_resume): Delete tracing check.
-       (free_state): New cleanup function.
-       (sim_open): Rewrite to use new common logic.
-       (sim_create_inferior): Call init_dsp.
-       * sim-main.h: New file.
-       * tconfig.h: Delete file.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn.
-       * interp.c: Include ctype.h and run-sim.h.
-       [HAVE_TIME_H]: Include time.h
-       [HAVE_SYS_TIME_H]: Include sys/time.h
-       [!_WIN32]: Include utime.h and sys/wait.h.
-       (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr,
-       do_rdat, do_wdat, process_wlat_addr, process_wwat_addr,
-       process_wbat_addr, process_rlat_addr, process_rwat_addr,
-       process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16,
-       ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext,
-       get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile,
-       gotcall, sim_stop, sim_write, sim_read, sim_store_register,
-       sim_fetch_register, sim_trace, sim_stop_reason, sim_info,
-       sim_set_profile, sim_set_profile_size, sim_open,
-       parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior,
-       sim_do_command, sim_set_callbacks): Convert old style prototype.
-       (fail): Delete unused function.
-       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
-       Delete unused prototypes.
-       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast,
-       swap, swap16):
-       Convert old style prototype and move INLINE before the type.
-       (trap): Convert old style prototype.  Add casts to wait and sim_write
-       calls.
-       (div1): Convert old style prototype.  Change return to void.
-       (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark
-       static.
-       (sim_resume): Convert old style prototype.  Align printf format and
-       args.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * gencode.c (ppi_gensim): Add missing */.  Change case 4 to case 5.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS),
-       and $(WARN_CFLAGS).
-       * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h.
-       (struct op): Mark members const.
-       (tab): Mark static.
-       (nibble_type_list): Mark const.
-       (arg_type_list): Mark const.
-       (make_enum_list): Delete unused func.
-       (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old
-       style prototype and mark args const.
-       (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy,
-       gensim, ppi_filltable): Convert old style prototype.
-       (gensim_caselist): Convert old style prototype.  Mark local
-       variables s and r const.
-       (gendefines): Convert old style prototype.  Mark s const.  Move
-       tolower call into printf statement.
-       (ppi_gensim): Convert old style prototype.  Mark local variable
-       s const.
-       (main): Convert old style prototype.  Change printf %d to %zu.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
-       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
-       SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * tconfig.in: Rename file ...
-       * tconfig.h: ... here.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
-       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
-       (SIM_RUN_OBJS): Set to run.o.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2014-10-14  Oleg Endo <olegendo@gcc.gnu.org>  (tiny patch)
-
-       * gencode.c (fabs, fneg): Implement as integer operation
-       instead of using the FP_UNARY macro.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (parse_and_set_memory_size): Add const to str.
-       (sim_do_command): Add const to cmd and sms_cmd.
-
-2014-03-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_load): Add const to prog.
-
-2014-02-17  Mike Frysinger  <vapier@gentoo.org>
-
-       PR gdb/16450
-       * interp.c (control_c): Delete.
-       (sim_resume): Delete signal(SIGINT) handling.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2012-02-16  Kevin Buettner  <kevinb@redhat.com>
-
-       * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts.
-
-       * interp.c (sim_store_register, sim_fetch_register): Return
-       length, not -1.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-04-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_complete_command): New stub function.
-
-2010-04-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_write): Add const to buffer arg.
-
-2010-01-12  Masaki Muranaka  <monaka@monami-software.com>
-
-       * interp.c: Don't include sysdep.h.
-       Include stdio.h and errno.h.
-       Include string.h strings.h stdlib.h sys/stat.h if present.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2008-02-04  Antony King  <antony.king@st.com>
-
-       * interp.c (macl): Fix non-portable implementation.
-
-2007-10-08  Andrew Stubbs  <andrew.stubbs@st.com>
-
-       * gencode.c (tab): Add RAISE_EXCEPTION_IF_IN_DELAY_SLOT to the
-       definition of PC relative 'mov.l'/'mov.w' and also 'mova'.
-
-2007-03-02  Andrew Stubbs  <andrew.stubbs@st.com>
-
-       * gencode.c (tab): Correct pre-decrement instructions when m == n.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-11-10  Andrew Stubbs  <andrew.stubbs@st.com>
-
-       * interp.c (sim_memory_size): Use same amount of memory on Windows as
-       elsewhere.
-
-2005-09-19  J"orn Rennecke <joern.rennecke@st.com>
-
-       * interp.c (<sys/mman.h>): Include.
-       (mcalloc): New function / macro.
-       (mfree): New macro.
-       (sim_size): Use mcalloc and mfree.
-
-2005-08-02  J"orn Rennecke <joern.rennecke@st.com>
-
-       * interp.c (strswaplen): Add one for '\0' delimiter.
-
-2005-06-16  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * gencode.c (tab): Avoid lvalue casts.  Suggested by
-       Ralf Corsepius <ralf.corsepius@rtems.org>.
-
-2005-04-12  Jonathan Larmour  <jifl@eCosCentric.com>
-
-       * gencode.c (tab): Avoid inserting code before variables all declared.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-09-08  DJ Delorie  <dj@redhat.com>
-
-       Commited by Corinna Vinschen <vinschen@redhat.com>
-       * gencode.c (movua.l): Compensate for endianness.
-
-2004-09-08  Corinna Vinschen  <vinschen@redhat.com>
-
-       * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro.
-       (in_delay_slot): New flag variable.
-       (Delay_Slot): Set in_delay_slot.
-       (sim_resume): Reset in_delay_slot after leaving code switch.
-       * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all
-       instructions not allowed in delay slots.
-
-2004-09-08  Michael Snyder  <msnyder@redhat.com>
-
-       Commited by Corinna Vinschen <vinschen@redhat.com>
-       Introduce SH2a support.
-       * interp.c: Change type of jump table to short.  Add various macros.
-       (sim_load): Save the bfd machine code.
-       (sim_create_inferior): Ditto.
-       (union saved_state_type): Add tbr, ibnr and ibcr registers.
-       Move bfd_mach to end of struct.  Add regstack pointer.
-       (init_dsp): Don't swap contents of sh_dsp_table any more.  Instead
-       use it directly in its own switch statement.  Allocate space for 512
-       register banks.
-       (do_long_move_insn): New function.
-       (do_blog_insn): Ditto.
-       (trap): Use trap #13 and trap #14 to set ibnr and ibcr.
-       * gencode.c: Move movx/movy insns into separate switch statement.
-       (op tab): Add sh2a insns.  Reject instructions that are disabled
-       on that chip.
-       (gensim_caselist): Generate default case here instead of in caller.
-       (gensim): Generate two separate switch statements.  Call
-       gensim_caselist once for each (for movsxy_tab and for tab).
-       Add tokens for r15 and multiple regs.
-       (conflict_warn, warn_conflicts): Add for debugging.
-
-2004-08-18  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * gencode.c (tab): For shad snd shld, fix result for
-       (op1 < 0 && shift_amount == 0).
-
-2004-02-02  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (movua.l): Set thislock to 0, not n.
-
-2004-02-12  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (table): Change from char to short.
-       (dumptable): Change generated table from char to short.
-       * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
-       (init_dsp): Compute size of sh_dsp_table.
-       (sim_resume): Change jump_table from char to short.
-
-2004-01-27  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c: (op tab): Some refs and defs fixes.
-       "fsrra" -> "fsrra <FREG_N>".
-       "sleep": replace array ref with array addr.
-       "trapa": ditto.
-       Comment and whitespace clean-ups.
-
-2004-01-07  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c: Whitespace cleanup.
-       * interp.c: Ditto.
-
-       * gencode.c: Replace 'Hitachi' with 'Renesas'.
-       (op tab): Add new instructions for sh4a, DBR, SBR.
-       (expand_opcode): Add handling for new movxy combinations.
-       (gensym_caselist): Ditto.
-       (expand_ppi_movxy): Remove movx/movy expansions,
-       now handled in expand_opcode.
-       (gensym): Add some helpful macros.
-       (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit
-       instead of 8-bit table (some insns are ambiguous to 8 bits).
-       (ppi_gensim, main): Generate 12-bit instead of 8-bit ppi table.
-
-       * interp.c: Replace 'Hitachi' with 'Renesas'.
-       (union saved_state_type): Add dbr, sgr, ldst.
-       (get_loop_bounds_ext): New function.
-       (init_dsp): Add bfd_mach_sh4al_dsp.
-       (sim_resume): Handle extended loop bounds.
-
-2003-12-18  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (expand_opcode): Simplify and reorganize.
-       Eliminate "shift" parameter.  Eliminate "4 bits at a time"
-       assumption.  Flatten switch statement to a single level.
-       Add "eeee" token for even-numbered registers.
-       (bton): Delete.
-       (fsca): Use "eeee" token.
-       (ppi_moves): Rename to "expand_ppi_movxy".  Do the ddt
-       [movx/movy] expansion here, as well as the ppi expansion.
-       (gensim_caselist): Accept 'eeee' along with 'nnnn'.
-
-2003-11-03  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * interp.c (fsca_s, fsrra_s): New functions.
-       * gencode.c (tab): Add entries for fsca and fsrra.
-       (expand_opcode): Allow variable length n / m fields.
-
-2003-10-15  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * syscall.h (SYS_truncate, SYS_ftruncate): Define.
-       * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
-
-2003-08-11  Shrinivas Atre  <shrinivasa@KPITCummins.com>
-       * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
-       correction for MAC.W handler
-       * sim/sh/interp.c ( macl ): New Function. Implementation of
-       MAC.L handler.
-
-2003-08-07  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (expand_ppi_code): Comment spelling fix.
-
-2003-07-25  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (pshl): Change < to <= (shift by 16 is allowed).
-       Cast argument of >> to unsigned to prevent sign extension.
-       (psha): Change < to <= (shift by 32 is allowed).
-
-2003-07-24  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c: Fix typo in comment.
-
-2003-07-23  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c: A few more fix-ups of refs and defs.
-       (frchg): Raise SIGILL if in double-precision mode.
-       (ldtlb): We don't simulate cache, so this is a no-op.
-       (movsxy_tab): Correct a few bit pattern errors.
-
-2003-07-09  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (prnd): Clear LSW of result to zeros.
-       * gencode.c (pmuls): Expression is mis-parenthesized.
-       * gencode.c (ppi_gensim): For a conditional ppi insn, if the
-       condition is false, we want to return (not break).  A break
-       will take us to the end of the function where registers will
-       be updated, whereas the desired outcome is for nothing to change.
-
-2003-07-03  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (movs): Fix a couple of text transpositions.
-
-2003-06-27  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (op tab): Some fix-ups of refs and defs.
-       (ocbi, ocbp): Cache not simulated, but may cause memory fault.
-       (gensym_caselist): Add default case to switch statement.
-       (expand_ppi_code): Add default case to switch statement.
-       * gencode.c (op tab): Implement movca.l.
-       * gencode.c (op movsxy_tab): Fix an error in the bit pattern.
-       * gencode.c (gensim_caselist): The movy instructions use
-       registers R6 and R7 (not R4 and R5 like the movx insns).
-
-2003-06-27  Michael Snyder  <msnyder@redhat.com>
-
-       * gencode.c (op movsxy_tab): Fix up some copy/paste errors
-       in name: s/REG_x/REG_y/.
-
-       * gencode.c (op tab): Move misplaced semicolon.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
-       to bfd.
-
-Fri Oct 11 16:22:28 2002  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * interp.c (trap): Return int.  Take extra parameter for address
-       of the trap instruction.  Changed all callers.
-       Add case 33 for profiling.
-       * gencode.c (trapa): Handle trap 33 using the trap function.
-       Add read of vector for generic traps.
-
-Wed Jul 17 19:36:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
-       * interp.c: Include "gdb/sim-sh.h".
-       (sim_store_register, sim_fetch_register): Use constants defined there.
-
-Tue Jun 18 16:53:11 2002  J"orn Rennecke <joern.rennecke@superh.com>
-
-       * interp.c (sim_resume): Fix setting of bus error for
-       instruction fetch.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-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
-       later inspection by the trap handler.
-       (count_argc): New function.
-       (prog_argv): Declare static.
-       (sim_write): Declare.
-       (trap): Implement argc, argnlen and argn system calls. Do not
-       abort on unknown system calls--simply return -1.
-       * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
-
-2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
-
-       * interp.c (trap): Implement time.
-
-2000-10-24  Ben Elliston  <bje@redhat.com>
-
-       * gencode.c (tab): Delimit strings with commas where applicable.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon May 15 22:04:51 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-sh-dsp support, simulator speedup by using host byte order:
-
-       * Makefile.in (interp.o): Depends on ppi.c .
-       (ppi.c): New rule.
-       * gencode.c (printonmatch, think, genopc): Deleted.
-       (MAX_NR_STUFF): Now 42.
-       (tab): Add SH-DSP CPU instructions.
-       Amalgamate ldc / stc / lds / sts instructions with similar
-       bit patterns.  Fix opcodes of stc Rm_BANK,@-<REG_N>.
-       Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
-       (movsxy_tab): New array.
-       For movs, change MMMM field to GGGG, and mmmm field to MMMM.
-       Added entries for movx, movy and parallel processing insns.
-       (ppi_tab): New array.
-       (qfunc): Stabilize sort.
-       (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
-       Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
-       (dumptable): Now takes three arguments.  Changed all callers.
-       Emit just one contigous jump table.
-       (filltable): Now takes an argument.  Changed all callers.
-       Make index static.
-       (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
-       (gensim_caselist): New function, broken out of gensim.
-       Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
-       Handle ref '9'.
-       (gensim): Handle 'N' in code field and '8' in refs field.
-       Call gensim_caselist - twice.
-       (ppi_index): New static variable.
-       (main): Unsupport default action.
-       Add dsp support for -x / -s option.  Add -p option.
-       * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
-       (saved_state_type): Rearrange to allow amalgamated ldc / stc /
-       lds / sts to work efficiently.
-       (target_dsp): New static variable.
-       (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
-       (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
-       (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
-       (RS, RE, MOD, MOD_ME, DSP_R): Likewise.
-       (set_fpscr1): Likewise.  Use target_dsp to check for dsp.
-       (MOD_MSi, SIG_BUS_FETCH): Deleted.
-       (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
-       (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
-       (SET_MOD): Reflect saved_state_type change.  Set MOD_DELTA instead
-       of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
-       (set_sr): Reflect saved_state_type change.  Fix SR_RB handling.
-       Use SET_MOD.
-       (MA, L, TL, TB): Now controlled by ACE_FAST.
-       (SEXT32): Just cast to int.
-       (SIGN32): Fixed to only shift by 31.
-       (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
-       (ppi_insn): Declare.
-       (ppi.c): Include.
-       (init_dsp): Set target_dsp.  When it changes, switch end of
-       sh_jump_table with sh_dsp_table.
-       (sim_resume) Don't declare sh_jump_table0.  Use sh_jump_table instead.
-       Don't Declare PR if it's #defined.
-       Fix single-stepping (Was broken in Mar  6 16:59:10 patch).
-       (sim_store_register, sim_read_register): Translate accesses to
-       reflect saved_state_type change.
-
-       * interp.c (set_sr): Set sr.
-       (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
-       (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
-       (DSP_R): Fix definition.
-       (sim_resume): Remove outdated SET_SR use.
-
-       * interp.c (saved_state): New members for struct member asregs:
-       rs, re, insn_end, xram_start, yram_start.
-       (struct loop_bounds): New struct.
-       (SKIP_INSN): New macro.
-       (get_loop_bounds): New function.
-       (endianw): Renamed to global_endianw.
-       (maskw): negated bits.
-       (PC): Now insn_ptr.
-       (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
-       (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
-       (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
-       (SIG_BUS_FETCH): Likewise
-       (raise_exception, riat_fast): New functions.
-       (raise_buserror, sim_stop): Use raise_exception.
-       (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
-       (BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
-       Reverse sense of mask argument.
-       (FP_OP, set_dr): Use RAISE_EXCEPTION.
-       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
-       Declare.  Remove redundant masking.
-       (wwat_fast, rwat_fast): Add argument endianw.  Changed callers.
-       (MA): Updated for change pc -> PC.
-       (Delay_Slot): Use RIAT.
-       (empty): Deleted.
-       (trap): Remove argument little_endian.  Add argument endianw.
-       Changed all callers.  Use raise_exception.
-       (macw): Add argument endainw.  Changed all callers.
-       (init_dsp): New function, extended after broken out of init_pointers.
-       (sim_resume): Replace pc with insn_ptr.  Replace little_endian with
-       endianw.  Replace nia with nip.  Reverse sense of maskb / maskw /
-       maskl.  Implement logic for zero-overhead loops.  Don't try to
-       interpret garbage when getting a SIGBUS at insn fetch.
-       (sim_open): Call init_dsp.
-       * gencode.c (tab): Use SET_NIP instead of nia = .  Use PH2T / PT2H /
-       RAISE_EXCEPTION where appropriate.
-       Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
-
-       * interp.c (sim_store_register, sim_fetch_register):
-       Do proper endianness switch.
-
-       * interp.c (saved_state_type): New members for struct member asregs:
-       xymem_select, xmem, ymem, xmem_offset, ymem_offset.
-       (special_address): Delete.
-       (BUSERROR): Now a two-argument predicate.
-       (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
-       (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
-       (process_wlat_addr, process_wwat_addr): New functions.
-       (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
-       (process_rbat_addr): Likewise.
-       (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
-       (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
-       (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
-       (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
-       (do_rdat, trap): Delete SLOW code.
-       (SEXT32, SIGN32): New macros.
-       (swap, swap16): Now integer in - integer out.  Changed all callers.
-       (strswaplen, strnswap): Delete SLOW versions.
-       (init_pointers): Initialize dsp memory selection (preliminary).
-       (sim_store_register, sim_fetch_register): Use swap instead of
-       big / little endian read / write functions.
-
-       * interp.c (maskl): Deleted.
-       (endianw, endianb): New variables.
-       (special_address): Now inline.
-       (bp_holder): Put raising of buserror there, rename to:
-       (raise_buserror).
-       (BUSERROR): Now yields a value.  Changed all users.
-       (wbat_big): Delete.
-       (wlat_fast, wwat_fast, wbat_fast): New functions.
-       (rlat_fast, rwat_fast, rbat_fast): Likewise.
-       (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
-       (do_rdat, do_wdat): Likewise.  Take maskl argument instead of
-       little_endian one.  Changed caller macros.
-       (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
-       (strswaplen, strnswap): New functions.
-       (trap): Use them to fix up endian mismatches;
-       disable SYS_execve and SYS_execv; fix double address translation for
-       SYS_pipe and SYS_stat.
-       (sym_write, sym_read): Add endianness translation.
-       (sym_store_register, sym_fetch_register): Add maskl local variable.
-       (sim_open): Set endianw and endianb.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Aug 25 07:55:23 1999  Brendan Kehoe  <brendan@cygnus.com>
-
-       * gencode.c (fcnvds <DR_N>,FPUL): Rewrite to use a local anonymous
-       union type, instead of casting to an int* then a float*.
-       (fcnvsd FPUL,<DR_N>): Likewise.
-       (flds <FREG_N>,FPUL): Likewise.
-       (fsts FPUL,<FREG_N>): Likewise.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-04-02  Keith Seitz  <keiths@cygnus.com>
-
-       * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
-       frequency at which the poll_quit callback is called.
-       (sim_resume): Use POLL_QUIT_INTERVAL instead of a
-       hard-coded value.
-
-Thu Sep 10 02:16:39 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * interp.c (saved_state.asregs): Add new member pad_dummy.
-       (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use
-       as index into saved_state.asints.
-
-Mon Jun 29 19:35:24 1998  Jason Molenda  (crash@bugshack.cygnus.com)
-
-       * interp.c (sim_open): set endianness based on the ABFD if a -E
-       option is not present and we have an ABFD.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:19:48 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:18:35 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Feb 17 12:49:44 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_fetch_register, sim_store_register): Pass in
-       length parameter.  Return -1.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_load): Pass lma_p and sim_write args to
-       sim_load_file.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep  9 20:52:21 1997  Felix Lee  <flee@cygnus.com>
-
-       * interp.c (sim_resume): poll_quit() at least once per call;
-       otherwise gdb can loop sim_resume() uninterruptably.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep  2 13:15:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (tab): Order instructions according to SH3 document.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:41:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 16:17:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add ABFD argument.
-
-Mon Jun 23 15:49:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (get_dr): Avoid SIGFPE by moving integers instead of
-       FP's around.
-       (set_dr): Ditto.
-
-Mon Jun 23 15:02:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (XD, SET_XD): Delete.
-       (XF, SET_XF, XD_TO_XF): Define, move around registers in either
-       FP bank.
-
-       * gencode.c (fmov): Update.
-
-Sun Jun 22 19:33:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (set_fpscr1): From J"orn Rennecke
-       <amylaar@cygnus.co.uk>, Fix typo. Ditto for comment.
-
-Tue Aug 12 00:19:11 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * interp.c (special_address): New function.
-       (BUSERROR): Call it.  Added parameters bits_written and data.
-       Changed all callers.
-       * gencode.c (tab): Fixed ocbwb and pref.
-
-Fri Jun 20 22:03:18 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * interp.c (do_wdat, do_wdat): Fix bug in register number calculation.
-
-Thu Jun 19 00:28:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_create_inferior): Clear registers each time an
-       inferior is started.
-
-Mon Jun 16 14:01:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for
-       when a host doesn't support IEEE FP.
-       (*DP): Provide alternative definition that supports 64bit floating
-       point.
-       (target_little_endian): Combine little_endian and little_endian_p.
-       (saved_state_type): Make fpscr and sr simple integers.
-       (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register.
-       (set_fpscr1): New function.  Handle swapping when PR / FR bits
-       changed. Call via *_FPSCR macro.
-       (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids
-       endian problems.
-
-       * gencode.c (tab): Update.
-
-Sun Jun 15 15:22:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (main): Perform basic checks on tab entries.
-
-       * Makefile.in (gencode): Always compile with -g.
-
-Sat Jun 14 13:45:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * gencode.c (gensim): Move ref checking code to before `stuff'.
-       For branches with delay slots refs were not being checked.
-
-       * interp.c (sim_resume): Use nia to specify the next instruction
-       address instead of overloading pc.
-       (C): Delete definiton - refer to cycles directly.
-       (SEXT12): New macro - sign extend a 12 bit quantity.
-       (Delay_Slot): Rename from SL.
-
-       * gencode.c (tab): Update/simplify.
-
-       * gencode.c (gensim): Better formatting of output code.
-       (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15.
-       (tab): Sort alphabetically.  Break `stuff' into multiple lines.
-
-Fri Jun 13 22:10:13 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * gencode.c (braf, bsrf): Fix branch destination calculation to
-       be in accordance with the documentation.
-
-Fri Jun 13 15:33:53 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * interp.c (init_pointers): Fix little endian test.
-
-Thu Jun  5 12:56:08 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN.
-       * gencode (fmov from/to memory): take endian_mismatch into account
-       for 32 bit moves too.
-
-Wed May 28 23:42:35 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * gencode.c (swap.b): Fix treatment of high word.
-
-Wed May 28 23:42:35 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
-
-       * sh/gencode.c,
-       * interp.c: experimental SH4 support.
-       DFmode moves are probaly broken for target little endian.
-
-Tue May 20 10:23:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Delete SIM_DESC argument.
-
-Wed Apr 30 11:38:08 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_EXTRA_CLEAN): Define.
-       (clean targets): Delete.
-       (sh-clean): New target.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr 23 17:55:22 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * tconfig.in: New file.
-       * interp.c (sim_open): Handle missing arg to -E.
-
-Tue Apr 22 08:55:35 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * Makefile.in:  Add clean targets.
-
-Fri Apr 18 18:57:04 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * interp.c:  Include float.h and define SIGTRAP if _WIN32.
-       WIN32 -> _WIN32.
-       * (trap):  Do do SYS_chown for _WIN32.
-
-Fri Apr 18 13:33:09 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_resume): Fix argument to poll_quit.
-
-Fri Apr 18 14:14:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop): New function.
-       (sim_resume): Use poll_quit for polling.
-
-Thu Apr 17 03:32:04 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * interp.c (target_byte_order): Delete.
-       (sim_kind, myname, little_endian_p): New static locals.
-       (init_pointers): Use little_endian_p instead of target_byte_order.
-       (sim_resume): Likewise.
-       (sim_open): Set sim_kind, myname.  Set little_endian_p from -E arg.
-       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
-       load file into simulator.  Set start address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 19 09:34:36 1997  Fred Fish  <fnf@cygnus.com>
-
-       * interp.c (sim_do_command): Check for NULL command or empty
-       string and handle it the same as a "help" command.  Use callback
-       to print error message for unrecognized commands.  Replace
-       hardcoded tab in literal string with a \t.  Other minor code
-       cleanup.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 13:00:00 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New SIM_DESC result.  Argument is now
-       in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Wed Nov 20 02:04:32 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
-       (SIM_OBJS,SIM_EXTRA_LIBS): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       Call AC_CHECK_HEADERS(unistd.h).
-       * configure: Regenerated.
-       * config.in: New file.
-       * interp.c: #include "config.h".  #include <unistd.h> if present.
-       (trap): Fetch errno value with callback->get_errno.
-
-Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
-
-       * interp.c: Don't include windows polling code if inside simluator.
-
-Fri Sep 20 14:57:50 1996  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * interp.c: Minor formatting improvements.
-       (saved_state_type): Add bank registers.
-       (bp_holder): New function, use to break on when debugging BUSERROR.
-       (BUSERROR): Call it if bus error occurs.
-
-Wed Jun 26 12:29:22 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
-
-       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
-       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
-       (docdir): Removed.
-       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
-       (AC_PROG_INSTALL): Added.
-       * configure: Rebuilt.
-
-Thu May 16 15:44:29 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * interp.c (saved_state_type): Add memstalls field.
-       (MA) Define macro.
-       (sim_resume): New local variable memstalls.  Add it back in to
-       saved_state at the end of the function.
-       (sim_info): Report memstalls.
-       * gencode.c (tab): Add MA() to the execution string of all
-       instructions which access memory.
-
-Wed Feb 21 12:16:41 1996  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure: Regenerate with autoconf 2.7.
-
-Tue Dec  5 16:38:55 1995  Stu Grossman  (grossman@cygnus.com)
-
-       * gencode.c (mac.l):  Don't abort GDB if executing mac.l
-       instruction (which is unimplemented).  Generate a SIGTRAP (in the
-       simulated target) instead.
-
-Mon Dec  4 12:22:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * gencode.c (tab): Added several sh3 opcodes.
-       (think): Added printonmatch for A_SSR and A_SPC.
-       * interp.c (SSR, SPC): Added definitions.
-       (saved_state_type): Added ssr and spc registers.
-
-Wed Nov 29 12:39:27 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * gencode.c (tab): In shad/shld definitions, negate R[m] before
-       the and operation instead of after.  For shad delete cast.  For shld
-       use UR instead of R and delete cast.
-
-Fri Nov 17 12:48:55 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * gencode.c (tab): Add explicit NaN support for ftrc instruction.
-
-Wed Nov 15 11:25:27 1995  Stu Grossman  (grossman@cygnus.com)
-
-       * interp.c:  Make target_byte_order be extern to prevent SGI cc from
-       issuing warnings about the use of common symbols.
-
-Tue Nov 14 15:19:43 1995  Stu Grossman  (grossman@cygnus.com)
-
-       * gencode.c:  jsr, bsr and bsrf actually save pc+4 in pr, and rts
-       actually uses pr+0.
-
-Sat Oct 21 13:01:18 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate
-       program exited.
-       (sim_get_quit_code): Delete.
-
-       * gencode.c (gensim): Indicate SIGILL instead of calling abort for
-       default case.
-
-Mon Oct 16 18:24:03 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * interp.c (saved_state_type): Move FP registers to immediately
-       after SR.
-
-Tue Oct 10 11:12:15 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Makefile.in (BISON): Remove macro.
-
-Fri Oct  6 12:08:18 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * interp.c (trap, case SYS_utime): Cast second arg of utime to
-       void * to avoid compiler error.
-
-       * interp.c (callback): Remove last change.  It is initialized by
-       a sim_set_callbacks call.
-
-Thu Oct  5 14:13:29 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * interp.c (callback): Initialize to default callback.
-
-Thu Sep 28 15:26:59 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * run.c: Moved to ../common.
-       * interp.c (trap): Use gdb's callback interface.
-       * Makefile.in: Updated.
-
-Wed Sep 20 13:35:13 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * Makefile.in (maintainer-clean): New synonym for realclean.
-
-Wed Sep 20 09:51:50 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * run.c (sim_callback_write_stdout):  New.
-       * interp.c (trap): Call sim_callback_write_stdout when needed.
-
-Mon Sep 18 18:42:27 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * interp.c (trap): Remove useless code.
-
-Fri Sep 15 19:30:05 1995  steve chamberlain  <sac@slash.cygnus.com>
-
-       * syscall.h: Copy from newlib.
-
-Thu Sep 14 19:32:59 1995  Stu Grossman  (grossman@cygnus.com)
-
-       * gencode.c:  Back up PC by 2 for breakpoints.
-       * interp.c:  Move fp regs beyond pc/pr/etc to avoid confusing GDB,
-       which expect pc to immediately follow regs[].
-
-Fri Sep  8 14:18:13 1995  Ian Lance Taylor  <ian@cygnus.com>
-
-       * configure.in: Define CC_FOR_BUILD.  Don't call AC_PROG_INSTALL.
-       * configure: Rebuild.
-       * Makefile.in (INSTALL): Revert to using install.sh.
-       (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
-       (INSTALL_XFORM, INSTALL_XFORM1): Restore.
-       (CC_FOR_BUILD): Restore.
-       (gencode): Build using $(CC_FOR_BUILD).
-       (install): Don't install in $(tooldir).
-
-Thu Sep  7 15:02:31 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       (Try to) Update to new bfd autoconf scheme.
-       * run.c: Don't include sysdep.h.
-       * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
-       (CC, CFLAGS, AR, RANLIB): Likewise.
-       (HDEFINES, TDEFINES): Define.
-       (CC_FOR_BUILD): Delete.
-       (host_makefile_frag): Delete.
-       (Makefile): Don't depend on frags.
-       * configure.in (sysdep.h): Don't create symlink.
-       (host_makefile_frag, frags): Deleted.
-       (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
-       * configure: Regenerated.
-
-Thu Aug 31 12:39:07 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * interp.c: Include <math.h>.
-
-Wed Aug 30 22:05:17 1995  Jeff Law  (law@snake.cs.utah.edu)
-
-       * Makefile.in (run): Link in math library too.
-       * gencode.c (gensim): abort if an unknown opcode is encountered.
-       * interp.c (FPSCR, FPUL): Define.
-       (struct save_state): Add fields for floating point registers,
-       FPSCR and FPUL.
-       (sim_resume): Add 'F' for accessing floating point registers
-       in the save state structure.
-       * gencode.c: Add sh3e opcodes.
-       (gensym): Define a buffer for int<->fp conversions.
-
-Tue Aug 22 14:16:46 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * interp.c (trap): Use trap vector 34 for host system interface.
-       * gencode.c: Add 34 to conditional which determines which traps
-       will be handled by simulator.
-
-Fri Aug 11 17:59:15 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * run.c: Include <signal.h>.  Define SIGQUIT if not defined.
-       (main): New variables reason and sigrc.  After simulator exits,
-       check to see if it exited because of a signal, and if so, then
-       use the signal number as the return value.
-
-Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
-
-       * Update all FSF addresses except those in COPYING* files.
-
-Tue Jul 18 23:33:10 1995  Fred Fish  <fnf@fishbowl>
-
-       * interp.c (trap): Only use SYS_execv if defined.  Might be
-       implemented as execve(arg1,arg2,0), as with Unixware 2.0.
-       (sim_resume): In sbit initializer, cast shifted arg to unsigned
-       to avoid signed integer overflow.
-
-Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * Makefile.in (clean): Remove run, libsim.a.
-         (distclean, mostlyclean, realclean): Remove Makefile and
-         autoconf files.
-
-       * sh.mt: Removed.
-
-       * Makefile.in, configure.in: converted to autoconf.
-       * configure: New file, generated with autconf 2.4.
-
-Fri Jun 30 16:51:38 1995  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * interp.c (sim_open): If argument supplied, interpret as
-       desired memory size.
-       (parse_and_set_memory_size): New function.
-       (sim_do_command): New function.
-
-Thu Jun 29 10:02:28 1995  Fred Fish  <fnf@deneb.cygnus.com>
-
-       * interp.c  (SYS_wait): Define as SYS_wait4 if available and
-       SYS_wait is not already defined (SunOS 4.1.3 for example).
-       (SYS_utime): Define as SYS_utimes if available and
-       SYS_utime is not already defined.
-
-Thu Jun 22 17:25:57 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * interp.c: Don't include sys/times.h or sys/param.h
-
-Wed Jun 21 15:03:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * interp.c (SIGBUS, SIGTERM): Define if not.
-       (sim_memory_size): default to 2^19 on PCs.
-       (sim_resume): Poll for quits on win32.
-
-Wed May 24 16:22:48 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * gencode.c (op_tab): Add SH3 support.
-
-Wed May 24 14:07:11 1995  Steve Chamberlain  <sac@slash.cygnus.com>
-
-       * gencode.c (tab): Add bsrf and braf.
-
-Mon Apr 24 15:09:49 1995  Jason Molenda  (crash@cygnus.com)
-
-       * configure.in: use ../../bfd/hosts/std-host.h, not
-       ../bfd/hosts/std-host.h (which doesn't exist).
-
-Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
-
-       * run.c: parse arguments with getopt().
-
-Sun Feb 26 15:27:24 1995  Steve Chamberlain  <sac@cygnus.com>
-
-       * configure.in: Use ../../bfd/hosts/std-host.h if specific
-       host unavailable.
-
-Mon Jan 23 16:10:58 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
-
-       * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case.
-
-Sun Jan 22 13:55:36 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
-
-       * gencode.c (op_tab): Make MAC.W call macw, not abort.
-       * interp.c (macw): New function.
-       (S): New #define.
-
-Sat Jan 21 15:52:30 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
-
-       * gencode.c (op_tab): New code for ADDV and SUBV.
-       Make MAC.L abort sicne it is not implemented.
-
-       * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply.
-       Get rid of __GNUC__ conditional.
-
-aThu Jan 19 05:50:50 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
-
-       * gencode.c (op_tab): Also replace NEGC, and try again with SUBC.
-       Change ADDC for symmetry.
-
-       * gencode.c (op_tab): Replace code for ADDC and SUBC.
-
-Mon Jan  9 15:43:53 1995  Stu Grossman  (grossman@cygnus.com)
-
-       * interp.c:  Remove def of INLINE.  This comes from bfd.h.  Also,
-       declare IOMEM before using it.
-
-Wed Dec 28 21:25:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * interp.c (BUSERROR): New macro.
-       ([r|w][bwl]at[little|big]) New functions.
-       (sim_resume): If GO32 check for interrupt every now
-       and again.  Decrement PC if SIGBUS seen.
-       * run.c (main):  Return result of simulated _exit.
-
-Mon Dec  5 21:59:51 1994  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (gencode): Allow build in different directory.
-
-Wed Nov 30 17:47:13 1994  Jim Wilson  <wilson@chestnut.cygnus.com>
-
-       * Makefile.in (gencode): Change $< to gencode.c for portability.
-
-Wed Nov 23 21:31:55 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * interp.c ([wr][bwl]at): New functions.
-       (trap): Cope with both byte modes.
-
-Thu Sep  8 17:35:07 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * gencode.c (tab): Simulate T bit after a negc insn right.
-       * interp.c (RSBAT): Sign extend the arg.
-       (ACE_FAST): New macro.
-       (sim_resume): Remove obsolete test of sim_timeout.
-
-Fri Aug  5 14:12:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * interp.c (IOMEM): New function, simulates very basic I/O area of
-       the SH.
-       (WBAT, RBAT) : Call I/O functions.
-       * gencode.c (tab): Special case trapa #3.
-
-Mon Jun 27 18:04:54 1994  Steve Chamberlain  (sac@cirdan.cygnus.com)
-
-       * run.c (main): Specify the file type again.
-
-Thu May 26 19:04:37 1994  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * interp.c (trap): Fix irix incompatibility.
-       * run.c (main): open without specifying file type.
-
-Wed May 18 14:18:53 1994  Doug Evans  (dje@canuck.cygnus.com)
-
-       * interp.c (sim_*): Make result void where there isn't one.
-       (sim_set_pc): Delete.
-       (sim_info): Delete printf_fn arg, all callers changed.
-       Call printf_filtered instead.
-       (sim_close): New function.
-       (sim_load): New function.
-       (sim_create_inferior): Renamed from sim_set_args, all callers changed.
-       * run.c: #include <varargs.h>, "remote-sim.h".
-       (printf_filtered): New function.
-
-Wed Apr 27 12:03:48 1994  Steve Chamberlain  (sac@cygnus.com)
-
-       * gencode.c (table): Get direction of some opcodes right.
-       (trapa, rte): Implement fully.
-       * interp.c (trap): Make stat call more portable.
-
-Fri Feb 11 21:59:38 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
-
-       * gencode.c (main, gendefines): New -d option prints table of defines.
-       * interp.c (trap): Add a load of system calls.
-       (sim_memory_size): Now default to 8Mbyte.
-       (PARANOID): Keep vector of registers with undefined contents.
-
-Mon Nov 15 14:37:18 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
-
-       * gencode.c: mova uses aligned addresses
-       * interp.c (trap): Return results in r0.
-
-Tue Oct 26 10:38:55 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
-       * interp.c: #include "remote-sim.h".
-       (sim_resume): int result, new arg `siggnal'.
-       (sim_write): Use SIM_ADDR for type of arg `addr'.
-       (sim_read): Use SIM_ADDR for type of arg `addr'.
-       Use unsigned char * for `buffer'.
-       (sim_store_register): int result.
-       (sim_fetch_register): Ditto.
-       (sim_stop_reason): Renamed from sim_stop_signal.  New arg `reason'.
-       (sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
-       (sim_info): int result, new args `verbose', `printf_fn'.
-       (sim_kill): int result.
-       (sim_open): int result, new arg `name'.
-       * run.c: #include <stdio.h>
-       (main): Update call to sim_info.
-
-Sat Oct 23 15:09:29 1993  Doug Evans  (dje@canuck.cygnus.com)
-
-       * interp.c (sim_stop_signal): Result is now enum sim_stop.
-
-Fri Oct  8 10:47:09 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * gencode.c (table): Becomes unsigned.
-       * interp.c (trap): Get right breakpoint SIGnum. (sim_write,
-       sim_read): Return number of bytes copied.  (sim_store_register):
-       Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions.
-
-Tue Sep  7 16:24:13 1993  Stan Shebs  (shebs@rtl.cygnus.com)
-
-       * interp.c (sim_info): Fix small typo in printf string.
-
-Thu Aug  5 11:37:48 1993  Stan Shebs  (shebs@rtl.cygnus.com)
-
-       * interp.c (sim_resume): Set memory after pointers inited.
-
-Mon Aug  2 14:13:22 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * interp.c (get_now): Use time system call.
-       * Makefile.in: install correctly.
-
-Tue Jul  6 10:30:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * run.c (main), interp.c (sim_set_timeout): Remove timeout
-       functionality.
-
-Thu Jun 24 13:29:57 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
-
-       * Makefile.in: don't run indent everytime; also add a space in the
-       includes
-
-Thu Jun 17 18:30:42 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
-
-       * gencode.c: Fix some opcodes.
-       * interp.c: Support for profiling and portability fixes.
-       * run.c (main): Get profiling args.
-
-Wed May  5 13:17:22 1993  Steve Chamberlain  (sac@cygnus.com)
-
-       * gencode.c (tab): Lint for sgi compiler
-       * interp.c: Lint for sgi compiler.
-
-Mon May  3 15:25:33 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * run.c (main): Support for resizing simulated RAM.
-       * Makefile.in: Support for broken makes.
-       * interp.c, gencode.c: Lint.
-
-Mon Apr 26 18:01:10 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
-
-       * created
diff --git a/sim/sh/ChangeLog-2021 b/sim/sh/ChangeLog-2021
new file mode 100644 (file)
index 0000000..e32e5df
--- /dev/null
@@ -0,0 +1,1848 @@
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Removed.
+       * aclocal.m4: Removed.
+       * configure: Removed.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_WERROR_CFLAGS): New variable.
+       * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
+       * configure: Regenerate.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+       * interp.c (sim_open): Set current_alignment.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (SET_RC): Add parenthesis.
+       (sim_open): Add const to p.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Replace config.h include with defs.h.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Update include path.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * interp.c: Update includes.
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (SIM_EXTRA_DEPS): New variable.
+       (interp.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (NL_TARGET): Define.
+       * interp.c: Change syscall.h include to targ-vals.h.
+       (trap): Add TARGET_ prefix to all SYS_ constants.
+       * syscall.h: Removed.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode.o): New rule.
+       (gencode): Call LINK_FOR_BUILD.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
+       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2017-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * gencode.c: Include libiberty.h.
+       (conflict_warn): Use ARRAY_SIZE.
+       * interp.c (init_dsp): Likewise.
+
+2016-04-10  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * interp.c (dmul): Split into dmul_s and dmul_u.  Use explicit integer
+       width types and simplify implementation.
+       * gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u.
+
+2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * interp.c (sim_memory_size): Default init to 30.
+       (parse_and_set_memory_size): Adjust upper bound to 31.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (count_argc): Delete.
+       (trap): Change count_argc to countargv.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+       * interp.c (host_little_endian): Change CURRENT_HOST_BYTE_ORDER
+       to HOST_BYTE_ORDER.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * interp.c (target_little_endian): Change LITTLE_ENDIAN to
+       BFD_ENDIAN_LITTLE.
+       (host_little_endian): Likewise.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (sim_store_register): Rename to ...
+       (sh_reg_store): ... this.
+       (sim_fetch_register): Rename to ...
+       (sh_reg_fetch): ... this.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * gencode.c (tab): Pass sd into trap calls.
+       * interp.c (prog_argv, callback): Delete.
+       (parse_and_set_memory_size): Add SIM_DESC arg.
+       (trap): Declare callback and prog_argv.
+       (sim_resume): Declare callback.
+       (sim_info): Change callback->printf_filtered calls to sim_io_printf.
+       (sim_open): Delete callback assignment.  Pass sd to
+       parse_and_set_memory_size.
+       (parse_and_set_memory_size): Change callback->printf_filtered call
+       to sim_io_printf.
+       (sim_create_inferior): Delete prog_argv assignment.
+       (sim_do_command): Change callback->printf_filtered calls to
+       sim_io_printf.  Pass sd to parse_and_set_memory_size.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sh_pc_get, sh_pc_set): New functions.
+       (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
+       (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
+       * interp.c: Delete run-sim.h include.  Include sim-main.h, sim-base.h,
+       and sim-options.h.
+       (SEXT, SEXT32): Undefine.
+       (sim_write): Delete prototype.
+       (regstacktype, saved_state_type): Move to sim-main.h.
+       (target_little_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
+       (host_little_endian): Replace with CURRENT_HOST_BYTE_ORDER.
+       (sim_kind, myname, tracing, sim_stop, sim_trace, sim_set_profile,
+       sim_set_profile_size, sim_load, sim_set_callbacks,
+       sim_complete_command): Delete.
+       (sim_size): Mark static.
+       (init_pointers): Delete host_little_endian setup.
+       (sim_resume): Delete tracing check.
+       (free_state): New cleanup function.
+       (sim_open): Rewrite to use new common logic.
+       (sim_create_inferior): Call init_dsp.
+       * sim-main.h: New file.
+       * tconfig.h: Delete file.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * gencode.c (ppi_gensim): Convert old style prototype with ppi_insn.
+       * interp.c: Include ctype.h and run-sim.h.
+       [HAVE_TIME_H]: Include time.h
+       [HAVE_SYS_TIME_H]: Include sys/time.h
+       [!_WIN32]: Include utime.h and sys/wait.h.
+       (set_fpscr1, raise_exception, raise_buserror, get_dr, set_dr, set_sr,
+       do_rdat, do_wdat, process_wlat_addr, process_wwat_addr,
+       process_wbat_addr, process_rlat_addr, process_rwat_addr,
+       process_rbat_addr, IOMEM, get_now, now_persec, swapout, swapout16,
+       ptr, strswaplen, strnswap, dmul, macw, macl, get_loop_bounds_ext,
+       get_loop_bounds, sim_size, init_dsp, init_pointers, dump_profile,
+       gotcall, sim_stop, sim_write, sim_read, sim_store_register,
+       sim_fetch_register, sim_trace, sim_stop_reason, sim_info,
+       sim_set_profile, sim_set_profile_size, sim_open,
+       parse_and_set_memory_size, sim_close, sim_load, sim_create_inferior,
+       sim_do_command, sim_set_callbacks): Convert old style prototype.
+       (fail): Delete unused function.
+       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
+       Delete unused prototypes.
+       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast,
+       swap, swap16):
+       Convert old style prototype and move INLINE before the type.
+       (trap): Convert old style prototype.  Add casts to wait and sim_write
+       calls.
+       (div1): Convert old style prototype.  Change return to void.
+       (do_long_move_insn, do_blog_insn, fsca_s, fsrra_s, mcalloc): Mark
+       static.
+       (sim_resume): Convert old style prototype.  Align printf format and
+       args.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * gencode.c (ppi_gensim): Add missing */.  Change case 4 to case 5.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (gencode): Add $(BUILD_CFLAGS), $(BUILD_LDFLAGS),
+       and $(WARN_CFLAGS).
+       * gencode.c: Include ctype.h, stdlib.h, string.h, and unistd.h.
+       (struct op): Mark members const.
+       (tab): Mark static.
+       (nibble_type_list): Mark const.
+       (arg_type_list): Mark const.
+       (make_enum_list): Delete unused func.
+       (qfunc, expand_opcode, dumptable, expand_ppi_code): Convert old
+       style prototype and mark args const.
+       (sorttab, gengastab, conflict_warn, filltable, expand_ppi_movxy,
+       gensim, ppi_filltable): Convert old style prototype.
+       (gensim_caselist): Convert old style prototype.  Mark local
+       variables s and r const.
+       (gendefines): Convert old style prototype.  Mark s const.  Move
+       tolower call into printf statement.
+       (ppi_gensim): Convert old style prototype.  Mark local variable
+       s const.
+       (main): Convert old style prototype.  Change printf %d to %zu.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+       SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
+       SIM_AC_OPTION_INLINE, SIM_AC_OPTION_WARNINGS.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * tconfig.in: Rename file ...
+       * tconfig.h: ... here.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Set to
+       -DSIM_USE_DEPRECATED_RUN_FRONTEND.
+       (SIM_RUN_OBJS): Set to run.o.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2014-10-14  Oleg Endo <olegendo@gcc.gnu.org>  (tiny patch)
+
+       * gencode.c (fabs, fneg): Implement as integer operation
+       instead of using the FP_UNARY macro.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (parse_and_set_memory_size): Add const to str.
+       (sim_do_command): Add const to cmd and sms_cmd.
+
+2014-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_load): Add const to prog.
+
+2014-02-17  Mike Frysinger  <vapier@gentoo.org>
+
+       PR gdb/16450
+       * interp.c (control_c): Delete.
+       (sim_resume): Delete signal(SIGINT) handling.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2012-02-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * interp.c (MA): Adjust cast to avoid warning on 64-bit hosts.
+
+       * interp.c (sim_store_register, sim_fetch_register): Return
+       length, not -1.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_complete_command): New stub function.
+
+2010-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_write): Add const to buffer arg.
+
+2010-01-12  Masaki Muranaka  <monaka@monami-software.com>
+
+       * interp.c: Don't include sysdep.h.
+       Include stdio.h and errno.h.
+       Include string.h strings.h stdlib.h sys/stat.h if present.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2008-02-04  Antony King  <antony.king@st.com>
+
+       * interp.c (macl): Fix non-portable implementation.
+
+2007-10-08  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * gencode.c (tab): Add RAISE_EXCEPTION_IF_IN_DELAY_SLOT to the
+       definition of PC relative 'mov.l'/'mov.w' and also 'mova'.
+
+2007-03-02  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * gencode.c (tab): Correct pre-decrement instructions when m == n.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-11-10  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * interp.c (sim_memory_size): Use same amount of memory on Windows as
+       elsewhere.
+
+2005-09-19  J"orn Rennecke <joern.rennecke@st.com>
+
+       * interp.c (<sys/mman.h>): Include.
+       (mcalloc): New function / macro.
+       (mfree): New macro.
+       (sim_size): Use mcalloc and mfree.
+
+2005-08-02  J"orn Rennecke <joern.rennecke@st.com>
+
+       * interp.c (strswaplen): Add one for '\0' delimiter.
+
+2005-06-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gencode.c (tab): Avoid lvalue casts.  Suggested by
+       Ralf Corsepius <ralf.corsepius@rtems.org>.
+
+2005-04-12  Jonathan Larmour  <jifl@eCosCentric.com>
+
+       * gencode.c (tab): Avoid inserting code before variables all declared.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-09-08  DJ Delorie  <dj@redhat.com>
+
+       Commited by Corinna Vinschen <vinschen@redhat.com>
+       * gencode.c (movua.l): Compensate for endianness.
+
+2004-09-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro.
+       (in_delay_slot): New flag variable.
+       (Delay_Slot): Set in_delay_slot.
+       (sim_resume): Reset in_delay_slot after leaving code switch.
+       * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all
+       instructions not allowed in delay slots.
+
+2004-09-08  Michael Snyder  <msnyder@redhat.com>
+
+       Commited by Corinna Vinschen <vinschen@redhat.com>
+       Introduce SH2a support.
+       * interp.c: Change type of jump table to short.  Add various macros.
+       (sim_load): Save the bfd machine code.
+       (sim_create_inferior): Ditto.
+       (union saved_state_type): Add tbr, ibnr and ibcr registers.
+       Move bfd_mach to end of struct.  Add regstack pointer.
+       (init_dsp): Don't swap contents of sh_dsp_table any more.  Instead
+       use it directly in its own switch statement.  Allocate space for 512
+       register banks.
+       (do_long_move_insn): New function.
+       (do_blog_insn): Ditto.
+       (trap): Use trap #13 and trap #14 to set ibnr and ibcr.
+       * gencode.c: Move movx/movy insns into separate switch statement.
+       (op tab): Add sh2a insns.  Reject instructions that are disabled
+       on that chip.
+       (gensim_caselist): Generate default case here instead of in caller.
+       (gensim): Generate two separate switch statements.  Call
+       gensim_caselist once for each (for movsxy_tab and for tab).
+       Add tokens for r15 and multiple regs.
+       (conflict_warn, warn_conflicts): Add for debugging.
+
+2004-08-18  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * gencode.c (tab): For shad snd shld, fix result for
+       (op1 < 0 && shift_amount == 0).
+
+2004-02-02  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (movua.l): Set thislock to 0, not n.
+
+2004-02-12  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (table): Change from char to short.
+       (dumptable): Change generated table from char to short.
+       * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
+       (init_dsp): Compute size of sh_dsp_table.
+       (sim_resume): Change jump_table from char to short.
+
+2004-01-27  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c: (op tab): Some refs and defs fixes.
+       "fsrra" -> "fsrra <FREG_N>".
+       "sleep": replace array ref with array addr.
+       "trapa": ditto.
+       Comment and whitespace clean-ups.
+
+2004-01-07  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c: Whitespace cleanup.
+       * interp.c: Ditto.
+
+       * gencode.c: Replace 'Hitachi' with 'Renesas'.
+       (op tab): Add new instructions for sh4a, DBR, SBR.
+       (expand_opcode): Add handling for new movxy combinations.
+       (gensym_caselist): Ditto.
+       (expand_ppi_movxy): Remove movx/movy expansions,
+       now handled in expand_opcode.
+       (gensym): Add some helpful macros.
+       (expand_ppi_code): Flatten loop for simplicity, tweak for 12-bit
+       instead of 8-bit table (some insns are ambiguous to 8 bits).
+       (ppi_gensim, main): Generate 12-bit instead of 8-bit ppi table.
+
+       * interp.c: Replace 'Hitachi' with 'Renesas'.
+       (union saved_state_type): Add dbr, sgr, ldst.
+       (get_loop_bounds_ext): New function.
+       (init_dsp): Add bfd_mach_sh4al_dsp.
+       (sim_resume): Handle extended loop bounds.
+
+2003-12-18  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (expand_opcode): Simplify and reorganize.
+       Eliminate "shift" parameter.  Eliminate "4 bits at a time"
+       assumption.  Flatten switch statement to a single level.
+       Add "eeee" token for even-numbered registers.
+       (bton): Delete.
+       (fsca): Use "eeee" token.
+       (ppi_moves): Rename to "expand_ppi_movxy".  Do the ddt
+       [movx/movy] expansion here, as well as the ppi expansion.
+       (gensim_caselist): Accept 'eeee' along with 'nnnn'.
+
+2003-11-03  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * interp.c (fsca_s, fsrra_s): New functions.
+       * gencode.c (tab): Add entries for fsca and fsrra.
+       (expand_opcode): Allow variable length n / m fields.
+
+2003-10-15  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * syscall.h (SYS_truncate, SYS_ftruncate): Define.
+       * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
+
+2003-08-11  Shrinivas Atre  <shrinivasa@KPITCummins.com>
+       * sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
+       correction for MAC.W handler
+       * sim/sh/interp.c ( macl ): New Function. Implementation of
+       MAC.L handler.
+
+2003-08-07  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (expand_ppi_code): Comment spelling fix.
+
+2003-07-25  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (pshl): Change < to <= (shift by 16 is allowed).
+       Cast argument of >> to unsigned to prevent sign extension.
+       (psha): Change < to <= (shift by 32 is allowed).
+
+2003-07-24  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c: Fix typo in comment.
+
+2003-07-23  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c: A few more fix-ups of refs and defs.
+       (frchg): Raise SIGILL if in double-precision mode.
+       (ldtlb): We don't simulate cache, so this is a no-op.
+       (movsxy_tab): Correct a few bit pattern errors.
+
+2003-07-09  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (prnd): Clear LSW of result to zeros.
+       * gencode.c (pmuls): Expression is mis-parenthesized.
+       * gencode.c (ppi_gensim): For a conditional ppi insn, if the
+       condition is false, we want to return (not break).  A break
+       will take us to the end of the function where registers will
+       be updated, whereas the desired outcome is for nothing to change.
+
+2003-07-03  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (movs): Fix a couple of text transpositions.
+
+2003-06-27  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (op tab): Some fix-ups of refs and defs.
+       (ocbi, ocbp): Cache not simulated, but may cause memory fault.
+       (gensym_caselist): Add default case to switch statement.
+       (expand_ppi_code): Add default case to switch statement.
+       * gencode.c (op tab): Implement movca.l.
+       * gencode.c (op movsxy_tab): Fix an error in the bit pattern.
+       * gencode.c (gensim_caselist): The movy instructions use
+       registers R6 and R7 (not R4 and R5 like the movx insns).
+
+2003-06-27  Michael Snyder  <msnyder@redhat.com>
+
+       * gencode.c (op movsxy_tab): Fix up some copy/paste errors
+       in name: s/REG_x/REG_y/.
+
+       * gencode.c (op tab): Move misplaced semicolon.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
+       to bfd.
+
+Fri Oct 11 16:22:28 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * interp.c (trap): Return int.  Take extra parameter for address
+       of the trap instruction.  Changed all callers.
+       Add case 33 for profiling.
+       * gencode.c (trapa): Handle trap 33 using the trap function.
+       Add read of vector for generic traps.
+
+Wed Jul 17 19:36:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
+       * interp.c: Include "gdb/sim-sh.h".
+       (sim_store_register, sim_fetch_register): Use constants defined there.
+
+Tue Jun 18 16:53:11 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * interp.c (sim_resume): Fix setting of bus error for
+       instruction fetch.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+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
+       later inspection by the trap handler.
+       (count_argc): New function.
+       (prog_argv): Declare static.
+       (sim_write): Declare.
+       (trap): Implement argc, argnlen and argn system calls. Do not
+       abort on unknown system calls--simply return -1.
+       * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
+
+2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * interp.c (trap): Implement time.
+
+2000-10-24  Ben Elliston  <bje@redhat.com>
+
+       * gencode.c (tab): Delimit strings with commas where applicable.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon May 15 22:04:51 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+sh-dsp support, simulator speedup by using host byte order:
+
+       * Makefile.in (interp.o): Depends on ppi.c .
+       (ppi.c): New rule.
+       * gencode.c (printonmatch, think, genopc): Deleted.
+       (MAX_NR_STUFF): Now 42.
+       (tab): Add SH-DSP CPU instructions.
+       Amalgamate ldc / stc / lds / sts instructions with similar
+       bit patterns.  Fix opcodes of stc Rm_BANK,@-<REG_N>.
+       Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
+       (movsxy_tab): New array.
+       For movs, change MMMM field to GGGG, and mmmm field to MMMM.
+       Added entries for movx, movy and parallel processing insns.
+       (ppi_tab): New array.
+       (qfunc): Stabilize sort.
+       (expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
+       Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
+       (dumptable): Now takes three arguments.  Changed all callers.
+       Emit just one contigous jump table.
+       (filltable): Now takes an argument.  Changed all callers.
+       Make index static.
+       (ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
+       (gensim_caselist): New function, broken out of gensim.
+       Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
+       Handle ref '9'.
+       (gensim): Handle 'N' in code field and '8' in refs field.
+       Call gensim_caselist - twice.
+       (ppi_index): New static variable.
+       (main): Unsupport default action.
+       Add dsp support for -x / -s option.  Add -p option.
+       * interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
+       (saved_state_type): Rearrange to allow amalgamated ldc / stc /
+       lds / sts to work efficiently.
+       (target_dsp): New static variable.
+       (GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
+       (FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
+       (SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
+       (RS, RE, MOD, MOD_ME, DSP_R): Likewise.
+       (set_fpscr1): Likewise.  Use target_dsp to check for dsp.
+       (MOD_MSi, SIG_BUS_FETCH): Deleted.
+       (CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
+       (SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
+       (SET_MOD): Reflect saved_state_type change.  Set MOD_DELTA instead
+       of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
+       (set_sr): Reflect saved_state_type change.  Fix SR_RB handling.
+       Use SET_MOD.
+       (MA, L, TL, TB): Now controlled by ACE_FAST.
+       (SEXT32): Just cast to int.
+       (SIGN32): Fixed to only shift by 31.
+       (CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
+       (ppi_insn): Declare.
+       (ppi.c): Include.
+       (init_dsp): Set target_dsp.  When it changes, switch end of
+       sh_jump_table with sh_dsp_table.
+       (sim_resume) Don't declare sh_jump_table0.  Use sh_jump_table instead.
+       Don't Declare PR if it's #defined.
+       Fix single-stepping (Was broken in Mar  6 16:59:10 patch).
+       (sim_store_register, sim_read_register): Translate accesses to
+       reflect saved_state_type change.
+
+       * interp.c (set_sr): Set sr.
+       (SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
+       (set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
+       (DSP_R): Fix definition.
+       (sim_resume): Remove outdated SET_SR use.
+
+       * interp.c (saved_state): New members for struct member asregs:
+       rs, re, insn_end, xram_start, yram_start.
+       (struct loop_bounds): New struct.
+       (SKIP_INSN): New macro.
+       (get_loop_bounds): New function.
+       (endianw): Renamed to global_endianw.
+       (maskw): negated bits.
+       (PC): Now insn_ptr.
+       (SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
+       (RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
+       (M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
+       (SIG_BUS_FETCH): Likewise
+       (raise_exception, riat_fast): New functions.
+       (raise_buserror, sim_stop): Use raise_exception.
+       (PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
+       (BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
+       Reverse sense of mask argument.
+       (FP_OP, set_dr): Use RAISE_EXCEPTION.
+       (wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
+       Declare.  Remove redundant masking.
+       (wwat_fast, rwat_fast): Add argument endianw.  Changed callers.
+       (MA): Updated for change pc -> PC.
+       (Delay_Slot): Use RIAT.
+       (empty): Deleted.
+       (trap): Remove argument little_endian.  Add argument endianw.
+       Changed all callers.  Use raise_exception.
+       (macw): Add argument endainw.  Changed all callers.
+       (init_dsp): New function, extended after broken out of init_pointers.
+       (sim_resume): Replace pc with insn_ptr.  Replace little_endian with
+       endianw.  Replace nia with nip.  Reverse sense of maskb / maskw /
+       maskl.  Implement logic for zero-overhead loops.  Don't try to
+       interpret garbage when getting a SIGBUS at insn fetch.
+       (sim_open): Call init_dsp.
+       * gencode.c (tab): Use SET_NIP instead of nia = .  Use PH2T / PT2H /
+       RAISE_EXCEPTION where appropriate.
+       Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
+
+       * interp.c (sim_store_register, sim_fetch_register):
+       Do proper endianness switch.
+
+       * interp.c (saved_state_type): New members for struct member asregs:
+       xymem_select, xmem, ymem, xmem_offset, ymem_offset.
+       (special_address): Delete.
+       (BUSERROR): Now a two-argument predicate.
+       (PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
+       (wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
+       (process_wlat_addr, process_wwat_addr): New functions.
+       (process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
+       (process_rbat_addr): Likewise.
+       (wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
+       (rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
+       (rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
+       (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
+       (do_rdat, trap): Delete SLOW code.
+       (SEXT32, SIGN32): New macros.
+       (swap, swap16): Now integer in - integer out.  Changed all callers.
+       (strswaplen, strnswap): Delete SLOW versions.
+       (init_pointers): Initialize dsp memory selection (preliminary).
+       (sim_store_register, sim_fetch_register): Use swap instead of
+       big / little endian read / write functions.
+
+       * interp.c (maskl): Deleted.
+       (endianw, endianb): New variables.
+       (special_address): Now inline.
+       (bp_holder): Put raising of buserror there, rename to:
+       (raise_buserror).
+       (BUSERROR): Now yields a value.  Changed all users.
+       (wbat_big): Delete.
+       (wlat_fast, wwat_fast, wbat_fast): New functions.
+       (rlat_fast, rwat_fast, rbat_fast): Likewise.
+       (RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
+       (do_rdat, do_wdat): Likewise.  Take maskl argument instead of
+       little_endian one.  Changed caller macros.
+       (swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
+       (strswaplen, strnswap): New functions.
+       (trap): Use them to fix up endian mismatches;
+       disable SYS_execve and SYS_execv; fix double address translation for
+       SYS_pipe and SYS_stat.
+       (sym_write, sym_read): Add endianness translation.
+       (sym_store_register, sym_fetch_register): Add maskl local variable.
+       (sim_open): Set endianw and endianb.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Aug 25 07:55:23 1999  Brendan Kehoe  <brendan@cygnus.com>
+
+       * gencode.c (fcnvds <DR_N>,FPUL): Rewrite to use a local anonymous
+       union type, instead of casting to an int* then a float*.
+       (fcnvsd FPUL,<DR_N>): Likewise.
+       (flds <FREG_N>,FPUL): Likewise.
+       (fsts FPUL,<FREG_N>): Likewise.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-02  Keith Seitz  <keiths@cygnus.com>
+
+       * interp.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
+       frequency at which the poll_quit callback is called.
+       (sim_resume): Use POLL_QUIT_INTERVAL instead of a
+       hard-coded value.
+
+Thu Sep 10 02:16:39 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * interp.c (saved_state.asregs): Add new member pad_dummy.
+       (sim_store_register, sim_fetch_regsiter): Add 1 to rn for use
+       as index into saved_state.asints.
+
+Mon Jun 29 19:35:24 1998  Jason Molenda  (crash@bugshack.cygnus.com)
+
+       * interp.c (sim_open): set endianness based on the ABFD if a -E
+       option is not present and we have an ABFD.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:19:48 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:18:35 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Feb 17 12:49:44 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_fetch_register, sim_store_register): Pass in
+       length parameter.  Return -1.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_load): Pass lma_p and sim_write args to
+       sim_load_file.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep  9 20:52:21 1997  Felix Lee  <flee@cygnus.com>
+
+       * interp.c (sim_resume): poll_quit() at least once per call;
+       otherwise gdb can loop sim_resume() uninterruptably.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep  2 13:15:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (tab): Order instructions according to SH3 document.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:41:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 16:17:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add ABFD argument.
+
+Mon Jun 23 15:49:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (get_dr): Avoid SIGFPE by moving integers instead of
+       FP's around.
+       (set_dr): Ditto.
+
+Mon Jun 23 15:02:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (XD, SET_XD): Delete.
+       (XF, SET_XF, XD_TO_XF): Define, move around registers in either
+       FP bank.
+
+       * gencode.c (fmov): Update.
+
+Sun Jun 22 19:33:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (set_fpscr1): From J"orn Rennecke
+       <amylaar@cygnus.co.uk>, Fix typo. Ditto for comment.
+
+Tue Aug 12 00:19:11 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * interp.c (special_address): New function.
+       (BUSERROR): Call it.  Added parameters bits_written and data.
+       Changed all callers.
+       * gencode.c (tab): Fixed ocbwb and pref.
+
+Fri Jun 20 22:03:18 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * interp.c (do_wdat, do_wdat): Fix bug in register number calculation.
+
+Thu Jun 19 00:28:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_create_inferior): Clear registers each time an
+       inferior is started.
+
+Mon Jun 16 14:01:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (*FP, FP_OP, FP_CMP, FP_UNARY): Provide a hook for
+       when a host doesn't support IEEE FP.
+       (*DP): Provide alternative definition that supports 64bit floating
+       point.
+       (target_little_endian): Combine little_endian and little_endian_p.
+       (saved_state_type): Make fpscr and sr simple integers.
+       (SET_FPSCR, GET_FPSCR): Use macros to update fpscr register.
+       (set_fpscr1): New function.  Handle swapping when PR / FR bits
+       changed. Call via *_FPSCR macro.
+       (SET_SR*, GET_SR*): Use macro's to access the SR bits - avoids
+       endian problems.
+
+       * gencode.c (tab): Update.
+
+Sun Jun 15 15:22:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (main): Perform basic checks on tab entries.
+
+       * Makefile.in (gencode): Always compile with -g.
+
+Sat Jun 14 13:45:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (gensim): Move ref checking code to before `stuff'.
+       For branches with delay slots refs were not being checked.
+
+       * interp.c (sim_resume): Use nia to specify the next instruction
+       address instead of overloading pc.
+       (C): Delete definiton - refer to cycles directly.
+       (SEXT12): New macro - sign extend a 12 bit quantity.
+       (Delay_Slot): Rename from SL.
+
+       * gencode.c (tab): Update/simplify.
+
+       * gencode.c (gensim): Better formatting of output code.
+       (gensim): Replace 10 with constant MAX_NR_STUFF- define as 15.
+       (tab): Sort alphabetically.  Break `stuff' into multiple lines.
+
+Fri Jun 13 22:10:13 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * gencode.c (braf, bsrf): Fix branch destination calculation to
+       be in accordance with the documentation.
+
+Fri Jun 13 15:33:53 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * interp.c (init_pointers): Fix little endian test.
+
+Thu Jun  5 12:56:08 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * interp.c (init_pointers): SH4 hardware is always WORDS_BIT_ENDIAN.
+       * gencode (fmov from/to memory): take endian_mismatch into account
+       for 32 bit moves too.
+
+Wed May 28 23:42:35 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * gencode.c (swap.b): Fix treatment of high word.
+
+Wed May 28 23:42:35 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh/gencode.c,
+       * interp.c: experimental SH4 support.
+       DFmode moves are probaly broken for target little endian.
+
+Tue May 20 10:23:28 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Delete SIM_DESC argument.
+
+Wed Apr 30 11:38:08 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_EXTRA_CLEAN): Define.
+       (clean targets): Delete.
+       (sh-clean): New target.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr 23 17:55:22 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * tconfig.in: New file.
+       * interp.c (sim_open): Handle missing arg to -E.
+
+Tue Apr 22 08:55:35 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Makefile.in:  Add clean targets.
+
+Fri Apr 18 18:57:04 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * interp.c:  Include float.h and define SIGTRAP if _WIN32.
+       WIN32 -> _WIN32.
+       * (trap):  Do do SYS_chown for _WIN32.
+
+Fri Apr 18 13:33:09 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_resume): Fix argument to poll_quit.
+
+Fri Apr 18 14:14:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop): New function.
+       (sim_resume): Use poll_quit for polling.
+
+Thu Apr 17 03:32:04 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * interp.c (target_byte_order): Delete.
+       (sim_kind, myname, little_endian_p): New static locals.
+       (init_pointers): Use little_endian_p instead of target_byte_order.
+       (sim_resume): Likewise.
+       (sim_open): Set sim_kind, myname.  Set little_endian_p from -E arg.
+       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
+       load file into simulator.  Set start address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 19 09:34:36 1997  Fred Fish  <fnf@cygnus.com>
+
+       * interp.c (sim_do_command): Check for NULL command or empty
+       string and handle it the same as a "help" command.  Use callback
+       to print error message for unrecognized commands.  Replace
+       hardcoded tab in literal string with a \t.  Other minor code
+       cleanup.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 13:00:00 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New SIM_DESC result.  Argument is now
+       in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Wed Nov 20 02:04:32 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
+       (SIM_OBJS,SIM_EXTRA_LIBS): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       Call AC_CHECK_HEADERS(unistd.h).
+       * configure: Regenerated.
+       * config.in: New file.
+       * interp.c: #include "config.h".  #include <unistd.h> if present.
+       (trap): Fetch errno value with callback->get_errno.
+
+Tue Nov 12 13:34:00 1996  Dawn Perchik  <dawn@cygnus.com>
+
+       * interp.c: Don't include windows polling code if inside simluator.
+
+Fri Sep 20 14:57:50 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * interp.c: Minor formatting improvements.
+       (saved_state_type): Add bank registers.
+       (bp_holder): New function, use to break on when debugging BUSERROR.
+       (BUSERROR): Call it if bus error occurs.
+
+Wed Jun 26 12:29:22 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
+       INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
+       (docdir): Removed.
+       * configure.in (AC_PREREQ): autoconf 2.5 or higher.
+       (AC_PROG_INSTALL): Added.
+       * configure: Rebuilt.
+
+Thu May 16 15:44:29 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * interp.c (saved_state_type): Add memstalls field.
+       (MA) Define macro.
+       (sim_resume): New local variable memstalls.  Add it back in to
+       saved_state at the end of the function.
+       (sim_info): Report memstalls.
+       * gencode.c (tab): Add MA() to the execution string of all
+       instructions which access memory.
+
+Wed Feb 21 12:16:41 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate with autoconf 2.7.
+
+Tue Dec  5 16:38:55 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * gencode.c (mac.l):  Don't abort GDB if executing mac.l
+       instruction (which is unimplemented).  Generate a SIGTRAP (in the
+       simulated target) instead.
+
+Mon Dec  4 12:22:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * gencode.c (tab): Added several sh3 opcodes.
+       (think): Added printonmatch for A_SSR and A_SPC.
+       * interp.c (SSR, SPC): Added definitions.
+       (saved_state_type): Added ssr and spc registers.
+
+Wed Nov 29 12:39:27 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * gencode.c (tab): In shad/shld definitions, negate R[m] before
+       the and operation instead of after.  For shad delete cast.  For shld
+       use UR instead of R and delete cast.
+
+Fri Nov 17 12:48:55 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * gencode.c (tab): Add explicit NaN support for ftrc instruction.
+
+Wed Nov 15 11:25:27 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * interp.c:  Make target_byte_order be extern to prevent SGI cc from
+       issuing warnings about the use of common symbols.
+
+Tue Nov 14 15:19:43 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * gencode.c:  jsr, bsr and bsrf actually save pc+4 in pr, and rts
+       actually uses pr+0.
+
+Sat Oct 21 13:01:18 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate
+       program exited.
+       (sim_get_quit_code): Delete.
+
+       * gencode.c (gensim): Indicate SIGILL instead of calling abort for
+       default case.
+
+Mon Oct 16 18:24:03 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * interp.c (saved_state_type): Move FP registers to immediately
+       after SR.
+
+Tue Oct 10 11:12:15 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (BISON): Remove macro.
+
+Fri Oct  6 12:08:18 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * interp.c (trap, case SYS_utime): Cast second arg of utime to
+       void * to avoid compiler error.
+
+       * interp.c (callback): Remove last change.  It is initialized by
+       a sim_set_callbacks call.
+
+Thu Oct  5 14:13:29 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * interp.c (callback): Initialize to default callback.
+
+Thu Sep 28 15:26:59 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * run.c: Moved to ../common.
+       * interp.c (trap): Use gdb's callback interface.
+       * Makefile.in: Updated.
+
+Wed Sep 20 13:35:13 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New synonym for realclean.
+
+Wed Sep 20 09:51:50 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * run.c (sim_callback_write_stdout):  New.
+       * interp.c (trap): Call sim_callback_write_stdout when needed.
+
+Mon Sep 18 18:42:27 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * interp.c (trap): Remove useless code.
+
+Fri Sep 15 19:30:05 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * syscall.h: Copy from newlib.
+
+Thu Sep 14 19:32:59 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * gencode.c:  Back up PC by 2 for breakpoints.
+       * interp.c:  Move fp regs beyond pc/pr/etc to avoid confusing GDB,
+       which expect pc to immediately follow regs[].
+
+Fri Sep  8 14:18:13 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Define CC_FOR_BUILD.  Don't call AC_PROG_INSTALL.
+       * configure: Rebuild.
+       * Makefile.in (INSTALL): Revert to using install.sh.
+       (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
+       (INSTALL_XFORM, INSTALL_XFORM1): Restore.
+       (CC_FOR_BUILD): Restore.
+       (gencode): Build using $(CC_FOR_BUILD).
+       (install): Don't install in $(tooldir).
+
+Thu Sep  7 15:02:31 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       (Try to) Update to new bfd autoconf scheme.
+       * run.c: Don't include sysdep.h.
+       * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
+       (CC, CFLAGS, AR, RANLIB): Likewise.
+       (HDEFINES, TDEFINES): Define.
+       (CC_FOR_BUILD): Delete.
+       (host_makefile_frag): Delete.
+       (Makefile): Don't depend on frags.
+       * configure.in (sysdep.h): Don't create symlink.
+       (host_makefile_frag, frags): Deleted.
+       (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
+       * configure: Regenerated.
+
+Thu Aug 31 12:39:07 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * interp.c: Include <math.h>.
+
+Wed Aug 30 22:05:17 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * Makefile.in (run): Link in math library too.
+       * gencode.c (gensim): abort if an unknown opcode is encountered.
+       * interp.c (FPSCR, FPUL): Define.
+       (struct save_state): Add fields for floating point registers,
+       FPSCR and FPUL.
+       (sim_resume): Add 'F' for accessing floating point registers
+       in the save state structure.
+       * gencode.c: Add sh3e opcodes.
+       (gensym): Define a buffer for int<->fp conversions.
+
+Tue Aug 22 14:16:46 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * interp.c (trap): Use trap vector 34 for host system interface.
+       * gencode.c: Add 34 to conditional which determines which traps
+       will be handled by simulator.
+
+Fri Aug 11 17:59:15 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * run.c: Include <signal.h>.  Define SIGQUIT if not defined.
+       (main): New variables reason and sigrc.  After simulator exits,
+       check to see if it exited because of a signal, and if so, then
+       use the signal number as the return value.
+
+Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Update all FSF addresses except those in COPYING* files.
+
+Tue Jul 18 23:33:10 1995  Fred Fish  <fnf@fishbowl>
+
+       * interp.c (trap): Only use SYS_execv if defined.  Might be
+       implemented as execve(arg1,arg2,0), as with Unixware 2.0.
+       (sim_resume): In sbit initializer, cast shifted arg to unsigned
+       to avoid signed integer overflow.
+
+Wed Jul  5 14:32:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (clean): Remove run, libsim.a.
+         (distclean, mostlyclean, realclean): Remove Makefile and
+         autoconf files.
+
+       * sh.mt: Removed.
+
+       * Makefile.in, configure.in: converted to autoconf.
+       * configure: New file, generated with autconf 2.4.
+
+Fri Jun 30 16:51:38 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * interp.c (sim_open): If argument supplied, interpret as
+       desired memory size.
+       (parse_and_set_memory_size): New function.
+       (sim_do_command): New function.
+
+Thu Jun 29 10:02:28 1995  Fred Fish  <fnf@deneb.cygnus.com>
+
+       * interp.c  (SYS_wait): Define as SYS_wait4 if available and
+       SYS_wait is not already defined (SunOS 4.1.3 for example).
+       (SYS_utime): Define as SYS_utimes if available and
+       SYS_utime is not already defined.
+
+Thu Jun 22 17:25:57 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * interp.c: Don't include sys/times.h or sys/param.h
+
+Wed Jun 21 15:03:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * interp.c (SIGBUS, SIGTERM): Define if not.
+       (sim_memory_size): default to 2^19 on PCs.
+       (sim_resume): Poll for quits on win32.
+
+Wed May 24 16:22:48 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * gencode.c (op_tab): Add SH3 support.
+
+Wed May 24 14:07:11 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * gencode.c (tab): Add bsrf and braf.
+
+Mon Apr 24 15:09:49 1995  Jason Molenda  (crash@cygnus.com)
+
+       * configure.in: use ../../bfd/hosts/std-host.h, not
+       ../bfd/hosts/std-host.h (which doesn't exist).
+
+Mon Mar 27 10:32:34 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * run.c: parse arguments with getopt().
+
+Sun Feb 26 15:27:24 1995  Steve Chamberlain  <sac@cygnus.com>
+
+       * configure.in: Use ../../bfd/hosts/std-host.h if specific
+       host unavailable.
+
+Mon Jan 23 16:10:58 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
+
+       * interp.c (macw): Sign extend MACH at bit 10 for non-saturating case.
+
+Sun Jan 22 13:55:36 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
+
+       * gencode.c (op_tab): Make MAC.W call macw, not abort.
+       * interp.c (macw): New function.
+       (S): New #define.
+
+Sat Jan 21 15:52:30 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
+
+       * gencode.c (op_tab): New code for ADDV and SUBV.
+       Make MAC.L abort sicne it is not implemented.
+
+       * interp.c (dmul): Handle the signed case by adjusting after unsigned multiply.
+       Get rid of __GNUC__ conditional.
+
+aThu Jan 19 05:50:50 1995  Torbjorn Granlund  <tege@rtl.cygnus.com>
+
+       * gencode.c (op_tab): Also replace NEGC, and try again with SUBC.
+       Change ADDC for symmetry.
+
+       * gencode.c (op_tab): Replace code for ADDC and SUBC.
+
+Mon Jan  9 15:43:53 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * interp.c:  Remove def of INLINE.  This comes from bfd.h.  Also,
+       declare IOMEM before using it.
+
+Wed Dec 28 21:25:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * interp.c (BUSERROR): New macro.
+       ([r|w][bwl]at[little|big]) New functions.
+       (sim_resume): If GO32 check for interrupt every now
+       and again.  Decrement PC if SIGBUS seen.
+       * run.c (main):  Return result of simulated _exit.
+
+Mon Dec  5 21:59:51 1994  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (gencode): Allow build in different directory.
+
+Wed Nov 30 17:47:13 1994  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * Makefile.in (gencode): Change $< to gencode.c for portability.
+
+Wed Nov 23 21:31:55 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * interp.c ([wr][bwl]at): New functions.
+       (trap): Cope with both byte modes.
+
+Thu Sep  8 17:35:07 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * gencode.c (tab): Simulate T bit after a negc insn right.
+       * interp.c (RSBAT): Sign extend the arg.
+       (ACE_FAST): New macro.
+       (sim_resume): Remove obsolete test of sim_timeout.
+
+Fri Aug  5 14:12:31 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * interp.c (IOMEM): New function, simulates very basic I/O area of
+       the SH.
+       (WBAT, RBAT) : Call I/O functions.
+       * gencode.c (tab): Special case trapa #3.
+
+Mon Jun 27 18:04:54 1994  Steve Chamberlain  (sac@cirdan.cygnus.com)
+
+       * run.c (main): Specify the file type again.
+
+Thu May 26 19:04:37 1994  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * interp.c (trap): Fix irix incompatibility.
+       * run.c (main): open without specifying file type.
+
+Wed May 18 14:18:53 1994  Doug Evans  (dje@canuck.cygnus.com)
+
+       * interp.c (sim_*): Make result void where there isn't one.
+       (sim_set_pc): Delete.
+       (sim_info): Delete printf_fn arg, all callers changed.
+       Call printf_filtered instead.
+       (sim_close): New function.
+       (sim_load): New function.
+       (sim_create_inferior): Renamed from sim_set_args, all callers changed.
+       * run.c: #include <varargs.h>, "remote-sim.h".
+       (printf_filtered): New function.
+
+Wed Apr 27 12:03:48 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * gencode.c (table): Get direction of some opcodes right.
+       (trapa, rte): Implement fully.
+       * interp.c (trap): Make stat call more portable.
+
+Fri Feb 11 21:59:38 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
+
+       * gencode.c (main, gendefines): New -d option prints table of defines.
+       * interp.c (trap): Add a load of system calls.
+       (sim_memory_size): Now default to 8Mbyte.
+       (PARANOID): Keep vector of registers with undefined contents.
+
+Mon Nov 15 14:37:18 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * gencode.c: mova uses aligned addresses
+       * interp.c (trap): Return results in r0.
+
+Tue Oct 26 10:38:55 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
+       * interp.c: #include "remote-sim.h".
+       (sim_resume): int result, new arg `siggnal'.
+       (sim_write): Use SIM_ADDR for type of arg `addr'.
+       (sim_read): Use SIM_ADDR for type of arg `addr'.
+       Use unsigned char * for `buffer'.
+       (sim_store_register): int result.
+       (sim_fetch_register): Ditto.
+       (sim_stop_reason): Renamed from sim_stop_signal.  New arg `reason'.
+       (sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
+       (sim_info): int result, new args `verbose', `printf_fn'.
+       (sim_kill): int result.
+       (sim_open): int result, new arg `name'.
+       * run.c: #include <stdio.h>
+       (main): Update call to sim_info.
+
+Sat Oct 23 15:09:29 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * interp.c (sim_stop_signal): Result is now enum sim_stop.
+
+Fri Oct  8 10:47:09 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * gencode.c (table): Becomes unsigned.
+       * interp.c (trap): Get right breakpoint SIGnum. (sim_write,
+       sim_read): Return number of bytes copied.  (sim_store_register):
+       Value passed by reference. (sim_kill, sim_open, sim_set_args): New functions.
+
+Tue Sep  7 16:24:13 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * interp.c (sim_info): Fix small typo in printf string.
+
+Thu Aug  5 11:37:48 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * interp.c (sim_resume): Set memory after pointers inited.
+
+Mon Aug  2 14:13:22 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * interp.c (get_now): Use time system call.
+       * Makefile.in: install correctly.
+
+Tue Jul  6 10:30:46 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * run.c (main), interp.c (sim_set_timeout): Remove timeout
+       functionality.
+
+Thu Jun 24 13:29:57 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
+
+       * Makefile.in: don't run indent everytime; also add a space in the
+       includes
+
+Thu Jun 17 18:30:42 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * gencode.c: Fix some opcodes.
+       * interp.c: Support for profiling and portability fixes.
+       * run.c (main): Get profiling args.
+
+Wed May  5 13:17:22 1993  Steve Chamberlain  (sac@cygnus.com)
+
+       * gencode.c (tab): Lint for sgi compiler
+       * interp.c: Lint for sgi compiler.
+
+Mon May  3 15:25:33 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * run.c (main): Support for resizing simulated RAM.
+       * Makefile.in: Support for broken makes.
+       * interp.c, gencode.c: Lint.
+
+Mon Apr 26 18:01:10 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * created
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
deleted file mode 100644 (file)
index 7265ed8..0000000
+++ /dev/null
@@ -1,475 +0,0 @@
-2021-06-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * common/local.mk (%D%/bits32m0.c, %D%/bits32m31.c, %D%/bits64m0.c,
-       %D%/bits64m63.c): Use AM_V_GEN & AM_V_at wrappers.
-
-2021-05-07  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * local.mk (%C%_CPPFLAGS): Add ../bfd include path.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (run_sim_test): Set status to unsupported if
-       $return_code is 77.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (run_sim_test): Return if sim_tool_path does not
-       exist.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (sim_tool_path): New function.
-       (sim_run): Set sim to [sim_tool_path].
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (run_sim_test): Convert examples to binaries.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * local.mk: Include %D%/common/local.mk.
-       * common/Makefile.in: Removed.
-       * common/local.mk: New file.
-
-2021-03-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Removed.
-       * lib/sim-defs.exp (sim): Update default path.
-       * local.mk: New file based on Makefile.in.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (arch): Delete.
-       (site.exp): Do not output $arch.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * riscv/: New directory.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (site.exp): Delete tool setting.
-       * sim/*/: Move subdirs up a directory.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure, configure.ac: Delete.
-       * Makefile.in (Makefile, config.status): Switch to ../config.status.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (target): Delete d10v-*-elf case.
-       * configure: Regenerate.
-       * d10v-elf/: Move directory ...
-       * sim/d10v/: ... here.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (target): Delete mips64el-*-elf case.
-       * configure: Regenerate.
-       * mips64el-elf/: Delete directory.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (target): Delete frv-*-elf case.
-       * configure: Regenerate.
-       * frv-elf/: Delete directory.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (target): Delete m32r-*-elf case.
-       * configure: Regenerate.
-       * m32r-elf/: Delete directory.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (sim_run): Delete status and return return_code.
-       (run_sim_test): Define status option.  Change sim_run return to
-       return_code.  Define status.  Log return_code.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * common/alu-tst.c: Include stdlib.h.
-       (PACKAGE): Define.
-       (print_hex): Change printf to use %llx.
-       * common/bits-gen.c: Include stdlib.h, string.h, and unistd.h.
-       (gen_struct): Change long long to unsigned64.
-       (gen_bit): Change bit cast to bit mask.  Change printf to use %llx.
-       (gen_mask): Likewise.
-       (usage): Delete default case.
-       (main): Change WITH_HOST_WORD_BITSIZE printf from %d to %zu.  Emit
-       PACKAGE define and stdlib.h & string.h includes.
-       * common/bits-tst.c (calc): Change printf to use %llx.
-       (check_sext, check_rot, check_extract, check_bits): Likewise.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * sim/sh64/: Delete.
-
-2021-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim/fr30/: Delete.
-
-2021-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * common/Make-common.in: Delete.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2020-10-06  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * configure: Regnerate.
-       * configure.ac (AC_CONFIG_AUX_DIR): Update.
-
-2020-08-04  David Faust  <david.faust@oracle.com>
-           Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * configure: Regenerate.
-       * sim/bpf: New directory.
-
-2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
-
-       * configure: Re-generate.
-
-2019-12-19  Tom Tromey  <tromey@adacore.com>
-
-       PR build/24572:
-       * Makefile.in (install-strip): New target.
-
-2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * configure: Regenerate.
-
-2017-12-12  Stafford Horne  <shorne@gmail.com>
-           Peter Gavin  <pgavin@gmail.com>
-
-       * configure: Regenerated.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * common/bits-gen.c (main): Change BIG_ENDIAN to BFD_ENDIAN_BIG and
-       LITTLE_ENDIAN and BFD_ENDIAN_LITTLE.
-
-2015-11-24  Nick Clifton  <nickc@redhat.com>
-
-       * configure: Regenerate.
-       * sim/aarch64: New directory.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (slurp_options): Pull in global subdir/srcdir.
-       Replace $srcdir and $subdir in the read option.
-
-2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
-
-       * lib/sim-defs.exp (sim_init): Unset target ldscript here.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Add d10v-*-elf.
-       * configure: Regenerate.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp (run_sim_test): Declare seen_output as 0.  When
-       the test has an output keyword, set it to 1.  Set default output only
-       when seen_output is 0.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-03-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * configure: Regenerate.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * common/bits-gen.c (main): Change to new style prototype.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * configure: Regenerate.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2012-03-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore: New file.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate after bfin testsuite update.
-
-2011-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * lib/sim-defs.exp: Support cc tag in test files.
-       (run_sim_test): Support global_cc_options in boards files.  Convert
-       assembler options into compiler options (c_as_options) with -Wa.
-       Convert linker options into compiler options (c_ld_options) with -Wl.
-       Compile .c and .S files into .x programs.
-
-2011-05-04  Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2010-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (arch): Set to @sim_arch@.
-       * configure.ac: Delete arch logic and include ../configure.tgt.
-       * configure: Regenerated.
-       * lib/sim-defs.exp (sim_run): Default sim to ../arch/run.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
-
-       * lib/sim-defs.exp (run_sim_test): New option progopts.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-       * configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
-       * configure: Re-generate.
-
-       * fr30-elf, d30v-elf: Delete directory.
-
-2004-11-16  Hans-Peter Nilsson  <hp@axis.com>
-
-       * lib/sim-defs.exp (run_sim_test): Make multiple "output"
-       specifications concatenate, not override.
-       Support "xfail" and "kfail".
-
-2004-10-26  Nick Clifton  <nickc@redhat.com>
-
-       * lib/sim-defs.exp (sim_run): Add support for the "rawsid"
-       protocol.
-
-2004-09-13  DJ Delorie  <dj@redhat.com>
-
-       * lib/sim-defs.exp (run_sim_test): Add global_as_options,
-       global_ld_options, and global_sim_options to all test cases, if
-       defined.
-
-2004-05-12  Ben Elliston  <bje@au.ibm.com>
-
-       * lib/sim-defs.exp: Remove stray semicolons.
-
-2004-01-26  Chris Demetriou  <cgd@broadcom.com>
-
-       * sim/mips: New directory.  Tests for the MIPS simulator.
-
-2004-01-23  Ben Elliston  <bje@wasabisystems.com>
-
-       * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
-       test passes.
-
-2003-08-20  Michael Snyder  <msnyder@redhat.com>
-           On behalf of Dave Brolley
-
-       * sim/frv: New testsuite.
-       * frv-elf: New testsuite.
-
-2003-07-09  Michael Snyder  <msnyder@redhat.com>
-
-       * sim/sh: New directory.  Tests for Renesas sh family.
-
-2003-04-13  Michael Snyder  <msnyder@redhat.com>
-
-       * sim/h8300: New directory.  Tests for Renesas h8/300 family.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2001-07-31  Ben Elliston  <bje@redhat.com>
-
-       * lib/sim-defs.exp (run_sim_test): Include a description such as
-       "assembling" or "linking" that identifies the phase a test fails
-       in, for easier analysis of failures.
-
-2000-11-01  Dave Brolley  <brolley@cygnus.com>
-
-       * lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
-       "xerror" options do not use a list of machines. Clear options from
-       previous test case. Use "$cpu_option"  to identify the machine to the
-       assembler, if specified.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-09-15  Doug Evans  <devans@casey.cygnus.com>
-
-       * sim/arm/b.cgs: New testcase.
-       * sim/arm/bic.cgs: New testcase.
-       * sim/arm/bl.cgs: New testcase.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-08-30  Doug Evans  <devans@casey.cygnus.com>
-
-       * lib/sim-defs.exp (run_sim_test): Rename all_machs arg to
-       requested_machs, now is list of machs to run tests for.
-       Delete locals AS,ASFLAGS,LD,LDFLAGS.  Use target_assemble
-       and target_link instead.
-
-Fri Feb  5 12:41:11 1999  Doug Evans  <devans@canuck.cygnus.com>
-
-       * lib/sim-defs.exp (sim_run): Print simulator arguments log message.
-
-1999-01-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * lib/sim-defs.exp (run_sim_test): New arg all_machs.
-
-1998-12-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * lib/sim-defs.exp (run_sim_test): New option xerror, for expected
-       errors.  Translate \n sequences in expected output to newline char.
-       (slurp_options): Make parentheses optional.
-       (sim_run): Look for board_info sim,options.
-
-Wed Nov 18 10:50:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * common/bits-gen.c (main): Add BYTE_ORDER so that it matches
-       recent sim/common/sim-basics.h changes.
-       * common/Makefile.in: Update.
-
-Fri Oct 30 00:37:31 1998  Felix Lee  <flee@cygnus.com>
-
-       * lib/sim-defs.exp (sim_run): download target program to remote
-       host, if necessary.  for unix-driven win32 testing.
-
-Fri Jul 31 17:49:13 1998  Felix Lee  <flee@cygnus.com>
-
-       * lib/sim-defs.exp (sim_run): remote_spawn, use writeto instead of
-       writeonly.
-
-Fri Jul 24 09:40:34 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
-
-Tue Jun 16 15:44:01 1998 Jillian Ye <jillian@cygnus.com>
-
-       * lib/sim-defs.exp: Print out timeout setting info when "-v" is used.
-
-Thu Jun 11 15:24:53 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
-       which is now a list of options controlling the behaviour of sim_run.
-
-Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * lib/sim-defs.exp (sim_run): Add possible environment variable
-       list to simulator run.
-
-Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
-
-       * Makefile.in: Take RUNTEST out of FLAG_TO_PASS
-                      so that make check can be invoked recursively.
-
-Thu May 14 11:48:35 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * config/default.exp (CC,SIM): Delete.
-
-       * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
-       New arg prog_opts.  All callers updated.
-
-Fri May  8 18:10:28 1998  Jillian Ye <jillian@cygnus.com>
-
-       * Makefile.in: Made "check" the target of two
-         dependencies (test1, test2) so that test2 get a chance to
-         run even when test1 failed if "make -k check" is used.
-
-Fri May  8 14:41:28 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * lib/sim-defs.exp (sim_version): Simplify.
-       (sim_run): Implement.
-       (run_sim_test): Use sim_run.
-       (sim_compile): New proc.
-
-Mon May  4 17:59:11 1998  Frank Ch. Eigler  <fche@cygnus.com>
-
-       * config/default.exp: Added C compiler settings.
-
-Wed Apr 22 12:26:28 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
-
-Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
-       try all machs.
-
-Wed Feb 25 11:01:17 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (RUNTEST): Fix path to runtest.
-
-Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * config/default.exp: New file.
-       * lib/sim-defs.exp: New file.
-
-       * Makefile.in (build_alias): Define.
-       (arch): Define.
-       (RUNTEST_FOR_TARGET): Delete.
-       (RUNTEST): Fix.
-       (check): Depend on site.exp.  Run dejagnu.
-       (site.exp): New target.
-       * configure.in (arch): Define from target_cpu.
-       * configure: Regenerate.
-
-Wed Sep 17 10:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * common/bits-gen.c (gen_bit): Pass in the full name of the macro.
-       (gen_mask): Ditto.
-
-       * common/bits-tst.c (main): Add tests for LSSEXT, MSSEXT.
-       (calc): Add support for 8 bit version of macros.
-       (main): Add tests for 8 bit versions of macros.
-       (check_sext): Check SEXT of zero clears bits.
-
-       * common/bits-gen.c (main): Generate tests for 8 bit versions of
-       macros.
-
-Thu Sep 11 13:04:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * common/Make-common.in: New file, provide generic rules for
-       running checks.
-
-Mon Sep  1 16:43:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in (configdirs): Test for the target directory instead
-       of matching on a target.
diff --git a/sim/testsuite/ChangeLog-2021 b/sim/testsuite/ChangeLog-2021
new file mode 100644 (file)
index 0000000..7265ed8
--- /dev/null
@@ -0,0 +1,475 @@
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/local.mk (%D%/bits32m0.c, %D%/bits32m31.c, %D%/bits64m0.c,
+       %D%/bits64m63.c): Use AM_V_GEN & AM_V_at wrappers.
+
+2021-05-07  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * local.mk (%C%_CPPFLAGS): Add ../bfd include path.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (run_sim_test): Set status to unsupported if
+       $return_code is 77.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (run_sim_test): Return if sim_tool_path does not
+       exist.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (sim_tool_path): New function.
+       (sim_run): Set sim to [sim_tool_path].
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (run_sim_test): Convert examples to binaries.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * local.mk: Include %D%/common/local.mk.
+       * common/Makefile.in: Removed.
+       * common/local.mk: New file.
+
+2021-03-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Removed.
+       * lib/sim-defs.exp (sim): Update default path.
+       * local.mk: New file based on Makefile.in.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (arch): Delete.
+       (site.exp): Do not output $arch.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * riscv/: New directory.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (site.exp): Delete tool setting.
+       * sim/*/: Move subdirs up a directory.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure, configure.ac: Delete.
+       * Makefile.in (Makefile, config.status): Switch to ../config.status.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (target): Delete d10v-*-elf case.
+       * configure: Regenerate.
+       * d10v-elf/: Move directory ...
+       * sim/d10v/: ... here.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (target): Delete mips64el-*-elf case.
+       * configure: Regenerate.
+       * mips64el-elf/: Delete directory.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (target): Delete frv-*-elf case.
+       * configure: Regenerate.
+       * frv-elf/: Delete directory.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (target): Delete m32r-*-elf case.
+       * configure: Regenerate.
+       * m32r-elf/: Delete directory.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (sim_run): Delete status and return return_code.
+       (run_sim_test): Define status option.  Change sim_run return to
+       return_code.  Define status.  Log return_code.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/alu-tst.c: Include stdlib.h.
+       (PACKAGE): Define.
+       (print_hex): Change printf to use %llx.
+       * common/bits-gen.c: Include stdlib.h, string.h, and unistd.h.
+       (gen_struct): Change long long to unsigned64.
+       (gen_bit): Change bit cast to bit mask.  Change printf to use %llx.
+       (gen_mask): Likewise.
+       (usage): Delete default case.
+       (main): Change WITH_HOST_WORD_BITSIZE printf from %d to %zu.  Emit
+       PACKAGE define and stdlib.h & string.h includes.
+       * common/bits-tst.c (calc): Change printf to use %llx.
+       (check_sext, check_rot, check_extract, check_bits): Likewise.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * sim/sh64/: Delete.
+
+2021-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim/fr30/: Delete.
+
+2021-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/Make-common.in: Delete.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2020-10-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure: Regnerate.
+       * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
+2020-08-04  David Faust  <david.faust@oracle.com>
+           Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * configure: Regenerate.
+       * sim/bpf: New directory.
+
+2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * configure: Re-generate.
+
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24572:
+       * Makefile.in (install-strip): New target.
+
+2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * configure: Regenerate.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+           Peter Gavin  <pgavin@gmail.com>
+
+       * configure: Regenerated.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/bits-gen.c (main): Change BIG_ENDIAN to BFD_ENDIAN_BIG and
+       LITTLE_ENDIAN and BFD_ENDIAN_LITTLE.
+
+2015-11-24  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+       * sim/aarch64: New directory.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (slurp_options): Pull in global subdir/srcdir.
+       Replace $srcdir and $subdir in the read option.
+
+2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lib/sim-defs.exp (sim_init): Unset target ldscript here.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add d10v-*-elf.
+       * configure: Regenerate.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp (run_sim_test): Declare seen_output as 0.  When
+       the test has an output keyword, set it to 1.  Set default output only
+       when seen_output is 0.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-03-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * configure: Regenerate.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/bits-gen.c (main): Change to new style prototype.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure: Regenerate.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: New file.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate after bfin testsuite update.
+
+2011-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/sim-defs.exp: Support cc tag in test files.
+       (run_sim_test): Support global_cc_options in boards files.  Convert
+       assembler options into compiler options (c_as_options) with -Wa.
+       Convert linker options into compiler options (c_ld_options) with -Wl.
+       Compile .c and .S files into .x programs.
+
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2010-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (arch): Set to @sim_arch@.
+       * configure.ac: Delete arch logic and include ../configure.tgt.
+       * configure: Regenerated.
+       * lib/sim-defs.exp (sim_run): Default sim to ../arch/run.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lib/sim-defs.exp (run_sim_test): New option progopts.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+       * configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
+       * configure: Re-generate.
+
+       * fr30-elf, d30v-elf: Delete directory.
+
+2004-11-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lib/sim-defs.exp (run_sim_test): Make multiple "output"
+       specifications concatenate, not override.
+       Support "xfail" and "kfail".
+
+2004-10-26  Nick Clifton  <nickc@redhat.com>
+
+       * lib/sim-defs.exp (sim_run): Add support for the "rawsid"
+       protocol.
+
+2004-09-13  DJ Delorie  <dj@redhat.com>
+
+       * lib/sim-defs.exp (run_sim_test): Add global_as_options,
+       global_ld_options, and global_sim_options to all test cases, if
+       defined.
+
+2004-05-12  Ben Elliston  <bje@au.ibm.com>
+
+       * lib/sim-defs.exp: Remove stray semicolons.
+
+2004-01-26  Chris Demetriou  <cgd@broadcom.com>
+
+       * sim/mips: New directory.  Tests for the MIPS simulator.
+
+2004-01-23  Ben Elliston  <bje@wasabisystems.com>
+
+       * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
+       test passes.
+
+2003-08-20  Michael Snyder  <msnyder@redhat.com>
+           On behalf of Dave Brolley
+
+       * sim/frv: New testsuite.
+       * frv-elf: New testsuite.
+
+2003-07-09  Michael Snyder  <msnyder@redhat.com>
+
+       * sim/sh: New directory.  Tests for Renesas sh family.
+
+2003-04-13  Michael Snyder  <msnyder@redhat.com>
+
+       * sim/h8300: New directory.  Tests for Renesas h8/300 family.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2001-07-31  Ben Elliston  <bje@redhat.com>
+
+       * lib/sim-defs.exp (run_sim_test): Include a description such as
+       "assembling" or "linking" that identifies the phase a test fails
+       in, for easier analysis of failures.
+
+2000-11-01  Dave Brolley  <brolley@cygnus.com>
+
+       * lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
+       "xerror" options do not use a list of machines. Clear options from
+       previous test case. Use "$cpu_option"  to identify the machine to the
+       assembler, if specified.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-09-15  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim/arm/b.cgs: New testcase.
+       * sim/arm/bic.cgs: New testcase.
+       * sim/arm/bl.cgs: New testcase.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-08-30  Doug Evans  <devans@casey.cygnus.com>
+
+       * lib/sim-defs.exp (run_sim_test): Rename all_machs arg to
+       requested_machs, now is list of machs to run tests for.
+       Delete locals AS,ASFLAGS,LD,LDFLAGS.  Use target_assemble
+       and target_link instead.
+
+Fri Feb  5 12:41:11 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * lib/sim-defs.exp (sim_run): Print simulator arguments log message.
+
+1999-01-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * lib/sim-defs.exp (run_sim_test): New arg all_machs.
+
+1998-12-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * lib/sim-defs.exp (run_sim_test): New option xerror, for expected
+       errors.  Translate \n sequences in expected output to newline char.
+       (slurp_options): Make parentheses optional.
+       (sim_run): Look for board_info sim,options.
+
+Wed Nov 18 10:50:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * common/bits-gen.c (main): Add BYTE_ORDER so that it matches
+       recent sim/common/sim-basics.h changes.
+       * common/Makefile.in: Update.
+
+Fri Oct 30 00:37:31 1998  Felix Lee  <flee@cygnus.com>
+
+       * lib/sim-defs.exp (sim_run): download target program to remote
+       host, if necessary.  for unix-driven win32 testing.
+
+Fri Jul 31 17:49:13 1998  Felix Lee  <flee@cygnus.com>
+
+       * lib/sim-defs.exp (sim_run): remote_spawn, use writeto instead of
+       writeonly.
+
+Fri Jul 24 09:40:34 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
+
+Tue Jun 16 15:44:01 1998 Jillian Ye <jillian@cygnus.com>
+
+       * lib/sim-defs.exp: Print out timeout setting info when "-v" is used.
+
+Thu Jun 11 15:24:53 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
+       which is now a list of options controlling the behaviour of sim_run.
+
+Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * lib/sim-defs.exp (sim_run): Add possible environment variable
+       list to simulator run.
+
+Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
+
+       * Makefile.in: Take RUNTEST out of FLAG_TO_PASS
+                      so that make check can be invoked recursively.
+
+Thu May 14 11:48:35 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/default.exp (CC,SIM): Delete.
+
+       * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
+       New arg prog_opts.  All callers updated.
+
+Fri May  8 18:10:28 1998  Jillian Ye <jillian@cygnus.com>
+
+       * Makefile.in: Made "check" the target of two
+         dependencies (test1, test2) so that test2 get a chance to
+         run even when test1 failed if "make -k check" is used.
+
+Fri May  8 14:41:28 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * lib/sim-defs.exp (sim_version): Simplify.
+       (sim_run): Implement.
+       (run_sim_test): Use sim_run.
+       (sim_compile): New proc.
+
+Mon May  4 17:59:11 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * config/default.exp: Added C compiler settings.
+
+Wed Apr 22 12:26:28 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
+
+Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
+       try all machs.
+
+Wed Feb 25 11:01:17 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (RUNTEST): Fix path to runtest.
+
+Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * config/default.exp: New file.
+       * lib/sim-defs.exp: New file.
+
+       * Makefile.in (build_alias): Define.
+       (arch): Define.
+       (RUNTEST_FOR_TARGET): Delete.
+       (RUNTEST): Fix.
+       (check): Depend on site.exp.  Run dejagnu.
+       (site.exp): New target.
+       * configure.in (arch): Define from target_cpu.
+       * configure: Regenerate.
+
+Wed Sep 17 10:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * common/bits-gen.c (gen_bit): Pass in the full name of the macro.
+       (gen_mask): Ditto.
+
+       * common/bits-tst.c (main): Add tests for LSSEXT, MSSEXT.
+       (calc): Add support for 8 bit version of macros.
+       (main): Add tests for 8 bit versions of macros.
+       (check_sext): Check SEXT of zero clears bits.
+
+       * common/bits-gen.c (main): Generate tests for 8 bit versions of
+       macros.
+
+Thu Sep 11 13:04:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * common/Make-common.in: New file, provide generic rules for
+       running checks.
+
+Mon Sep  1 16:43:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (configdirs): Test for the target directory instead
+       of matching on a target.
diff --git a/sim/testsuite/aarch64/ChangeLog b/sim/testsuite/aarch64/ChangeLog
deleted file mode 100644 (file)
index 9a6c834..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2017-04-22  Jim Wilson  <jim.wilson@linaro.org>
-
-       * fcvtz.s, fstur.s, ldn_single.s, ldnr.s, mla.s, mls.s, uzp.s: Align
-       data.
-       * sumulh.s: Delete unnecessary data alignment.
-       * stn_single.s: Align data.  Fix unaligned ldr insns.  Adjust cmp
-       arguments to match change.
-       * ldn_multiple.s, stn_multiple.s: New.
-
-2017-04-08  Jim Wilson  <jim.wilson@linaro.org>
-
-       * fcvtl.s: New.
-
-       * fcmXX.s: New.
-
-2017-03-25  Jim Wilson  <jim.wilson@linaro.org>
-
-       * adds.s: Add checks for values -2 and 1, where C is not set.
-
-2017-03-03  Jim Wilson  <jim.wilson@linaro.org>
-
-       * sumov.s: Correct compare test values.
-       * sumulh.s: New.
-
-2017-02-25  Jim Wilson  <jim.wilson@linaro.org>
-
-       * sumov.s: New.
-
-       * cnt.s: New.
-
-2017-02-19  Jim Wilson  <jim.wilson@linaro.org>
-
-       * bit.s: Change cmp immediates to account for addv bug fix.
-       * cmtst.s, ldn_single.s, stn_single.s: Likewise.
-       * xtl.s: New.
-
-2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
-
-       * mla.s: New.
-
-       * bit.s: New.
-
-       * ldn_single.s: New.
-       * ldnr.s: New.
-       * stn_single.s: New.
-
-2017-01-23  Jim Wilson  <jim.wilson@linaro.org>
-
-       * cmtst.s: New.
-
-2017-01-17  Jim Wilson  <jim.wilson@linaro.org>
-
-       * addv.s: New.
-       * xtn.s: New.
-
-2017-01-09  Jim Wilson  <jim.wilson@linaro.org>
-
-       * uzp.s: New.
-
-2017-01-04  Jim Wilson  <jim.wilson@linaro.org>
-
-       * fcsel.s: New.
-       * fcvtz.s: New.
-       * fminnm.s: New.
-       * mls.s: New.
-       * mul.s: New.
-
-2016-12-21  Jim Wilson  <jim.wilson@linaro.org>
-
-       * fcmp.s: New.
-
-2016-12-13  Jim Wilson  <jim.wilson@linaro.org>
-
-       * testutils.inc (pass): Move .Lpass to start.
-       (fail): Move .Lfail to start.  Return 1 instead of 0.
-       (start): Moved .Lpass and .Lfail to here.
-       * adds.s: New.
-       * fstur.s: New.
-       * tbnz.s: New.
-
-2015-11-24  Nick Clifton  <nickc@redhat.com>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/aarch64/ChangeLog-2021 b/sim/testsuite/aarch64/ChangeLog-2021
new file mode 100644 (file)
index 0000000..9a6c834
--- /dev/null
@@ -0,0 +1,91 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2017-04-22  Jim Wilson  <jim.wilson@linaro.org>
+
+       * fcvtz.s, fstur.s, ldn_single.s, ldnr.s, mla.s, mls.s, uzp.s: Align
+       data.
+       * sumulh.s: Delete unnecessary data alignment.
+       * stn_single.s: Align data.  Fix unaligned ldr insns.  Adjust cmp
+       arguments to match change.
+       * ldn_multiple.s, stn_multiple.s: New.
+
+2017-04-08  Jim Wilson  <jim.wilson@linaro.org>
+
+       * fcvtl.s: New.
+
+       * fcmXX.s: New.
+
+2017-03-25  Jim Wilson  <jim.wilson@linaro.org>
+
+       * adds.s: Add checks for values -2 and 1, where C is not set.
+
+2017-03-03  Jim Wilson  <jim.wilson@linaro.org>
+
+       * sumov.s: Correct compare test values.
+       * sumulh.s: New.
+
+2017-02-25  Jim Wilson  <jim.wilson@linaro.org>
+
+       * sumov.s: New.
+
+       * cnt.s: New.
+
+2017-02-19  Jim Wilson  <jim.wilson@linaro.org>
+
+       * bit.s: Change cmp immediates to account for addv bug fix.
+       * cmtst.s, ldn_single.s, stn_single.s: Likewise.
+       * xtl.s: New.
+
+2017-02-14  Jim Wilson  <jim.wilson@linaro.org>
+
+       * mla.s: New.
+
+       * bit.s: New.
+
+       * ldn_single.s: New.
+       * ldnr.s: New.
+       * stn_single.s: New.
+
+2017-01-23  Jim Wilson  <jim.wilson@linaro.org>
+
+       * cmtst.s: New.
+
+2017-01-17  Jim Wilson  <jim.wilson@linaro.org>
+
+       * addv.s: New.
+       * xtn.s: New.
+
+2017-01-09  Jim Wilson  <jim.wilson@linaro.org>
+
+       * uzp.s: New.
+
+2017-01-04  Jim Wilson  <jim.wilson@linaro.org>
+
+       * fcsel.s: New.
+       * fcvtz.s: New.
+       * fminnm.s: New.
+       * mls.s: New.
+       * mul.s: New.
+
+2016-12-21  Jim Wilson  <jim.wilson@linaro.org>
+
+       * fcmp.s: New.
+
+2016-12-13  Jim Wilson  <jim.wilson@linaro.org>
+
+       * testutils.inc (pass): Move .Lpass to start.
+       (fail): Move .Lfail to start.  Return 1 instead of 0.
+       (start): Moved .Lpass and .Lfail to here.
+       * adds.s: New.
+       * fstur.s: New.
+       * tbnz.s: New.
+
+2015-11-24  Nick Clifton  <nickc@redhat.com>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/arm/ChangeLog b/sim/testsuite/arm/ChangeLog
deleted file mode 100644 (file)
index 89fab48..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-       * iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.exp, xscale/xscale.exp:
-       Likewise.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,
-       xscale/xscale.exp: Define arch.
-
-2013-05-07  Jayant Sonar  <jayant.sonar@kpitcummins.com>
-           Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
-
-       * movw-movt.ms: New file: Test movw & movt instructions.
-
-2011-07-01  Nick Clifton  <nickc@redhat.com>
-
-       PR sim/12737
-       * iwmmxt/wcmpgt.cgs: Remove expectation of failure.
-       * iwmmxt/wmac.cgs: Remove expectation of failure.
-       * iwmmxt/wsra.cgs: Remove expectation of failure.
-       * xscale/blx.cgs: Remove expectation of failure.
-
-2011-05-11  Joseph Myers  <joseph@codesourcery.com>
-           Hans-Peter Nilsson  <hp@axis.com>
-
-       PR sim/12737
-       * iwmmxt/wcmpgt.cgs, iwmmxt/wmac.cgs,
-       iwmmxt/wsra.cgs, xscale/blx.cgs: Kfail.
-
-2011-05-04  Joseph Myers  <joseph@codesourcery.com>
-
-       * allinsn.exp (xscale*-*-*): Don't handle target.
-       * misc.exp (thumb*-*-*, xscale*-*-*): Don't handle
-       targets.
-       * iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of
-       xscale*-*-*.
-       * thumb/allthumb.exp (thumb*-*-*): Don't handle target.
-       * xscale/xscale.exp: Test for arm*-*-* instead of
-       xscale*-*-*.
-
-2003-04-01  Nick Clifton  <nickc@redhat.com>
-
-       * .: New directory: Tests for ARM simulator.
-       * allinsn.exp: New file: Test script.
-       * testutils.inc: New file: Test macros.
-       * adc.cgs, add.cgs, and.cgs,
-       b.cgs, bic.cgs, bl.cgs, bx.cgs,
-       cmn.cgs, cmp.cgs, eor.cgs,
-       hello.ms, ldm.cgs, ldr.cgs,
-       ldrb.cgs, ldrh.cgs, ldrsb.cgs,
-       ldrsh.cgs, misaligned1.ms, misaligned2.ms,
-       misaligned3.ms, misc.exp, mla.cgs,
-       mov.cgs, mrs.cgs, msr.cgs,
-       mul.cgs, mvn.cgs, orr.cgs,
-       rsb.cgs, rsc.cgs, sbc.cgs,
-       smlal.cgs, smull.cgs, stm.cgs,
-       str.cgs, strb.cgs, strh.cgs,
-       sub.cgs, swi.cgs, swp.cgs,
-       swpb.cgs, teq.cgs,  tst.cgs,
-       umlal.cgs, umull.cgs: New files: ARM tests.
-       * iwmmxt: New Directory: Tests for iWMMXt.
-       * iwmmxt/iwmmxt.exp: New file: Test script.
-       * iwmmxt/testutils.inc: New file: Test macros.
-       * iwmmxt/tbcst.cgs, iwmmxt/textrm.cgs,
-       iwmmxt/tinsr.cgs, iwmmxt/tmia.cgs,
-       iwmmxt/tmiaph.cgs, iwmmxt/tmiaxy.cgs,
-       iwmmxt/tmovmsk.cgss, iwmmxt/wacc.cgs,
-       iwmmxt/wadd.cgs, iwmmxt/waligni.cgs,
-       iwmmxt/walignr.cgs, iwmmxt/wand.cgs,
-       iwmmxt/wandn.cgs, iwmmxt/wavg2.cgs,
-       iwmmxt/wcmpeq.cgs, iwmmxt/wcmpgt.cgs,
-       iwmmxt/wmac.cgs, iwmmxt/wmadd.cgs,
-       iwmmxt/wmax.cgs, iwmmxt/wmin.cgs,
-       iwmmxt/wmov.cgs, iwmmxt/wmul.cgs,
-       iwmmxt/wor.cgs, iwmmxt/wpack.cgs,
-       iwmmxt/wror.cgs, iwmmxt/wsad.cgs,
-       iwmmxt/wshufh.cgs, iwmmxt/wsll.cgs,
-       iwmmxt/wsra.cgs, iwmmxt/wsrl.cgs,
-       iwmmxt/wsub.cgs, iwmmxt/wunpckeh.cgs,
-       iwmmxt/wunpckel.cgs, iwmmxt/wunpckih.cgs,
-       iwmmxt/wunpckil.cgs, iwmmxt/wxor.cgs,
-       iwmmxt/wzero.cgs: New files: iWMMXt tests.
-       * thumb: New Directory: Thumb tests.
-       * thumb/allthumb.exp: New file: Test script.
-       * thumb/testutils.inc: New file: Test macros.
-       * thumb/adc.cgs, thumb/add-hd-hs.cgs,
-       thumb/add-hd-rs.cgs, thumb/add-rd-hs.cgs,
-       thumb/add-sp.cgs, thumb/add.cgs,
-       thumb/addi.cgs, thumb/addi8.cgs,
-       thumb/and.cgs, thumb/asr.cgs, thumb/b.cgs,
-       thumb/bcc.cgs, thumb/bcs.cgs,
-       thumb/beq.cgs, thumb/bge.cgs,
-       thumb/bgt.cgs, thumb/bhi.cgs,
-       thumb/bic.cgs, thumb/bl-hi.cgs,
-       thumb/bl-lo.cgs, thumb/ble.cgs,
-       thumb/bls.cgs, thumb/blt.cgs,
-       thumb/bmi.cgs, thumb/bne.cgs,
-       thumb/bpl.cgs, thumb/bvc.cgs,
-       thumb/bvs.cgs, thumb/bx-hs.cgs,
-       thumb/bx-rs.cgs, thumb/cmn.cgs,
-       thumb/cmp-hd-hs.cgs, thumb/cmp-hd-rs.cgs,
-       thumb/cmp-rd-hs.cgs, thumb/cmp.cgs,
-       thumb/eor.cgs, thumb/lda-pc.cgs,
-       thumb/lda-sp.cgs, thumb/ldmia.cgs,
-       thumb/ldr-imm.cgs, thumb/ldr-pc.cgs,
-       thumb/ldr-sprel.cgs, thumb/ldr.cgs,
-       thumb/ldrb-imm.cgs, thumb/ldrb.cgs,
-       thumb/ldrh-imm.cgs, thumb/ldrh.cgs,
-       thumb/ldsb.cgs, thumb/ldsh.cgs,
-       thumb/lsl.cgs, thumb/lsr.cgs,
-       thumb/mov-hd-hs.cgs, thumb/mov-hd-rs.cgs,
-       thumb/mov-rd-hs.cgs, thumb/mov.cgs,
-       thumb/mul.cgs, thumb/mvn.cgs,
-       thumb/neg.cgs, thumb/orr.cgs,
-       thumb/pop-pc.cgs, thumb/pop.cgs,
-       thumb/push-lr.cgs, thumb/push.cgs,
-       thumb/ror.cgs, thumb/sbc.cgs,
-       thumb/stmia.cgs, thumb/str-imm.cgs,
-       thumb/str-sprel.cgs, thumb/str.cgs,
-       thumb/strb-imm.cgs, thumb/strb.cgs,
-       thumb/strh-imm.cgs, thumb/strh.cgs,
-       thumb/sub-sp.cgs, thumb/sub.cgs,
-       thumb/subi.cgs, thumb/subi8.cgs,
-       thumb/swi.cgs, thumb/tst.cgs: New files: Thumb
-       tests.
-       * xscale: New directory.
-       * xscale/xscale.exp: New file: Test script.
-       * xscale/testutils.inc: New file: Test macros.
-       * xscale/blx.cgs, xscale/mia.cgs,
-       xscale/miaph.cgs, xscale/miaxy.cgs,
-       xscale/mra.cgs: New files: XScale tests.
diff --git a/sim/testsuite/arm/ChangeLog-2021 b/sim/testsuite/arm/ChangeLog-2021
new file mode 100644 (file)
index 0000000..89fab48
--- /dev/null
@@ -0,0 +1,133 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+       * iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.exp, xscale/xscale.exp:
+       Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,
+       xscale/xscale.exp: Define arch.
+
+2013-05-07  Jayant Sonar  <jayant.sonar@kpitcummins.com>
+           Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
+
+       * movw-movt.ms: New file: Test movw & movt instructions.
+
+2011-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR sim/12737
+       * iwmmxt/wcmpgt.cgs: Remove expectation of failure.
+       * iwmmxt/wmac.cgs: Remove expectation of failure.
+       * iwmmxt/wsra.cgs: Remove expectation of failure.
+       * xscale/blx.cgs: Remove expectation of failure.
+
+2011-05-11  Joseph Myers  <joseph@codesourcery.com>
+           Hans-Peter Nilsson  <hp@axis.com>
+
+       PR sim/12737
+       * iwmmxt/wcmpgt.cgs, iwmmxt/wmac.cgs,
+       iwmmxt/wsra.cgs, xscale/blx.cgs: Kfail.
+
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * allinsn.exp (xscale*-*-*): Don't handle target.
+       * misc.exp (thumb*-*-*, xscale*-*-*): Don't handle
+       targets.
+       * iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of
+       xscale*-*-*.
+       * thumb/allthumb.exp (thumb*-*-*): Don't handle target.
+       * xscale/xscale.exp: Test for arm*-*-* instead of
+       xscale*-*-*.
+
+2003-04-01  Nick Clifton  <nickc@redhat.com>
+
+       * .: New directory: Tests for ARM simulator.
+       * allinsn.exp: New file: Test script.
+       * testutils.inc: New file: Test macros.
+       * adc.cgs, add.cgs, and.cgs,
+       b.cgs, bic.cgs, bl.cgs, bx.cgs,
+       cmn.cgs, cmp.cgs, eor.cgs,
+       hello.ms, ldm.cgs, ldr.cgs,
+       ldrb.cgs, ldrh.cgs, ldrsb.cgs,
+       ldrsh.cgs, misaligned1.ms, misaligned2.ms,
+       misaligned3.ms, misc.exp, mla.cgs,
+       mov.cgs, mrs.cgs, msr.cgs,
+       mul.cgs, mvn.cgs, orr.cgs,
+       rsb.cgs, rsc.cgs, sbc.cgs,
+       smlal.cgs, smull.cgs, stm.cgs,
+       str.cgs, strb.cgs, strh.cgs,
+       sub.cgs, swi.cgs, swp.cgs,
+       swpb.cgs, teq.cgs,  tst.cgs,
+       umlal.cgs, umull.cgs: New files: ARM tests.
+       * iwmmxt: New Directory: Tests for iWMMXt.
+       * iwmmxt/iwmmxt.exp: New file: Test script.
+       * iwmmxt/testutils.inc: New file: Test macros.
+       * iwmmxt/tbcst.cgs, iwmmxt/textrm.cgs,
+       iwmmxt/tinsr.cgs, iwmmxt/tmia.cgs,
+       iwmmxt/tmiaph.cgs, iwmmxt/tmiaxy.cgs,
+       iwmmxt/tmovmsk.cgss, iwmmxt/wacc.cgs,
+       iwmmxt/wadd.cgs, iwmmxt/waligni.cgs,
+       iwmmxt/walignr.cgs, iwmmxt/wand.cgs,
+       iwmmxt/wandn.cgs, iwmmxt/wavg2.cgs,
+       iwmmxt/wcmpeq.cgs, iwmmxt/wcmpgt.cgs,
+       iwmmxt/wmac.cgs, iwmmxt/wmadd.cgs,
+       iwmmxt/wmax.cgs, iwmmxt/wmin.cgs,
+       iwmmxt/wmov.cgs, iwmmxt/wmul.cgs,
+       iwmmxt/wor.cgs, iwmmxt/wpack.cgs,
+       iwmmxt/wror.cgs, iwmmxt/wsad.cgs,
+       iwmmxt/wshufh.cgs, iwmmxt/wsll.cgs,
+       iwmmxt/wsra.cgs, iwmmxt/wsrl.cgs,
+       iwmmxt/wsub.cgs, iwmmxt/wunpckeh.cgs,
+       iwmmxt/wunpckel.cgs, iwmmxt/wunpckih.cgs,
+       iwmmxt/wunpckil.cgs, iwmmxt/wxor.cgs,
+       iwmmxt/wzero.cgs: New files: iWMMXt tests.
+       * thumb: New Directory: Thumb tests.
+       * thumb/allthumb.exp: New file: Test script.
+       * thumb/testutils.inc: New file: Test macros.
+       * thumb/adc.cgs, thumb/add-hd-hs.cgs,
+       thumb/add-hd-rs.cgs, thumb/add-rd-hs.cgs,
+       thumb/add-sp.cgs, thumb/add.cgs,
+       thumb/addi.cgs, thumb/addi8.cgs,
+       thumb/and.cgs, thumb/asr.cgs, thumb/b.cgs,
+       thumb/bcc.cgs, thumb/bcs.cgs,
+       thumb/beq.cgs, thumb/bge.cgs,
+       thumb/bgt.cgs, thumb/bhi.cgs,
+       thumb/bic.cgs, thumb/bl-hi.cgs,
+       thumb/bl-lo.cgs, thumb/ble.cgs,
+       thumb/bls.cgs, thumb/blt.cgs,
+       thumb/bmi.cgs, thumb/bne.cgs,
+       thumb/bpl.cgs, thumb/bvc.cgs,
+       thumb/bvs.cgs, thumb/bx-hs.cgs,
+       thumb/bx-rs.cgs, thumb/cmn.cgs,
+       thumb/cmp-hd-hs.cgs, thumb/cmp-hd-rs.cgs,
+       thumb/cmp-rd-hs.cgs, thumb/cmp.cgs,
+       thumb/eor.cgs, thumb/lda-pc.cgs,
+       thumb/lda-sp.cgs, thumb/ldmia.cgs,
+       thumb/ldr-imm.cgs, thumb/ldr-pc.cgs,
+       thumb/ldr-sprel.cgs, thumb/ldr.cgs,
+       thumb/ldrb-imm.cgs, thumb/ldrb.cgs,
+       thumb/ldrh-imm.cgs, thumb/ldrh.cgs,
+       thumb/ldsb.cgs, thumb/ldsh.cgs,
+       thumb/lsl.cgs, thumb/lsr.cgs,
+       thumb/mov-hd-hs.cgs, thumb/mov-hd-rs.cgs,
+       thumb/mov-rd-hs.cgs, thumb/mov.cgs,
+       thumb/mul.cgs, thumb/mvn.cgs,
+       thumb/neg.cgs, thumb/orr.cgs,
+       thumb/pop-pc.cgs, thumb/pop.cgs,
+       thumb/push-lr.cgs, thumb/push.cgs,
+       thumb/ror.cgs, thumb/sbc.cgs,
+       thumb/stmia.cgs, thumb/str-imm.cgs,
+       thumb/str-sprel.cgs, thumb/str.cgs,
+       thumb/strb-imm.cgs, thumb/strb.cgs,
+       thumb/strh-imm.cgs, thumb/strh.cgs,
+       thumb/sub-sp.cgs, thumb/sub.cgs,
+       thumb/subi.cgs, thumb/subi8.cgs,
+       thumb/swi.cgs, thumb/tst.cgs: New files: Thumb
+       tests.
+       * xscale: New directory.
+       * xscale/xscale.exp: New file: Test script.
+       * xscale/testutils.inc: New file: Test macros.
+       * xscale/blx.cgs, xscale/mia.cgs,
+       xscale/miaph.cgs, xscale/miaxy.cgs,
+       xscale/mra.cgs: New files: XScale tests.
diff --git a/sim/testsuite/avr/ChangeLog b/sim/testsuite/avr/ChangeLog
deleted file mode 100644 (file)
index 5ce686f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * testutils.inc (start): Change to _start and add global markings.
-
-2015-03-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/avr/ChangeLog-2021 b/sim/testsuite/avr/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5ce686f
--- /dev/null
@@ -0,0 +1,15 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * testutils.inc (start): Change to _start and add global markings.
+
+2015-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/bfin/ChangeLog b/sim/testsuite/bfin/ChangeLog
deleted file mode 100644 (file)
index ea617e3..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * getpid.c: New test.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2021-01-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * s21.s: Delete accidental copyright line.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * mdma-skel.h: Include stdlib.h.
-
-2015-10-11  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/18407
-       * ashift_left.s: New test.
-
-2013-12-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * run-tests.sh: Add +x file mode.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * run-tests.sh (usage): Fix typo in exit.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_all32bitopcodes.S (se_all_next_insn): Skip debug insn opcodes.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_allopcodes.h (_match): Simplify register test to one less insn.
-       Omit the SSYNC insn when compiling for the sim.
-
-2013-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * testutils.inc: Trim trailing whitespace.
-
-2013-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * run-tests.sh: Add support for running in parallel.
-
-2013-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_allopcodes.h: Add debugging related comments.
-
-2013-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_allopcodes.h: Do not clear RETN/RETE/RETI.
-
-2012-04-09  Robin Getz  <robin.getz@analog.com>
-
-       * random_0017.S, random_0018.S, random_0025.S: New ASTAT shift tests.
-
-2012-04-09  Robin Getz  <robin.getz@analog.com>
-
-       * random_0036.S, random_0037.S: New astat tests.
-
-2012-04-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_all64bitg1opcodes.S: Delete xfail line.
-       * se_all64bitg2opcodes.S: Likewise.
-
-2012-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_all16bitopcodes.S (SE_ALL_BITS): Define to 16.
-       (SE_ALL_NEW_INSN_STUB): Define.
-       (se_all_load_table): Delete.
-       (se_all_new_insn_log): Likewise.
-       * se_all32bitopcodes.S: Add more details on slowness.
-       (SE_ALL_BITS): Define to 13.
-       (se_all_load_table): Delete.
-       (se_all_new_insn_stub, se_all_new_insn_log): Likewise.
-       * se_all64bitg0opcodes.S: Add more details on slowness.
-       (se_all_new_insn_stub): Delete.
-       * se_all64bitg1opcodes.S: See mach to bfin.
-       (se_all_new_insn_stub): Delete.
-       * se_all64bitg2opcodes.S: See mach to bfin.
-       (se_all_new_insn_stub): Delete.
-       * se_allopcodes.h (LOAD_PFX): Define based on SE_ALL_BITS.
-       (se_all_new_16bit_insn_log, se_all_new_32bit_insn_log): Unify
-       into new se_all_new_insn_log helper.
-       (se_all_load_table): New helper.
-       (se_all_new_insn_stub): Likewise.
-
-2012-03-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * c_dsp32mac_dr_a1a0.s: Change 0x12efbc5569 to 0xefbc5569.
-       * c_dsp32mac_dr_a1a0_iutsh.s: Change 0x12efbc556 to 0x2efbc556.
-       * c_dsp32mac_dr_a1a0_m.s: Change 0x12efbc5569 to 0xefbc5569.
-       * c_dsp32shift_vmaxvmax.s: Change 0xa11002001 to 0x11002001.
-       * c_dsp32shiftim_af_s.s: Change 0x3a1230001 to 0xa1230001.
-
-       * fact.s: Comment out test with too large a number (6227020800).
-
-       * allinsn.exp: If preprocessing usp.S fails, set has_cpp to 0,
-       else set it to 1.  If compiling argc.c fails, set has_cc to 0,
-       else set it to 1.  When processing each src file, if has_ccp is
-       0 and the file ends in .S, skip it; if it has_cc is 0 and the
-       file ends in .c, skip it.
-
-2012-03-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_all64bitg0opcodes.S, se_all64bitg1opcodes.S,
-       se_all64bitg2opcodes.S: New exhaustive parallel insn tests.
-
-2012-03-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_allopcodes.h: New framework for testing opcode regions.
-       * se_all16bitopcodes.S: Convert over to se_allopcodes.h.
-       * se_all32bitopcodes.S: Likewise.
-
-2012-03-19  Stuart Henderson  <stuart.henderson@analog.com>
-
-       * c_dsp32shiftim_amix.s: Check edge cases in shift behavior.
-
-2012-03-19  Robin Getz  <robin.getz@analog.com>
-
-       * random_0014.S, random_0015.S, random_0016.S: New tests for shifts.
-
-2012-03-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * se_all16bitopcodes.S: Merge code from se_all32bitopcodes.S.
-
-2011-09-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * vit_max2.s: New tests for parallel VIT_MAX insns.
-
-2011-06-18  Robin Getz  <robin.getz@analog.com>
-
-       * random_0019.S, random_0020.S, random_0021.S, random_0022.S,
-       random_0023.S, random_0024.S, random_0026.S, random_0027.S,
-       random_0028.S, random_0029.S, random_0030.S, random_0032.S,
-       random_0035.S: New tests for dsp insns.
-
-2011-06-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * .gitignore, 10272_small.s, 10436.s, 10622.s, 10742.s, 10799.s,
-       11080.s, 7641.s, a0.s, a0shift.S, a10.s, a11.S, a12.s, a1.s, a20.S,
-       a21.s, a22.s, a23.s, a24.s, a25.s, a26.s, a2.s, a30.s, a3.s, a4.s,
-       a5.s, a6.s, a7.s, a8.s, a9.s, abs-2.S, abs-3.S, abs-4.S, abs_acc.s,
-       abs.S, acc-rot.s, acp5_19.s, acp5_4.s, add_imm7.s, add_shift.S,
-       add_sub_acc.s, addsub_flags.S, algnbug1.s, algnbug2.s, allinsn.exp,
-       argc.c, ashift_flags.s, ashift.s, b0.S, b1.s, b2.S, brcc.s, brevadd.s,
-       byteop16m.s, byteop16p.s, byteop1p.s, byteop2p.s, byteop3p.s,
-       byteunpack.s, c_alu2op_arith_r_sft.s, c_alu2op_conv_b.s,
-       c_alu2op_conv_h.s, c_alu2op_conv_mix.s, c_alu2op_conv_neg.s,
-       c_alu2op_conv_toggle.s, c_alu2op_conv_xb.s, c_alu2op_conv_xh.s,
-       c_alu2op_divq.s, c_alu2op_divs.s, c_alu2op_log_l_sft.s,
-       c_alu2op_log_r_sft.s, c_alu2op_shadd_1.s, c_alu2op_shadd_2.s,
-       c_brcc_bp1.s, c_brcc_bp2.s, c_brcc_bp3.s, c_brcc_bp4.s,
-       c_brcc_brf_bp.s, c_brcc_brf_brt_bp.s, c_brcc_brf_brt_nbp.s,
-       c_brcc_brf_fbkwd.s, c_brcc_brf_nbp.s, c_brcc_brt_bp.s,
-       c_brcc_brt_nbp.s, c_brcc_kills_dhits.s, c_brcc_kills_dmiss.s,
-       c_br_preg_killed_ac.s, c_br_preg_killed_ex1.s, c_br_preg_stall_ac.s,
-       c_br_preg_stall_ex1.s, cc0.s, cc1.s, cc5.S, c_cactrl_iflush_pr_pp.s,
-       c_cactrl_iflush_pr.s, c_calla_ljump.s, c_calla_subr.s, cc-alu.S,
-       cc-astat-bits.s, c_cc2dreg.s, c_cc2stat_cc_ac.S, c_cc2stat_cc_an.s,
-       c_cc2stat_cc_aq.s, c_cc2stat_cc_av0.S, c_cc2stat_cc_av1.S,
-       c_cc2stat_cc_az.s, c_ccflag_a0a1.S, c_cc_flag_ccmv_depend.S,
-       c_ccflag_dr_dr.s, c_ccflag_dr_dr_uu.s, c_cc_flagdreg_mvbrsft.s,
-       c_cc_flagdreg_mvbrsft_s1.s, c_cc_flagdreg_mvbrsft_sn.s,
-       c_ccflag_dr_imm3.s, c_ccflag_dr_imm3_uu.s, c_ccflag_pr_imm3.s,
-       c_ccflag_pr_imm3_uu.s, c_ccflag_pr_pr.s, c_ccflag_pr_pr_uu.s,
-       c_ccmv_cc_dr_dr.s, c_ccmv_cc_dr_pr.s, c_ccmv_cc_pr_pr.s,
-       c_ccmv_ncc_dr_dr.s, c_ccmv_ncc_dr_pr.s, c_ccmv_ncc_pr_pr.s,
-       c_cc_regmvlogi_mvbrsft.s, c_cc_regmvlogi_mvbrsft_s1.s,
-       c_cc_regmvlogi_mvbrsft_sn.S, c_comp3op_dr_and_dr.s,
-       c_comp3op_dr_minus_dr.s, c_comp3op_dr_mix.s, c_comp3op_dr_or_dr.s,
-       c_comp3op_dr_plus_dr.s, c_comp3op_dr_xor_dr.s,
-       c_comp3op_pr_plus_pr_sh1.s, c_comp3op_pr_plus_pr_sh2.s,
-       c_compi2opd_dr_add_i7_n.s, c_compi2opd_dr_add_i7_p.s,
-       c_compi2opd_dr_eq_i7_n.s, c_compi2opd_dr_eq_i7_p.s,
-       c_compi2opd_flags_2.S, c_compi2opd_flags.S, c_compi2opp_pr_add_i7_n.s,
-       c_compi2opp_pr_add_i7_p.s, c_compi2opp_pr_eq_i7_n.s,
-       c_compi2opp_pr_eq_i7_p.s, c_dagmodik_lnz_imgebl.s,
-       c_dagmodik_lnz_imltbl.s, c_dagmodik_lz_inc_dec.s,
-       c_dagmodim_lnz_imgebl.s, c_dagmodim_lnz_imltbl.s,
-       c_dagmodim_lz_inc_dec.s, c_dsp32alu_a0a1s.s, c_dsp32alu_a0_pm_a1.s,
-       c_dsp32alu_aa_absabs.s, c_dsp32alu_a_abs_a.s, c_dsp32alu_aa_negneg.s,
-       c_dsp32alu_absabs.s, c_dsp32alu_abs.s, c_dsp32alu_alhwx.s,
-       c_dsp32alu_a_neg_a.s, c_dsp32alu_awx.s, c_dsp32alu_byteop1ew.s,
-       c_dsp32alu_byteop2.s, c_dsp32alu_byteop3.s, c_dsp32alu_bytepack.s,
-       c_dsp32alu_byteunpack.s, c_dsp32alu_disalnexcpt.s, c_dsp32alu_maxmax.s,
-       c_dsp32alu_max.s, c_dsp32alu_minmin.s, c_dsp32alu_min.s,
-       c_dsp32alu_mix.s, c_dsp32alu_rh_m.s, c_dsp32alu_rh_p.s,
-       c_dsp32alu_rh_rnd12_m.s, c_dsp32alu_rh_rnd12_p.s,
-       c_dsp32alu_rh_rnd20_m.s, c_dsp32alu_rh_rnd20_p.s,
-       c_dsp32alu_r_lh_a0pa1.s, c_dsp32alu_rlh_rnd.s, c_dsp32alu_rl_m.s,
-       c_dsp32alu_rl_p.s, c_dsp32alu_rl_rnd12_m.s, c_dsp32alu_rl_rnd12_p.s,
-       c_dsp32alu_rl_rnd20_m.s, c_dsp32alu_rl_rnd20_p.s, c_dsp32alu_rmm.s,
-       c_dsp32alu_rmp.s, c_dsp32alu_rm.s, c_dsp32alu_r_negneg.s,
-       c_dsp32alu_rpm.s, c_dsp32alu_rpp.s, c_dsp32alu_rp.s,
-       c_dsp32alu_rr_lph_a1a0.s, c_dsp32alu_rrpm_aa.s, c_dsp32alu_rrpmmp.s,
-       c_dsp32alu_rrpmmp_sft.s, c_dsp32alu_rrpmmp_sft_x.s, c_dsp32alu_rrpm.s,
-       c_dsp32alu_rrppmm.s, c_dsp32alu_rrppmm_sft.s,
-       c_dsp32alu_rrppmm_sft_x.s, c_dsp32alu_saa.s, c_dsp32alu_sat_aa.S,
-       c_dsp32alu_search.s, c_dsp32alu_sgn.s, c_dsp32mac_a1a0_iuw32.s,
-       c_dsp32mac_a1a0_m.s, c_dsp32mac_a1a0.s, c_dsp32mac_dr_a0_ih.s,
-       c_dsp32mac_dr_a0_i.s, c_dsp32mac_dr_a0_is.s, c_dsp32mac_dr_a0_iu.s,
-       c_dsp32mac_dr_a0_m.s, c_dsp32mac_dr_a0.s, c_dsp32mac_dr_a0_s.s,
-       c_dsp32mac_dr_a0_t.s, c_dsp32mac_dr_a0_tu.s, c_dsp32mac_dr_a0_u.s,
-       c_dsp32mac_dr_a1a0_iutsh.s, c_dsp32mac_dr_a1a0_m.s,
-       c_dsp32mac_dr_a1a0.s, c_dsp32mac_dr_a1_ih.s, c_dsp32mac_dr_a1_i.s,
-       c_dsp32mac_dr_a1_is.s, c_dsp32mac_dr_a1_iu.s, c_dsp32mac_dr_a1_m.s,
-       c_dsp32mac_dr_a1.s, c_dsp32mac_dr_a1_s.s, c_dsp32mac_dr_a1_t.s,
-       c_dsp32mac_dr_a1_tu.s, c_dsp32mac_dr_a1_u.s, c_dsp32mac_mix.s,
-       c_dsp32mac_pair_a0_i.s, c_dsp32mac_pair_a0_is.s,
-       c_dsp32mac_pair_a0_m.s, c_dsp32mac_pair_a0.s, c_dsp32mac_pair_a0_s.s,
-       c_dsp32mac_pair_a0_u.s, c_dsp32mac_pair_a1a0_i.s,
-       c_dsp32mac_pair_a1a0_is.s, c_dsp32mac_pair_a1a0_m.s,
-       c_dsp32mac_pair_a1a0.s, c_dsp32mac_pair_a1a0_s.s,
-       c_dsp32mac_pair_a1a0_u.s, c_dsp32mac_pair_a1_i.s,
-       c_dsp32mac_pair_a1_is.s, c_dsp32mac_pair_a1_m.s, c_dsp32mac_pair_a1.s,
-       c_dsp32mac_pair_a1_s.s, c_dsp32mac_pair_a1_u.s, c_dsp32mac_pair_mix.s,
-       c_dsp32mult_dr_ih.s, c_dsp32mult_dr_i.s, c_dsp32mult_dr_is.s,
-       c_dsp32mult_dr_iu.s, c_dsp32mult_dr_m_i.s, c_dsp32mult_dr_m_iutsh.s,
-       c_dsp32mult_dr_mix.s, c_dsp32mult_dr_m.s, c_dsp32mult_dr_m_s.s,
-       c_dsp32mult_dr_m_t.s, c_dsp32mult_dr_m_u.s, c_dsp32mult_dr.s,
-       c_dsp32mult_dr_s.s, c_dsp32mult_dr_t.s, c_dsp32mult_dr_tu.s,
-       c_dsp32mult_dr_u.s, c_dsp32mult_pair_i.s, c_dsp32mult_pair_is.s,
-       c_dsp32mult_pair_m_i.s, c_dsp32mult_pair_m_is.s, c_dsp32mult_pair_m.s,
-       c_dsp32mult_pair_m_s.s, c_dsp32mult_pair_m_u.s, c_dsp32mult_pair.s,
-       c_dsp32mult_pair_s.s, c_dsp32mult_pair_u.s, c_dsp32shift_a0alr.s,
-       c_dsp32shift_af.s, c_dsp32shift_af_s.s, c_dsp32shift_ahalf_ln.s,
-       c_dsp32shift_ahalf_ln_s.s, c_dsp32shift_ahalf_lp.s,
-       c_dsp32shift_ahalf_lp_s.s, c_dsp32shift_ahalf_rn.s,
-       c_dsp32shift_ahalf_rn_s.s, c_dsp32shift_ahalf_rp.s,
-       c_dsp32shift_ahalf_rp_s.s, c_dsp32shift_ahh.s, c_dsp32shift_ahh_s.s,
-       c_dsp32shift_align16.s, c_dsp32shift_align24.s, c_dsp32shift_align8.s,
-       c_dsp32shift_amix.s, c_dsp32shift_bitmux.s, c_dsp32shift_bxor.s,
-       c_dsp32shift_expadj_h.s, c_dsp32shift_expadj_l.s,
-       c_dsp32shift_expadj_r.s, c_dsp32shift_expexp_r.s, c_dsp32shift_fdepx.s,
-       c_dsp32shift_fextx.s, c_dsp32shiftim_a0alr.s, c_dsp32shiftim_af.s,
-       c_dsp32shiftim_af_s.s, c_dsp32shiftim_ahalf_ln.s,
-       c_dsp32shiftim_ahalf_ln_s.s, c_dsp32shiftim_ahalf_lp.s,
-       c_dsp32shiftim_ahalf_lp_s.s, c_dsp32shiftim_ahalf_rn.s,
-       c_dsp32shiftim_ahalf_rn_s.s, c_dsp32shiftim_ahalf_rp.s,
-       c_dsp32shiftim_ahalf_rp_s.s, c_dsp32shiftim_ahh.s,
-       c_dsp32shiftim_ahh_s.s, c_dsp32shiftim_amix.s, c_dsp32shiftim_lf.s,
-       c_dsp32shiftim_lhalf_ln.s, c_dsp32shiftim_lhalf_lp.s,
-       c_dsp32shiftim_lhalf_rn.s, c_dsp32shiftim_lhalf_rp.s,
-       c_dsp32shiftim_lhh.s, c_dsp32shiftim_lmix.s, c_dsp32shiftim_rot.s,
-       c_dsp32shift_lf.s, c_dsp32shift_lhalf_ln.s, c_dsp32shift_lhalf_lp.s,
-       c_dsp32shift_lhalf_rn.s, c_dsp32shift_lhalf_rp.s, c_dsp32shift_lhh.s,
-       c_dsp32shift_lmix.s, c_dsp32shift_ones.s, c_dsp32shift_pack.s,
-       c_dsp32shift_rot_mix.s, c_dsp32shift_rot.s, c_dsp32shift_signbits_rh.s,
-       c_dsp32shift_signbits_rl.s, c_dsp32shift_signbits_r.s,
-       c_dsp32shift_vmax.s, c_dsp32shift_vmaxvmax.s, c_dspldst_ld_drhi_ipp.s,
-       c_dspldst_ld_drhi_i.s, c_dspldst_ld_dr_ippm.s, c_dspldst_ld_dr_ipp.s,
-       c_dspldst_ld_dr_i.s, c_dspldst_ld_drlo_ipp.s, c_dspldst_ld_drlo_i.s,
-       c_dspldst_st_drhi_ipp.s, c_dspldst_st_drhi_i.s, c_dspldst_st_dr_ippm.s,
-       c_dspldst_st_dr_ipp.s, c_dspldst_st_dr_i.s, c_dspldst_st_drlo_ipp.s,
-       c_dspldst_st_drlo_i.s, cec-exact-exception.S, cec-ifetch.S,
-       cec-multi-pending.S, cec-non-operating-env.s, cec-no-snen-reti.S,
-       cec-raise-reti.S, cec-snen-reti.S, cec-syscfg-ssstep.S,
-       cec-system-call.S, c_except_illopcode.S, c_except_sys_sstep.S,
-       c_except_user_mode.S, c_interr_disable_enable.S, c_interr_disable.S,
-       c_interr_excpt.S, c_interr_loopsetup_stld.S, c_interr_nested.S,
-       c_interr_nmi.S, c_interr_pending_2.S, c_interr_pending.S,
-       c_interr_timer_reload.S, c_interr_timer.S, c_interr_timer_tcount.S,
-       c_interr_timer_tscale.S, cir1.s, cir.s, c_ldimmhalf_dreg.s,
-       c_ldimmhalf_drhi.s, c_ldimmhalf_drlo.s, c_ldimmhalf_h_dr.s,
-       c_ldimmhalf_h_ibml.s, c_ldimmhalf_h_pr.s, c_ldimmhalf_l_dr.s,
-       c_ldimmhalf_l_ibml.s, c_ldimmhalf_l_pr.s, c_ldimmhalf_lz_dr.s,
-       c_ldimmhalf_lzhi_dr.s, c_ldimmhalf_lzhi_ibml.s, c_ldimmhalf_lzhi_pr.s,
-       c_ldimmhalf_lz_ibml.s, c_ldimmhalf_lz_pr.s, c_ldimmhalf_pibml.s,
-       c_ldstidxl_ld_dr_b.s, c_ldstidxl_ld_dreg.s, c_ldstidxl_ld_dr_h.s,
-       c_ldstidxl_ld_dr_xb.s, c_ldstidxl_ld_dr_xh.s, c_ldstidxl_ld_preg.s,
-       c_ldstidxl_st_dr_b.s, c_ldstidxl_st_dreg.s, c_ldstidxl_st_dr_h.s,
-       c_ldstidxl_st_preg.s, c_ldstiifp_ld_dreg.s, c_ldstiifp_ld_preg.s,
-       c_ldstiifp_st_dreg.s, c_ldstiifp_st_preg.s, c_ldstii_ld_dreg.s,
-       c_ldstii_ld_dr_h.s, c_ldstii_ld_dr_xh.s, c_ldstii_ld_preg.s,
-       c_ldstii_st_dreg.s, c_ldstii_st_dr_h.s, c_ldstii_st_preg.s,
-       c_ldst_ld_d_p_b.s, c_ldst_ld_d_p_h.s, c_ldst_ld_d_p_mm_b.s,
-       c_ldst_ld_d_p_mm_h.s, c_ldst_ld_d_p_mm.s, c_ldst_ld_d_p_mm_xb.s,
-       c_ldst_ld_d_p_mm_xh.s, c_ldst_ld_d_p_pp_b.s, c_ldst_ld_d_p_pp_h.s,
-       c_ldst_ld_d_p_ppmm_hbx.s, c_ldst_ld_d_p_pp.s, c_ldst_ld_d_p_pp_xb.s,
-       c_ldst_ld_d_p_pp_xh.s, c_ldst_ld_d_p.s, c_ldst_ld_d_p_xb.s,
-       c_ldst_ld_d_p_xh.s, c_ldst_ld_p_p_mm.s, c_ldst_ld_p_p_pp.s,
-       c_ldst_ld_p_p.s, c_ldstpmod_ld_dreg.s, c_ldstpmod_ld_dr_hi.s,
-       c_ldstpmod_ld_dr_lo.s, c_ldstpmod_ld_h_xh.s, c_ldstpmod_ld_lohi.s,
-       c_ldstpmod_st_dreg.s, c_ldstpmod_st_dr_hi.s, c_ldstpmod_st_dr_lo.s,
-       c_ldstpmod_st_lohi.s, c_ldst_st_p_d_b.s, c_ldst_st_p_d_h.s,
-       c_ldst_st_p_d_mm_b.s, c_ldst_st_p_d_mm_h.s, c_ldst_st_p_d_mm.s,
-       c_ldst_st_p_d_pp_b.s, c_ldst_st_p_d_pp_h.s, c_ldst_st_p_d_pp.s,
-       c_ldst_st_p_d.s, c_ldst_st_p_p_mm.s, c_ldst_st_p_p_pp.s,
-       c_ldst_st_p_p.s, c_linkage.s, cli-sti.s, c_logi2op_alshft_mix.s,
-       c_logi2op_arith_shft.s, c_logi2op_bitclr.s, c_logi2op_bitset.s,
-       c_logi2op_bittgl.s, c_logi2op_bittst.s, c_logi2op_log_l_shft_astat.S,
-       c_logi2op_log_l_shft.s, c_logi2op_log_r_shft_astat.S,
-       c_logi2op_log_r_shft.s, c_logi2op_nbittst.s, c_loopsetup_nested_bot.s,
-       c_loopsetup_nested_prelc.s, c_loopsetup_nested.s,
-       c_loopsetup_nested_top.s, c_loopsetup_overlap.s,
-       c_loopsetup_preg_div2_lc0.s, c_loopsetup_preg_div2_lc1.s,
-       c_loopsetup_preg_lc0.s, c_loopsetup_preg_lc1.s,
-       c_loopsetup_preg_stld.s, c_loopsetup_prelc.s, c_loopsetup_topbotcntr.s,
-       c_mmr_interr_ctl.s, c_mmr_loop.S, c_mmr_loop_user_except.S,
-       c_mmr_ppop_illegal_adr.S, c_mmr_ppopm_illegal_adr.S, c_mmr_timer.S,
-       c_mode_supervisor.S, c_mode_user.S, c_mode_user_superivsor.S, cmpacc.s,
-       cmpdreg.S, c_multi_issue_dsp_ld_ld.s, c_multi_issue_dsp_ldst_1.s,
-       c_multi_issue_dsp_ldst_2.s, compare.s, conv_enc_gen.s,
-       c_progctrl_call_pcpr.s, c_progctrl_call_pr.s,
-       c_progctrl_clisti_interr.S, c_progctrl_csync_mmr.S,
-       c_progctrl_except_rtx.S, c_progctrl_excpt.S, c_progctrl_jump_pcpr.s,
-       c_progctrl_jump_pr.s, c_progctrl_nop.s, c_progctrl_raise_rt_i_n.S,
-       c_progctrl_rts.s, c_ptr2op_pr_neg_pr.s, c_ptr2op_pr_sft_2_1.s,
-       c_ptr2op_pr_shadd_1_2.s, c_pushpopmultiple_dp_pair.s,
-       c_pushpopmultiple_dp.s, c_pushpopmultiple_dreg.s,
-       c_pushpopmultiple_preg.s, c_regmv_acc_acc.s, c_regmv_dag_lz_dep.s,
-       c_regmv_dr_acc_acc.s, c_regmv_dr_dep_nostall.s, c_regmv_dr_dr.s,
-       c_regmv_dr_imlb.s, c_regmv_dr_pr.s, c_regmv_imlb_dep_nostall.s,
-       c_regmv_imlb_dep_stall.s, c_regmv_imlb_dr.s, c_regmv_imlb_imlb.s,
-       c_regmv_imlb_pr.s, c_regmv_pr_dep_nostall.s, c_regmv_pr_dep_stall.s,
-       c_regmv_pr_dr.s, c_regmv_pr_imlb.s, c_regmv_pr_pr.s,
-       c_seq_ac_raise_mv_ppop.S, c_seq_ac_raise_mv.S,
-       c_seq_ac_regmv_pushpop.S, c_seq_dec_raise_pushpop.S,
-       c_seq_ex1_brcc_mv_pop.S, c_seq_ex1_call_mv_pop.S, c_seq_ex1_j_mv_pop.S,
-       c_seq_ex1_raise_brcc_mv_pop.S, c_seq_ex1_raise_call_mv_pop.S,
-       c_seq_ex1_raise_j_mv_pop.S, c_seq_ex2_brcc_mp_mv_pop.S,
-       c_seq_ex2_mmrj_mvpop.S, c_seq_ex2_mmr_mvpop.S,
-       c_seq_ex2_raise_mmrj_mvpop.S, c_seq_ex2_raise_mmr_mvpop.S,
-       c_seq_ex3_ls_brcc_mvp.S, c_seq_ex3_ls_mmrj_mvp.S,
-       c_seq_ex3_ls_mmr_mvp.S, c_seq_ex3_raise_ls_mmrj_mvp.S,
-       c_seq_wb_cs_lsmmrj_mvp.S, c_seq_wb_raisecs_lsmmrj_mvp.S,
-       c_seq_wb_rti_lsmmrj_mvp.S, c_seq_wb_rtn_lsmmrj_mvp.S,
-       c_seq_wb_rtx_lsmmrj_mvp.S, c_ujump.s, cycles.s, d0.s, d1.s, d2.s,
-       dbg_brprd_ntkn_src_kill.S, dbg_brtkn_nprd_src_kill.S,
-       dbg_jmp_src_kill.S, dbg_tr_basic.S, dbg_tr_simplejp.S, dbg_tr_tbuf0.S,
-       dbg_tr_umode.S, disalnexcpt_implicit.S, div0.s, divq.s, dotproduct2.s,
-       dotproduct.s, double_prec_mult.s, dsp_a4.s, dsp_a7.s, dsp_a8.s,
-       dsp_d0.s, dsp_d1.s, dsp_neg.S, dsp_s1.s, e0.s, edn_snafu.s,
-       eu_dsp32mac_s.s, events.s, f221.s, fact.s, fir.s, fsm.s, greg2.s,
-       hwloop-bits.S, hwloop-branch-in.s, hwloop-branch-out.s,
-       hwloop-lt-bits.s, hwloop-nested.s, i0.s, iir.s, issue103.s, issue109.s,
-       issue112.s, issue113.s, issue117.s, issue118.s, issue119.s, issue121.s,
-       issue123.s, issue124.s, issue125.s, issue126.s, issue127.s, issue129.s,
-       issue139.S, issue140.S, issue142.s, issue144.s, issue146.S, issue175.s,
-       issue205.s, issue257.s, issue272.S, issue83.s, issue89.s, l0.s,
-       l0shift.s, l2_loop.s, link-2.s, link.s, lmu_cplb_multiple0.S,
-       lmu_cplb_multiple1.S, lmu_excpt_align.S, lmu_excpt_default.S,
-       lmu_excpt_illaddr.S, lmu_excpt_prot0.S, lmu_excpt_prot1.S, load.s,
-       logic.s, loop_snafu.s, loop_strncpy.s, lp0.s, lp1.s, lsetup.s,
-       m0boundary.s, m10.s, m11.s, m12.s, m13.s, m14.s, m15.s, m16.s, m17.s,
-       m1.S, m2.s, m3.s, m4.s, m5.s, m6.s, m7.s, m8.s, m9.s, mac2halfreg.S,
-       Makefile, math.s, max_min_flags.s, mc_s2.s, mdma-32bit-1d.c,
-       mdma-32bit-1d-neg-count.c, mdma-8bit-1d.c, mdma-8bit-1d-neg-count.c,
-       mdma-skel.h, mem3.s, mmr-exception.s, move.s, msa_acp_5_10.s,
-       msa_acp_5.10.S, msa_acp_5.12_1.S, msa_acp_5.12_2.S, mult.s, neg-2.S,
-       neg-3.S, neg.S, nshift.s, PN_generator.s, pr.s, push-pop-multiple.s,
-       pushpopreg_1.s, push-pop.s, quadaddsub.s, random_0001.s, random_0002.S,
-       random_0003.S, random_0004.S, random_0005.S, random_0006.S,
-       random_0007.S, random_0008.S, random_0009.S, random_0010.S,
-       random_0011.S, random_0012.S, random_0013.S, random_0031.S,
-       random_0033.S, random_0034.S, run-tests.sh, s0.s, s10.s, s11.s, s12.s,
-       s13.s, s14.s, s15.s, s16.s, s17.s, s18.s, s19.s, s1.s, s20.s, s21.s,
-       s2.s, s30.s, s3.s, s4.s, s5.s, s6.s, s7.s, s8.s, s9.s, saatest.s,
-       se_all16bitopcodes.S, se_all32bitopcodes.lds, se_all32bitopcodes.S,
-       se_brtarget_stall.S, se_bug_ui2.S, se_bug_ui3.S, se_bug_ui.S,
-       se_cc2stat_haz.S, se_cc_kill.S, se_cof.S, se_event_quad.S,
-       se_excpt_dagprotviol.S, se_excpt_ifprotviol.S, se_excpt_ssstep.S,
-       se_illegalcombination.S, se_kills2.S, se_kill_wbbr.S,
-       se_loop_disable.S, se_loop_kill_01.S, se_loop_kill_dcr_01.S,
-       se_loop_kill_dcr.S, se_loop_kill.S, se_loop_lr.S,
-       se_loop_mv2lb_stall.S, se_loop_mv2lc.S, se_loop_mv2lc_stall.S,
-       se_loop_mv2lt_stall.S, se_loop_nest_ppm_1.S, se_loop_nest_ppm_2.S,
-       se_loop_nest_ppm.S, se_loop_ppm_1.S, se_loop_ppm_int.S, se_loop_ppm.S,
-       se_lsetup_kill.S, se_misaligned_fetch.S, se_more_ret_haz.S, se_mv2lp.S,
-       se_oneins_zoff.S, se_popkill.S, seqstat.s, se_regmv_usp_sysreg.S,
-       se_rets_hazard.s, se_rts_rti.S, se_ssstep_dagprotviol.S, se_ssync.S,
-       se_stall_if2.S, se_undefinedinstruction1.S, se_undefinedinstruction2.S,
-       se_undefinedinstruction3.S, se_undefinedinstruction4.S,
-       se_usermode_protviol.S, sign.s, simple0.s, sri.s, stk2.s, stk3.s,
-       stk4.s, stk5.s, stk6.s, stk.s, syscfg.s, tar10622.s, test-dma.h,
-       test.h, testset2.s, testset.s, testutils.inc, unlink.S, up0.s, usp.S,
-       vec-abs-2.S, vec-abs-3.S, vec-abs.S, vecadd.s, vec-neg-2.S,
-       vec-neg-3.S, vec-neg.S, viterbi2.s, vit_max.s, wtf.s, x1.s, zcall.s,
-       zeroflagrnd.s: New files.
diff --git a/sim/testsuite/bfin/ChangeLog-2021 b/sim/testsuite/bfin/ChangeLog-2021
new file mode 100644 (file)
index 0000000..ea617e3
--- /dev/null
@@ -0,0 +1,386 @@
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * getpid.c: New test.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2021-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * s21.s: Delete accidental copyright line.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * mdma-skel.h: Include stdlib.h.
+
+2015-10-11  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/18407
+       * ashift_left.s: New test.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * run-tests.sh: Add +x file mode.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * run-tests.sh (usage): Fix typo in exit.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_all32bitopcodes.S (se_all_next_insn): Skip debug insn opcodes.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_allopcodes.h (_match): Simplify register test to one less insn.
+       Omit the SSYNC insn when compiling for the sim.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * testutils.inc: Trim trailing whitespace.
+
+2013-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * run-tests.sh: Add support for running in parallel.
+
+2013-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_allopcodes.h: Add debugging related comments.
+
+2013-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_allopcodes.h: Do not clear RETN/RETE/RETI.
+
+2012-04-09  Robin Getz  <robin.getz@analog.com>
+
+       * random_0017.S, random_0018.S, random_0025.S: New ASTAT shift tests.
+
+2012-04-09  Robin Getz  <robin.getz@analog.com>
+
+       * random_0036.S, random_0037.S: New astat tests.
+
+2012-04-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_all64bitg1opcodes.S: Delete xfail line.
+       * se_all64bitg2opcodes.S: Likewise.
+
+2012-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_all16bitopcodes.S (SE_ALL_BITS): Define to 16.
+       (SE_ALL_NEW_INSN_STUB): Define.
+       (se_all_load_table): Delete.
+       (se_all_new_insn_log): Likewise.
+       * se_all32bitopcodes.S: Add more details on slowness.
+       (SE_ALL_BITS): Define to 13.
+       (se_all_load_table): Delete.
+       (se_all_new_insn_stub, se_all_new_insn_log): Likewise.
+       * se_all64bitg0opcodes.S: Add more details on slowness.
+       (se_all_new_insn_stub): Delete.
+       * se_all64bitg1opcodes.S: See mach to bfin.
+       (se_all_new_insn_stub): Delete.
+       * se_all64bitg2opcodes.S: See mach to bfin.
+       (se_all_new_insn_stub): Delete.
+       * se_allopcodes.h (LOAD_PFX): Define based on SE_ALL_BITS.
+       (se_all_new_16bit_insn_log, se_all_new_32bit_insn_log): Unify
+       into new se_all_new_insn_log helper.
+       (se_all_load_table): New helper.
+       (se_all_new_insn_stub): Likewise.
+
+2012-03-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * c_dsp32mac_dr_a1a0.s: Change 0x12efbc5569 to 0xefbc5569.
+       * c_dsp32mac_dr_a1a0_iutsh.s: Change 0x12efbc556 to 0x2efbc556.
+       * c_dsp32mac_dr_a1a0_m.s: Change 0x12efbc5569 to 0xefbc5569.
+       * c_dsp32shift_vmaxvmax.s: Change 0xa11002001 to 0x11002001.
+       * c_dsp32shiftim_af_s.s: Change 0x3a1230001 to 0xa1230001.
+
+       * fact.s: Comment out test with too large a number (6227020800).
+
+       * allinsn.exp: If preprocessing usp.S fails, set has_cpp to 0,
+       else set it to 1.  If compiling argc.c fails, set has_cc to 0,
+       else set it to 1.  When processing each src file, if has_ccp is
+       0 and the file ends in .S, skip it; if it has_cc is 0 and the
+       file ends in .c, skip it.
+
+2012-03-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_all64bitg0opcodes.S, se_all64bitg1opcodes.S,
+       se_all64bitg2opcodes.S: New exhaustive parallel insn tests.
+
+2012-03-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_allopcodes.h: New framework for testing opcode regions.
+       * se_all16bitopcodes.S: Convert over to se_allopcodes.h.
+       * se_all32bitopcodes.S: Likewise.
+
+2012-03-19  Stuart Henderson  <stuart.henderson@analog.com>
+
+       * c_dsp32shiftim_amix.s: Check edge cases in shift behavior.
+
+2012-03-19  Robin Getz  <robin.getz@analog.com>
+
+       * random_0014.S, random_0015.S, random_0016.S: New tests for shifts.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * se_all16bitopcodes.S: Merge code from se_all32bitopcodes.S.
+
+2011-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * vit_max2.s: New tests for parallel VIT_MAX insns.
+
+2011-06-18  Robin Getz  <robin.getz@analog.com>
+
+       * random_0019.S, random_0020.S, random_0021.S, random_0022.S,
+       random_0023.S, random_0024.S, random_0026.S, random_0027.S,
+       random_0028.S, random_0029.S, random_0030.S, random_0032.S,
+       random_0035.S: New tests for dsp insns.
+
+2011-06-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore, 10272_small.s, 10436.s, 10622.s, 10742.s, 10799.s,
+       11080.s, 7641.s, a0.s, a0shift.S, a10.s, a11.S, a12.s, a1.s, a20.S,
+       a21.s, a22.s, a23.s, a24.s, a25.s, a26.s, a2.s, a30.s, a3.s, a4.s,
+       a5.s, a6.s, a7.s, a8.s, a9.s, abs-2.S, abs-3.S, abs-4.S, abs_acc.s,
+       abs.S, acc-rot.s, acp5_19.s, acp5_4.s, add_imm7.s, add_shift.S,
+       add_sub_acc.s, addsub_flags.S, algnbug1.s, algnbug2.s, allinsn.exp,
+       argc.c, ashift_flags.s, ashift.s, b0.S, b1.s, b2.S, brcc.s, brevadd.s,
+       byteop16m.s, byteop16p.s, byteop1p.s, byteop2p.s, byteop3p.s,
+       byteunpack.s, c_alu2op_arith_r_sft.s, c_alu2op_conv_b.s,
+       c_alu2op_conv_h.s, c_alu2op_conv_mix.s, c_alu2op_conv_neg.s,
+       c_alu2op_conv_toggle.s, c_alu2op_conv_xb.s, c_alu2op_conv_xh.s,
+       c_alu2op_divq.s, c_alu2op_divs.s, c_alu2op_log_l_sft.s,
+       c_alu2op_log_r_sft.s, c_alu2op_shadd_1.s, c_alu2op_shadd_2.s,
+       c_brcc_bp1.s, c_brcc_bp2.s, c_brcc_bp3.s, c_brcc_bp4.s,
+       c_brcc_brf_bp.s, c_brcc_brf_brt_bp.s, c_brcc_brf_brt_nbp.s,
+       c_brcc_brf_fbkwd.s, c_brcc_brf_nbp.s, c_brcc_brt_bp.s,
+       c_brcc_brt_nbp.s, c_brcc_kills_dhits.s, c_brcc_kills_dmiss.s,
+       c_br_preg_killed_ac.s, c_br_preg_killed_ex1.s, c_br_preg_stall_ac.s,
+       c_br_preg_stall_ex1.s, cc0.s, cc1.s, cc5.S, c_cactrl_iflush_pr_pp.s,
+       c_cactrl_iflush_pr.s, c_calla_ljump.s, c_calla_subr.s, cc-alu.S,
+       cc-astat-bits.s, c_cc2dreg.s, c_cc2stat_cc_ac.S, c_cc2stat_cc_an.s,
+       c_cc2stat_cc_aq.s, c_cc2stat_cc_av0.S, c_cc2stat_cc_av1.S,
+       c_cc2stat_cc_az.s, c_ccflag_a0a1.S, c_cc_flag_ccmv_depend.S,
+       c_ccflag_dr_dr.s, c_ccflag_dr_dr_uu.s, c_cc_flagdreg_mvbrsft.s,
+       c_cc_flagdreg_mvbrsft_s1.s, c_cc_flagdreg_mvbrsft_sn.s,
+       c_ccflag_dr_imm3.s, c_ccflag_dr_imm3_uu.s, c_ccflag_pr_imm3.s,
+       c_ccflag_pr_imm3_uu.s, c_ccflag_pr_pr.s, c_ccflag_pr_pr_uu.s,
+       c_ccmv_cc_dr_dr.s, c_ccmv_cc_dr_pr.s, c_ccmv_cc_pr_pr.s,
+       c_ccmv_ncc_dr_dr.s, c_ccmv_ncc_dr_pr.s, c_ccmv_ncc_pr_pr.s,
+       c_cc_regmvlogi_mvbrsft.s, c_cc_regmvlogi_mvbrsft_s1.s,
+       c_cc_regmvlogi_mvbrsft_sn.S, c_comp3op_dr_and_dr.s,
+       c_comp3op_dr_minus_dr.s, c_comp3op_dr_mix.s, c_comp3op_dr_or_dr.s,
+       c_comp3op_dr_plus_dr.s, c_comp3op_dr_xor_dr.s,
+       c_comp3op_pr_plus_pr_sh1.s, c_comp3op_pr_plus_pr_sh2.s,
+       c_compi2opd_dr_add_i7_n.s, c_compi2opd_dr_add_i7_p.s,
+       c_compi2opd_dr_eq_i7_n.s, c_compi2opd_dr_eq_i7_p.s,
+       c_compi2opd_flags_2.S, c_compi2opd_flags.S, c_compi2opp_pr_add_i7_n.s,
+       c_compi2opp_pr_add_i7_p.s, c_compi2opp_pr_eq_i7_n.s,
+       c_compi2opp_pr_eq_i7_p.s, c_dagmodik_lnz_imgebl.s,
+       c_dagmodik_lnz_imltbl.s, c_dagmodik_lz_inc_dec.s,
+       c_dagmodim_lnz_imgebl.s, c_dagmodim_lnz_imltbl.s,
+       c_dagmodim_lz_inc_dec.s, c_dsp32alu_a0a1s.s, c_dsp32alu_a0_pm_a1.s,
+       c_dsp32alu_aa_absabs.s, c_dsp32alu_a_abs_a.s, c_dsp32alu_aa_negneg.s,
+       c_dsp32alu_absabs.s, c_dsp32alu_abs.s, c_dsp32alu_alhwx.s,
+       c_dsp32alu_a_neg_a.s, c_dsp32alu_awx.s, c_dsp32alu_byteop1ew.s,
+       c_dsp32alu_byteop2.s, c_dsp32alu_byteop3.s, c_dsp32alu_bytepack.s,
+       c_dsp32alu_byteunpack.s, c_dsp32alu_disalnexcpt.s, c_dsp32alu_maxmax.s,
+       c_dsp32alu_max.s, c_dsp32alu_minmin.s, c_dsp32alu_min.s,
+       c_dsp32alu_mix.s, c_dsp32alu_rh_m.s, c_dsp32alu_rh_p.s,
+       c_dsp32alu_rh_rnd12_m.s, c_dsp32alu_rh_rnd12_p.s,
+       c_dsp32alu_rh_rnd20_m.s, c_dsp32alu_rh_rnd20_p.s,
+       c_dsp32alu_r_lh_a0pa1.s, c_dsp32alu_rlh_rnd.s, c_dsp32alu_rl_m.s,
+       c_dsp32alu_rl_p.s, c_dsp32alu_rl_rnd12_m.s, c_dsp32alu_rl_rnd12_p.s,
+       c_dsp32alu_rl_rnd20_m.s, c_dsp32alu_rl_rnd20_p.s, c_dsp32alu_rmm.s,
+       c_dsp32alu_rmp.s, c_dsp32alu_rm.s, c_dsp32alu_r_negneg.s,
+       c_dsp32alu_rpm.s, c_dsp32alu_rpp.s, c_dsp32alu_rp.s,
+       c_dsp32alu_rr_lph_a1a0.s, c_dsp32alu_rrpm_aa.s, c_dsp32alu_rrpmmp.s,
+       c_dsp32alu_rrpmmp_sft.s, c_dsp32alu_rrpmmp_sft_x.s, c_dsp32alu_rrpm.s,
+       c_dsp32alu_rrppmm.s, c_dsp32alu_rrppmm_sft.s,
+       c_dsp32alu_rrppmm_sft_x.s, c_dsp32alu_saa.s, c_dsp32alu_sat_aa.S,
+       c_dsp32alu_search.s, c_dsp32alu_sgn.s, c_dsp32mac_a1a0_iuw32.s,
+       c_dsp32mac_a1a0_m.s, c_dsp32mac_a1a0.s, c_dsp32mac_dr_a0_ih.s,
+       c_dsp32mac_dr_a0_i.s, c_dsp32mac_dr_a0_is.s, c_dsp32mac_dr_a0_iu.s,
+       c_dsp32mac_dr_a0_m.s, c_dsp32mac_dr_a0.s, c_dsp32mac_dr_a0_s.s,
+       c_dsp32mac_dr_a0_t.s, c_dsp32mac_dr_a0_tu.s, c_dsp32mac_dr_a0_u.s,
+       c_dsp32mac_dr_a1a0_iutsh.s, c_dsp32mac_dr_a1a0_m.s,
+       c_dsp32mac_dr_a1a0.s, c_dsp32mac_dr_a1_ih.s, c_dsp32mac_dr_a1_i.s,
+       c_dsp32mac_dr_a1_is.s, c_dsp32mac_dr_a1_iu.s, c_dsp32mac_dr_a1_m.s,
+       c_dsp32mac_dr_a1.s, c_dsp32mac_dr_a1_s.s, c_dsp32mac_dr_a1_t.s,
+       c_dsp32mac_dr_a1_tu.s, c_dsp32mac_dr_a1_u.s, c_dsp32mac_mix.s,
+       c_dsp32mac_pair_a0_i.s, c_dsp32mac_pair_a0_is.s,
+       c_dsp32mac_pair_a0_m.s, c_dsp32mac_pair_a0.s, c_dsp32mac_pair_a0_s.s,
+       c_dsp32mac_pair_a0_u.s, c_dsp32mac_pair_a1a0_i.s,
+       c_dsp32mac_pair_a1a0_is.s, c_dsp32mac_pair_a1a0_m.s,
+       c_dsp32mac_pair_a1a0.s, c_dsp32mac_pair_a1a0_s.s,
+       c_dsp32mac_pair_a1a0_u.s, c_dsp32mac_pair_a1_i.s,
+       c_dsp32mac_pair_a1_is.s, c_dsp32mac_pair_a1_m.s, c_dsp32mac_pair_a1.s,
+       c_dsp32mac_pair_a1_s.s, c_dsp32mac_pair_a1_u.s, c_dsp32mac_pair_mix.s,
+       c_dsp32mult_dr_ih.s, c_dsp32mult_dr_i.s, c_dsp32mult_dr_is.s,
+       c_dsp32mult_dr_iu.s, c_dsp32mult_dr_m_i.s, c_dsp32mult_dr_m_iutsh.s,
+       c_dsp32mult_dr_mix.s, c_dsp32mult_dr_m.s, c_dsp32mult_dr_m_s.s,
+       c_dsp32mult_dr_m_t.s, c_dsp32mult_dr_m_u.s, c_dsp32mult_dr.s,
+       c_dsp32mult_dr_s.s, c_dsp32mult_dr_t.s, c_dsp32mult_dr_tu.s,
+       c_dsp32mult_dr_u.s, c_dsp32mult_pair_i.s, c_dsp32mult_pair_is.s,
+       c_dsp32mult_pair_m_i.s, c_dsp32mult_pair_m_is.s, c_dsp32mult_pair_m.s,
+       c_dsp32mult_pair_m_s.s, c_dsp32mult_pair_m_u.s, c_dsp32mult_pair.s,
+       c_dsp32mult_pair_s.s, c_dsp32mult_pair_u.s, c_dsp32shift_a0alr.s,
+       c_dsp32shift_af.s, c_dsp32shift_af_s.s, c_dsp32shift_ahalf_ln.s,
+       c_dsp32shift_ahalf_ln_s.s, c_dsp32shift_ahalf_lp.s,
+       c_dsp32shift_ahalf_lp_s.s, c_dsp32shift_ahalf_rn.s,
+       c_dsp32shift_ahalf_rn_s.s, c_dsp32shift_ahalf_rp.s,
+       c_dsp32shift_ahalf_rp_s.s, c_dsp32shift_ahh.s, c_dsp32shift_ahh_s.s,
+       c_dsp32shift_align16.s, c_dsp32shift_align24.s, c_dsp32shift_align8.s,
+       c_dsp32shift_amix.s, c_dsp32shift_bitmux.s, c_dsp32shift_bxor.s,
+       c_dsp32shift_expadj_h.s, c_dsp32shift_expadj_l.s,
+       c_dsp32shift_expadj_r.s, c_dsp32shift_expexp_r.s, c_dsp32shift_fdepx.s,
+       c_dsp32shift_fextx.s, c_dsp32shiftim_a0alr.s, c_dsp32shiftim_af.s,
+       c_dsp32shiftim_af_s.s, c_dsp32shiftim_ahalf_ln.s,
+       c_dsp32shiftim_ahalf_ln_s.s, c_dsp32shiftim_ahalf_lp.s,
+       c_dsp32shiftim_ahalf_lp_s.s, c_dsp32shiftim_ahalf_rn.s,
+       c_dsp32shiftim_ahalf_rn_s.s, c_dsp32shiftim_ahalf_rp.s,
+       c_dsp32shiftim_ahalf_rp_s.s, c_dsp32shiftim_ahh.s,
+       c_dsp32shiftim_ahh_s.s, c_dsp32shiftim_amix.s, c_dsp32shiftim_lf.s,
+       c_dsp32shiftim_lhalf_ln.s, c_dsp32shiftim_lhalf_lp.s,
+       c_dsp32shiftim_lhalf_rn.s, c_dsp32shiftim_lhalf_rp.s,
+       c_dsp32shiftim_lhh.s, c_dsp32shiftim_lmix.s, c_dsp32shiftim_rot.s,
+       c_dsp32shift_lf.s, c_dsp32shift_lhalf_ln.s, c_dsp32shift_lhalf_lp.s,
+       c_dsp32shift_lhalf_rn.s, c_dsp32shift_lhalf_rp.s, c_dsp32shift_lhh.s,
+       c_dsp32shift_lmix.s, c_dsp32shift_ones.s, c_dsp32shift_pack.s,
+       c_dsp32shift_rot_mix.s, c_dsp32shift_rot.s, c_dsp32shift_signbits_rh.s,
+       c_dsp32shift_signbits_rl.s, c_dsp32shift_signbits_r.s,
+       c_dsp32shift_vmax.s, c_dsp32shift_vmaxvmax.s, c_dspldst_ld_drhi_ipp.s,
+       c_dspldst_ld_drhi_i.s, c_dspldst_ld_dr_ippm.s, c_dspldst_ld_dr_ipp.s,
+       c_dspldst_ld_dr_i.s, c_dspldst_ld_drlo_ipp.s, c_dspldst_ld_drlo_i.s,
+       c_dspldst_st_drhi_ipp.s, c_dspldst_st_drhi_i.s, c_dspldst_st_dr_ippm.s,
+       c_dspldst_st_dr_ipp.s, c_dspldst_st_dr_i.s, c_dspldst_st_drlo_ipp.s,
+       c_dspldst_st_drlo_i.s, cec-exact-exception.S, cec-ifetch.S,
+       cec-multi-pending.S, cec-non-operating-env.s, cec-no-snen-reti.S,
+       cec-raise-reti.S, cec-snen-reti.S, cec-syscfg-ssstep.S,
+       cec-system-call.S, c_except_illopcode.S, c_except_sys_sstep.S,
+       c_except_user_mode.S, c_interr_disable_enable.S, c_interr_disable.S,
+       c_interr_excpt.S, c_interr_loopsetup_stld.S, c_interr_nested.S,
+       c_interr_nmi.S, c_interr_pending_2.S, c_interr_pending.S,
+       c_interr_timer_reload.S, c_interr_timer.S, c_interr_timer_tcount.S,
+       c_interr_timer_tscale.S, cir1.s, cir.s, c_ldimmhalf_dreg.s,
+       c_ldimmhalf_drhi.s, c_ldimmhalf_drlo.s, c_ldimmhalf_h_dr.s,
+       c_ldimmhalf_h_ibml.s, c_ldimmhalf_h_pr.s, c_ldimmhalf_l_dr.s,
+       c_ldimmhalf_l_ibml.s, c_ldimmhalf_l_pr.s, c_ldimmhalf_lz_dr.s,
+       c_ldimmhalf_lzhi_dr.s, c_ldimmhalf_lzhi_ibml.s, c_ldimmhalf_lzhi_pr.s,
+       c_ldimmhalf_lz_ibml.s, c_ldimmhalf_lz_pr.s, c_ldimmhalf_pibml.s,
+       c_ldstidxl_ld_dr_b.s, c_ldstidxl_ld_dreg.s, c_ldstidxl_ld_dr_h.s,
+       c_ldstidxl_ld_dr_xb.s, c_ldstidxl_ld_dr_xh.s, c_ldstidxl_ld_preg.s,
+       c_ldstidxl_st_dr_b.s, c_ldstidxl_st_dreg.s, c_ldstidxl_st_dr_h.s,
+       c_ldstidxl_st_preg.s, c_ldstiifp_ld_dreg.s, c_ldstiifp_ld_preg.s,
+       c_ldstiifp_st_dreg.s, c_ldstiifp_st_preg.s, c_ldstii_ld_dreg.s,
+       c_ldstii_ld_dr_h.s, c_ldstii_ld_dr_xh.s, c_ldstii_ld_preg.s,
+       c_ldstii_st_dreg.s, c_ldstii_st_dr_h.s, c_ldstii_st_preg.s,
+       c_ldst_ld_d_p_b.s, c_ldst_ld_d_p_h.s, c_ldst_ld_d_p_mm_b.s,
+       c_ldst_ld_d_p_mm_h.s, c_ldst_ld_d_p_mm.s, c_ldst_ld_d_p_mm_xb.s,
+       c_ldst_ld_d_p_mm_xh.s, c_ldst_ld_d_p_pp_b.s, c_ldst_ld_d_p_pp_h.s,
+       c_ldst_ld_d_p_ppmm_hbx.s, c_ldst_ld_d_p_pp.s, c_ldst_ld_d_p_pp_xb.s,
+       c_ldst_ld_d_p_pp_xh.s, c_ldst_ld_d_p.s, c_ldst_ld_d_p_xb.s,
+       c_ldst_ld_d_p_xh.s, c_ldst_ld_p_p_mm.s, c_ldst_ld_p_p_pp.s,
+       c_ldst_ld_p_p.s, c_ldstpmod_ld_dreg.s, c_ldstpmod_ld_dr_hi.s,
+       c_ldstpmod_ld_dr_lo.s, c_ldstpmod_ld_h_xh.s, c_ldstpmod_ld_lohi.s,
+       c_ldstpmod_st_dreg.s, c_ldstpmod_st_dr_hi.s, c_ldstpmod_st_dr_lo.s,
+       c_ldstpmod_st_lohi.s, c_ldst_st_p_d_b.s, c_ldst_st_p_d_h.s,
+       c_ldst_st_p_d_mm_b.s, c_ldst_st_p_d_mm_h.s, c_ldst_st_p_d_mm.s,
+       c_ldst_st_p_d_pp_b.s, c_ldst_st_p_d_pp_h.s, c_ldst_st_p_d_pp.s,
+       c_ldst_st_p_d.s, c_ldst_st_p_p_mm.s, c_ldst_st_p_p_pp.s,
+       c_ldst_st_p_p.s, c_linkage.s, cli-sti.s, c_logi2op_alshft_mix.s,
+       c_logi2op_arith_shft.s, c_logi2op_bitclr.s, c_logi2op_bitset.s,
+       c_logi2op_bittgl.s, c_logi2op_bittst.s, c_logi2op_log_l_shft_astat.S,
+       c_logi2op_log_l_shft.s, c_logi2op_log_r_shft_astat.S,
+       c_logi2op_log_r_shft.s, c_logi2op_nbittst.s, c_loopsetup_nested_bot.s,
+       c_loopsetup_nested_prelc.s, c_loopsetup_nested.s,
+       c_loopsetup_nested_top.s, c_loopsetup_overlap.s,
+       c_loopsetup_preg_div2_lc0.s, c_loopsetup_preg_div2_lc1.s,
+       c_loopsetup_preg_lc0.s, c_loopsetup_preg_lc1.s,
+       c_loopsetup_preg_stld.s, c_loopsetup_prelc.s, c_loopsetup_topbotcntr.s,
+       c_mmr_interr_ctl.s, c_mmr_loop.S, c_mmr_loop_user_except.S,
+       c_mmr_ppop_illegal_adr.S, c_mmr_ppopm_illegal_adr.S, c_mmr_timer.S,
+       c_mode_supervisor.S, c_mode_user.S, c_mode_user_superivsor.S, cmpacc.s,
+       cmpdreg.S, c_multi_issue_dsp_ld_ld.s, c_multi_issue_dsp_ldst_1.s,
+       c_multi_issue_dsp_ldst_2.s, compare.s, conv_enc_gen.s,
+       c_progctrl_call_pcpr.s, c_progctrl_call_pr.s,
+       c_progctrl_clisti_interr.S, c_progctrl_csync_mmr.S,
+       c_progctrl_except_rtx.S, c_progctrl_excpt.S, c_progctrl_jump_pcpr.s,
+       c_progctrl_jump_pr.s, c_progctrl_nop.s, c_progctrl_raise_rt_i_n.S,
+       c_progctrl_rts.s, c_ptr2op_pr_neg_pr.s, c_ptr2op_pr_sft_2_1.s,
+       c_ptr2op_pr_shadd_1_2.s, c_pushpopmultiple_dp_pair.s,
+       c_pushpopmultiple_dp.s, c_pushpopmultiple_dreg.s,
+       c_pushpopmultiple_preg.s, c_regmv_acc_acc.s, c_regmv_dag_lz_dep.s,
+       c_regmv_dr_acc_acc.s, c_regmv_dr_dep_nostall.s, c_regmv_dr_dr.s,
+       c_regmv_dr_imlb.s, c_regmv_dr_pr.s, c_regmv_imlb_dep_nostall.s,
+       c_regmv_imlb_dep_stall.s, c_regmv_imlb_dr.s, c_regmv_imlb_imlb.s,
+       c_regmv_imlb_pr.s, c_regmv_pr_dep_nostall.s, c_regmv_pr_dep_stall.s,
+       c_regmv_pr_dr.s, c_regmv_pr_imlb.s, c_regmv_pr_pr.s,
+       c_seq_ac_raise_mv_ppop.S, c_seq_ac_raise_mv.S,
+       c_seq_ac_regmv_pushpop.S, c_seq_dec_raise_pushpop.S,
+       c_seq_ex1_brcc_mv_pop.S, c_seq_ex1_call_mv_pop.S, c_seq_ex1_j_mv_pop.S,
+       c_seq_ex1_raise_brcc_mv_pop.S, c_seq_ex1_raise_call_mv_pop.S,
+       c_seq_ex1_raise_j_mv_pop.S, c_seq_ex2_brcc_mp_mv_pop.S,
+       c_seq_ex2_mmrj_mvpop.S, c_seq_ex2_mmr_mvpop.S,
+       c_seq_ex2_raise_mmrj_mvpop.S, c_seq_ex2_raise_mmr_mvpop.S,
+       c_seq_ex3_ls_brcc_mvp.S, c_seq_ex3_ls_mmrj_mvp.S,
+       c_seq_ex3_ls_mmr_mvp.S, c_seq_ex3_raise_ls_mmrj_mvp.S,
+       c_seq_wb_cs_lsmmrj_mvp.S, c_seq_wb_raisecs_lsmmrj_mvp.S,
+       c_seq_wb_rti_lsmmrj_mvp.S, c_seq_wb_rtn_lsmmrj_mvp.S,
+       c_seq_wb_rtx_lsmmrj_mvp.S, c_ujump.s, cycles.s, d0.s, d1.s, d2.s,
+       dbg_brprd_ntkn_src_kill.S, dbg_brtkn_nprd_src_kill.S,
+       dbg_jmp_src_kill.S, dbg_tr_basic.S, dbg_tr_simplejp.S, dbg_tr_tbuf0.S,
+       dbg_tr_umode.S, disalnexcpt_implicit.S, div0.s, divq.s, dotproduct2.s,
+       dotproduct.s, double_prec_mult.s, dsp_a4.s, dsp_a7.s, dsp_a8.s,
+       dsp_d0.s, dsp_d1.s, dsp_neg.S, dsp_s1.s, e0.s, edn_snafu.s,
+       eu_dsp32mac_s.s, events.s, f221.s, fact.s, fir.s, fsm.s, greg2.s,
+       hwloop-bits.S, hwloop-branch-in.s, hwloop-branch-out.s,
+       hwloop-lt-bits.s, hwloop-nested.s, i0.s, iir.s, issue103.s, issue109.s,
+       issue112.s, issue113.s, issue117.s, issue118.s, issue119.s, issue121.s,
+       issue123.s, issue124.s, issue125.s, issue126.s, issue127.s, issue129.s,
+       issue139.S, issue140.S, issue142.s, issue144.s, issue146.S, issue175.s,
+       issue205.s, issue257.s, issue272.S, issue83.s, issue89.s, l0.s,
+       l0shift.s, l2_loop.s, link-2.s, link.s, lmu_cplb_multiple0.S,
+       lmu_cplb_multiple1.S, lmu_excpt_align.S, lmu_excpt_default.S,
+       lmu_excpt_illaddr.S, lmu_excpt_prot0.S, lmu_excpt_prot1.S, load.s,
+       logic.s, loop_snafu.s, loop_strncpy.s, lp0.s, lp1.s, lsetup.s,
+       m0boundary.s, m10.s, m11.s, m12.s, m13.s, m14.s, m15.s, m16.s, m17.s,
+       m1.S, m2.s, m3.s, m4.s, m5.s, m6.s, m7.s, m8.s, m9.s, mac2halfreg.S,
+       Makefile, math.s, max_min_flags.s, mc_s2.s, mdma-32bit-1d.c,
+       mdma-32bit-1d-neg-count.c, mdma-8bit-1d.c, mdma-8bit-1d-neg-count.c,
+       mdma-skel.h, mem3.s, mmr-exception.s, move.s, msa_acp_5_10.s,
+       msa_acp_5.10.S, msa_acp_5.12_1.S, msa_acp_5.12_2.S, mult.s, neg-2.S,
+       neg-3.S, neg.S, nshift.s, PN_generator.s, pr.s, push-pop-multiple.s,
+       pushpopreg_1.s, push-pop.s, quadaddsub.s, random_0001.s, random_0002.S,
+       random_0003.S, random_0004.S, random_0005.S, random_0006.S,
+       random_0007.S, random_0008.S, random_0009.S, random_0010.S,
+       random_0011.S, random_0012.S, random_0013.S, random_0031.S,
+       random_0033.S, random_0034.S, run-tests.sh, s0.s, s10.s, s11.s, s12.s,
+       s13.s, s14.s, s15.s, s16.s, s17.s, s18.s, s19.s, s1.s, s20.s, s21.s,
+       s2.s, s30.s, s3.s, s4.s, s5.s, s6.s, s7.s, s8.s, s9.s, saatest.s,
+       se_all16bitopcodes.S, se_all32bitopcodes.lds, se_all32bitopcodes.S,
+       se_brtarget_stall.S, se_bug_ui2.S, se_bug_ui3.S, se_bug_ui.S,
+       se_cc2stat_haz.S, se_cc_kill.S, se_cof.S, se_event_quad.S,
+       se_excpt_dagprotviol.S, se_excpt_ifprotviol.S, se_excpt_ssstep.S,
+       se_illegalcombination.S, se_kills2.S, se_kill_wbbr.S,
+       se_loop_disable.S, se_loop_kill_01.S, se_loop_kill_dcr_01.S,
+       se_loop_kill_dcr.S, se_loop_kill.S, se_loop_lr.S,
+       se_loop_mv2lb_stall.S, se_loop_mv2lc.S, se_loop_mv2lc_stall.S,
+       se_loop_mv2lt_stall.S, se_loop_nest_ppm_1.S, se_loop_nest_ppm_2.S,
+       se_loop_nest_ppm.S, se_loop_ppm_1.S, se_loop_ppm_int.S, se_loop_ppm.S,
+       se_lsetup_kill.S, se_misaligned_fetch.S, se_more_ret_haz.S, se_mv2lp.S,
+       se_oneins_zoff.S, se_popkill.S, seqstat.s, se_regmv_usp_sysreg.S,
+       se_rets_hazard.s, se_rts_rti.S, se_ssstep_dagprotviol.S, se_ssync.S,
+       se_stall_if2.S, se_undefinedinstruction1.S, se_undefinedinstruction2.S,
+       se_undefinedinstruction3.S, se_undefinedinstruction4.S,
+       se_usermode_protviol.S, sign.s, simple0.s, sri.s, stk2.s, stk3.s,
+       stk4.s, stk5.s, stk6.s, stk.s, syscfg.s, tar10622.s, test-dma.h,
+       test.h, testset2.s, testset.s, testutils.inc, unlink.S, up0.s, usp.S,
+       vec-abs-2.S, vec-abs-3.S, vec-abs.S, vecadd.s, vec-neg-2.S,
+       vec-neg-3.S, vec-neg.S, viterbi2.s, vit_max.s, wtf.s, x1.s, zcall.s,
+       zeroflagrnd.s: New files.
diff --git a/sim/testsuite/bpf/ChangeLog b/sim/testsuite/bpf/ChangeLog
deleted file mode 100644 (file)
index 5814a7c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2020-09-08  David Faust  <david.faust@oracle.com>
-
-       * alu.s: Correct div and mod tests.
-       * alu32.s: Likewise.
-
-2020-08-04  David Faust  <david.faust@oracle.com>
-           Jose E. Marchesi  <jose.marchesi@oracle.com>
-
-       * allinsn.exp: New file.
-       * alu.s: Likewise.
-       * alu32.s: Likewise.
-       * endbe.s: Likewise.
-       * endle.s: Likewise.
-       * jmp.s: Likewise.
-       * jmp32.s: Likewise.
-       * ldabs.s: Likewise.
-       * mem.s: Likewise.
-       * mov.s: Likewise.
-       * testutils.inc: Likewise.
-       * xadd.s: Likewise.
diff --git a/sim/testsuite/bpf/ChangeLog-2021 b/sim/testsuite/bpf/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5814a7c
--- /dev/null
@@ -0,0 +1,28 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2020-09-08  David Faust  <david.faust@oracle.com>
+
+       * alu.s: Correct div and mod tests.
+       * alu32.s: Likewise.
+
+2020-08-04  David Faust  <david.faust@oracle.com>
+           Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * allinsn.exp: New file.
+       * alu.s: Likewise.
+       * alu32.s: Likewise.
+       * endbe.s: Likewise.
+       * endle.s: Likewise.
+       * jmp.s: Likewise.
+       * jmp32.s: Likewise.
+       * ldabs.s: Likewise.
+       * mem.s: Likewise.
+       * mov.s: Likewise.
+       * testutils.inc: Likewise.
+       * xadd.s: Likewise.
diff --git a/sim/testsuite/cr16/ChangeLog b/sim/testsuite/cr16/ChangeLog
deleted file mode 100644 (file)
index 68353f0..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-       * misc.exp: Likewise.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp, misc.exp: Define arch.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Append --load-vma to global_sim_options.
-       * misc.exp: Likewise.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       PR sim/12385
-       * testutils.inc (START): Add _start symbol.
-
-2008-05-02  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * cbitb.cgs, cbitw.cgs, sbitb.cgs, sbitw.cgs, tbit.cgs, tbitb.cgs,
-       tbitw.cgs, hw-trap.ms, uread16.ms, uread32.ms: New testcases.
-       addb.cgs, addd.cgs, addi.cgs, andb.cgs, andd.cgs, andw.cgs, ashub.cgs,
-       ashub_i.cgs, ashud.cgs, ashud_i.cgs, ashuw.cgs, ashuw_i.cgs, cmpi.cgs,
-       cmpw.cgs, jlt.cgs, jump.cgs, loadd.cgs, loadw.cgs, lshb.cgs, lshb_i.cgs,
-       lshd.cgs, lshd_i.cgs, lshw.cgs, lshw_i.cgs, movb.cgs, movd.cgs,
-       movw.cgs, movxb.cgs, movxw.cgs, movzb.cgs, movzw.cgs, mulb.cgs,
-       muluw.cgs, mulw.cgs, orb.cgs, ord.cgs, orw.cgs, pop1.cgs, pop2.cgs,
-       pop3.cgs, popret1.cgs, popret2.cgs, popret3.cgs, push1.cgs, push2.cgs,
-       push3.cgs: Update testcase comment.
-       bnc8.cgs, bnc24.cgs and ret.cgs: Removed.
-
-2008-04-08  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * allinsn.exp: Remove target_alias and global_ld_options.
-
-2008-02-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
-
-       * allinsn.exp, misc.exp: New files: Test scripts
-       testutils.inc: New file: Test macros.
-       addb.cgs, addd.cgs, addi.cgs, addw.cgs, andb.cgs, andd.cgs, andw.cgs,
-       ashub.cgs, ashub_i.cgs, ashud.cgs, ashud_i.cgs, ashuw.cgs, ashuw_i.cgs,
-       bal1_24.cgs, bal2_24.cgs, bcc.cgs, bcs.cgs, beq0b.cgs, beq0w.cgs,
-       beq.cgs, bge.cgs, bgt.cgs, bhi.cgs, bhs.cgs, bht.cgs, blo.cgs, bls.cgs,
-       blt.cgs, bnc24.cgs, bnc8.cgs, bne0b.cgs, bne0w.cgs, bne.cgs, br.cgs,
-       cmpb.cgs, cmpb_i.cgs, cmpd.cgs, cmpd_i.cgs, cmpi.cgs, cmpw.cgs,
-       cmpw_i.cgs, excp.cgs, hello.ms, jal.cgs, jcc.cgs, jcs.cgs, jeq.cgs,
-       jfc.cgs, jfs.cgs, jge.cgs, jgt.cgs, jhi.cgs, jhs.cgs, jlo.cgs, jls.cgs,
-       jlt.cgs, jne.cgs, jump.cgs, loadb.cgs, loadd.cgs, loadm.cgs, loadmp.cgs,
-       loadw.cgs, lprd-sprd.cgs, lpr-spr.cgs, lshb.cgs, lshb_i.cgs, lshd.cgs,
-       lshd_i.cgs, lshw.cgs, lshw_i.cgs, macqw.cgs, macsw.cgs, macuw.cgs,
-       movb.cgs, movd.cgs, movw.cgs, movxb.cgs, movxw.cgs, movzb.cgs,
-       movzw.cgs, mulb.cgs, mulsb.cgs, mulsw.cgs, muluw.cgs, mulw.cgs,
-       nop.cgs, orb.cgs, ord.cgs, orw.cgs, pop1.cgs, pop2.cgs, pop3.cgs,
-       popret1.cgs, popret2.cgs, popret3.cgs, push1.cgs, push2.cgs, push3.cgs,
-       ret.cgs, scc.cgs, scs.cgs, seq.cgs, sfc.cgs, sfs.cgs, sge.cgs, sgt.cgs,
-       shi.cgs, shs.cgs, slo.cgs, sls.cgs, slt.cgs, sne.cgs, storb.cgs,
-       stord.cgs, storw.cgs, subb.cgs, subd.cgs, subi.cgs, subw.cgs,
-       xorb.cgs, xord.cgs, xorw.cgs: New files
diff --git a/sim/testsuite/cr16/ChangeLog-2021 b/sim/testsuite/cr16/ChangeLog-2021
new file mode 100644 (file)
index 0000000..68353f0
--- /dev/null
@@ -0,0 +1,60 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+       * misc.exp: Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, misc.exp: Define arch.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Append --load-vma to global_sim_options.
+       * misc.exp: Likewise.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       PR sim/12385
+       * testutils.inc (START): Add _start symbol.
+
+2008-05-02  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * cbitb.cgs, cbitw.cgs, sbitb.cgs, sbitw.cgs, tbit.cgs, tbitb.cgs,
+       tbitw.cgs, hw-trap.ms, uread16.ms, uread32.ms: New testcases.
+       addb.cgs, addd.cgs, addi.cgs, andb.cgs, andd.cgs, andw.cgs, ashub.cgs,
+       ashub_i.cgs, ashud.cgs, ashud_i.cgs, ashuw.cgs, ashuw_i.cgs, cmpi.cgs,
+       cmpw.cgs, jlt.cgs, jump.cgs, loadd.cgs, loadw.cgs, lshb.cgs, lshb_i.cgs,
+       lshd.cgs, lshd_i.cgs, lshw.cgs, lshw_i.cgs, movb.cgs, movd.cgs,
+       movw.cgs, movxb.cgs, movxw.cgs, movzb.cgs, movzw.cgs, mulb.cgs,
+       muluw.cgs, mulw.cgs, orb.cgs, ord.cgs, orw.cgs, pop1.cgs, pop2.cgs,
+       pop3.cgs, popret1.cgs, popret2.cgs, popret3.cgs, push1.cgs, push2.cgs,
+       push3.cgs: Update testcase comment.
+       bnc8.cgs, bnc24.cgs and ret.cgs: Removed.
+
+2008-04-08  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * allinsn.exp: Remove target_alias and global_ld_options.
+
+2008-02-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * allinsn.exp, misc.exp: New files: Test scripts
+       testutils.inc: New file: Test macros.
+       addb.cgs, addd.cgs, addi.cgs, addw.cgs, andb.cgs, andd.cgs, andw.cgs,
+       ashub.cgs, ashub_i.cgs, ashud.cgs, ashud_i.cgs, ashuw.cgs, ashuw_i.cgs,
+       bal1_24.cgs, bal2_24.cgs, bcc.cgs, bcs.cgs, beq0b.cgs, beq0w.cgs,
+       beq.cgs, bge.cgs, bgt.cgs, bhi.cgs, bhs.cgs, bht.cgs, blo.cgs, bls.cgs,
+       blt.cgs, bnc24.cgs, bnc8.cgs, bne0b.cgs, bne0w.cgs, bne.cgs, br.cgs,
+       cmpb.cgs, cmpb_i.cgs, cmpd.cgs, cmpd_i.cgs, cmpi.cgs, cmpw.cgs,
+       cmpw_i.cgs, excp.cgs, hello.ms, jal.cgs, jcc.cgs, jcs.cgs, jeq.cgs,
+       jfc.cgs, jfs.cgs, jge.cgs, jgt.cgs, jhi.cgs, jhs.cgs, jlo.cgs, jls.cgs,
+       jlt.cgs, jne.cgs, jump.cgs, loadb.cgs, loadd.cgs, loadm.cgs, loadmp.cgs,
+       loadw.cgs, lprd-sprd.cgs, lpr-spr.cgs, lshb.cgs, lshb_i.cgs, lshd.cgs,
+       lshd_i.cgs, lshw.cgs, lshw_i.cgs, macqw.cgs, macsw.cgs, macuw.cgs,
+       movb.cgs, movd.cgs, movw.cgs, movxb.cgs, movxw.cgs, movzb.cgs,
+       movzw.cgs, mulb.cgs, mulsb.cgs, mulsw.cgs, muluw.cgs, mulw.cgs,
+       nop.cgs, orb.cgs, ord.cgs, orw.cgs, pop1.cgs, pop2.cgs, pop3.cgs,
+       popret1.cgs, popret2.cgs, popret3.cgs, push1.cgs, push2.cgs, push3.cgs,
+       ret.cgs, scc.cgs, scs.cgs, seq.cgs, sfc.cgs, sfs.cgs, sge.cgs, sgt.cgs,
+       shi.cgs, shs.cgs, slo.cgs, sls.cgs, slt.cgs, sne.cgs, storb.cgs,
+       stord.cgs, storw.cgs, subb.cgs, subd.cgs, subi.cgs, subw.cgs,
+       xorb.cgs, xord.cgs, xorw.cgs: New files
diff --git a/sim/testsuite/cris/ChangeLog b/sim/testsuite/cris/ChangeLog
deleted file mode 100644 (file)
index 121b6f3..0000000
+++ /dev/null
@@ -1,213 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * asm/asm.exp (arch): Delete.
-       * c/c.exp, hw/rv-n-cris/rvc.exp: Likewise.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * c/c.exp: Change sim_run return to return_code.  Set status to
-       pass/fail based on return_code.
-       * hw/rv-n-cris/rvc.exp (sim_has_rv_and_cris): Compare return_code
-       to 0.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * readlink4.c (main): Change rindex to strrchr.
-
-2021-01-07  Mike Frysinger  <vapier@gentoo.org>
-
-       PR ld/13900
-       * c/helloaout.c: Disable test
-
-2021-01-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * c/c.exp [cris*-*-elf] (CFLAGS_FOR_TARGET): Add -sim.
-
-2021-01-07  Mike Frysinger  <vapier@gentoo.org>
-
-       * c/kill2.c: Include unistd.h.
-       * c/pipe1.c, c/sched1.c, c/sched2.c, c/sched3.c, c/sched4.c,
-       c/sig5.c, c/sig8.c: Likewise.
-       * c/openpf1.c (main): Change close to fclose.
-       * c/openpf2.c: Likewise.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * asm/opterr1.ms: Update expected output.
-       * asm/opterr2.ms: Likewise.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * asm/io1.ms: Update expected output.
-
-2015-12-25  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw/rv-n-cris/rvc.exp (rvdummy): Set up sane default.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * c/clone5.c: Update output to ignore decoded signal string.
-       * c/fcntl1.c, c/kill2.c, c/kill3.c, c/mprotect1.c, c/pipe5.c,
-       c/readlink5.c, c/rtsigprocmask1.c, c/rtsigsuspend1.c, c/sig10.c,
-       c/sig11.c, c/sig3.c, c/sig4.c, c/sig5.c, c/sig6.c, c/sig7.c,
-       c/sig8.c, c/sigreturn1.c, c/sigreturn2.c, c/syscall1.c,
-       c/syscall2.c, c/syscall3.c, c/syscall4.c, c/sysctl2.c: Likewise.
-
-2012-03-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * asm/addqpc.ms: Update output to ignore decoded signal string.
-       * asm/boundmv32.ms, asm/fidxd.ms, asm/fidxi.ms, asm/ftagd.ms,
-       asm/ftagi.ms, asm/halt.ms, asm/io6.ms, asm/io7.ms, asm/io8.ms,
-       asm/io9.ms, asm/movecpc.ms, asm/movempc.ms, asm/movepcb.ms,
-       asm/movepcd.ms, asm/movepcw.ms, asm/moveqpc.ms, asm/moverbpc.ms,
-       asm/moverdpc.ms, asm/moverpcb.ms, asm/moverpcw.ms, asm/moverwpc.ms,
-       asm/movppc.ms, asm/movrss.ms, asm/movscpc.ms, asm/movsmpc.ms,
-       asm/movsrpc.ms, asm/movssr.ms, asm/movucpc.ms, asm/movumpc.ms,
-       asm/movurpc.ms, asm/msteppc1.ms, asm/msteppc2.ms, asm/msteppc3.ms,
-       asm/rfg.ms, asm/sbfs.ms, asm/subqpc.ms: Likewise.
-
-2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
-
-       * c/seek3.c, c/seek4.c: New tests.
-
-2010-08-24  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.
-
-2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/opterr5.ms, asm/opterr4.ms,
-       asm/opterr3.ms, asm/bare3.ms: New tests.
-
-2009-01-06  Hans-Peter Nilsson  <hp@axis.com>
-
-       * c/mmap5.c, c/mmap6.c, c/mmap7.c,
-       c/mmap8.c, c/hellodyn3.c: New tests.
-
-2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * c/settls1.c: New test.
-       * c/exitg1.c, c/exitg2.c: New tests.
-       * c/uname1.c: New test.
-       * c/mmap1.c (MMAP_FLAGS): Default-define to
-       MAP_PRIVATE and use this macro in the mmap call.
-       * c/mmap4.c: New test.
-       * c/access1.c: New test.
-       * asm/pid1.ms: New test.
-
-2008-12-30  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/badarch1.ms: Tweak error message match.
-
-       * asm/badarch1.ms, c/badldso1.c,
-       c/badldso2.c, c/badldso3.c,
-       c/helloaout.c, c/hellodyn.c,
-       c/hellodyn2.c, c/writev1.c,
-       c/writev2.c: New tests.
-       * c/c.exp: If compiler links libc.so when attempting to
-       link dynamically, create symlink named "lib" to the directory
-       where it is found.  Handle new test-case option "dynamic".
-
-       * asm/opterr1.ms, asm/opterr2.ms: Adjust for
-       differences in getopt_long error message quoting.
-
-2007-11-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/x0-v10.ms, asm/x0-v32.ms: Tweak
-       stack-pointer match pattern for 4K host environment.
-
-2007-10-22  Edgar E. Iglesias <edgar@axis.com>
-           Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/testutils.inc (test_move_cc): Add missing call to
-       test_cc.
-       * asm/asr.ms: Correct expected condition code flags.
-       * asm/boundr.ms: Ditto.
-       * asm/dstep.ms: Ditto.
-       * asm/lsr.ms: Ditto.
-       * asm/movecr.ms: Ditto.
-       * asm/mover.ms: Ditto.
-       * asm/neg.ms: Ditto.  Use test_cc, not test_move_cc.
-       * asm/op3.ms: Check the condition code flags after the insn
-       under test.
-       * asm/movecrt10.ms: Update expected number of simulated
-       cycles.
-       * asm/movecrt32.ms: Ditto.
-       * asm/jsr.ms: Don't use local label 8.
-       * asm/nonvcv32.ms: New test.
-
-2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>
-
-       * c/freopen2.c: Added testcase.
-
-2006-10-02  Hans-Peter Nilsson  <hp@axis.com>
-           Edgar E. Iglesias  <edgar@axis.com>
-
-       * c/clone5.c, c/mprotect1.c,
-       c/rtsigprocmask1.c, c/rtsigsuspend1.c,
-       c/sig7.c, c/sigreturn1.c,
-       c/sigreturn2.c, c/syscall1.c,
-       c/syscall2.c, c/sysctl2.c, c/fcntl1.c,
-       c/readlink2.c: Add code to print ENOSYS if syscall being
-       tested returns ENOSYS.  Add early exit where needed.  Change any
-       existing code to print "xyzzy", not "pass".
-       * asm/option3.ms, asm/option4.ms,
-       c/clone6.c, c/fcntl2.c,
-       c/mprotect2.c, c/readlink11.c,
-       c/rtsigprocmask2.c, c/rtsigsuspend2.c,
-       c/sig13.c, c/sigreturn3.c,
-       c/sigreturn4.c, c/syscall3.c,
-       c/syscall4.c, c/syscall5.c,
-       c/syscall6.c, c/syscall7.c,
-       c/syscall8.c, c/sysctl3.c: New tests.
-
-2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
-
-       * c/pipe2.c: Adjust expected output.
-       (process): Don't write as much to the pipe as to trig the
-       inordinate-amount test in the sim pipe machinery.  Correct test of
-       write return-value; check only that pipemax bytes were
-       successfully written.  For error-case, emit strerror as well.
-       (main): Add a second read.
-
-2006-04-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * hw/rv-n-cris/irq6.ms: New test.
-
-2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
-
-       * hw: New directory for subdirectories with tests.
-       * hw/rv-n-cris: New directory with tests.
-
-2006-04-02  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/testutils.inc (test_h_mem): Use register prefix.
-       (testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto.  Correct
-       syntax.
-
-       * asm/x0-v10.ms, asm/x0-v32.ms: Widen regexp for
-       stack pointer values.
-
-2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
-
-       * c/time2.c: New test.
-
-2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/x1-v10.ms, asm/x3-v10.ms,
-       asm/x7-v10.ms: Update expected cycle output.
-
-2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm/movmp8.ms, asm/pcplus.ms: New tests.
-       * asm/movmp.ms: Do not write to P0, P4 or P8.
-       * asm/raw13.ms: Write to MOF instead of WZ (P4).
-
-2005-11-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * asm, c: New directory with C and assembly tests for the CRIS
-       simulator.
diff --git a/sim/testsuite/cris/ChangeLog-2021 b/sim/testsuite/cris/ChangeLog-2021
new file mode 100644 (file)
index 0000000..121b6f3
--- /dev/null
@@ -0,0 +1,213 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/asm.exp (arch): Delete.
+       * c/c.exp, hw/rv-n-cris/rvc.exp: Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * c/c.exp: Change sim_run return to return_code.  Set status to
+       pass/fail based on return_code.
+       * hw/rv-n-cris/rvc.exp (sim_has_rv_and_cris): Compare return_code
+       to 0.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * readlink4.c (main): Change rindex to strrchr.
+
+2021-01-07  Mike Frysinger  <vapier@gentoo.org>
+
+       PR ld/13900
+       * c/helloaout.c: Disable test
+
+2021-01-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * c/c.exp [cris*-*-elf] (CFLAGS_FOR_TARGET): Add -sim.
+
+2021-01-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * c/kill2.c: Include unistd.h.
+       * c/pipe1.c, c/sched1.c, c/sched2.c, c/sched3.c, c/sched4.c,
+       c/sig5.c, c/sig8.c: Likewise.
+       * c/openpf1.c (main): Change close to fclose.
+       * c/openpf2.c: Likewise.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/opterr1.ms: Update expected output.
+       * asm/opterr2.ms: Likewise.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/io1.ms: Update expected output.
+
+2015-12-25  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw/rv-n-cris/rvc.exp (rvdummy): Set up sane default.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * c/clone5.c: Update output to ignore decoded signal string.
+       * c/fcntl1.c, c/kill2.c, c/kill3.c, c/mprotect1.c, c/pipe5.c,
+       c/readlink5.c, c/rtsigprocmask1.c, c/rtsigsuspend1.c, c/sig10.c,
+       c/sig11.c, c/sig3.c, c/sig4.c, c/sig5.c, c/sig6.c, c/sig7.c,
+       c/sig8.c, c/sigreturn1.c, c/sigreturn2.c, c/syscall1.c,
+       c/syscall2.c, c/syscall3.c, c/syscall4.c, c/sysctl2.c: Likewise.
+
+2012-03-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/addqpc.ms: Update output to ignore decoded signal string.
+       * asm/boundmv32.ms, asm/fidxd.ms, asm/fidxi.ms, asm/ftagd.ms,
+       asm/ftagi.ms, asm/halt.ms, asm/io6.ms, asm/io7.ms, asm/io8.ms,
+       asm/io9.ms, asm/movecpc.ms, asm/movempc.ms, asm/movepcb.ms,
+       asm/movepcd.ms, asm/movepcw.ms, asm/moveqpc.ms, asm/moverbpc.ms,
+       asm/moverdpc.ms, asm/moverpcb.ms, asm/moverpcw.ms, asm/moverwpc.ms,
+       asm/movppc.ms, asm/movrss.ms, asm/movscpc.ms, asm/movsmpc.ms,
+       asm/movsrpc.ms, asm/movssr.ms, asm/movucpc.ms, asm/movumpc.ms,
+       asm/movurpc.ms, asm/msteppc1.ms, asm/msteppc2.ms, asm/msteppc3.ms,
+       asm/rfg.ms, asm/sbfs.ms, asm/subqpc.ms: Likewise.
+
+2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * c/seek3.c, c/seek4.c: New tests.
+
+2010-08-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.
+
+2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/opterr5.ms, asm/opterr4.ms,
+       asm/opterr3.ms, asm/bare3.ms: New tests.
+
+2009-01-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * c/mmap5.c, c/mmap6.c, c/mmap7.c,
+       c/mmap8.c, c/hellodyn3.c: New tests.
+
+2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * c/settls1.c: New test.
+       * c/exitg1.c, c/exitg2.c: New tests.
+       * c/uname1.c: New test.
+       * c/mmap1.c (MMAP_FLAGS): Default-define to
+       MAP_PRIVATE and use this macro in the mmap call.
+       * c/mmap4.c: New test.
+       * c/access1.c: New test.
+       * asm/pid1.ms: New test.
+
+2008-12-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/badarch1.ms: Tweak error message match.
+
+       * asm/badarch1.ms, c/badldso1.c,
+       c/badldso2.c, c/badldso3.c,
+       c/helloaout.c, c/hellodyn.c,
+       c/hellodyn2.c, c/writev1.c,
+       c/writev2.c: New tests.
+       * c/c.exp: If compiler links libc.so when attempting to
+       link dynamically, create symlink named "lib" to the directory
+       where it is found.  Handle new test-case option "dynamic".
+
+       * asm/opterr1.ms, asm/opterr2.ms: Adjust for
+       differences in getopt_long error message quoting.
+
+2007-11-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/x0-v10.ms, asm/x0-v32.ms: Tweak
+       stack-pointer match pattern for 4K host environment.
+
+2007-10-22  Edgar E. Iglesias <edgar@axis.com>
+           Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/testutils.inc (test_move_cc): Add missing call to
+       test_cc.
+       * asm/asr.ms: Correct expected condition code flags.
+       * asm/boundr.ms: Ditto.
+       * asm/dstep.ms: Ditto.
+       * asm/lsr.ms: Ditto.
+       * asm/movecr.ms: Ditto.
+       * asm/mover.ms: Ditto.
+       * asm/neg.ms: Ditto.  Use test_cc, not test_move_cc.
+       * asm/op3.ms: Check the condition code flags after the insn
+       under test.
+       * asm/movecrt10.ms: Update expected number of simulated
+       cycles.
+       * asm/movecrt32.ms: Ditto.
+       * asm/jsr.ms: Don't use local label 8.
+       * asm/nonvcv32.ms: New test.
+
+2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>
+
+       * c/freopen2.c: Added testcase.
+
+2006-10-02  Hans-Peter Nilsson  <hp@axis.com>
+           Edgar E. Iglesias  <edgar@axis.com>
+
+       * c/clone5.c, c/mprotect1.c,
+       c/rtsigprocmask1.c, c/rtsigsuspend1.c,
+       c/sig7.c, c/sigreturn1.c,
+       c/sigreturn2.c, c/syscall1.c,
+       c/syscall2.c, c/sysctl2.c, c/fcntl1.c,
+       c/readlink2.c: Add code to print ENOSYS if syscall being
+       tested returns ENOSYS.  Add early exit where needed.  Change any
+       existing code to print "xyzzy", not "pass".
+       * asm/option3.ms, asm/option4.ms,
+       c/clone6.c, c/fcntl2.c,
+       c/mprotect2.c, c/readlink11.c,
+       c/rtsigprocmask2.c, c/rtsigsuspend2.c,
+       c/sig13.c, c/sigreturn3.c,
+       c/sigreturn4.c, c/syscall3.c,
+       c/syscall4.c, c/syscall5.c,
+       c/syscall6.c, c/syscall7.c,
+       c/syscall8.c, c/sysctl3.c: New tests.
+
+2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * c/pipe2.c: Adjust expected output.
+       (process): Don't write as much to the pipe as to trig the
+       inordinate-amount test in the sim pipe machinery.  Correct test of
+       write return-value; check only that pipemax bytes were
+       successfully written.  For error-case, emit strerror as well.
+       (main): Add a second read.
+
+2006-04-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * hw/rv-n-cris/irq6.ms: New test.
+
+2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * hw: New directory for subdirectories with tests.
+       * hw/rv-n-cris: New directory with tests.
+
+2006-04-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/testutils.inc (test_h_mem): Use register prefix.
+       (testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto.  Correct
+       syntax.
+
+       * asm/x0-v10.ms, asm/x0-v32.ms: Widen regexp for
+       stack pointer values.
+
+2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * c/time2.c: New test.
+
+2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/x1-v10.ms, asm/x3-v10.ms,
+       asm/x7-v10.ms: Update expected cycle output.
+
+2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm/movmp8.ms, asm/pcplus.ms: New tests.
+       * asm/movmp.ms: Do not write to P0, P4 or P8.
+       * asm/raw13.ms: Write to MOF instead of WZ (P4).
+
+2005-11-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * asm, c: New directory with C and assembly tests for the CRIS
+       simulator.
diff --git a/sim/testsuite/d10v/ChangeLog b/sim/testsuite/d10v/ChangeLog
deleted file mode 100644 (file)
index f50a384..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: New file.
-       * configure, configure.ac, loop.s, Makefile.in: Deleted.
-
-2020-10-06  Andrew Burgess  <andrew.burgess@embecosm.com>
-
-       * configure: Regnerate.
-       * configure.ac (AC_CONFIG_AUX_DIR): Update.
-
-2015-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (RUNFLAGS_FOR_TARGET): Set to --environment operating.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-Tue Apr 18 16:32:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-rie-xx.s (test_rie_xx): New test.
-       * Makefile.in (TESTS): Update.
-
-Tue Feb 22 17:36:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in: Force d10v into operating mode.
-
-Mon Jan  3 00:17:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-ae-ld-d.s, t-ae-ld-i.s, t-ae-ld-id.s, t-ae-ld-im.s ,
-       t-ae-ld-ip.s, t-ae-ld2w-d.s, t-ae-ld2w-i.s, t-ae-ld2w-id.s ,
-       t-ae-ld2w-im.s, t-ae-ld2w-ip.s, t-ae-st-d.s, t-ae-st-i.s ,
-       t-ae-st-id.s, t-ae-st-im.s, t-ae-st-ip.s, t-ae-st-is.s ,
-       t-ae-st2w-d.s, t-ae-st2w-i.s, t-ae-st2w-id.s, t-ae-st2w-im.s ,
-       t-ae-st2w-ip.s, t-ae-st2w-is.s: New tests.  Check that an address
-       exception occures when a word/two-word load/store is not word
-       aligned.
-       * Makefile.in (TESTS): Update.
-
-Fri Oct 29 18:36:34 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-mvtc.s: Check that the user can not modify the DM bit in the
-       BPSW or DPSW.
-
-Thu Oct 28 01:47:26 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-mvtc.s: Update. Check that user can not modify DM bit.
-
-Wed Sep  8 19:34:55 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
-
-       * t-ld-st.s: New file.
-       * t-sac.s: New file.
-       * t-sachi.s: New file.
-       * t-slae.s: New file.
-
-1999-01-13  Jason Molenda  (jsm@bugshack.cygnus.com)
-
-       * t-sadd.s: New file.
-       * Makefile.in (TESTS): Add t-sadd.
-
-Mon Feb 16 09:20:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-macros.i (VEC_*): Define.
-       (DMAP_REG, DMAP_BASE, DMAP_MASK): Define.
-       (IMAP[01]_REG): Define.
-
-       * t-rdt.s (test_tdt): New file.
-
-       * t-dbt.s (test_dbt): New file.
-
-       * Makefile.in (TESTS): Add t-rdt and t-dbt.
-
-
-Fri Feb 13 16:21:13 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-sp.s: New test.
-       * Makefile.in (TESTS): Update.
-
-Wed Feb 11 17:58:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-macros.i: Update trap calls, func in r4, args in
-       r0...
-       (start): Force r0 to zero.
-
-       * t-sub2w.s: Ditto.
-
-Tue Dec  9 10:41:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-rte.s (success): New file.
-       * Makefile.in: Update.
-
-       * t-rep.s: Check rep repeats correct number of times.
-
-Fri Dec  5 10:11:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-mvtc.s: Check for stuck-zero in MOD_E, MOD_S.
-
-       * t-trap.s: New file.
-       * Makefile.in (TESTS): Update.
-
-Thu Dec  4 16:56:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-macros.i: Add definitions for PSW bits.
-
-       * t-mvtc.s: New file.
-       * Makefile.in (TESTS): Update.
-
-Wed Dec  3 16:35:24 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-rac.s: New files.
-
-       * t-macros.i: Add macros for checking psw and 2w quantities.
-
-       * Makefile.in (TESTS): Update.
-
-Tue Dec  2 11:01:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-sub2w.s, t-mulxu.s, t-mac.s, t-mvtac.s, t-msbu.s, t-sub.s: New
-       files.
-
-       * Makefile.in: Update.
-
-Mon Nov 17 20:14:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-subi.s (test_subi): New file.
-       * Makefile.in: Update.
-
-Fri Nov 14 14:06:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-rep.s: New file. Test case of branch to RPT_E address.
-
-Mon Nov 10 19:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * t-macros.i (_start): New file.
-       * t-rachi.s: New file.
-
-       * Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v
-       directory.
diff --git a/sim/testsuite/d10v/ChangeLog-2021 b/sim/testsuite/d10v/ChangeLog-2021
new file mode 100644 (file)
index 0000000..f50a384
--- /dev/null
@@ -0,0 +1,151 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: New file.
+       * configure, configure.ac, loop.s, Makefile.in: Deleted.
+
+2020-10-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * configure: Regnerate.
+       * configure.ac (AC_CONFIG_AUX_DIR): Update.
+
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (RUNFLAGS_FOR_TARGET): Set to --environment operating.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+Tue Apr 18 16:32:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-rie-xx.s (test_rie_xx): New test.
+       * Makefile.in (TESTS): Update.
+
+Tue Feb 22 17:36:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in: Force d10v into operating mode.
+
+Mon Jan  3 00:17:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-ae-ld-d.s, t-ae-ld-i.s, t-ae-ld-id.s, t-ae-ld-im.s ,
+       t-ae-ld-ip.s, t-ae-ld2w-d.s, t-ae-ld2w-i.s, t-ae-ld2w-id.s ,
+       t-ae-ld2w-im.s, t-ae-ld2w-ip.s, t-ae-st-d.s, t-ae-st-i.s ,
+       t-ae-st-id.s, t-ae-st-im.s, t-ae-st-ip.s, t-ae-st-is.s ,
+       t-ae-st2w-d.s, t-ae-st2w-i.s, t-ae-st2w-id.s, t-ae-st2w-im.s ,
+       t-ae-st2w-ip.s, t-ae-st2w-is.s: New tests.  Check that an address
+       exception occures when a word/two-word load/store is not word
+       aligned.
+       * Makefile.in (TESTS): Update.
+
+Fri Oct 29 18:36:34 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-mvtc.s: Check that the user can not modify the DM bit in the
+       BPSW or DPSW.
+
+Thu Oct 28 01:47:26 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-mvtc.s: Update. Check that user can not modify DM bit.
+
+Wed Sep  8 19:34:55 MDT 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * t-ld-st.s: New file.
+       * t-sac.s: New file.
+       * t-sachi.s: New file.
+       * t-slae.s: New file.
+
+1999-01-13  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * t-sadd.s: New file.
+       * Makefile.in (TESTS): Add t-sadd.
+
+Mon Feb 16 09:20:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-macros.i (VEC_*): Define.
+       (DMAP_REG, DMAP_BASE, DMAP_MASK): Define.
+       (IMAP[01]_REG): Define.
+
+       * t-rdt.s (test_tdt): New file.
+
+       * t-dbt.s (test_dbt): New file.
+
+       * Makefile.in (TESTS): Add t-rdt and t-dbt.
+
+
+Fri Feb 13 16:21:13 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-sp.s: New test.
+       * Makefile.in (TESTS): Update.
+
+Wed Feb 11 17:58:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-macros.i: Update trap calls, func in r4, args in
+       r0...
+       (start): Force r0 to zero.
+
+       * t-sub2w.s: Ditto.
+
+Tue Dec  9 10:41:44 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-rte.s (success): New file.
+       * Makefile.in: Update.
+
+       * t-rep.s: Check rep repeats correct number of times.
+
+Fri Dec  5 10:11:18 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-mvtc.s: Check for stuck-zero in MOD_E, MOD_S.
+
+       * t-trap.s: New file.
+       * Makefile.in (TESTS): Update.
+
+Thu Dec  4 16:56:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-macros.i: Add definitions for PSW bits.
+
+       * t-mvtc.s: New file.
+       * Makefile.in (TESTS): Update.
+
+Wed Dec  3 16:35:24 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-rac.s: New files.
+
+       * t-macros.i: Add macros for checking psw and 2w quantities.
+
+       * Makefile.in (TESTS): Update.
+
+Tue Dec  2 11:01:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-sub2w.s, t-mulxu.s, t-mac.s, t-mvtac.s, t-msbu.s, t-sub.s: New
+       files.
+
+       * Makefile.in: Update.
+
+Mon Nov 17 20:14:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-subi.s (test_subi): New file.
+       * Makefile.in: Update.
+
+Fri Nov 14 14:06:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-rep.s: New file. Test case of branch to RPT_E address.
+
+Mon Nov 10 19:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * t-macros.i (_start): New file.
+       * t-rachi.s: New file.
+
+       * Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v
+       directory.
diff --git a/sim/testsuite/example-synacor/ChangeLog b/sim/testsuite/example-synacor/ChangeLog
deleted file mode 100644 (file)
index bb9b0b4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-04-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * add.s, allinsn.exp, and.s, call.s, exit-0.s, gt.s, isa.inc, jmp.s,
-       mem.s, mod.s, mult.s, not.s, or.s, push-pop.s, ret.s, set.s,
-       testutils.inc: New files.
diff --git a/sim/testsuite/example-synacor/ChangeLog-2021 b/sim/testsuite/example-synacor/ChangeLog-2021
new file mode 100644 (file)
index 0000000..bb9b0b4
--- /dev/null
@@ -0,0 +1,9 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-04-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * add.s, allinsn.exp, and.s, call.s, exit-0.s, gt.s, isa.inc, jmp.s,
+       mem.s, mod.s, mult.s, not.s, or.s, push-pop.s, ret.s, set.s,
+       testutils.inc: New files.
diff --git a/sim/testsuite/frv/ChangeLog b/sim/testsuite/frv/ChangeLog
deleted file mode 100644 (file)
index aa7409f..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-       * fr400/allinsn.exp, fr500/allinsn.exp, fr550/allinsn.exp,
-       interrupts.exp, misc.exp, parallel.exp: Likewise.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp,
-       fr550/allinsn.exp, interrupts.exp, misc.exp,
-       parallel.exp: Define arch.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * cache.ms: New testcase from ../../frv-elf/.
-       * exit47.ms, grloop.ms, hello.ms: Likewise.
-       * misc.exp: New file.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * allinsn.exp (all_machs): Add fr405 and fr450.
-       * fr400/allinsn.exp (all_machs): Likewise.
-       * fr400/addss.cgs (mach): Change to "fr405 fr450".
-       * fr400/scutss.cgs (mach): Likewise.
-       * fr400/slass.cgs (mach): Likewise.
-       * fr400/smass.cgs (mach): Likewise.
-       * fr400/smsss.cgs (mach): Likewise.
-       * fr400/smu.cgs (mach): Likewise.
-       * fr400/subss.cgs (mach): Likewise.
-       * interrupts/fp_exception.cgs: Replace fmadds with .word.
-       * interrupts/fp_exception-fr550.cgs: Likewise.
-       * mqlclrhs.cgs: New test.
-       * mqlmths.cgs: New test.
-       * mqsllhi.cgs: New test.
-       * mqsrahi.cgs: New test.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * fr400/scutss.cgs: Fix tests to account for rounding.
-       Add some new ones.
-
-2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
-
-       * {rstb,rsth,rst,rstd,rstq}.cgs: Delete.
-       * {rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
-
-2003-10-10  Dave Brolley  <brolley@redhat.com>
-
-       * testutils.inc (or_gr_immed): New macro.
-       * fp_exception-fr550.cgs: Write insns using
-       unaligned registers into the program in order to
-       cause the required exceptions.
-       * fp_exception.cgs: Ditto.
-       * regalign.cgs: Ditto.
-
-2003-10-06  Dave Brolley  <brolley@redhat.com>
-
-       * fr550: New subdirectory.
-       * fr400/*.cgs: Add fr550 as appropriate.
-       * fr500/*.cgs: Add fr550 as appropriate.
-       * interrupts/*.cgs: Add fr550 as appropriate.
-       * interrupts/*-fr550.cgs: New test cases for fr550.
-
-2003-09-19  Michael Snyder  <msnyder@redhat.com>
-
-       * nldqi.cgs: Remove.  This insn was never implemented
-       by Fujitsu.
-
-2003-09-19  Dave Brolley  <brolley@redhat.com>
-
-       * rstqf.cgs: Use nldq instead of nldqi.
-       * rstq.cgs: Use nldq instead of nldqi.
-
-2003-09-11  Michael Snyder  <msnyder@redhat.com>
-
-       * movgs.cgs: Change lcr to spr[273],
-       which according to the comments seems to be the intent.
-
-2003-09-09  Dave Brolley  <brolley@redhat.com>
-
-       * maddaccs.cgs: move to fr400 subdirectory.
-       * msubaccs.cgs: move to fr400 subdirectory.
-       * masaccs.cgs: move to fr400 subdirectory.
-
-2003-09-03  Michael Snyder  <msnyder@redhat.com>
-
-       * fr500/mclracc.cgs: Change mach to 'all', to be
-       consistent with other tests in the directory.
-
-2003-09-03  Michael Snyder  <msnyder@redhat.com>
-
-       * interrupts/Ipipe-fr400.cgs: New file.
-       * interrupts/Ipipe-fr500.cgs: New file.
-       * interrupts/Ipipe.cgs: Remove (replaced by above).
diff --git a/sim/testsuite/frv/ChangeLog-2021 b/sim/testsuite/frv/ChangeLog-2021
new file mode 100644 (file)
index 0000000..aa7409f
--- /dev/null
@@ -0,0 +1,94 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+       * fr400/allinsn.exp, fr500/allinsn.exp, fr550/allinsn.exp,
+       interrupts.exp, misc.exp, parallel.exp: Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp,
+       fr550/allinsn.exp, interrupts.exp, misc.exp,
+       parallel.exp: Define arch.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * cache.ms: New testcase from ../../frv-elf/.
+       * exit47.ms, grloop.ms, hello.ms: Likewise.
+       * misc.exp: New file.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * allinsn.exp (all_machs): Add fr405 and fr450.
+       * fr400/allinsn.exp (all_machs): Likewise.
+       * fr400/addss.cgs (mach): Change to "fr405 fr450".
+       * fr400/scutss.cgs (mach): Likewise.
+       * fr400/slass.cgs (mach): Likewise.
+       * fr400/smass.cgs (mach): Likewise.
+       * fr400/smsss.cgs (mach): Likewise.
+       * fr400/smu.cgs (mach): Likewise.
+       * fr400/subss.cgs (mach): Likewise.
+       * interrupts/fp_exception.cgs: Replace fmadds with .word.
+       * interrupts/fp_exception-fr550.cgs: Likewise.
+       * mqlclrhs.cgs: New test.
+       * mqlmths.cgs: New test.
+       * mqsllhi.cgs: New test.
+       * mqsrahi.cgs: New test.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * fr400/scutss.cgs: Fix tests to account for rounding.
+       Add some new ones.
+
+2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
+
+       * {rstb,rsth,rst,rstd,rstq}.cgs: Delete.
+       * {rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
+
+2003-10-10  Dave Brolley  <brolley@redhat.com>
+
+       * testutils.inc (or_gr_immed): New macro.
+       * fp_exception-fr550.cgs: Write insns using
+       unaligned registers into the program in order to
+       cause the required exceptions.
+       * fp_exception.cgs: Ditto.
+       * regalign.cgs: Ditto.
+
+2003-10-06  Dave Brolley  <brolley@redhat.com>
+
+       * fr550: New subdirectory.
+       * fr400/*.cgs: Add fr550 as appropriate.
+       * fr500/*.cgs: Add fr550 as appropriate.
+       * interrupts/*.cgs: Add fr550 as appropriate.
+       * interrupts/*-fr550.cgs: New test cases for fr550.
+
+2003-09-19  Michael Snyder  <msnyder@redhat.com>
+
+       * nldqi.cgs: Remove.  This insn was never implemented
+       by Fujitsu.
+
+2003-09-19  Dave Brolley  <brolley@redhat.com>
+
+       * rstqf.cgs: Use nldq instead of nldqi.
+       * rstq.cgs: Use nldq instead of nldqi.
+
+2003-09-11  Michael Snyder  <msnyder@redhat.com>
+
+       * movgs.cgs: Change lcr to spr[273],
+       which according to the comments seems to be the intent.
+
+2003-09-09  Dave Brolley  <brolley@redhat.com>
+
+       * maddaccs.cgs: move to fr400 subdirectory.
+       * msubaccs.cgs: move to fr400 subdirectory.
+       * masaccs.cgs: move to fr400 subdirectory.
+
+2003-09-03  Michael Snyder  <msnyder@redhat.com>
+
+       * fr500/mclracc.cgs: Change mach to 'all', to be
+       consistent with other tests in the directory.
+
+2003-09-03  Michael Snyder  <msnyder@redhat.com>
+
+       * interrupts/Ipipe-fr400.cgs: New file.
+       * interrupts/Ipipe-fr500.cgs: New file.
+       * interrupts/Ipipe.cgs: Remove (replaced by above).
diff --git a/sim/testsuite/ft32/ChangeLog b/sim/testsuite/ft32/ChangeLog
deleted file mode 100644 (file)
index 346ac74..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-10-12  James Bowman  <james.bowman@ftdichip.com>
-
-       * basic.s: Add test for memory size link parameters.
-       Add test for program memory write port.
-
-2015-02-28  James Bowman  <james.bowman@ftdichip.com>
-
-       * basic.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/ft32/ChangeLog-2021 b/sim/testsuite/ft32/ChangeLog-2021
new file mode 100644 (file)
index 0000000..346ac74
--- /dev/null
@@ -0,0 +1,16 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-10-12  James Bowman  <james.bowman@ftdichip.com>
+
+       * basic.s: Add test for memory size link parameters.
+       Add test for program memory write port.
+
+2015-02-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * basic.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/h8300/ChangeLog b/sim/testsuite/h8300/ChangeLog
deleted file mode 100644 (file)
index 828b136..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-2021-05-28  Yoshinori Sato  <ysato@users.sourceforge.jp>
-
-       * addb.s: Add special case reg,<@reg+ / @reg- / @+reg / @-reg>.
-       * andb.s: Likewise.
-       * cmpb.s: Likewise.
-       * orb.s: Likewise.
-       * subb.s: Likewise.
-       * xorb.s: Likewise.
-       * movb.s: Add special case reg,<@reg+ / @reg- / @+reg / @-reg>
-                 @reg+,@reg+ / @-reg,@-reg.
-       @ movw.s: Likewise.
-       @ movl.s: Likewise.
-
-2021-05-04  Yoshinori Sato  <ysato@users.sourceforge.jp>
-
-       * movb.s: Add special case predec test.
-       * movw.s: Likewise.
-       * movl.s: Likewise.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2021-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * rotl.s (mach): Set to "h8300s h8sx".
-       * rotr.s, rotxl.s, rotxr.s, shal.s, shar.s, shll.s, shlr.s, tas.s:
-       Likewise.
-
-2021-01-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Rewrite file to use globs.
-
-2004-06-28  Alexandre Oliva  <aoliva@redhat.com>
-
-       2003-07-22  Michael Snyder  <msnyder@redhat.com>
-       * mul.s: Don't try to use negative immediate (it's always
-       unsigned).
-       * div.s: Ditto.
-
-2004-06-24  Alexandre Oliva  <aoliva@redhat.com>
-
-       2004-06-17  Alexandre Oliva  <aoliva@redhat.com>
-       * band.s, biand.s: imm3_abs16 is not available on h8300h.
-       * bset.s: Likewise.  Ditto for rn_abs32.
-
-2003-07-22  Michael Snyder  <msnyder@redhat.com>
-
-       * cmpw.s: Add test for less-than-zero immediate.
-       * shll.s: Test for shll reg, reg.
-       * shlr.s: Test for shlr reg, reg.
-       * mova.s: Add dozens of new mova tests.
-
-2003-05-30  Alexandre Oliva  <aoliva@redhat.com>
-
-       * allinsn.exp: Fix typos introduced on 2003-05-27.
-
-2003-05-29  Michael Snyder  <msnyder@redhat.com>
-
-       * tas.s: Use er4 for h8h and h8s, er3 for h8sx.
-
-2003-05-28  Michael Snyder  <msnyder@redhat.com>
-
-       * subs.s: New file.
-       * subx.s: New file.
-       * allinsn.exp: Add new subs and subx tests.
-       * testutils.inc: Simplify (and fix) set_carry_flag.
-       (clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros.
-       * addx.s: Use simplified set_carry_flag.
-
-2003-05-27  Michael Snyder  <msnyder@redhat.com>
-
-       * tas.s: New file.
-       * band.s: New file.
-       * biand.s: New file.
-       * allinsn.exp: Add tas, band, biand tests.
-       * brabc.s: Add abs8 test.
-       * bset.s: Add bset/ne, bclr/ne tests.
-
-2003-05-23  Michael Snyder  <msnyder@redhat.com>
-
-       * and.b.s: Add andc exr.
-       * or.b.s: Add orc.exr.
-       * xor.b.s: Add xor exr.
-
-       * jmp.s: Fix 8-bit indirect test.  Add 7-bit vector test.
-
-2003-05-22  Michael Snyder  <msnyder@redhat.com>
-
-       * stack.s: Add rte/l and rts/l tests.
-       * allinsn.exp: Add stack tests.
-
-2003-05-21  Michael Snyder  <msnyder@redhat.com>
-
-       * stack.s: New file: test stack operations.
-       * stack.s: Add bsr, jsr tests.
-       * stack.s: Add trapa, rte tests.
-
-       * div.s: Corrections for size of dividend.
-
-2003-05-20  Michael Snyder  <msnyder@redhat.com>
-
-       * mul.s: Corrections for unsigned multiply.
-
-       * div.s: New file, test div instructions.
-       * allinsn.exp: Add div test.
-
-2003-05-19  Michael Snyder  <msnyder@redhat.com>
-
-       * mul.s: New file, test mul instructions.
-       * allinsn.exp: Add mul test.
-
-2003-05-14  Michael Snyder  <msnyder@redhat.com>
-
-       * addb.s, addw.s, addl.s, addw.s, addx.s, andb.s, andw.s, andl.s,
-       bfld.s, brabc.s, bra.s, bset.s, cmpb.s, cmpw.s, cmpl.s, daa.s,
-       das.s, dec.s, extw.s, extl.s, inc.s, jmp.s, ldc.s, ldm.s, mac.s,
-       mova.s, movb.s, movw.s, movl.s, movmd.s, movsd.s, neg.s, nop.s,
-       not.s, orb.s, orw.s, orl.s, rotl.s, rotr.s, rotxl.s, rotxr.s,
-       shal.s, shar.s, shll.s, shlr.s, stc.s, subb.s, subw.s, subl.s,
-       xorb.s, xorw.s, xorl.s: New files.
-       * allinsn.exp: New file.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-change-log-default-name: "ChangeLog"
-End:
diff --git a/sim/testsuite/h8300/ChangeLog-2021 b/sim/testsuite/h8300/ChangeLog-2021
new file mode 100644 (file)
index 0000000..828b136
--- /dev/null
@@ -0,0 +1,134 @@
+2021-05-28  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * addb.s: Add special case reg,<@reg+ / @reg- / @+reg / @-reg>.
+       * andb.s: Likewise.
+       * cmpb.s: Likewise.
+       * orb.s: Likewise.
+       * subb.s: Likewise.
+       * xorb.s: Likewise.
+       * movb.s: Add special case reg,<@reg+ / @reg- / @+reg / @-reg>
+                 @reg+,@reg+ / @-reg,@-reg.
+       @ movw.s: Likewise.
+       @ movl.s: Likewise.
+
+2021-05-04  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * movb.s: Add special case predec test.
+       * movw.s: Likewise.
+       * movl.s: Likewise.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2021-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * rotl.s (mach): Set to "h8300s h8sx".
+       * rotr.s, rotxl.s, rotxr.s, shal.s, shar.s, shll.s, shlr.s, tas.s:
+       Likewise.
+
+2021-01-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Rewrite file to use globs.
+
+2004-06-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       2003-07-22  Michael Snyder  <msnyder@redhat.com>
+       * mul.s: Don't try to use negative immediate (it's always
+       unsigned).
+       * div.s: Ditto.
+
+2004-06-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       2004-06-17  Alexandre Oliva  <aoliva@redhat.com>
+       * band.s, biand.s: imm3_abs16 is not available on h8300h.
+       * bset.s: Likewise.  Ditto for rn_abs32.
+
+2003-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * cmpw.s: Add test for less-than-zero immediate.
+       * shll.s: Test for shll reg, reg.
+       * shlr.s: Test for shlr reg, reg.
+       * mova.s: Add dozens of new mova tests.
+
+2003-05-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * allinsn.exp: Fix typos introduced on 2003-05-27.
+
+2003-05-29  Michael Snyder  <msnyder@redhat.com>
+
+       * tas.s: Use er4 for h8h and h8s, er3 for h8sx.
+
+2003-05-28  Michael Snyder  <msnyder@redhat.com>
+
+       * subs.s: New file.
+       * subx.s: New file.
+       * allinsn.exp: Add new subs and subx tests.
+       * testutils.inc: Simplify (and fix) set_carry_flag.
+       (clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros.
+       * addx.s: Use simplified set_carry_flag.
+
+2003-05-27  Michael Snyder  <msnyder@redhat.com>
+
+       * tas.s: New file.
+       * band.s: New file.
+       * biand.s: New file.
+       * allinsn.exp: Add tas, band, biand tests.
+       * brabc.s: Add abs8 test.
+       * bset.s: Add bset/ne, bclr/ne tests.
+
+2003-05-23  Michael Snyder  <msnyder@redhat.com>
+
+       * and.b.s: Add andc exr.
+       * or.b.s: Add orc.exr.
+       * xor.b.s: Add xor exr.
+
+       * jmp.s: Fix 8-bit indirect test.  Add 7-bit vector test.
+
+2003-05-22  Michael Snyder  <msnyder@redhat.com>
+
+       * stack.s: Add rte/l and rts/l tests.
+       * allinsn.exp: Add stack tests.
+
+2003-05-21  Michael Snyder  <msnyder@redhat.com>
+
+       * stack.s: New file: test stack operations.
+       * stack.s: Add bsr, jsr tests.
+       * stack.s: Add trapa, rte tests.
+
+       * div.s: Corrections for size of dividend.
+
+2003-05-20  Michael Snyder  <msnyder@redhat.com>
+
+       * mul.s: Corrections for unsigned multiply.
+
+       * div.s: New file, test div instructions.
+       * allinsn.exp: Add div test.
+
+2003-05-19  Michael Snyder  <msnyder@redhat.com>
+
+       * mul.s: New file, test mul instructions.
+       * allinsn.exp: Add mul test.
+
+2003-05-14  Michael Snyder  <msnyder@redhat.com>
+
+       * addb.s, addw.s, addl.s, addw.s, addx.s, andb.s, andw.s, andl.s,
+       bfld.s, brabc.s, bra.s, bset.s, cmpb.s, cmpw.s, cmpl.s, daa.s,
+       das.s, dec.s, extw.s, extl.s, inc.s, jmp.s, ldc.s, ldm.s, mac.s,
+       mova.s, movb.s, movw.s, movl.s, movmd.s, movsd.s, neg.s, nop.s,
+       not.s, orb.s, orw.s, orl.s, rotl.s, rotr.s, rotxl.s, rotxr.s,
+       shal.s, shar.s, shll.s, shlr.s, stc.s, subb.s, subw.s, subl.s,
+       xorb.s, xorw.s, xorl.s: New files.
+       * allinsn.exp: New file.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+change-log-default-name: "ChangeLog"
+End:
diff --git a/sim/testsuite/iq2000/ChangeLog b/sim/testsuite/iq2000/ChangeLog
deleted file mode 100644 (file)
index 4c94a66..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/iq2000/ChangeLog-2021 b/sim/testsuite/iq2000/ChangeLog-2021
new file mode 100644 (file)
index 0000000..4c94a66
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/lm32/ChangeLog b/sim/testsuite/lm32/ChangeLog
deleted file mode 100644 (file)
index 4c94a66..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/lm32/ChangeLog-2021 b/sim/testsuite/lm32/ChangeLog-2021
new file mode 100644 (file)
index 0000000..4c94a66
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/m32c/ChangeLog b/sim/testsuite/m32c/ChangeLog
deleted file mode 100644 (file)
index 8172521..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: New file.
-       * fail.s, pass.s: New tests.
-       * testutils.inc: New test helper logic.
-
-2015-11-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * blinky.s: Moved from ../../../m32c/.
-       * gloss.s, sample.ld, sample.s, sample2.c: Likewise.
diff --git a/sim/testsuite/m32c/ChangeLog-2021 b/sim/testsuite/m32c/ChangeLog-2021
new file mode 100644 (file)
index 0000000..8172521
--- /dev/null
@@ -0,0 +1,18 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: New file.
+       * fail.s, pass.s: New tests.
+       * testutils.inc: New test helper logic.
+
+2015-11-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * blinky.s: Moved from ../../../m32c/.
+       * gloss.s, sample.ld, sample.s, sample2.c: Likewise.
diff --git a/sim/testsuite/m32r/ChangeLog b/sim/testsuite/m32r/ChangeLog
deleted file mode 100644 (file)
index 535435a..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * hw-trap.ms: Run sim with --environment virtual.
-       * trap.cgs: Likewise.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-       * misc.exp: Likewise.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp, misc.exp: Define arch.
-
-2021-01-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * exit47.ms: New testcase from ../../m32r-elf/.
-
-1999-04-21  Doug Evans  <devans@casey.cygnus.com>
-
-       * nop.cgs: Add missing nop insn.
-
-1999-01-05  Doug Evans  <devans@casey.cygnus.com>
-
-       * allinsn.exp: Set all_machs.
-       * misc.exp: Likewise.
-
-1998-12-14  Doug Evans  <devans@casey.cygnus.com>
-
-       * hello.ms: Add trailing \n to expected output.
-       * hw-trap.ms: Ditto.
-
-       * trap.cgs: Properly align trap2_handler.
-
-       * uread16.ms: New testcase.
-       * uread32.ms: New testcase.
-       * uwrite16.ms: New testcase.
-       * uwrite32.ms: New testcase.
-
-Tue Sep 15 14:56:22 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * testutils.inc (test_h_gr): Use mvaddr_h_gr.
-       * rte.cgs: Test bbpc,bbpsw.
-       * trap.cgs: Test bbpc,bbpsw.
-
-Wed Jul  1 15:57:54 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * hw-trap.ms: New testcase.
-
-Wed Jun 10 10:53:20 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * addx.cgs: Add another test.
-       * jmp.cgs: Add another test.
-
-Mon Jun  8 16:08:27 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * trap.cgs: Test trap 2.
-
-Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * addx.cgs: Test (-1)+(-1)+1.
-
-Fri Apr 17 16:00:52 1998  Doug Evans  <devans@canuck.cygnus.com>
-
-       * mv[ft]achi.cgs: Fix expected result
-       (sign extension of top 8 bits).
-
-Fri Feb 20 11:00:02 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * unlock.cgs: Fixed test.
-       * mvfc.cgs: Fixed test.
-       * remu.cgs: Fixed test.
-       * bnc24.cgs: Test long BNC instruction.
-       * bnc8.cgs: Test short BNC instruction.
-       * ld-plus.cgs: Test LD instruction.
-       * macwhi.cgs: Test MACWHI instruction.
-       * macwlo.cgs: Test MACWLO instruction.
-       * mulwhi.cgs: Test MULWHI instruction.
-       * mulwlo.cgs: Test MULWLO instruction.
-       * mvfachi.cgs: Test MVFACHI instruction.
-       * mvfaclo.cgs: Test MVFACLO instruction.
-       * mvtaclo.cgs: Test MVTACLO instruction.
-       * addv.cgs: Test ADDV instruction.
-       * addv3.cgs: Test ADDV3 instruction.
-       * addx.cgs: Test ADDX instruction.
-       * lock.cgs: Test LOCK instruction.
-       * neg.cgs: Test NEG instruction.
-       * not.cgs: Test NOT instruction.
-       * unlock.cgs: Test UNLOCK instruction.
-
-Thu Feb 19 11:15:45 1998  Nick Clifton  <nickc@cygnus.com>
-
-       * testutils.inc (mvaddr_h_gr): new macro to load an
-       address into a general register.
-
-       * or3.cgs: Test OR3 instruction.
-       * rach.cgs: Test RACH instruction.
-       * rem.cgs: Test REM instruction.
-       * sub.cgs: Test SUB instruction.
-       * mv.cgs: Test MV instruction.
-       * mul.cgs: Test MUL instruction.
-       * bl24.cgs: Test long BL instruction.
-       * bl8.cgs: Test short BL instruction.
-       * blez.cgs: Test BLEZ instruction.
-       * bltz.cgs: Test BLTZ instruction.
-       * bne.cgs: Test BNE instruction.
-       * bnez.cgs: Test BNEZ instruction.
-       * bra24.cgs: Test long BRA instruction.
-       * bra8.cgs: Test short BRA instruction.
-       * jl.cgs: Test JL instruction.
-       * or.cgs: Test OR instruction.
-       * jmp.cgs: Test JMP instruction.
-       * and.cgs: Test AND instruction.
-       * and3.cgs: Test AND3 instruction.
-       * beq.cgs: Test BEQ instruction.
-       * beqz.cgs: Test BEQZ instruction.
-       * bgez.cgs: Test BGEZ instruction.
-       * bgtz.cgs: Test BGTZ instruction.
-       * cmp.cgs: Test CMP instruction.
-       * cmpi.cgs: Test CMPI instruction.
-       * cmpu.cgs: Test CMPU instruction.
-       * cmpui.cgs: Test CMPUI instruction.
-       * div.cgs: Test DIV instruction.
-       * divu.cgs: Test DIVU instruction.
-       * cmpeq.cgs: Test CMPEQ instruction.
-       * sll.cgs: Test SLL instruction.
-       * sll3.cgs: Test SLL3 instruction.
-       * slli.cgs: Test SLLI instruction.
-       * sra.cgs: Test SRA instruction.
-       * sra3.cgs: Test SRA3 instruction.
-       * srai.cgs: Test SRAI instruction.
-       * srl.cgs: Test SRL instruction.
-       * srl3.cgs: Test SRL3 instruction.
-       * srli.cgs: Test SRLI instruction.
-       * xor3.cgs: Test XOR3 instruction.
-       * xor.cgs: Test XOR instruction.
-
-Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
-
-       * *: m32r dejagnu simulator testsuite.
diff --git a/sim/testsuite/m32r/ChangeLog-2021 b/sim/testsuite/m32r/ChangeLog-2021
new file mode 100644 (file)
index 0000000..535435a
--- /dev/null
@@ -0,0 +1,140 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * hw-trap.ms: Run sim with --environment virtual.
+       * trap.cgs: Likewise.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+       * misc.exp: Likewise.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, misc.exp: Define arch.
+
+2021-01-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * exit47.ms: New testcase from ../../m32r-elf/.
+
+1999-04-21  Doug Evans  <devans@casey.cygnus.com>
+
+       * nop.cgs: Add missing nop insn.
+
+1999-01-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * allinsn.exp: Set all_machs.
+       * misc.exp: Likewise.
+
+1998-12-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * hello.ms: Add trailing \n to expected output.
+       * hw-trap.ms: Ditto.
+
+       * trap.cgs: Properly align trap2_handler.
+
+       * uread16.ms: New testcase.
+       * uread32.ms: New testcase.
+       * uwrite16.ms: New testcase.
+       * uwrite32.ms: New testcase.
+
+Tue Sep 15 14:56:22 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * testutils.inc (test_h_gr): Use mvaddr_h_gr.
+       * rte.cgs: Test bbpc,bbpsw.
+       * trap.cgs: Test bbpc,bbpsw.
+
+Wed Jul  1 15:57:54 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * hw-trap.ms: New testcase.
+
+Wed Jun 10 10:53:20 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * addx.cgs: Add another test.
+       * jmp.cgs: Add another test.
+
+Mon Jun  8 16:08:27 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * trap.cgs: Test trap 2.
+
+Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * addx.cgs: Test (-1)+(-1)+1.
+
+Fri Apr 17 16:00:52 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * mv[ft]achi.cgs: Fix expected result
+       (sign extension of top 8 bits).
+
+Fri Feb 20 11:00:02 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * unlock.cgs: Fixed test.
+       * mvfc.cgs: Fixed test.
+       * remu.cgs: Fixed test.
+       * bnc24.cgs: Test long BNC instruction.
+       * bnc8.cgs: Test short BNC instruction.
+       * ld-plus.cgs: Test LD instruction.
+       * macwhi.cgs: Test MACWHI instruction.
+       * macwlo.cgs: Test MACWLO instruction.
+       * mulwhi.cgs: Test MULWHI instruction.
+       * mulwlo.cgs: Test MULWLO instruction.
+       * mvfachi.cgs: Test MVFACHI instruction.
+       * mvfaclo.cgs: Test MVFACLO instruction.
+       * mvtaclo.cgs: Test MVTACLO instruction.
+       * addv.cgs: Test ADDV instruction.
+       * addv3.cgs: Test ADDV3 instruction.
+       * addx.cgs: Test ADDX instruction.
+       * lock.cgs: Test LOCK instruction.
+       * neg.cgs: Test NEG instruction.
+       * not.cgs: Test NOT instruction.
+       * unlock.cgs: Test UNLOCK instruction.
+
+Thu Feb 19 11:15:45 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * testutils.inc (mvaddr_h_gr): new macro to load an
+       address into a general register.
+
+       * or3.cgs: Test OR3 instruction.
+       * rach.cgs: Test RACH instruction.
+       * rem.cgs: Test REM instruction.
+       * sub.cgs: Test SUB instruction.
+       * mv.cgs: Test MV instruction.
+       * mul.cgs: Test MUL instruction.
+       * bl24.cgs: Test long BL instruction.
+       * bl8.cgs: Test short BL instruction.
+       * blez.cgs: Test BLEZ instruction.
+       * bltz.cgs: Test BLTZ instruction.
+       * bne.cgs: Test BNE instruction.
+       * bnez.cgs: Test BNEZ instruction.
+       * bra24.cgs: Test long BRA instruction.
+       * bra8.cgs: Test short BRA instruction.
+       * jl.cgs: Test JL instruction.
+       * or.cgs: Test OR instruction.
+       * jmp.cgs: Test JMP instruction.
+       * and.cgs: Test AND instruction.
+       * and3.cgs: Test AND3 instruction.
+       * beq.cgs: Test BEQ instruction.
+       * beqz.cgs: Test BEQZ instruction.
+       * bgez.cgs: Test BGEZ instruction.
+       * bgtz.cgs: Test BGTZ instruction.
+       * cmp.cgs: Test CMP instruction.
+       * cmpi.cgs: Test CMPI instruction.
+       * cmpu.cgs: Test CMPU instruction.
+       * cmpui.cgs: Test CMPUI instruction.
+       * div.cgs: Test DIV instruction.
+       * divu.cgs: Test DIVU instruction.
+       * cmpeq.cgs: Test CMPEQ instruction.
+       * sll.cgs: Test SLL instruction.
+       * sll3.cgs: Test SLL3 instruction.
+       * slli.cgs: Test SLLI instruction.
+       * sra.cgs: Test SRA instruction.
+       * sra3.cgs: Test SRA3 instruction.
+       * srai.cgs: Test SRAI instruction.
+       * srl.cgs: Test SRL instruction.
+       * srl3.cgs: Test SRL3 instruction.
+       * srli.cgs: Test SRLI instruction.
+       * xor3.cgs: Test XOR3 instruction.
+       * xor.cgs: Test XOR instruction.
+
+Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * *: m32r dejagnu simulator testsuite.
diff --git a/sim/testsuite/m68hc11/ChangeLog b/sim/testsuite/m68hc11/ChangeLog
deleted file mode 100644 (file)
index 4c94a66..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/m68hc11/ChangeLog-2021 b/sim/testsuite/m68hc11/ChangeLog-2021
new file mode 100644 (file)
index 0000000..4c94a66
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/mcore/ChangeLog b/sim/testsuite/mcore/ChangeLog
deleted file mode 100644 (file)
index 78f0769..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * fail.s: New test.
-       * testutils.inc (fail): Fix exit code.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/mcore/ChangeLog-2021 b/sim/testsuite/mcore/ChangeLog-2021
new file mode 100644 (file)
index 0000000..78f0769
--- /dev/null
@@ -0,0 +1,16 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * fail.s: New test.
+       * testutils.inc (fail): Fix exit code.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/microblaze/ChangeLog b/sim/testsuite/microblaze/ChangeLog
deleted file mode 100644 (file)
index 205646e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s: Delete output line.
-       * testutils.inc (system_call, write): New macros.
-       (exit): Mark nr required.
-       (pass, fail): Call write
-       * fail.s: New test.
-
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-03-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/microblaze/ChangeLog-2021 b/sim/testsuite/microblaze/ChangeLog-2021
new file mode 100644 (file)
index 0000000..205646e
--- /dev/null
@@ -0,0 +1,19 @@
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s: Delete output line.
+       * testutils.inc (system_call, write): New macros.
+       (exit): Mark nr required.
+       (pass, fail): Call write
+       * fail.s: New test.
+
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/mips/ChangeLog b/sim/testsuite/mips/ChangeLog
deleted file mode 100644 (file)
index b64f691..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * basic.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * basic.exp: Define arch.
-
-2016-01-06  Joel Brobecker  <brobecker@adacore.com>
-
-       * hilo-hazard-4.s: Change copyright ownder to FSF.
-
-2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
-           Ali Lown  <ali.lown@imgtec.com>
-
-       * basic.exp (run_micromips_test, run_sim_tests): New functions
-       Add support for micromips tests.
-       * hilo-hazard-4.s: New file.
-       * testutils.inc (_dowrite): Changed reserved instruction encoding.
-       (writemsg): Moved the la and li instructions before the data they are
-       assigned to, which prevents a bug where MIPS32 relocations are used
-       instead of micromips relocations when building for micromips.
-
-2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
-
-       * basic.exp: Don't unset target ldscript here.
-
-2011-01-06  Hans-Peter Nilsson  <hp@axis.com>
-
-       * testutils.inc: Correct comment syntax fallout from
-       copyright update.
-       * utils-dsp.inc, utils-fpu.inc, utils-mdmx.inc: Ditto.
-
-       * mips32-dsp.s: Update copyright year.
-
-2010-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * basic.exp: Delete sim target check.
-
-2007-08-27  Joel Brobecker  <brobecker@adacore.com>
-
-       * testutils.inc: Change license to GPL version 3.
-       * utils-dsp.inc: Change license to GPL version 3.
-       * utils-fpu.inc: Change license to GPL version 3.
-       * utils-mdmx.inc: Change license to GPL version 3.
-
-2007-02-20  Thiemo Seufer  <ths@mips.com>
-           Chao-Ying Fu  <fu@mips.com>
-       * basic.exp: Run the dsp2 test.
-       * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
-       * mips32-dsp2.s: New test.
-
-2007-02-17  Thiemo Seufer  <ths@mips.com>
-
-       * basic.exp: Add case for mips*-sde-elf*.
-       (mdmxmodels): Run mdmx tests only on mdmx capable configurations.
-
-2007-02-13  Thiemo Seufer  <ths@mips.com>
-
-       * mips32-dsp.s: Run DSP testcase only for release 2 architecture.
-
-2007-02-13  Thiemo Seufer  <ths@mips.com>
-
-       * mdmx-ob.s: Delete extraneous include.
-
-2006-11-08  Thiemo Seufer  <ths@mips.com>
-
-       * basic.exp: Fix spelling in comment. Use canonical form of target
-       patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2
-       and mips64r2 if supported by the target.
-
-2006-08-08  Chris Dearman  <chris@mips.com>
-
-       * testutils.inc (setup): __start is also a valid start symbol.
-
-2006-05-15  Chao-ying Fu  <fu@mips.com>
-
-       * mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,
-       shrav_r.w.
-
-2005-12-14  Chao-ying Fu  <fu@mips.com>
-
-       * basic.exp: Run the dsp test.
-       * utils-dsp.inc: New file.
-       * mips32-dsp.s: New test.
-
-2004-04-11  Chris Demetriou  <cgd@broadcom.com>
-
-       * utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros.
-       (clrset_fp_cc): Fix mask used for upper 7 condition codes.
-       * utils-mdmx.inc: Include utils-fpu.inc.
-       (enable_mdmx): Use enable_fpu.
-
-2004-04-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * utils-fpu.inc: New file.
-       * utils-mdmx.inc: New file.
-       * mdmx-ob.s: New file.
-       * mdmx-ob-sb1.s: New file.
-       * basic.exp: Run new mdmx-ob and mdmx-ob-sb1 tests.
-
-2004-04-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * fpu64-ps-sb1.s: New file.
-       * basic.exp: Recognize mipsisa64sb1 targets, and run fpu64-ps-sb1.s
-       if appropriate.
-
-2004-04-10  Chris Demetriou  <cgd@broadcom.com>
-
-       * fpu64-ps.s: New file.
-       * basic.exp: Run fpu64-ps.s.
-
-2004-03-29  Richard Sandiford  <rsandifo@redhat.com>
-
-       * hilo-hazard-[123].s: New files.
-       * basic.exp (run_hilo_test): New procedure.
-       (models): Only list models that are included in the configuration.
-       (submodels): New variable, set to submodels of the above.
-       (mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
-       Run hilo-hazard-[123].s.
-
-2004-01-26  Chris Demetriou  <cgd@broadcom.com>
-
-       * basic.exp: New file.
-       * testutils.inc: New file.
-       * sanity.s: New file.
diff --git a/sim/testsuite/mips/ChangeLog-2021 b/sim/testsuite/mips/ChangeLog-2021
new file mode 100644 (file)
index 0000000..b64f691
--- /dev/null
@@ -0,0 +1,126 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * basic.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * basic.exp: Define arch.
+
+2016-01-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * hilo-hazard-4.s: Change copyright ownder to FSF.
+
+2015-09-25  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Ali Lown  <ali.lown@imgtec.com>
+
+       * basic.exp (run_micromips_test, run_sim_tests): New functions
+       Add support for micromips tests.
+       * hilo-hazard-4.s: New file.
+       * testutils.inc (_dowrite): Changed reserved instruction encoding.
+       (writemsg): Moved the la and li instructions before the data they are
+       assigned to, which prevents a bug where MIPS32 relocations are used
+       instead of micromips relocations when building for micromips.
+
+2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * basic.exp: Don't unset target ldscript here.
+
+2011-01-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testutils.inc: Correct comment syntax fallout from
+       copyright update.
+       * utils-dsp.inc, utils-fpu.inc, utils-mdmx.inc: Ditto.
+
+       * mips32-dsp.s: Update copyright year.
+
+2010-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * basic.exp: Delete sim target check.
+
+2007-08-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * testutils.inc: Change license to GPL version 3.
+       * utils-dsp.inc: Change license to GPL version 3.
+       * utils-fpu.inc: Change license to GPL version 3.
+       * utils-mdmx.inc: Change license to GPL version 3.
+
+2007-02-20  Thiemo Seufer  <ths@mips.com>
+           Chao-Ying Fu  <fu@mips.com>
+       * basic.exp: Run the dsp2 test.
+       * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
+       * mips32-dsp2.s: New test.
+
+2007-02-17  Thiemo Seufer  <ths@mips.com>
+
+       * basic.exp: Add case for mips*-sde-elf*.
+       (mdmxmodels): Run mdmx tests only on mdmx capable configurations.
+
+2007-02-13  Thiemo Seufer  <ths@mips.com>
+
+       * mips32-dsp.s: Run DSP testcase only for release 2 architecture.
+
+2007-02-13  Thiemo Seufer  <ths@mips.com>
+
+       * mdmx-ob.s: Delete extraneous include.
+
+2006-11-08  Thiemo Seufer  <ths@mips.com>
+
+       * basic.exp: Fix spelling in comment. Use canonical form of target
+       patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2
+       and mips64r2 if supported by the target.
+
+2006-08-08  Chris Dearman  <chris@mips.com>
+
+       * testutils.inc (setup): __start is also a valid start symbol.
+
+2006-05-15  Chao-ying Fu  <fu@mips.com>
+
+       * mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,
+       shrav_r.w.
+
+2005-12-14  Chao-ying Fu  <fu@mips.com>
+
+       * basic.exp: Run the dsp test.
+       * utils-dsp.inc: New file.
+       * mips32-dsp.s: New test.
+
+2004-04-11  Chris Demetriou  <cgd@broadcom.com>
+
+       * utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros.
+       (clrset_fp_cc): Fix mask used for upper 7 condition codes.
+       * utils-mdmx.inc: Include utils-fpu.inc.
+       (enable_mdmx): Use enable_fpu.
+
+2004-04-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * utils-fpu.inc: New file.
+       * utils-mdmx.inc: New file.
+       * mdmx-ob.s: New file.
+       * mdmx-ob-sb1.s: New file.
+       * basic.exp: Run new mdmx-ob and mdmx-ob-sb1 tests.
+
+2004-04-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * fpu64-ps-sb1.s: New file.
+       * basic.exp: Recognize mipsisa64sb1 targets, and run fpu64-ps-sb1.s
+       if appropriate.
+
+2004-04-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * fpu64-ps.s: New file.
+       * basic.exp: Run fpu64-ps.s.
+
+2004-03-29  Richard Sandiford  <rsandifo@redhat.com>
+
+       * hilo-hazard-[123].s: New files.
+       * basic.exp (run_hilo_test): New procedure.
+       (models): Only list models that are included in the configuration.
+       (submodels): New variable, set to submodels of the above.
+       (mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
+       Run hilo-hazard-[123].s.
+
+2004-01-26  Chris Demetriou  <cgd@broadcom.com>
+
+       * basic.exp: New file.
+       * testutils.inc: New file.
+       * sanity.s: New file.
diff --git a/sim/testsuite/mn10300/ChangeLog b/sim/testsuite/mn10300/ChangeLog
deleted file mode 100644 (file)
index 4c94a66..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/mn10300/ChangeLog-2021 b/sim/testsuite/mn10300/ChangeLog-2021
new file mode 100644 (file)
index 0000000..4c94a66
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/moxie/ChangeLog b/sim/testsuite/moxie/ChangeLog
deleted file mode 100644 (file)
index 4c94a66..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2015-04-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/moxie/ChangeLog-2021 b/sim/testsuite/moxie/ChangeLog-2021
new file mode 100644 (file)
index 0000000..4c94a66
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2015-04-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * pass.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/msp430/ChangeLog b/sim/testsuite/msp430/ChangeLog
deleted file mode 100644 (file)
index ebb42c5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
-
-       * mpyull_hwmult.s: New test.
-
-2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
-
-       * rrux.s: New test.
-
-2016-01-05  Nick Clifton  <nickc@redhat.com>
-
-       * testutils.inc (__pass): Use the LMA addresses of the _passmsg
-       symbol.
-       (__fail): Likewise.
-
-2014-03-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * add.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/msp430/ChangeLog-2021 b/sim/testsuite/msp430/ChangeLog-2021
new file mode 100644 (file)
index 0000000..ebb42c5
--- /dev/null
@@ -0,0 +1,25 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * mpyull_hwmult.s: New test.
+
+2020-01-22  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * rrux.s: New test.
+
+2016-01-05  Nick Clifton  <nickc@redhat.com>
+
+       * testutils.inc (__pass): Use the LMA addresses of the _passmsg
+       symbol.
+       (__fail): Likewise.
+
+2014-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * add.s, allinsn.exp, testutils.inc: New files.
diff --git a/sim/testsuite/or1k/ChangeLog b/sim/testsuite/or1k/ChangeLog
deleted file mode 100644 (file)
index b105c0f..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * alltests.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * alltests.exp: Define arch.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * fpu-unordered.S: New file.
-       * fpu64a32-unordered.S: New file.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * adrp.S: New file.
-
-2019-06-13  Stafford Horne  <shorne@gmail.com>
-
-       * fpu64a32.S: New file.
-
-2018-10-05  Stafford Horne  <shorne@gmail.com>
-
-       * div.S: Fix tests to match correct overflow/carry semantics.
-       * mul.S: Likewise.
-
-2017-12-12  Peter Gavin  <pgavin@gmail.com>
-           Stafford Horne <shorne@gmail.com>
-
-       * add.S: New file.
-       * alltests.exp: New file.
-       * and.S: New file.
-       * basic.S: New file.
-       * div.S: New file.
-       * ext.S: New file.
-       * find.S: New file.
-       * flag.S: New file.
-       * fpu.S: New file.
-       * jump.S: New file.
-       * load.S: New file.
-       * mac.S: New file.
-       * mfspr.S: New file.
-       * mul.S: New file.
-       * or.S: New file.
-       * or1k-asm-test-env.h: New file.
-       * or1k-asm-test-helpers.h: New file.
-       * or1k-asm-test.h: New file.
-       * or1k-asm.h: New file.
-       * or1k-test.ld: New file.
-       * ror.S: New file.
-       * shift.S: New file.
-       * spr-defs.h: New file.
-       * sub.S: New file.
-       * xor.S: New file.
diff --git a/sim/testsuite/or1k/ChangeLog-2021 b/sim/testsuite/or1k/ChangeLog-2021
new file mode 100644 (file)
index 0000000..b105c0f
--- /dev/null
@@ -0,0 +1,54 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * alltests.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * alltests.exp: Define arch.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * fpu-unordered.S: New file.
+       * fpu64a32-unordered.S: New file.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * adrp.S: New file.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * fpu64a32.S: New file.
+
+2018-10-05  Stafford Horne  <shorne@gmail.com>
+
+       * div.S: Fix tests to match correct overflow/carry semantics.
+       * mul.S: Likewise.
+
+2017-12-12  Peter Gavin  <pgavin@gmail.com>
+           Stafford Horne <shorne@gmail.com>
+
+       * add.S: New file.
+       * alltests.exp: New file.
+       * and.S: New file.
+       * basic.S: New file.
+       * div.S: New file.
+       * ext.S: New file.
+       * find.S: New file.
+       * flag.S: New file.
+       * fpu.S: New file.
+       * jump.S: New file.
+       * load.S: New file.
+       * mac.S: New file.
+       * mfspr.S: New file.
+       * mul.S: New file.
+       * or.S: New file.
+       * or1k-asm-test-env.h: New file.
+       * or1k-asm-test-helpers.h: New file.
+       * or1k-asm-test.h: New file.
+       * or1k-asm.h: New file.
+       * or1k-test.ld: New file.
+       * ror.S: New file.
+       * shift.S: New file.
+       * spr-defs.h: New file.
+       * sub.S: New file.
+       * xor.S: New file.
diff --git a/sim/testsuite/pru/ChangeLog b/sim/testsuite/pru/ChangeLog
deleted file mode 100644 (file)
index a10ff0b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2020-11-12  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * lmbd.s: New test.
-
-2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
-
-       * add.s: New test.
-       * allinsn.exp: New file.
-       * dmem-zero-pass.s: New test.
-       * dmem-zero-trap.s: New test.
-       * dram.s: New test.
-       * jmp.s: New test.
-       * loop-imm.s: New test.
-       * loop-reg.s: New test.
-       * mul.s: New test.
-       * subreg.s: New test.
-       * testutils.inc: New file.
diff --git a/sim/testsuite/pru/ChangeLog-2021 b/sim/testsuite/pru/ChangeLog-2021
new file mode 100644 (file)
index 0000000..a10ff0b
--- /dev/null
@@ -0,0 +1,25 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2020-11-12  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * lmbd.s: New test.
+
+2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * add.s: New test.
+       * allinsn.exp: New file.
+       * dmem-zero-pass.s: New test.
+       * dmem-zero-trap.s: New test.
+       * dram.s: New test.
+       * jmp.s: New test.
+       * loop-imm.s: New test.
+       * loop-reg.s: New test.
+       * mul.s: New test.
+       * subreg.s: New test.
+       * testutils.inc: New file.
diff --git a/sim/testsuite/riscv/ChangeLog b/sim/testsuite/riscv/ChangeLog
deleted file mode 100644 (file)
index 9d7feba..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2021-02-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp, pass.s, testutils.inc: New files.
diff --git a/sim/testsuite/riscv/ChangeLog-2021 b/sim/testsuite/riscv/ChangeLog-2021
new file mode 100644 (file)
index 0000000..9d7feba
--- /dev/null
@@ -0,0 +1,11 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2021-02-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, pass.s, testutils.inc: New files.
diff --git a/sim/testsuite/sh/ChangeLog b/sim/testsuite/sh/ChangeLog
deleted file mode 100644 (file)
index 0e1f200..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsn.exp: Define arch.
-
-2004-09-13  DJ Delorie  <dj@redhat.com>
-
-       * sim/sh/allinsn.exp: Set global_as_options and
-       global_ld_options appropriately for little endian builds.
-       * sim/sh/movua.s: Support little endian.
-
-2004-09-08  Michael Snyder  <msnyder@redhat.com>
-
-       Commited by Corinna Vinschen <vinschen@redhat.com>
-       * allinsn.exp: Add new tests.
-       * bandor.s: New file.
-       * bandornot.s: New file.
-       * bclr.s: New file.
-       * bld.s: New file.
-       * bldnot.s: New file.
-       * bset.s: New file.
-       * bst.s: New file.
-       * bxor.s: New file.
-       * clip.s: New file.
-       * div.s: New file.
-       * fail.s: New file, make sure fail works.
-       * fsca.s: New file.
-       * fsrra.s: New file.
-       * mov.s: New file.
-       * mulr.s: New file.
-       * pass.s: New file, make sure pass works.
-       * pushpop.s: New file.
-       * resbank.s: New file.
-       * testutils.inc (bf8k, bt8k, assertmem): New macros.
-
-2004-02-12  Michael Snyder  <msnyder@redhat.com>
-
-       * and.s, movi.s, sett.s: New files.
-       * allinsn.exp: Add new tests.
-       * testutils.inc (set_sr_bit): Fix macro labels.
-
-2004-01-07  Michael Snyder  <msnyder@redhat.com>
-
-       * dmxy.s, fipr.s, fpchg.s, ldrc.s, loop.s, movli.s, movua.s,
-       movxy.s, pabs.s, pclr.s, prnd.s, psub.s, pswap.s: New files.
-       * allinsn.exp: Add new tests.
-       * testutils.inc (set_sr_bit): Add argument.
-       (set_greg): Add .align directives.
-
-2003-08-11  Michael Snyder  <msnyder@redhat.com>
-
-       * macl.s: New file.
-       * macw.s: New file.
-       * allinsn.exp: Add new tests for mac.w and mac.l.
-
-2003-07-25  Michael Snyder  <msnyder@redhat.com>
-
-       * pshai.s, pshar.s, pshli.s, pshlr.s: New files.
-       * allinsn.exp: Add psha, pshl tests.
-       * pdec.s, pinc.s, padd.s, paddc.s: New files.
-       * allinsn.exp: Add pdec, pinc, padd, paddc tests.
-       * pand.s, pdmsb.s: New files.
-       * allinsn.exp: Add pand, pdmsb tests.
-
-2003-07-23  Michael Snyder  <msnyder@redhat.com>
-
-       * pmuls.s: New file.
-
-2003-07-08  Michael Snyder  <msnyder@redhat.com>
-
-       * allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
-       fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
-       float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
-       fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
-       shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
-
-Local Variables:
-mode: change-log
-left-margin: 8
-fill-column: 74
-version-control: never
-End:
diff --git a/sim/testsuite/sh/ChangeLog-2021 b/sim/testsuite/sh/ChangeLog-2021
new file mode 100644 (file)
index 0000000..0e1f200
--- /dev/null
@@ -0,0 +1,85 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
+2004-09-13  DJ Delorie  <dj@redhat.com>
+
+       * sim/sh/allinsn.exp: Set global_as_options and
+       global_ld_options appropriately for little endian builds.
+       * sim/sh/movua.s: Support little endian.
+
+2004-09-08  Michael Snyder  <msnyder@redhat.com>
+
+       Commited by Corinna Vinschen <vinschen@redhat.com>
+       * allinsn.exp: Add new tests.
+       * bandor.s: New file.
+       * bandornot.s: New file.
+       * bclr.s: New file.
+       * bld.s: New file.
+       * bldnot.s: New file.
+       * bset.s: New file.
+       * bst.s: New file.
+       * bxor.s: New file.
+       * clip.s: New file.
+       * div.s: New file.
+       * fail.s: New file, make sure fail works.
+       * fsca.s: New file.
+       * fsrra.s: New file.
+       * mov.s: New file.
+       * mulr.s: New file.
+       * pass.s: New file, make sure pass works.
+       * pushpop.s: New file.
+       * resbank.s: New file.
+       * testutils.inc (bf8k, bt8k, assertmem): New macros.
+
+2004-02-12  Michael Snyder  <msnyder@redhat.com>
+
+       * and.s, movi.s, sett.s: New files.
+       * allinsn.exp: Add new tests.
+       * testutils.inc (set_sr_bit): Fix macro labels.
+
+2004-01-07  Michael Snyder  <msnyder@redhat.com>
+
+       * dmxy.s, fipr.s, fpchg.s, ldrc.s, loop.s, movli.s, movua.s,
+       movxy.s, pabs.s, pclr.s, prnd.s, psub.s, pswap.s: New files.
+       * allinsn.exp: Add new tests.
+       * testutils.inc (set_sr_bit): Add argument.
+       (set_greg): Add .align directives.
+
+2003-08-11  Michael Snyder  <msnyder@redhat.com>
+
+       * macl.s: New file.
+       * macw.s: New file.
+       * allinsn.exp: Add new tests for mac.w and mac.l.
+
+2003-07-25  Michael Snyder  <msnyder@redhat.com>
+
+       * pshai.s, pshar.s, pshli.s, pshlr.s: New files.
+       * allinsn.exp: Add psha, pshl tests.
+       * pdec.s, pinc.s, padd.s, paddc.s: New files.
+       * allinsn.exp: Add pdec, pinc, padd, paddc tests.
+       * pand.s, pdmsb.s: New files.
+       * allinsn.exp: Add pand, pdmsb tests.
+
+2003-07-23  Michael Snyder  <msnyder@redhat.com>
+
+       * pmuls.s: New file.
+
+2003-07-08  Michael Snyder  <msnyder@redhat.com>
+
+       * allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
+       fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
+       float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
+       fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
+       shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/sim/testsuite/v850/ChangeLog b/sim/testsuite/v850/ChangeLog
deleted file mode 100644 (file)
index 5e9ddbe..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-2021-04-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsns.exp (arch): Delete.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * allinsns.exp: Define arch.
-
-2008-02-05  DJ Delorie  <dj@redhat.com>
-
-       * .: New directory.
-       * allinsns.exp: New.
-       * bsh.cgs: New.
-       * div.cgs: New.
-       * divh.cgs: New.
-       * divh_3.cgs: New.
-       * divhu.cgs: New.
-       * divu.cgs: New.
-       * sar.cgs: New.
-       * satadd.cgs: New.
-       * satsub.cgs: New.
-       * satsubi.cgs: New.
-       * satsubr.cgs: New.
-       * shl.cgs: New.
-       * shr.cgs: New.
-       * testutils.cgs: New.
-       * testutils.inc: New.
diff --git a/sim/testsuite/v850/ChangeLog-2021 b/sim/testsuite/v850/ChangeLog-2021
new file mode 100644 (file)
index 0000000..5e9ddbe
--- /dev/null
@@ -0,0 +1,27 @@
+2021-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsns.exp (arch): Delete.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsns.exp: Define arch.
+
+2008-02-05  DJ Delorie  <dj@redhat.com>
+
+       * .: New directory.
+       * allinsns.exp: New.
+       * bsh.cgs: New.
+       * div.cgs: New.
+       * divh.cgs: New.
+       * divh_3.cgs: New.
+       * divhu.cgs: New.
+       * divu.cgs: New.
+       * sar.cgs: New.
+       * satadd.cgs: New.
+       * satsub.cgs: New.
+       * satsubi.cgs: New.
+       * satsubr.cgs: New.
+       * shl.cgs: New.
+       * shr.cgs: New.
+       * testutils.cgs: New.
+       * testutils.inc: New.
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
deleted file mode 100644 (file)
index aaa6866..0000000
+++ /dev/null
@@ -1,1924 +0,0 @@
-2021-07-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-22  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_COMMON): Delete.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-20  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
-
-2021-06-19  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * simops.c: Include sim-signal.h.
-
-2021-06-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
-       * interp.c (sim_open): Set current_target_byte_order.
-       * aclocal.m4, configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-06-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-       * config.in: Removed.
-
-2021-06-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Delete calls to AC_CHECK_FUNCS_ONCE and
-       AC_CHECK_HEADERS_ONCE.
-       * config.in, configure: Regenerate.
-
-2021-06-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
-       with $(IGEN).
-
-2021-06-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_FUNCS_ONCE): Remove chown.
-       * simops.c (OP_10007E0): Remove HAVE_CHOWN check.
-       * config.in, configure: Regenerate.
-
-2021-05-29  Mike Frysinger  <vapier@gentoo.org>
-
-       * simops.c (OP_10007E0): Add (void*) casts to argv & envp.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
-
-2021-05-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
-       (struct sim_state): Delete.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c, simops.c: Include defs.h.
-       * sim-main.h: Delete config.h include.
-
-2021-05-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-05-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * interp.c (sim_open): Adjust format string specifier.
-
-2021-05-01  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2021-04-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure, config.in: Rebuild.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (INCLUDE): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * Makefile.in (interp.o, simops.o, semantics.o): Remove.
-
-2021-04-22  Tom Tromey  <tom@tromey.com>
-
-       * configure: Rebuild.
-
-2021-04-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: Regenerate.
-
-2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
-       * configure: Regenerate.
-
-2021-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
-       delete time.
-       * configure: Regenerate.
-
-2021-04-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
-
-2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
-
-       * Makefile.in: Set ASAN_OPTIONS when running igen.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (../igen/igen): Delete rule.
-       (tmp-igen): Delete ../igen make.
-
-2021-04-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-28  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-02-21  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
-       * aclocal.m4, configure: Regenerate.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
-
-2021-02-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * simops.c: Include stdlib.h.
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
-       * configure: Regenerate.
-
-2021-01-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * simops.c (OP_10007E0): Change reterr to RETERR.
-
-2021-01-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
-
-2021-01-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
-       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
-       * configure: Regenerate.
-
-2021-01-08  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2021-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2017-09-06  John Baldwin  <jhb@FreeBSD.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-10  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-09  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2016-01-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Mark argv const.
-       (sim_create_inferior): Mark argv and env const.
-
-2016-01-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_open): Update sim_parse_args comment.
-
-2016-01-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
-       * configure: Regenerate.
-
-2016-01-02  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
-       LITTLE.
-       * configure: Regenerate.
-
-2015-12-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * wrapper.c (v850_reg_store, v850_reg_fetch): Define.
-       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
-       (sim_store_register): Rename to ...
-       (v850_reg_store): ... this.
-       (sim_fetch_register): Rename to ...
-       (v850_reg_fetch): ... this.
-
-2015-12-27  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
-
-2015-12-26  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-12-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_WATCHPOINTS): Delete.
-
-2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
-
-       * simops.c (v850_bins): Fix left shift of negative value.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_CORE): Delete.
-
-2015-11-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (WITH_MODULO_MEMORY): Delete.
-
-2015-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
-
-2015-11-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_close): Delete.
-
-2015-06-23  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-12  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-06-11  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (INLINE): Delete define.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (SIM_CPU): Delete.
-
-2015-04-18  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (sim_cia): Delete.
-
-2015-04-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * sim-main.h (CIA_GET, CIA_SET): Delete.
-
-2015-04-15  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
-       * sim-main.h (STATE_CPU): Delete.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2015-04-13  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
-       * interp.c (v850_pc_get, v850_pc_set): New functions.
-       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
-       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
-       (sim_pc_get): Delete.
-       * sim-main.h (SIM_CPU): Define.
-       (struct sim_state): Change cpu to an array of pointers.
-       (STATE_CPU): Drop &.
-
-2015-04-06  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
-
-2015-03-31  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_pc_get): New function.
-
-2015-03-16  Mike Frysinger  <vapier@gentoo.org>
-
-       * config.in, configure: Regenerate.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * Makefile.in (SIM_RUN_OBJS): Delete.
-
-2015-03-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
-       string.h & strings.h & time.h.
-       * aclocal.m4, configure: Regenerate.
-
-2015-02-27  Nick Clifton  <nickc@redhat.com>
-
-       * sim-main.h (reg64_t): New type.
-       (v850_regs): Add selID_sregs field.
-       (VR, SAT16, SAT32, ABS16, ABS32 ): New macros.
-       * v850-dc: Add fields for v850e3v5 instructions.
-       * v850.igen (cvtf.dl): Use correctly signed local value.
-       (cvtf.dw, cvtf.sw, trncf.dul, trncf.dl, trncf.sul, trncf.sw):
-       Likewise.
-       * interp.c: Fix old style function declarations.
-       * simops.c: Likewise.
-
-2015-02-24  Nick Clifton  <nickc@redhat.com>
-
-       * v850.igen: Add more e3v5 support.
-       (FMAF.S): New pattern.
-       (FMSF.S): New pattern.
-       (FNMAF.S): New pattern.
-       (FNMSF.S): New pattern.
-       (cnvq15q30): New pattern.
-       (cnvq30q15): New pattern.
-       (cnvq31q62): New pattern.
-       (cnvq62q31): New pattern.
-       (dup.h): New pattern.
-       (dup.w): New pattern.
-       (expq31): New pattern.
-       (modadd): New pattern.
-       (mov.dw): New pattern.
-       (mov.h): New pattern.
-       (mov.w): New pattern.
-       (pki16i32): New pattern.
-       (pki16ui8): New pattern.
-       (pki32i16): New pattern.
-       (pki64i32): New pattern.
-       (pkq15q31): New pattern.
-       (pkq30q31): New pattern.
-       (pkq31q15): New pattern.
-       (pkui8i16): New pattern.
-       (vabs.h): New pattern.
-       (vabs.w): New pattern.
-       (vadd.dw): New placeholder pattern.
-       (vadd.h): New placeholder pattern.
-       (vadd.w): New placeholder pattern.
-       (vadds.h): New placeholder pattern.
-       (vadds.w): New placeholder pattern.
-       (vaddsat.h): New placeholder pattern.
-       (vaddsat.w): New placeholder pattern.
-       (vand): New pattern.
-       (vbiq.h): New placeholder pattern.
-       (vbswap.dw): New placeholder pattern.
-       (vbswap.h): New placeholder pattern.
-       (vbswap.w): New placeholder pattern.
-       (vcalc.h): New placeholder pattern.
-       (vcalc.w): New placeholder pattern.
-       (vcmov): New placeholder pattern.
-
-2014-08-19  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2014-08-15  Roland McGrath  <mcgrathr@google.com>
-
-       * configure: Regenerate.
-       * config.in: Regenerate.
-
-2014-03-04  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure: Regenerate.
-
-2013-09-23  Alan Modra  <amodra@gmail.com>
-
-       * configure: Regenerate.
-
-2013-06-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, configure: Regenerate.
-
-2013-05-13  Nick Clifton  <nickc@redhat.com>
-
-       * v850.igen (LDSR): Accept but ignore a selID parameter.
-
-2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
-
-       * configure: Rebuild.
-
-2013-01-28  Nick Clifton  <nickc@redhat.com>
-
-       * simops.c (v850_rotl): New function.
-       (v850_bins): New function.
-       * simops.h: Add prototypes fir v850_rotl and v850_bins.
-       * v850-dc: Add entries for V850e3v5.
-       * v850.igen: Add support for v850e3v5.
-       (ld.dw, st.dw, rotl, bins): New patterns.
-
-2013-01-10  Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (sim_open): Add support for bfd_arch_v850_rh850
-       architecture type.  Add support for bfd_mach_v850e2 and
-       bfd_mach_v850e2v3 machine numbers.
-       * v850.igen (dbtrap): Add support for SIM_OPEN_DEBUG.
-       (cmpf.d): Correct order of operands.
-       (cmpf.s): Likewise.
-       (trncf.dul): New pattern.
-       (trncf.duw): New pattern.
-       (trncf.sul): New pattern.
-       (trncf.suw): New pattern.
-       * v850-dc: Correct bitfield selection for TRNCF.SW and CVTF.SW.
-
-2012-09-13  Nick Clifton  <nickc@redhat.com>
-
-       * v850.igen (W,WWWW): Correct computation of register number.
-       (JR32): Remove unnecessary comma.
-       (cmovf.s): Register 0 is an invalid source register.
-       (maddf.s): Remove bogus intermediary rounding.
-       (nmaddf.s): Likewise.
-       (trncf.sl): Remove bogus initial rounding.
-       (trncf.dw): Likewise.
-       (trncf.sl): Likewise.
-       (trncf.sw): Likewise.
-
-2012-06-15  Joel Brobecker  <brobecker@adacore.com>
-
-       * config.in, configure: Regenerate.
-
-2012-03-28  Rathish C  <rathish.c@kpitcummins.com>
-
-       * sim-main.h (struct _v850_regs): Add new fields mpu0_sregs,
-       mpu1_sregs, and fpu_sregs.
-       (MPU0_SR, MPU1_SR, FPU_SR): New macros for accessing new fields
-       in _v850_regs struct.
-       (SP_REGNO): Define.
-       (SP): Redefine using SP_REGNO.
-       (PSW_REGNO, EIIC, FEIC, DBIC, DIR, EIWR, FEWR, DBWR, BSEL, PSW_NPV)
-       (PSW_DMP, PSW_IMP, ECR_EICC, ECR_FECC, FPSR, FPSR_REGNO, FPEPC)
-       (FPST, FPST_REGNO, FPCC, FPCFG, FPCFG_REGNO, FPSR_DEM, FPSR_SEM)
-       (FPSR_RM, FPSR_RN, FPSR_FS, FPSR_PR, FPSR_XC, FPSR_XCE, FPSR_XCV)
-       (FPSR_XCZ, FPSR_XCO, FPSR_XCU, FPSR_XCI, FPSR_XE, FPSR_XEV)
-       (FPSR_XEZ, FPSR_XEO, FPSR_XEU, FPSR_XEI, FPSR_XP, FPSR_XPV)
-       (FPSR_XPZ, FPSR_XPO, FPSR_XPU, FPSR_XPI, FPST_PR, FPST_XCE)
-       (FPST_XCV, FPST_XCZ, FPST_XCO, FPST_XCU, FPST_XCI, FPST_XPV)
-       (FPST_XPZ, FPST_XPO, FPST_XPU, FPST_XPI, FPCFG_RM, FPCFG_XEV)
-       (FPCFG_XEZ, FPCFG_XEO, FPCFG_XEU, FPCFG_XEI, GET_FPCC, CLEAR_FPCC)
-       (SET_FPCC, TEST_FPCC, FPSR_GET_ROUND, MPM, MPC, MPC_REGNO, TID)
-       (PPA, PPM, PPC, DCC, DCV0, DCV1, SPAL, SPAU, IPA0L, IPA0U, IPA1L)
-       (IPA1U, IPA2L, IPA2U, IPA3L, IPA3U, DPA0L, DPA0U, DPA1L, DPA1U)
-       (DPA2L, DPA2U, DPA3L, DPA3U, PPC_PPE, SPAL_SPE, SPAL_SPS, VIP)
-       (VMECR, VMTID, VMADR, VPECR, VPTID, VPADR, VDECR, VDTID, MPM_AUE)
-       (MPM_MPE, VMECR_VMX, VMECR_VMR, VMECR_VMW, VMECR_VMS, VMECR_VMRMW)
-       (VMECR_VMMS, IPA2ADDR, IPA_IPE, IPA_IPX, IPA_IPR, IPE0, IPE1, IPE2)
-       (IPE3, IPX0, IPX1, IPX2, IPX3, IPR0, IPR1, IPR2, IPR3, DPA2ADDR)
-       (DPA_DPE, DPA_DPR, DPA_DPW, DPE0, DPE1, DPE2, DPE3, DPR0, DPR1)
-       (DPR2, DPR3, DPW0, DPW1, DPW2, DPW3, DCC_DCE0, DCC_DCE1, PPA2ADDR)
-       (PPC_PPC, PPC_PPE, PPC_PPM): New macros.
-       (FPU_COMPARE): New enum.
-       (TRACE_FP_INPUT_FPU1, TRACE_FP_INPUT_FPU2, TRACE_FP_INPUT_FPU3)
-       (TRACE_FP_INPUT_BOOL1_FPU2, TRACE_FP_INPUT_WORD2)
-       (TRACE_FP_RESULT_WORD1, TRACE_FP_RESULT_WORD2): New macros.
-       * simops.c (Add32): Update prototype.
-       (update_fpsr): New function.
-       (SignalException): New function.
-       (SignalExceptionFPE): New function.
-       (check_invalid_snan): New function.
-       (v850_float_compare): New function.
-       (v850_div): New function.
-       (v850_divu): New function.
-       (v850_sar): New function.
-       (v850_shl): New function.
-       (v850_shr): New function.
-       (v850_satadd): New function.
-       (v850_satsub): New function.
-       (load_data_mem): New function.
-       (store_data_mem): New function.
-       (mpu_load_mem_test): New function.
-       (mpu_store_mem_test): New function.
-       * simops.h: Add function prototype for above mentioned functions.
-       (check_cvt_fi, check_cvt_if, check_cvt_ff): Define.
-       * v850-dc: Add entry for v850e2 and v850e2v3.
-       * v850.igen: Add support for v850e2 and v850e2v3.
-
-2012-03-24  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4, config.in, configure: Regenerate.
-
-2011-12-03  Mike Frysinger  <vapier@gentoo.org>
-
-       * aclocal.m4: New file.
-       * configure: Regenerate.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change include to common/acinclude.m4.
-
-2011-10-17  Mike Frysinger  <vapier@gentoo.org>
-
-       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
-       call.  Replace common.m4 include with SIM_AC_COMMON.
-       * configure: Regenerate.
-
-2011-07-05  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (sim_do_command): Delete.
-
-2011-03-21  Kevin Buettner  <kevinb@redhat.com>
-
-       * simops (OP_10007E0): Update errno handling as most traps
-       do not invoke the host's functionality directly.  Invoke
-       sim_io_stat() instead of stat() for implementing TARGET_SYS_stat.
-       Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink.
-
-2011-02-14  Mike Frysinger  <vapier@gentoo.org>
-
-       * simops.c (OP_10007E0): Change zfree to free.
-
-2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
-
-       * interp.c (sim_store_register): Update return value to
-       match new API.
-
-2010-03-30  Mike Frysinger  <vapier@gentoo.org>
-
-       * interp.c (interrupt_names): Add const to pointer type.
-       (do_interrupt): Add const to interrupt_name.
-
-2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * configure: Regenerate.
-
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * config.in: Regenerate.
-       * configure: Likewise.
-
-       * configure: Regenerate.
-
-2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate to track ../common/common.m4 changes.
-       * config.in: Ditto.
-
-2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
-           Daniel Jacobowitz  <dan@codesourcery.com>
-           Joseph Myers  <joseph@codesourcery.com>
-
-       * configure: Regenerate.
-
-2008-02-05  DJ Delorie  <dj@redhat.com>
-
-       * simops.c (OP_1C007E0): Compensate for 64 bit hosts.
-       (OP_18007E0): Likewise.
-       (OP_2C007E0): Likewise.
-       (OP_28007E0): Likewise.
-       * v850.igen (divh): Likewise.
-
-       * simops.c (OP_C0): Correct saturation logic.
-       (OP_220): Likewise.
-       (OP_A0): Likewise.
-       (OP_660): Likewise.
-       (OP_80): Likewise.
-
-       * simops.c (OP_2A0): If the shift count is zero, clear the
-       carry.
-       (OP_A007E0): Likewise.
-       (OP_2C0): Likewise.
-       (OP_C007E0): Likewise.
-       (OP_280): Likewise.
-       (OP_8007E0): Likewise.
-
-       * simops.c (OP_2C207E0): Correct PSW flags for special divu
-       conditions.
-       (OP_2C007E0): Likewise, for div.
-       (OP_28207E0): Likewise, for divhu.
-       (OP_28007E0): Likewise, for divh.  Also, sign-extend the correct
-       operand.
-       * v850.igen (divh): Likewise, for 2-op divh.
-
-       * v850.igen (bsh): Fix carry logic.
-
-2007-02-20  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * Makefile.in (interp.o): Uncomment and update.
-
-2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
-
-       * acconfig.h: Remove.
-       * config.in: Regenerate.
-
-2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
-
-       * configure: Regenerated.
-
-2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
-
-       * configure: Regenerated.
-
-2005-03-23  Mark Kettenis  <kettenis@gnu.org>
-
-       * configure: Regenerate.
-
-2005-01-14  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
-       explicit call to AC_CONFIG_HEADER.
-       * configure: Regenerate.
-
-2005-01-12  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Update to use ../common/common.m4.
-       * configure: Re-generate.
-
-2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2005-01-07  Andrew Cagney  <cagney@gnu.org>
-
-       * configure.ac: Rename configure.in, require autoconf 2.59.
-       * configure: Re-generate.
-
-2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
-
-       * configure: Regenerate for ../common/aclocal.m4 update.
-
-2004-01-18  Mark Kettenis  <kettenis@gnu.org>
-
-       * simops.c: Include <sys/types.h>.
-
-2003-09-05  Andrew Cagney  <cagney@redhat.com>
-           Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (sim_open): Accept bfd_mach_v850e1.
-       * v850-dc: Add entry for v850e1.
-       * v850.igen: Add support for v850e1.
-       Add code for DBTRAP and DBRET instructions.
-       (dbtrap): Create a separate v850e1 specific instruction.
-       Only generate a trap if the target is not the v850e1.
-       Otherwise treat it as a special kind of branch.
-       (break): Mark as v850/v850e specific.
-
-2003-05-16  Ian Lance Taylor  <ian@airs.com>
-
-       * Makefile.in (SHELL): Make sure this is defined.
-       (tmp-igen): Use $(SHELL) whenever we invoke move-if-change.
-
-2003-04-06  Nick Clifton  <nickc@redhat.com>
-
-       * simops.c (OP_40): Delete.  Move code to...
-       * v850-igen.c (): ...Here. Sign extend the first operand.
-       * simops.h (OP_40): Remove prototype.
-
-2003-02-27  Andrew Cagney  <cagney@redhat.com>
-
-       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
-
-2002-11-30  Andrew Cagney  <cagney@redhat.com>
-
-       * simops.c: Use int, 1, 0 instead of boolean, true and false.
-       * sim-main.h: Ditto.
-
-2002-09-27  Jim Wilson  <wilson@redhat.com>
-
-       * simops.c (OP_E6077E0): And op1 with 7 after reading register, not
-       before.
-       (BIT_CHANGE_OP): Likewise.
-
-2002-09-26  Jim Wilson  <wilson@redhat.com>
-
-       * simops (OP_10007E0): Don't subtract 4 from PC.
-
-2002-09-19  Nick Clifton  <nickc@redhat.com>
-
-       * interp.c (sim_open): Remove reference to v850ea.
-       (sim_create_inferior): Likewise.
-       * v850-dc: Likewise.
-       * v850.igen: Remove all references to v850ea, including v850ea
-       specific instructions.
-
-2002-08-29  Nick Clifton  <nickc@redhat.com>
-
-       From 2001-08-23  Catherine Moore  <clm@redhat.com>
-
-       * Makefile.in: Add gen-zero-r0 option.
-       * sim-main.h (GPR_SET, GPR_CLEAR): Define.
-       * simops.c (OP_24007E0):  Sign extend the imm9
-       operand of a mul instruction.
-
-2002-06-17  Andrew Cagney  <cagney@redhat.com>
-
-       * simops.c (trace_result): Fix printf formatting.
-
-2002-06-16  Andrew Cagney  <ac131313@redhat.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2001-12-02  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in (simops.h, table.c): Delete targets.
-       (tmp-gencode, gencode.o, gencode): Delete targets.
-       (simops.h): New file.
-       ($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
-       * gencode.c: Delete file.
-
-2001-04-15  J.T. Conklin  <jtc@redback.com>
-
-       * Makefile.in (simops.o): Add simops.h to dependency list.
-
-2001-03-14  Andrew Cagney  <ac131313@redhat.com>
-
-       * Makefile.in (gencode): Link with libintl.
-
-2001-01-31  Jonathan Larmour  <jlarmour@redhat.com>
-
-       * Makefile.in (gencode): Link with libopcodes in build tree rather
-       than building source files from there.
-
-2000-05-30  Nick Clifton  <nickc@cygnus.com>
-
-       * v850.igen: Remove illegal instruction pattern, since it is the
-       same as the breakpoint pattern.
-
-Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-2000-04-14  Gary Thomas  <gthomas@redhat.com>
-
-       * v850.igen: Define 'br *' as illegal since this is the only
-       way to provide a breakpoint on some v850 family processors.
-
-2000-03-24  Frank Ch. Eigler  <fche@redhat.com>
-
-       * v850.igen (ilgop): New insn pattern for four-byte breakpoints.
-
-Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-1999-05-08  Felix Lee  <flee@cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Dec  1 17:25:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (NL_TARGET): Define as -DNL_TARGET_v850.
-
-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_*.
-       (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0):
-       Replace signed long int with signed32.
-
-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.
-
-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.
-       * config.in: Ditto.
-
-Sun Apr 26 15:19:14 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * acconfig.h: New file.
-       * configure.in: Reverted change of Apr 24; use sinclude again.
-
-Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Apr 24 11:18:08 1998  Tom Tromey  <tromey@cygnus.com>
-
-       * configure.in: Don't call sinclude.
-
-Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * sim-main.h (SIM_MAIN_H): Wrap header.
-
-Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Mar 10 15:54:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop): Delete, second attempt.
-
-Thu Feb 26 19:09:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_info): Delete.
-
-Wed Feb 18 10:47:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (TRACE_ALU_INPUT*): Delete.  Moved to sim-trace.[hc].
-
-       * simops.c (trace_result): Call trace_generic instead of
-       trace_one_insn.
-       (trace_module): Change variable type to integer.
-       (trace_input): Initialize trace_module with TRACE_ALU_IDX.
-
-       * sim-main.h (trace_module): Change variable decl to integer type.
-       (TRACE_BRANCH*, TRACE_LD, TRACE_ST): Update.
-
-Tue Feb 17 12:51:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_store_register, sim_fetch_register): Pass in
-       length parameter.  Return -1.
-
-Tue Feb  3 16:24:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (IMEM16, IMEM16_IMMED): Rename IMEM and
-       IMEM_IMMED. To match recent igen change.
-
-Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Jan 30 09:51:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (CPU_CIA): Delete, replaced by.
-       (CIA_SET, CIA_SET): Define.
-
-Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Fri Dec  5 09:26:08 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * v850.igen: Revert break value back to its old value.
-
-Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Dec  3 17:27:19 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * v850.igen: Make break have a zero first field, since otherwise
-       it clashes with the DIVH instruction.
-
-Sat Nov 22 21:32:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_10007E0): Rename SIGABRT -> SIM_SIGABRT. Give
-       sim_stopped instead of sim_signalled.
-
-       * v850.igen (BREAK), simops.c (OP_12007E0): Rename SIGTRAP to
-       SIM_SIGTRAP.
-       (illegal): Rename SIGILL to SIM_SIGILL.
-
-       * sim-main.h, simops.c, interp.c: Do not include signal.h.
-
-       * sim-main.h: Include sim-signal.h instead of signal.h.
-       (SIGTRAP, SIGQUIT): Delete definition.
-       (SIG_V850_EXIT): Delete definition.
-
-Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
-
-Fri Oct 31 10:33:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Check state magic number.
-       (sim-assert.h): Include.
-
-Tue Oct 28 11:06:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850.igen: Add model filter field to records.
-
-Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 26 11:56:02 1997  Felix Lee  <flee@cygnus.com>
-
-       * sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and
-       SIM_ENGINE_RESTART_HOOK.
-
-Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Sep 24 17:28:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (WITH_TARGET_WORD_MSB): Delete.
-
-       * configure.in (SIM_AC_OPTION_BITSIZE): Specify 32 bit
-       architecture with MSB == 31.
-
-Wed Sep 24 14:04:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850.igen: Make divh insn with RRRRR==0 breakpoint.
-
-Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
-       SIM_HOSTENDIAN, SIM_RESERVED_BITS): Delete, moved to common.
-       (SIM_EXTRA_CFLAGS): Update.
-
-Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * configure.in: Really specify NONSTRICT_ALIGNMENT as the default.
-
-Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Specify NONSTRICT_ALIGNMENT as the default.
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Fri Sep 19 10:37:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850.igen (disp16): Use EXTEND16 to sign extend disp.
-       (disp22): Only shift left by 1, not 2.
-       ("jmp"): Ensure PC is 2 byte aligned.
-
-       * simops.c, v850.igen: Move "Bcond", "jr", "jarl" code to
-       v850.igen. Fix tracing.
-
-       * simops.c (OP_300, OP_400, OP_500): Move "sdl.b", "sld.h",
-       "sld.w" insns to v850.igen.  Fix tracing.
-       (OP_70): Ditto for "sld.hu".
-
-       * v850.igen: Clarify tracing of "sld.b", "sld.h" et.al.
-
-       * simops.c (condition_met): Make global.
-
-       * sim-main.h (TRACE_ALU_INPUT3, TRACE_BRANCH0, TRACE_LD,
-       TRACE_ST): Define.
-       (TRACE_LD_NAME): Define.
-
-       * simops.c: Move "cmov", "cmov imm" to v850.igen, fix.
-
-Wed Sep 17 16:21:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c: Move "mov", "reti", to v850.igen, fix tracing.
-
-       * interp.c (hash): Delete.
-
-       * v850.igen (nop): Really do nothing.
-
-       * interp.c (do_interrupt): Mask interrupts after PSW is saved, not
-       before.
-       * v850.igen (reti): Return to current PC not previous.
-
-Wed Sep 17 14:02:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c: Move "ctret", "bsw", "hsw" to v850.igen, fix tracing.
-       (trace_module): Global, save component/module name across insn.
-
-       * simops.c: Move "bsh" to v850.igen, fix.
-
-       * v850.igen (callt): Load correct number of bytes. Fix tracing.
-       (stsr, ldsr): Correct src, dest fields. Fix tracing.
-       (ctret): Force alignment.  Fix tracing.
-
-Tue Sep 16 22:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (trace_output): Add result argument.
-       (trace_result): New function.  Simpler version of trace_output,
-       assumes trace needed.
-       (trace_output): Call trace_result.
-       (trace_output): For IMM_REG_REG, trace correct register.
-       (trace_input): Add case for 16bit immediates.
-       (OP_600, OP_640, OP_680, OP_6C0, OP_6A0): Use.
-
-       * sim-main.h (TRACE_ALU_INPUT, TRACE_ALU_RESULT): Define.
-       (trace_values, trace_name, trace_pc, trace_num_values): Make
-       global.
-       (GR, SR): Define.
-
-       v850.insn (movea, stsr): Use.
-       (sxb, sxh, zxb, zxh): Ditto.
-
-Tue Sep 16 21:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c: Move "movea" from here.
-       * v850.igen: To here.
-
-       * v850.igen (simm16): Define, sign extend imm16.
-       (uimm16): Define, no sign extension.
-       (addi, andi, movea, movhi, mulhi, ori, satsubi, xori): Use.
-
-       * simops.c: Move "sxh", "switch", "sxb", "callt", "dispose",
-       "mov32" from here.
-       * v850.igen: To here.
-       (switch): Fix off by two error in NIA calc.
-
-Tue Sep 16 15:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (trace_pc, trace_name, trace_values, trace_num_values):
-       New static globals.
-       (trace_input): Just save pc, name and values for trace_output.
-       (trace_output): Write trace values to a buffer.  Use
-       trace_one_insn to print trace info and buffer.
-       (SIZE_OPERANDS, SIZE_LOCATION): Delete.
-
-Tue Sep 16 09:02:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h (struct _sim_cpu): Add psw_mask so that reserved bits
-       can be masked out.
-
-       * simops.c (OP_2007E0, OP_4007E0): Move "ldsr", "stsr"
-       instructions from here.
-       * v850.igen (ldsr, stsr): To here.  Mask out reserved bits when
-       setting PSW.
-
-       * interp.c (sim_open): Set psw_mask if machine known.
-
-Tue Sep 16 10:20:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850-dc: Add rule to diferentiate between breakpoint and divh.
-       * v850.igen (break): New instruction, breakpoint simulator.
-       * v850.igen (breakpoint): Enable.  Change to a 32bit instruction.
-
-Mon Sep 15 18:44:05 1997  Jim Wilson  <wilson@cygnus.com>
-
-       * simops.c (Multiply64): Don't store into register zero.
-
-Tue Sep 16 09:02:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * Makefile.in (semantics.o): Add dependency.
-
-       * sim-main.h (SAVE_1, SAVE_2): Perform backward compatible save,
-       do not adjust CIA/NIA.
-
-Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_300, OP_400, OP_70): Make behavour depend on PSW[US].
-
-       * simops.c: Move "divun", "sld.bu", "divhn", "divhun", "divn",
-       "divun", "pushml" code from here to v850.igen.
-       (divun): Make global.
-       (type3_regs): Make global
-
-       * v850.igen: Move simops.c code to here.
-
-       * interp.c (sim_create_inferior): For v850eq set US bit by
-       default.
-
-       * interp.c (sim_open): Don't set arch, now set by
-       sim_analyze_program.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Sep 15 14:39:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (op_types): Move from here.
-       sim-main.h: To here.
-
-       * sim-main.h (trace_input, trace_output), simops.c: Make global.
-
-       * simops.c (OP_60): Move "jmp" code from here.
-       * v850.igen (jmp): To here.
-
-       * simops.c (OP_60): Move "sld.bu" code from here.
-       * v850.igen (sld.bu): To here.
-
-Fri Sep 12 15:11:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850.igen (prepare, ...): Add to v850eq architecture.
-
-       * interp.c (sim_open): Default to v850eq.
-
-       * interp.c (sim_open): Default to v850e.
-       * sim-main.h (signal.h): Include.
-
-       * v850.igen (illegal): Report/halt illegal instructions.
-
-       * Makefile.in (SIM_EXTRA_CFLAGS): Add SIM_RESERVED_BITS.
-
-       * configure.in: Add reserved bits option.
-       * configure: Regenerate.
-
-Thu Sep 11 08:40:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Use sim_do_commandf instead of asprintf.
-
-       * sim-main.h (INSN_NAME):
-
-       * Makefile.in (INCLUDE): Add SIM_EXTRA_DEPS.
-       (SIM_EXTRA_DEPS): Add itable.h
-       (tmp-gencode): Does not depend on simops.h
-
-       * sim-main.h (itable.h): Include.
-       (MAX_INSNS, INSN_NAME): Define.
-
-       * interp.c: Compute inttype from the interrupt_names index that
-       was passed in.
-
-Wed Sep 10 10:25:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (trace_input): Use trace_printf instead of
-       sim_io_printf.
-       (trace_output): Ditto.
-       (trace_input): Only trace when TRACE_ALU_P.  Delete code
-       disasembling instruction.
-       (trace_output): Only trace when TRACE_ALU_P.
-
-Tue Sep  9 01:29:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (trace_input, trace_output): Use sim_io_printf.
-       (OP_620): Pass correct argument to trace.
-       (OP_E607E0): Ditto.
-       (trace_input): Obtain prog_bfd, text_start et.al from simulator
-       struct.
-
-Mon Sep  8 21:03:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * v850.igen: New file.
-       * v850-dc: New file.
-
-Mon Sep  8 18:33:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-
-       * sim-main.h (SEXT16): Delete, use EXTEND16.
-       (SEXT8): Delete, use EXTEND8.
-       (SEXT32): Delete, used?
-       (SEXT40, SEXT44, SEXT64): Use UNSIGNED64 for constants, not ...LL.
-       (WITH_TARGET_WORD_MSB): Define as 31. v850 little bit endian.
-
-       * simops.c: Use EXTEND15 from sim-bits instead of SEXT16.
-
-       * sim-main.h (DEBUG_TRACE, DEBUG_VALUES, v850_debug): Delete,
-       replace with TRACE_INSN_P and TRACE_ALU_P.
-
-       * simops.c (trace_input, trace_output): Update.
-
-       * interp.c (sim_engine_run): Delete.
-       (lookup_hash): Delete.
-       (sim_open): Do not fill hash table.
-       (sim_trace): Delete.
-
-Fri Sep  5 17:04:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_FFFF): Use sim_engine_halt.
-       (OP_12007E0): Ditto.
-       (OP_10007E0): Ditto.
-
-       * sim-main.h (struct sim_cpu): Delete member exception. Using
-       sim-engine et.al.
-
-       * interp.c (sim_info): Do not do anything in sim-info.
-       (sim_stop): Delete, replace with sim-stop.
-       (sim_stop_reason): Delete, replace with sim-reason.
-
-       * sim-main.h (WITH_WATCHPOINTS): Define.
-       (WITH_MODULO_MEMORY): Define
-
-       * Makefile.in (SIM_OBJS): Add sim-resume, sim-watch, sim-stop,
-       sim-reason.
-
-       * interp.c (enum interrupt_cond_type): Delete.
-       (struct interrupt_generator): Delete.
-       (enum interrupt_type): Drop int_none.
-       (sim_open): Initialize WATCHPOINT module.
-       (sim_resume, sim_run): Rename sim_resume to sim_run.
-       (sim_engine_run): Replace interrupt code with call to sim-events.
-       (sim_set_interrupt): Delete.
-       (sim_parse_number): Delete.
-
-Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Thu Sep  4 18:11:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (fetch_argv): New function, fetch a arg vector from
-       simulator memory.
-
-       * configure.in: Check for fork, execve, execv.
-       * configure: Regenerate.
-
-       * interp.c (sim_store_register, sim_fetch_register): Use H2T_4 and
-       T2H_4 for byte swapping.
-
-       * sim-main.h, interp.c (get_word, get_half, get_byte, put_word,
-       put_half, put_byte): Delete.
-
-       * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
-
-       * sim-main.h (load_mem, store_mem): Redefine as macros.
-       (IMEM, IMEM_IMMED): New macros - fetch instructions.
-
-       * simops.c (OP_10007E0): For SYS_read, SYS_write, SYS_open
-       transfer data via a buffer.
-       (fetch_str): New function, fetch string from memory.
-
-       * Makefile.in (SIM_OBJS): Add sim-hrw.o module.
-
-       * interp.c (sim_open): Establish memory maps using sim-memopt.c
-       via sim_do_command.
-       (sim_do_command): Print error if memory-map command is used. Call
-       sim_args_command.
-       (map): Delete, replaced by sim-core.
-       (sim_memory_init): Delete, replaced by sim-core.
-       (sim_set_memory_map): Delete, replaced by sim-memopt.
-       (load_mem): Delete, replaced by sim-core.
-       (store_mem): Delete, replaced by sim-core.
-       (sim_write): Delete, replaced by sim-hrw.
-       (sim_read): Delete, replaced by sim-hrw.
-
-       * sim-main.h (struct sim_state): Remove memory members, using
-       sim-core.c
-
-Wed Sep  3 10:18:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * sim-main.h: Replace SIM_HAVE_FLATMEM with mem ptr.
-       * interp.c (map): Do not add to a void pointer.
-
-       * Makefile.in (INCLUDE): Add sim-main.h
-
-       * configure.in: Check for time.h
-       * configure: Re-generate.
-
-       * interp.c (struct interrupt_generator): Make time unsigned long,
-       address SIM_ADDR.
-       (sim_resume): Make oldpc SIM_ADDR.
-       (struct hash_entry): Make mask/opcode unsigned.
-
-       * v850_sim.h (struct simops ): Make opcode and mask unsigned.
-
-       * simops.c (utime.h): Include if available.
-       (OP_10007E0): Check for UTIME function.
-       (divun): Put parentheses around shift argument.
-       (OP_640): Put parentheses around shift argument, was wrong.
-       (OP_107F0): Return something.
-
-       * interp.c (sim_parse_number): Use strtoul not strtol.
-       (sim_resume): Use sim_elapsed_time_get to keep track of the time.
-
-       * configure.in (SIM_AC_OPTION_WARNINGS): Add.
-       (SIM_AC_OPTION_ENDIAN): Set to hardwired big.
-       (SIM_AC_OPTION_HOST_ENDIAN): Add.
-       (AC_CHECK_FUNCS): Add utime.
-       (AC_CHECK_HEADERS): Add stdlib.h, string.h, strings.h, utime.h
-       configure: Regenerate.
-
-
-       * Makefile.in (SIM_RUN_OBJS): Use nrun.o.
-       (SIM_OBJS): Add sim-io.o, sim-hload.o, sim-utils.o, sim-options.o,
-       sim-config.o, sim-module.o, sim-events.o, sim-core.o,
-       sim-endian.o, sim-engine.o, sim-trace.o, sim-profile.o
-       (SIM_ENDIAN, SIM_WARNGINS): Define.
-
-       * simops.c (OP_10007E0): Use sim_io_* for transfers.
-
-       * interp.c (sim_resume): Pass sd around.
-
-       * simops.c (sim-main.h): Include.
-
-       * gencode.c (write_template): Generate #include sim-main.h.
-       (write_opcodes): Ditto.
-
-       * interp.c (prog_bfd, prog_bfd_was_opened_p): Delete.
-       (v850_callback): Ditto.
-       (sim_kind, myname): Ditto.
-       (lookup_hash): Pass SD. Use sim_io_error.
-       (sim_set_memory_map): Pass in SD, use.
-       (init_system): Pass in SD, use.
-       (sim_open): Update.
-       (sim_set_profile): Delete.
-       (sim_set_profile_size): Delete.
-       (do_interrupt): Pass in SD, use.
-       (sim_info): Use sim_io_printf.
-       (sim_create_inferior): Reset registers.  Set PC from prog_bfd
-       argument.
-       (sim_load): Delete, use common/sim-hload.c
-       (sim_size): Rename to sim_memory_init.
-       (sim_write): Remove call to init_system.
-       (init_system): Delete.
-       (sim_set_callbacks): Delete.
-       (sim_set_interrupt): Pass in SD, use.
-       (start_time): Delete.
-
-       * v850_sim.h: Remove everything except `struct simops' from here.
-       * sim-main.h: Move most to here.
-       * gencode.c: Move #includes to here.
-
-       * sim-main.h(struct _sim_cpu): Rename struct _state.
-       (#define PC, et.al.): Update
-       (v850_callback): Delete.  Replaced with SIM_DESC arg.
-       (int8, uint8, int16, uint16, int32, uint32): Define types using
-       unsigned8 et.al from common/sim-types.h.
-       * sim-main.h (State): Define as STATE_CPU.
-
-Mon Sep  1 12:07:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure.in: Check for time, chmod.
-       * configure: Regenerate.
-       * simops.c (SYS_time, SYS_chmod): Use HAVE_TIME, HAVE_CHMOD.
-
-       * simops.c (../../libgloss/v850/sys/syscall.h): Include instead of
-       sys/syscall.h.
-       (OP_10007E0): Check the existance each SYS_* macro independantly.
-
-       * v850_sim.h (SIGQUIT, SIGTRAP): Only define if missing.
-
-Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Tue Aug 26 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_kill): Delete.
-       (sim_create_inferior): Add ABFD argument.
-       (sim_load): Move setting of PC from here.
-       (sim_create_inferior): To here.
-
-Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Mon Aug 25 11:31:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add ABFD argument.
-
-Fri Aug 22 10:39:28 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c (bsh): Only set CY flag if either of the bottom
-       bytes is zero.
-
-       * simops.c (prepare, dispose): Lower numbered
-       registers go to higher numbered address.
-
-       * simops.c (unsigned divide instructions): S bit set if result has
-       top bit set.
-
-       * simops.c (pushml, pushmh, popml, popmh): Lower numbered
-       registers go to higher numbered address.
-
-Wed Aug 20 13:56:35 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c (OP_107E0, OP_107F0, OP_307E0, OP_307F0): Use correct
-       interpretation of SR bit in list18 structure.
-       (divn, divun): New functions to perform N step divide functions.
-
-Mon Aug 18 10:59:02 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * simops.c (OP_300, OP_400, OP_60, OP_70): Support variant opcodes
-       with US bit set in the PSW.
-
-Wed Aug 13 19:06:55 1997  Nick Clifton  <nickc@cygnus.com>
-
-       * interp.c (sim_resume): Opcode functions return amount to be
-       added to PC and all opcodes take a standard format in the OP[]
-       array.
-
-       (do_format_*): Functions removed.
-
-       * v850_sim.h (SP, EP): New register mnemonics.
-
-       * gencode.c (write_header): Functions prototypes return an
-       integer.
-
-       * simops.c: Opcode functions return amount to be added to PC.
-
-       * v850_sim.h (CTPC, CTPSW, CTBP): New register mnemonics.
-
-       * simops.c: Add support for v850e instructions.
-
-       * simops.c: Add support for v850eq instructions.
-
-Tue May 20 10:24:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_open): Add callback argument.
-       (sim_set_callbacks): Delete SIM_DESC argument.
-
-Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr 23 17:20:16 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (prog_bfd_was_opened_p): New static local.
-       (prog_bfd): New global variable.
-       (sim_open): Undo patch to add -E support.
-       (sim_close): Close prog_bfd if sim_load opened it.
-       (sim_load): Record bfd of loaded file in prog_bfd.
-       * simops.c (prog_bfd): Renamed from exec_bfd.
-
-Fri Apr 18 14:17:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * interp.c (sim_stop): Stub function.
-
-Thu Apr 17 03:53:18 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (SIM_OBJS): Add sim-load.o.
-       * interp.c (sim_kind, myname): New static locals.
-       (sim_open): Set sim_kind, myname.  Ignore -E arg.
-       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
-       load file into simulator.  Set start address from bfd.
-       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
-
-Wed Apr 16 19:53:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
-
-       * simops.c (OP_10007E0): Only provide system calls SYS_execv,
-       SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
-
-Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-       * config.in: Ditto.
-
-Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New arg `kind'.
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Regenerated to track ../common/aclocal.m4 changes.
-
-Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
-
-       * configure: Re-generate.
-
-Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
-
-       * configure: Regenerate to track ../common/aclocal.m4 changes.
-
-Thu Mar 13 13:00:54 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * interp.c (sim_open): New SIM_DESC result.  Argument is now
-       in argv form.
-       (other sim_*): New SIM_DESC argument.
-
-Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
-       COMMON_{PRE,POST}_CONFIG_FRAG instead.
-       * configure.in: sinclude ../common/aclocal.m4.
-       * configure: Regenerated.
-
-Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * configure configure.in Makefile.in:  Update to new configure
-       scheme which is more compatible with WinGDB builds.
-       * configure.in:  Improve comment on how to run autoconf.
-       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
-       * Makefile.in:  Use autoconf substitution to install common
-       makefile fragment.
-
-Mon Jan 20 16:05:34 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_{E0,2E0,6E0}): The multiply operations sign extend,
-       not zero extend.
-
-Tue Jan 14 17:06:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * simops.c:  Put ifdefs around things to make MSVC happy.  Get rid
-       of unistd.h.  Disable SYS_stat, SYS_chown, SYS_time, SYS_times,
-       SYS_gettimeofday and SYS_utime from MSVC.
-
-Tue Dec 31 18:11:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (OP_10007E0): Know that kill encodes the signal number
-       via: 0xdead0000 | signal and turn it back into a signal.
-
-Fri Dec 27 14:44:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * v850_sim.h (SIG_V850_EXIT): Define as -1.
-
-       * interp.c (sim_open): Cast calloc function.
-       (sim_stop_reason): If signal is SIG_V850_EXIT, inform gdb the
-       program exited with the appropriate exit code.
-       (sim_set_interrupt): Declare buildargv.
-
-       * simops.c (OP_10007E0): Make exit signal normal exit.  Make time
-       type correct and work on big endian systems.
-
-Wed Nov 20 02:18:44 1996  Doug Evans  <dje@canuck.cygnus.com>
-
-       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
-       (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
-       * configure.in: Simplify using macros in ../common/aclocal.m4.
-       Call AC_CHECK_HEADERS(unistd.h).
-       * configure: Regenerated.
-       * config.in: New file.
-       * simops.c: #include "config.h".  #include <unistd.h> if present.
-
-Sun Nov  3 23:02:54 1996  Stan Shebs  <shebs@andros.cygnus.com>
-
-       * v850_sim.h (State): New slots dummy_mem, pending_nmi.
-       (EIPC, etc): New macros for system registers.
-       * simops.c, interp.c: Use everywhere.
-
-       * interp.c: Add support for interrupts issued by interrupt
-       generators, either PC- or time-based.  Controlled by simulator
-       command "sim interrupt".
-
-       * interp.c: Add support for variable-size allocation of memory,
-       via simulator command "sim memory-map".
-       (map): Issue SIGSEGV for references to invalid memory regions.
-
-Thu Oct 31 14:44:10 1996  Gavin Koch  <gavin@cygnus.com>
-
-       * simops.c: Include <sys/time.h> for struct timeval and
-       struct timezone.
-
-Wed Oct 30 08:49:10 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
-
-       * simops.c (OP_10007E0): Handle SYS_time.
-
-Tue Oct 29 14:22:55 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Include <sys/stat.h>.
-       (OP_10007E0): Handle SYS_stat.
-
-Thu Oct 24 12:26:35 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (OP_10007E0): Don't declare errno.
-
-       * simops.c (OP_500): Mask off low bit in displacement
-       for sld.w.
-       (OP_501): Similarly.
-
-       * simops.c (OP_500): Fix displacement handling for sld.w.
-       (OP_501): Similarly for sst.w.
-
-       * simops.c (trace_input): Remove all references to SEXT7.
-       (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement
-       is zero extended for sst/sld instructions.
-       * v850_sim.h (SEX7): Delete.  It's no longer needed (and it
-       was incorrect anyway).
-
-Thu Oct 24 10:33:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * Makefile.in:  Get rid of srcroot.  Set all INSTALL macros via
-       autoconf.
-       * gencode.c (write_opcodes):  Pad operands field to account for
-       MSVC braindamage.
-       * simops.c:  Include errno.h.  Exclude SYS_chown, since MSVC
-       doesn't support it.  (Why is this here in the first place?!?)
-       * v850_sim.h:  Get rid of 64 bit defs.  Also, get rid of #elif's.
-       Change number of operands in struct simops from 9 to 6.  Define
-       SIGTRAP and SIGQUIT for MSVC.
-
-Tue Oct 15 16:19:51 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * interp.c (MEM_SIZE):  It's now bytes, not a power of 2.
-       * (map):  Add support for external mem in the 1->2 meg range.
-       Also, abort() when memory access is way out of bounds.  (Better to
-       die than to give wrong result.  (This will be fixed later.))
-       * (sim_size):  MEM_SIZE is now bytes, not shift factor.
-
-Tue Oct  1 15:53:24 1996  Gavin Koch <gavin@cygnus.com>
-
-       * simops.c (trace_input): Swapped order of operands for output
-       output of OP_IMM_REG.  Changed the fetching of the operands for
-       OP_LOAD32, and OP_STORE32 to work like op-function.
-
-Mon Sep 30 15:46:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * interp.c:  Move includes of remote-sim.h and callback.h to
-       v850-sim.h.
-       * (lookup_hash): Add PC to report of hash failure.
-       * (map load_mem store_mem):  New memory subsystem.  Models V851
-       memory system.
-       * (sim_write sim_read):  Use new memory subsystem.
-       * (sim_resume):  Don't load and save PC into EIPC anymore.  Needed
-       to make user-defined traps work right.
-       * simops.c (OP_*):  Use new memory subsystem.
-       * (OP_14007E0 (reti)):  Implement reti.
-       * (OP_14996E0 (trap)):  Implement user-defined traps.  Move I/O to
-       trap 31.  Use new memory subsystem.
-       * v850_sim.h:  Prototypes for load_mem, store_mem and map.  Use
-       load_mem in RLW macro.
-
-Fri Sep 27 18:34:09 1996  Stu Grossman  (grossman@critters.cygnus.com)
-
-       * gencode.c (write_opcodes):  Output hex values for opcode mask
-       and patterns.
-       * interp.c (sim_resume):  Save and restore PC from the appropriate
-       register.
-       * (sim_fetch_register sim_store_register):  Fix byte-order problem
-       with reading and writing registers.
-       * simops.c (OP_FFFF):  Implement pseudo-breakpoint insn.
-
-Fri Sep 27 17:42:37 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c (trace_input): Fix thinko.
-
-Wed Sep 18 09:54:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (exec_bfd): Rename from sim_bfd.
-       (trace_input): Ditto.
-
-Thu Sep 12 12:03:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c (trace_input): Use find_nearest_line to print line
-       number, function name or file name of PC.
-
-Wed Sep 11 16:44:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
-
-       * simops.c: Add tracing support.  Use SEXTxx macros instead of
-       doing hardwired shifts.
-
-       * configure.in (--enable-sim-cflags): Add switch to add additional
-       flags to simulator buld.  If --enable-sim-cflags=trace, turn on
-       tracing.
-       * configure: Regenerate.
-
-       * Makefile.in: Don't require a VPATH capable make if configuring
-       in the same directory.  Don't use CFLAGS for configuration flags.
-       Add flags from --enable-sim-cflags.  Support canadian cross
-       builds.  Rebuild whole simulator if include files change.
-
-       * interp.c (v850_debug): New global for debugging.
-       (lookup_hash,sim_size,sim_set_profile): Use
-       printf_filtered callback, instead of calling printf directly.
-       (sim_{open,trace}): Enable tracing if -t and compiled for tracing.
-
-       * v850_sim.h: Use limits.h to set the various sized types.
-       (SEXT{5,7,16,22}): New macros.
-
-Mon Sep  9 20:50:46 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (hash): Make this an inline function
-       when compiling with GCC.  Simplify.
-       * simpos.c: Explicitly include "sys/syscall.h".  Remove
-       some #if 0'd code.  Enable more emulated syscalls.
-
-Wed Sep  4 01:48:55 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c: Fix sign bit handling for add and sub instructions.
-
-Tue Sep  3 10:20:30 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * gencode.c: Fix various indention & style problems.
-       Remove test code.  Remove #if 0 code.
-       * interp.c: Provide prototypes for all static functions.
-       Fix minor indention problems.
-       (sim_open, sim_resume): Remove unused variables.
-       (sim_read): Return type is "int".
-       * simops.c: Remove unused variables.
-       (divh): Make result of divide-by-zero zero.
-       (setf): Initialize result to keep compiler quiet.
-       (sar instructions): These just clear the overflow bit.
-       * v850_sim.h: Provide prototypes for put_byte, put_half
-       and put_word.
-
-       * interp.c: OP should be an array of 32bit operands!
-       (v850_callback): Declare.
-       (do_format_5): Fix extraction of OP[0].
-       (sim_size): Remove debugging printf.
-       (sim_set_callbacks): Do something useful.
-       (sim_stop_reason): Gross hacks to get c-torture running.
-       * simops.c: Simplify code for computing targets of bCC
-       insns.   Invert 's' bit if 'ov' bit is set for some
-       instructions.  Fix 'cy' bit handling for numerous
-       instructions.  Make the simulator stop when a halt
-       instruction is encountered.  Very crude support for
-       emulated syscalls (trap 0).
-       * v850_sim.h: Include "callback.h" and declare
-       v850_callback.  Items in the operand array are 32bits.
-
-Sun Sep  1 22:35:35 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (sim_resume): Fix code to check for a format 3
-       opcode.
-       * simops.c: bCC insns only argument is a constant, not a
-       register value (duh...)
-
-Fri Aug 30 10:33:49 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * simops.c: Fix "not1" and "set1".
-
-       * simops.c: Don't forget to initialize temp for
-       "ld.h" and "ld.w"
-
-       * interp.c: Remove various debugging printfs.
-
-       * simops.c: Fix satadd, satsub boundary case handling.
-
-       * interp.c (hash): Fix.
-       * interp.c (do_format_8): Get operands correctly and
-       call the target function.
-       * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1".
-
-Thu Aug 29 13:53:29 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * interp.c (do_format_4): Get operands correctly and
-       call the target function.
-       * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b",
-       "sst.h", and "sst.w".
-
-       * v850_sim.h: The V850 doesn't have split I&D spaces.  Change
-       accordingly.  Remove many unused definitions.
-       * interp.c: The V850 doesn't have split I&D spaces.  Change
-       accordingly.
-       (get_longlong, get_longword, get_word): Deleted.
-       (write_longlong, write_longword, write_word): Deleted.
-       (get_operands): Deleted.
-       (get_byte, get_half, get_word): New functions.
-       (put_byte, put_half, put_word): New functions.
-       * simops.c: Remove unused functions.  Rough cut at
-       "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns.
-
-       * v850_sim.h (struct _state): Remove "psw" field.  Add
-       "sregs" field.
-       (PSW): Remove bogus definition.
-       * simops.c: Change condition code handling to use the psw
-       register within the sregs array.  Handle "ldsr" and "stsr".
-
-       * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".
-
-       * interp.c (do_format_5): Get operands correctly and
-       call the target function.
-       (sim_resume): Don't do a PC update for format 5 instructions.
-       * simops.c: Handle "jarl" and "jmp" instructions.
-
-       * simops.c: Fix minor typos.  Handle "cmp", "setf", "tst"
-       "di", and "ei" instructions correctly.
-
-       * interp.c (do_format_3): Get operands correctly and call
-       the target function.
-       * simops.c: Handle bCC instructions.
-
-       * simops.c: Add condition code handling to shift insns.
-       Fix minor typos in condition code handling for other insns.
-
-       * Makefile.in: Fix typo.
-       * simops.c: Add condition code handling to "sub" "subr" and
-       "divh" instructions.
-
-       * interp.c (hash): Update to be more accurate.
-       (lookup_hash): Call hash rather than computing the hash
-       code here.
-       (do_format_1_2): Handle format 1 and format 2 instructions.
-       Get operands correctly and call the target function.
-       (do_format_6): Get operands correctly and call the target
-       function.
-       (do_formats_9_10): Rough cut so shift ops will work.
-       (sim_resume): Tweak to deal with format 1 and format 2
-       handling in a single funtion.  Don't update the PC
-       for format 3 insns.  Fix typos.
-       * simops.c: Slightly reorganize.  Add condition code handling
-       to "add", "addi", "and", "andi", "or", "ori", "xor", "xori"
-       and "not" instructions.
-       * v850_sim.h (reg_t): Registers are 32bits.
-       (_state): The V850 has 32 general registers.  Add a 32bit
-       psw and pc register too.  Add accessor macros
-
-       * Makefile.in, interp.c, v850_sim.h: Bring over endianness
-       changes from the d10v simulator.
-
-       * simops.c: Add shift support.
-
-       * simops.c: Add multiply & divide support.  Abort for system
-       instructions.
-
-       * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
-       and subr.  No condition codes yet.
-
-Wed Aug 28 13:53:22 1996  Jeffrey A Law  (law@cygnus.com)
-
-       * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
-       gencode.c, interp.c, simops.c: Created.
diff --git a/sim/v850/ChangeLog-2021 b/sim/v850/ChangeLog-2021
new file mode 100644 (file)
index 0000000..aaa6866
--- /dev/null
@@ -0,0 +1,1924 @@
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-22  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_COMMON): Delete.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * simops.c: Include sim-signal.h.
+
+2021-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
+       * interp.c (sim_open): Set current_target_byte_order.
+       * aclocal.m4, configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-06-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+       * config.in: Removed.
+
+2021-06-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Delete calls to AC_CHECK_FUNCS_ONCE and
+       AC_CHECK_HEADERS_ONCE.
+       * config.in, configure: Regenerate.
+
+2021-06-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
+       with $(IGEN).
+
+2021-06-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_FUNCS_ONCE): Remove chown.
+       * simops.c (OP_10007E0): Remove HAVE_CHOWN check.
+       * config.in, configure: Regenerate.
+
+2021-05-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * simops.c (OP_10007E0): Add (void*) casts to argv & envp.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
+
+2021-05-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
+       (struct sim_state): Delete.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c, simops.c: Include defs.h.
+       * sim-main.h: Delete config.h include.
+
+2021-05-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-05-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * interp.c (sim_open): Adjust format string specifier.
+
+2021-05-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2021-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure, config.in: Rebuild.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (INCLUDE): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (interp.o, simops.o, semantics.o): Remove.
+
+2021-04-22  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2021-04-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Regenerate.
+
+2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
+       * configure: Regenerate.
+
+2021-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
+       delete time.
+       * configure: Regenerate.
+
+2021-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
+
+2021-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * Makefile.in: Set ASAN_OPTIONS when running igen.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (../igen/igen): Delete rule.
+       (tmp-igen): Delete ../igen make.
+
+2021-04-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
+       * aclocal.m4, configure: Regenerate.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
+
+2021-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * simops.c: Include stdlib.h.
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
+       * configure: Regenerate.
+
+2021-01-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * simops.c (OP_10007E0): Change reterr to RETERR.
+
+2021-01-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
+
+2021-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+       * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
+       HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2021-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2017-09-06  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Mark argv const.
+       (sim_create_inferior): Mark argv and env const.
+
+2016-01-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_open): Update sim_parse_args comment.
+
+2016-01-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
+       * configure: Regenerate.
+
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
+       LITTLE.
+       * configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * wrapper.c (v850_reg_store, v850_reg_fetch): Define.
+       (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
+       (sim_store_register): Rename to ...
+       (v850_reg_store): ... this.
+       (sim_fetch_register): Rename to ...
+       (v850_reg_fetch): ... this.
+
+2015-12-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-hload.o.
+
+2015-12-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-12-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_WATCHPOINTS): Delete.
+
+2015-12-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * simops.c (v850_bins): Fix left shift of negative value.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_CORE): Delete.
+
+2015-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (WITH_MODULO_MEMORY): Delete.
+
+2015-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
+
+2015-11-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_close): Delete.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-06-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (INLINE): Delete define.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (sim_cia): Delete.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * sim-main.h (CIA_GET, CIA_SET): Delete.
+
+2015-04-15  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+       * sim-main.h (STATE_CPU): Delete.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2015-04-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Add sim-cpu.o.
+       * interp.c (v850_pc_get, v850_pc_set): New functions.
+       (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
+       Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
+       (sim_pc_get): Delete.
+       * sim-main.h (SIM_CPU): Define.
+       (struct sim_state): Change cpu to an array of pointers.
+       (STATE_CPU): Drop &.
+
+2015-04-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
+
+2015-03-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_pc_get): New function.
+
+2015-03-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.in, configure: Regenerate.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_RUN_OBJS): Delete.
+
+2015-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
+       string.h & strings.h & time.h.
+       * aclocal.m4, configure: Regenerate.
+
+2015-02-27  Nick Clifton  <nickc@redhat.com>
+
+       * sim-main.h (reg64_t): New type.
+       (v850_regs): Add selID_sregs field.
+       (VR, SAT16, SAT32, ABS16, ABS32 ): New macros.
+       * v850-dc: Add fields for v850e3v5 instructions.
+       * v850.igen (cvtf.dl): Use correctly signed local value.
+       (cvtf.dw, cvtf.sw, trncf.dul, trncf.dl, trncf.sul, trncf.sw):
+       Likewise.
+       * interp.c: Fix old style function declarations.
+       * simops.c: Likewise.
+
+2015-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * v850.igen: Add more e3v5 support.
+       (FMAF.S): New pattern.
+       (FMSF.S): New pattern.
+       (FNMAF.S): New pattern.
+       (FNMSF.S): New pattern.
+       (cnvq15q30): New pattern.
+       (cnvq30q15): New pattern.
+       (cnvq31q62): New pattern.
+       (cnvq62q31): New pattern.
+       (dup.h): New pattern.
+       (dup.w): New pattern.
+       (expq31): New pattern.
+       (modadd): New pattern.
+       (mov.dw): New pattern.
+       (mov.h): New pattern.
+       (mov.w): New pattern.
+       (pki16i32): New pattern.
+       (pki16ui8): New pattern.
+       (pki32i16): New pattern.
+       (pki64i32): New pattern.
+       (pkq15q31): New pattern.
+       (pkq30q31): New pattern.
+       (pkq31q15): New pattern.
+       (pkui8i16): New pattern.
+       (vabs.h): New pattern.
+       (vabs.w): New pattern.
+       (vadd.dw): New placeholder pattern.
+       (vadd.h): New placeholder pattern.
+       (vadd.w): New placeholder pattern.
+       (vadds.h): New placeholder pattern.
+       (vadds.w): New placeholder pattern.
+       (vaddsat.h): New placeholder pattern.
+       (vaddsat.w): New placeholder pattern.
+       (vand): New pattern.
+       (vbiq.h): New placeholder pattern.
+       (vbswap.dw): New placeholder pattern.
+       (vbswap.h): New placeholder pattern.
+       (vbswap.w): New placeholder pattern.
+       (vcalc.h): New placeholder pattern.
+       (vcalc.w): New placeholder pattern.
+       (vcmov): New placeholder pattern.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-15  Roland McGrath  <mcgrathr@google.com>
+
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-03-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
+2013-09-23  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, configure: Regenerate.
+
+2013-05-13  Nick Clifton  <nickc@redhat.com>
+
+       * v850.igen (LDSR): Accept but ignore a selID parameter.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+
+       * configure: Rebuild.
+
+2013-01-28  Nick Clifton  <nickc@redhat.com>
+
+       * simops.c (v850_rotl): New function.
+       (v850_bins): New function.
+       * simops.h: Add prototypes fir v850_rotl and v850_bins.
+       * v850-dc: Add entries for V850e3v5.
+       * v850.igen: Add support for v850e3v5.
+       (ld.dw, st.dw, rotl, bins): New patterns.
+
+2013-01-10  Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (sim_open): Add support for bfd_arch_v850_rh850
+       architecture type.  Add support for bfd_mach_v850e2 and
+       bfd_mach_v850e2v3 machine numbers.
+       * v850.igen (dbtrap): Add support for SIM_OPEN_DEBUG.
+       (cmpf.d): Correct order of operands.
+       (cmpf.s): Likewise.
+       (trncf.dul): New pattern.
+       (trncf.duw): New pattern.
+       (trncf.sul): New pattern.
+       (trncf.suw): New pattern.
+       * v850-dc: Correct bitfield selection for TRNCF.SW and CVTF.SW.
+
+2012-09-13  Nick Clifton  <nickc@redhat.com>
+
+       * v850.igen (W,WWWW): Correct computation of register number.
+       (JR32): Remove unnecessary comma.
+       (cmovf.s): Register 0 is an invalid source register.
+       (maddf.s): Remove bogus intermediary rounding.
+       (nmaddf.s): Likewise.
+       (trncf.sl): Remove bogus initial rounding.
+       (trncf.dw): Likewise.
+       (trncf.sl): Likewise.
+       (trncf.sw): Likewise.
+
+2012-06-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * config.in, configure: Regenerate.
+
+2012-03-28  Rathish C  <rathish.c@kpitcummins.com>
+
+       * sim-main.h (struct _v850_regs): Add new fields mpu0_sregs,
+       mpu1_sregs, and fpu_sregs.
+       (MPU0_SR, MPU1_SR, FPU_SR): New macros for accessing new fields
+       in _v850_regs struct.
+       (SP_REGNO): Define.
+       (SP): Redefine using SP_REGNO.
+       (PSW_REGNO, EIIC, FEIC, DBIC, DIR, EIWR, FEWR, DBWR, BSEL, PSW_NPV)
+       (PSW_DMP, PSW_IMP, ECR_EICC, ECR_FECC, FPSR, FPSR_REGNO, FPEPC)
+       (FPST, FPST_REGNO, FPCC, FPCFG, FPCFG_REGNO, FPSR_DEM, FPSR_SEM)
+       (FPSR_RM, FPSR_RN, FPSR_FS, FPSR_PR, FPSR_XC, FPSR_XCE, FPSR_XCV)
+       (FPSR_XCZ, FPSR_XCO, FPSR_XCU, FPSR_XCI, FPSR_XE, FPSR_XEV)
+       (FPSR_XEZ, FPSR_XEO, FPSR_XEU, FPSR_XEI, FPSR_XP, FPSR_XPV)
+       (FPSR_XPZ, FPSR_XPO, FPSR_XPU, FPSR_XPI, FPST_PR, FPST_XCE)
+       (FPST_XCV, FPST_XCZ, FPST_XCO, FPST_XCU, FPST_XCI, FPST_XPV)
+       (FPST_XPZ, FPST_XPO, FPST_XPU, FPST_XPI, FPCFG_RM, FPCFG_XEV)
+       (FPCFG_XEZ, FPCFG_XEO, FPCFG_XEU, FPCFG_XEI, GET_FPCC, CLEAR_FPCC)
+       (SET_FPCC, TEST_FPCC, FPSR_GET_ROUND, MPM, MPC, MPC_REGNO, TID)
+       (PPA, PPM, PPC, DCC, DCV0, DCV1, SPAL, SPAU, IPA0L, IPA0U, IPA1L)
+       (IPA1U, IPA2L, IPA2U, IPA3L, IPA3U, DPA0L, DPA0U, DPA1L, DPA1U)
+       (DPA2L, DPA2U, DPA3L, DPA3U, PPC_PPE, SPAL_SPE, SPAL_SPS, VIP)
+       (VMECR, VMTID, VMADR, VPECR, VPTID, VPADR, VDECR, VDTID, MPM_AUE)
+       (MPM_MPE, VMECR_VMX, VMECR_VMR, VMECR_VMW, VMECR_VMS, VMECR_VMRMW)
+       (VMECR_VMMS, IPA2ADDR, IPA_IPE, IPA_IPX, IPA_IPR, IPE0, IPE1, IPE2)
+       (IPE3, IPX0, IPX1, IPX2, IPX3, IPR0, IPR1, IPR2, IPR3, DPA2ADDR)
+       (DPA_DPE, DPA_DPR, DPA_DPW, DPE0, DPE1, DPE2, DPE3, DPR0, DPR1)
+       (DPR2, DPR3, DPW0, DPW1, DPW2, DPW3, DCC_DCE0, DCC_DCE1, PPA2ADDR)
+       (PPC_PPC, PPC_PPE, PPC_PPM): New macros.
+       (FPU_COMPARE): New enum.
+       (TRACE_FP_INPUT_FPU1, TRACE_FP_INPUT_FPU2, TRACE_FP_INPUT_FPU3)
+       (TRACE_FP_INPUT_BOOL1_FPU2, TRACE_FP_INPUT_WORD2)
+       (TRACE_FP_RESULT_WORD1, TRACE_FP_RESULT_WORD2): New macros.
+       * simops.c (Add32): Update prototype.
+       (update_fpsr): New function.
+       (SignalException): New function.
+       (SignalExceptionFPE): New function.
+       (check_invalid_snan): New function.
+       (v850_float_compare): New function.
+       (v850_div): New function.
+       (v850_divu): New function.
+       (v850_sar): New function.
+       (v850_shl): New function.
+       (v850_shr): New function.
+       (v850_satadd): New function.
+       (v850_satsub): New function.
+       (load_data_mem): New function.
+       (store_data_mem): New function.
+       (mpu_load_mem_test): New function.
+       (mpu_store_mem_test): New function.
+       * simops.h: Add function prototype for above mentioned functions.
+       (check_cvt_fi, check_cvt_if, check_cvt_ff): Define.
+       * v850-dc: Add entry for v850e2 and v850e2v3.
+       * v850.igen: Add support for v850e2 and v850e2v3.
+
+2012-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4, config.in, configure: Regenerate.
+
+2011-12-03  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: New file.
+       * configure: Regenerate.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+       call.  Replace common.m4 include with SIM_AC_COMMON.
+       * configure: Regenerate.
+
+2011-07-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (sim_do_command): Delete.
+
+2011-03-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * simops (OP_10007E0): Update errno handling as most traps
+       do not invoke the host's functionality directly.  Invoke
+       sim_io_stat() instead of stat() for implementing TARGET_SYS_stat.
+       Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink.
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * simops.c (OP_10007E0): Change zfree to free.
+
+2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * interp.c (sim_store_register): Update return value to
+       match new API.
+
+2010-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c (interrupt_names): Add const to pointer type.
+       (do_interrupt): Add const to interrupt_name.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config.in: Regenerate.
+       * configure: Likewise.
+
+       * configure: Regenerate.
+
+2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate to track ../common/common.m4 changes.
+       * config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2008-02-05  DJ Delorie  <dj@redhat.com>
+
+       * simops.c (OP_1C007E0): Compensate for 64 bit hosts.
+       (OP_18007E0): Likewise.
+       (OP_2C007E0): Likewise.
+       (OP_28007E0): Likewise.
+       * v850.igen (divh): Likewise.
+
+       * simops.c (OP_C0): Correct saturation logic.
+       (OP_220): Likewise.
+       (OP_A0): Likewise.
+       (OP_660): Likewise.
+       (OP_80): Likewise.
+
+       * simops.c (OP_2A0): If the shift count is zero, clear the
+       carry.
+       (OP_A007E0): Likewise.
+       (OP_2C0): Likewise.
+       (OP_C007E0): Likewise.
+       (OP_280): Likewise.
+       (OP_8007E0): Likewise.
+
+       * simops.c (OP_2C207E0): Correct PSW flags for special divu
+       conditions.
+       (OP_2C007E0): Likewise, for div.
+       (OP_28207E0): Likewise, for divhu.
+       (OP_28007E0): Likewise, for divh.  Also, sign-extend the correct
+       operand.
+       * v850.igen (divh): Likewise, for 2-op divh.
+
+       * v850.igen (bsh): Fix carry logic.
+
+2007-02-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (interp.o): Uncomment and update.
+
+2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * acconfig.h: Remove.
+       * config.in: Regenerate.
+
+2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * configure: Regenerated.
+
+2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure: Regenerated.
+
+2005-03-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure: Regenerate.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
+       explicit call to AC_CONFIG_HEADER.
+       * configure: Regenerate.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Update to use ../common/common.m4.
+       * configure: Re-generate.
+
+2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07  Andrew Cagney  <cagney@gnu.org>
+
+       * configure.ac: Rename configure.in, require autoconf 2.59.
+       * configure: Re-generate.
+
+2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-01-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * simops.c: Include <sys/types.h>.
+
+2003-09-05  Andrew Cagney  <cagney@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (sim_open): Accept bfd_mach_v850e1.
+       * v850-dc: Add entry for v850e1.
+       * v850.igen: Add support for v850e1.
+       Add code for DBTRAP and DBRET instructions.
+       (dbtrap): Create a separate v850e1 specific instruction.
+       Only generate a trap if the target is not the v850e1.
+       Otherwise treat it as a special kind of branch.
+       (break): Mark as v850/v850e specific.
+
+2003-05-16  Ian Lance Taylor  <ian@airs.com>
+
+       * Makefile.in (SHELL): Make sure this is defined.
+       (tmp-igen): Use $(SHELL) whenever we invoke move-if-change.
+
+2003-04-06  Nick Clifton  <nickc@redhat.com>
+
+       * simops.c (OP_40): Delete.  Move code to...
+       * v850-igen.c (): ...Here. Sign extend the first operand.
+       * simops.h (OP_40): Remove prototype.
+
+2003-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-11-30  Andrew Cagney  <cagney@redhat.com>
+
+       * simops.c: Use int, 1, 0 instead of boolean, true and false.
+       * sim-main.h: Ditto.
+
+2002-09-27  Jim Wilson  <wilson@redhat.com>
+
+       * simops.c (OP_E6077E0): And op1 with 7 after reading register, not
+       before.
+       (BIT_CHANGE_OP): Likewise.
+
+2002-09-26  Jim Wilson  <wilson@redhat.com>
+
+       * simops (OP_10007E0): Don't subtract 4 from PC.
+
+2002-09-19  Nick Clifton  <nickc@redhat.com>
+
+       * interp.c (sim_open): Remove reference to v850ea.
+       (sim_create_inferior): Likewise.
+       * v850-dc: Likewise.
+       * v850.igen: Remove all references to v850ea, including v850ea
+       specific instructions.
+
+2002-08-29  Nick Clifton  <nickc@redhat.com>
+
+       From 2001-08-23  Catherine Moore  <clm@redhat.com>
+
+       * Makefile.in: Add gen-zero-r0 option.
+       * sim-main.h (GPR_SET, GPR_CLEAR): Define.
+       * simops.c (OP_24007E0):  Sign extend the imm9
+       operand of a mul instruction.
+
+2002-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * simops.c (trace_result): Fix printf formatting.
+
+2002-06-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2001-12-02  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (simops.h, table.c): Delete targets.
+       (tmp-gencode, gencode.o, gencode): Delete targets.
+       (simops.h): New file.
+       ($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
+       * gencode.c: Delete file.
+
+2001-04-15  J.T. Conklin  <jtc@redback.com>
+
+       * Makefile.in (simops.o): Add simops.h to dependency list.
+
+2001-03-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (gencode): Link with libintl.
+
+2001-01-31  Jonathan Larmour  <jlarmour@redhat.com>
+
+       * Makefile.in (gencode): Link with libopcodes in build tree rather
+       than building source files from there.
+
+2000-05-30  Nick Clifton  <nickc@cygnus.com>
+
+       * v850.igen: Remove illegal instruction pattern, since it is the
+       same as the breakpoint pattern.
+
+Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-04-14  Gary Thomas  <gthomas@redhat.com>
+
+       * v850.igen: Define 'br *' as illegal since this is the only
+       way to provide a breakpoint on some v850 family processors.
+
+2000-03-24  Frank Ch. Eigler  <fche@redhat.com>
+
+       * v850.igen (ilgop): New insn pattern for four-byte breakpoints.
+
+Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08  Felix Lee  <flee@cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Dec  1 17:25:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (NL_TARGET): Define as -DNL_TARGET_v850.
+
+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_*.
+       (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0):
+       Replace signed long int with signed32.
+
+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.
+
+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.
+       * config.in: Ditto.
+
+Sun Apr 26 15:19:14 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * configure.in: Reverted change of Apr 24; use sinclude again.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:18:08 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * configure.in: Don't call sinclude.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * sim-main.h (SIM_MAIN_H): Wrap header.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Mar 10 15:54:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop): Delete, second attempt.
+
+Thu Feb 26 19:09:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_info): Delete.
+
+Wed Feb 18 10:47:32 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (TRACE_ALU_INPUT*): Delete.  Moved to sim-trace.[hc].
+
+       * simops.c (trace_result): Call trace_generic instead of
+       trace_one_insn.
+       (trace_module): Change variable type to integer.
+       (trace_input): Initialize trace_module with TRACE_ALU_IDX.
+
+       * sim-main.h (trace_module): Change variable decl to integer type.
+       (TRACE_BRANCH*, TRACE_LD, TRACE_ST): Update.
+
+Tue Feb 17 12:51:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Tue Feb  3 16:24:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (IMEM16, IMEM16_IMMED): Rename IMEM and
+       IMEM_IMMED. To match recent igen change.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Jan 30 09:51:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (CPU_CIA): Delete, replaced by.
+       (CIA_SET, CIA_SET): Define.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Dec  5 09:26:08 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850.igen: Revert break value back to its old value.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Dec  3 17:27:19 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850.igen: Make break have a zero first field, since otherwise
+       it clashes with the DIVH instruction.
+
+Sat Nov 22 21:32:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_10007E0): Rename SIGABRT -> SIM_SIGABRT. Give
+       sim_stopped instead of sim_signalled.
+
+       * v850.igen (BREAK), simops.c (OP_12007E0): Rename SIGTRAP to
+       SIM_SIGTRAP.
+       (illegal): Rename SIGILL to SIM_SIGILL.
+
+       * sim-main.h, simops.c, interp.c: Do not include signal.h.
+
+       * sim-main.h: Include sim-signal.h instead of signal.h.
+       (SIGTRAP, SIGQUIT): Delete definition.
+       (SIG_V850_EXIT): Delete definition.
+
+Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
+
+Fri Oct 31 10:33:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Check state magic number.
+       (sim-assert.h): Include.
+
+Tue Oct 28 11:06:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850.igen: Add model filter field to records.
+
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 26 11:56:02 1997  Felix Lee  <flee@cygnus.com>
+
+       * sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and
+       SIM_ENGINE_RESTART_HOOK.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:28:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (WITH_TARGET_WORD_MSB): Delete.
+
+       * configure.in (SIM_AC_OPTION_BITSIZE): Specify 32 bit
+       architecture with MSB == 31.
+
+Wed Sep 24 14:04:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850.igen: Make divh insn with RRRRR==0 breakpoint.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
+       SIM_HOSTENDIAN, SIM_RESERVED_BITS): Delete, moved to common.
+       (SIM_EXTRA_CFLAGS): Update.
+
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * configure.in: Really specify NONSTRICT_ALIGNMENT as the default.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Specify NONSTRICT_ALIGNMENT as the default.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 10:37:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850.igen (disp16): Use EXTEND16 to sign extend disp.
+       (disp22): Only shift left by 1, not 2.
+       ("jmp"): Ensure PC is 2 byte aligned.
+
+       * simops.c, v850.igen: Move "Bcond", "jr", "jarl" code to
+       v850.igen. Fix tracing.
+
+       * simops.c (OP_300, OP_400, OP_500): Move "sdl.b", "sld.h",
+       "sld.w" insns to v850.igen.  Fix tracing.
+       (OP_70): Ditto for "sld.hu".
+
+       * v850.igen: Clarify tracing of "sld.b", "sld.h" et.al.
+
+       * simops.c (condition_met): Make global.
+
+       * sim-main.h (TRACE_ALU_INPUT3, TRACE_BRANCH0, TRACE_LD,
+       TRACE_ST): Define.
+       (TRACE_LD_NAME): Define.
+
+       * simops.c: Move "cmov", "cmov imm" to v850.igen, fix.
+
+Wed Sep 17 16:21:08 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c: Move "mov", "reti", to v850.igen, fix tracing.
+
+       * interp.c (hash): Delete.
+
+       * v850.igen (nop): Really do nothing.
+
+       * interp.c (do_interrupt): Mask interrupts after PSW is saved, not
+       before.
+       * v850.igen (reti): Return to current PC not previous.
+
+Wed Sep 17 14:02:10 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c: Move "ctret", "bsw", "hsw" to v850.igen, fix tracing.
+       (trace_module): Global, save component/module name across insn.
+
+       * simops.c: Move "bsh" to v850.igen, fix.
+
+       * v850.igen (callt): Load correct number of bytes. Fix tracing.
+       (stsr, ldsr): Correct src, dest fields. Fix tracing.
+       (ctret): Force alignment.  Fix tracing.
+
+Tue Sep 16 22:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (trace_output): Add result argument.
+       (trace_result): New function.  Simpler version of trace_output,
+       assumes trace needed.
+       (trace_output): Call trace_result.
+       (trace_output): For IMM_REG_REG, trace correct register.
+       (trace_input): Add case for 16bit immediates.
+       (OP_600, OP_640, OP_680, OP_6C0, OP_6A0): Use.
+
+       * sim-main.h (TRACE_ALU_INPUT, TRACE_ALU_RESULT): Define.
+       (trace_values, trace_name, trace_pc, trace_num_values): Make
+       global.
+       (GR, SR): Define.
+
+       v850.insn (movea, stsr): Use.
+       (sxb, sxh, zxb, zxh): Ditto.
+
+Tue Sep 16 21:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c: Move "movea" from here.
+       * v850.igen: To here.
+
+       * v850.igen (simm16): Define, sign extend imm16.
+       (uimm16): Define, no sign extension.
+       (addi, andi, movea, movhi, mulhi, ori, satsubi, xori): Use.
+
+       * simops.c: Move "sxh", "switch", "sxb", "callt", "dispose",
+       "mov32" from here.
+       * v850.igen: To here.
+       (switch): Fix off by two error in NIA calc.
+
+Tue Sep 16 15:14:01 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (trace_pc, trace_name, trace_values, trace_num_values):
+       New static globals.
+       (trace_input): Just save pc, name and values for trace_output.
+       (trace_output): Write trace values to a buffer.  Use
+       trace_one_insn to print trace info and buffer.
+       (SIZE_OPERANDS, SIZE_LOCATION): Delete.
+
+Tue Sep 16 09:02:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h (struct _sim_cpu): Add psw_mask so that reserved bits
+       can be masked out.
+
+       * simops.c (OP_2007E0, OP_4007E0): Move "ldsr", "stsr"
+       instructions from here.
+       * v850.igen (ldsr, stsr): To here.  Mask out reserved bits when
+       setting PSW.
+
+       * interp.c (sim_open): Set psw_mask if machine known.
+
+Tue Sep 16 10:20:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850-dc: Add rule to diferentiate between breakpoint and divh.
+       * v850.igen (break): New instruction, breakpoint simulator.
+       * v850.igen (breakpoint): Enable.  Change to a 32bit instruction.
+
+Mon Sep 15 18:44:05 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * simops.c (Multiply64): Don't store into register zero.
+
+Tue Sep 16 09:02:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (semantics.o): Add dependency.
+
+       * sim-main.h (SAVE_1, SAVE_2): Perform backward compatible save,
+       do not adjust CIA/NIA.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_300, OP_400, OP_70): Make behavour depend on PSW[US].
+
+       * simops.c: Move "divun", "sld.bu", "divhn", "divhun", "divn",
+       "divun", "pushml" code from here to v850.igen.
+       (divun): Make global.
+       (type3_regs): Make global
+
+       * v850.igen: Move simops.c code to here.
+
+       * interp.c (sim_create_inferior): For v850eq set US bit by
+       default.
+
+       * interp.c (sim_open): Don't set arch, now set by
+       sim_analyze_program.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 14:39:34 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (op_types): Move from here.
+       sim-main.h: To here.
+
+       * sim-main.h (trace_input, trace_output), simops.c: Make global.
+
+       * simops.c (OP_60): Move "jmp" code from here.
+       * v850.igen (jmp): To here.
+
+       * simops.c (OP_60): Move "sld.bu" code from here.
+       * v850.igen (sld.bu): To here.
+
+Fri Sep 12 15:11:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850.igen (prepare, ...): Add to v850eq architecture.
+
+       * interp.c (sim_open): Default to v850eq.
+
+       * interp.c (sim_open): Default to v850e.
+       * sim-main.h (signal.h): Include.
+
+       * v850.igen (illegal): Report/halt illegal instructions.
+
+       * Makefile.in (SIM_EXTRA_CFLAGS): Add SIM_RESERVED_BITS.
+
+       * configure.in: Add reserved bits option.
+       * configure: Regenerate.
+
+Thu Sep 11 08:40:03 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Use sim_do_commandf instead of asprintf.
+
+       * sim-main.h (INSN_NAME):
+
+       * Makefile.in (INCLUDE): Add SIM_EXTRA_DEPS.
+       (SIM_EXTRA_DEPS): Add itable.h
+       (tmp-gencode): Does not depend on simops.h
+
+       * sim-main.h (itable.h): Include.
+       (MAX_INSNS, INSN_NAME): Define.
+
+       * interp.c: Compute inttype from the interrupt_names index that
+       was passed in.
+
+Wed Sep 10 10:25:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (trace_input): Use trace_printf instead of
+       sim_io_printf.
+       (trace_output): Ditto.
+       (trace_input): Only trace when TRACE_ALU_P.  Delete code
+       disasembling instruction.
+       (trace_output): Only trace when TRACE_ALU_P.
+
+Tue Sep  9 01:29:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (trace_input, trace_output): Use sim_io_printf.
+       (OP_620): Pass correct argument to trace.
+       (OP_E607E0): Ditto.
+       (trace_input): Obtain prog_bfd, text_start et.al from simulator
+       struct.
+
+Mon Sep  8 21:03:52 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850.igen: New file.
+       * v850-dc: New file.
+
+Mon Sep  8 18:33:04 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+
+       * sim-main.h (SEXT16): Delete, use EXTEND16.
+       (SEXT8): Delete, use EXTEND8.
+       (SEXT32): Delete, used?
+       (SEXT40, SEXT44, SEXT64): Use UNSIGNED64 for constants, not ...LL.
+       (WITH_TARGET_WORD_MSB): Define as 31. v850 little bit endian.
+
+       * simops.c: Use EXTEND15 from sim-bits instead of SEXT16.
+
+       * sim-main.h (DEBUG_TRACE, DEBUG_VALUES, v850_debug): Delete,
+       replace with TRACE_INSN_P and TRACE_ALU_P.
+
+       * simops.c (trace_input, trace_output): Update.
+
+       * interp.c (sim_engine_run): Delete.
+       (lookup_hash): Delete.
+       (sim_open): Do not fill hash table.
+       (sim_trace): Delete.
+
+Fri Sep  5 17:04:48 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_FFFF): Use sim_engine_halt.
+       (OP_12007E0): Ditto.
+       (OP_10007E0): Ditto.
+
+       * sim-main.h (struct sim_cpu): Delete member exception. Using
+       sim-engine et.al.
+
+       * interp.c (sim_info): Do not do anything in sim-info.
+       (sim_stop): Delete, replace with sim-stop.
+       (sim_stop_reason): Delete, replace with sim-reason.
+
+       * sim-main.h (WITH_WATCHPOINTS): Define.
+       (WITH_MODULO_MEMORY): Define
+
+       * Makefile.in (SIM_OBJS): Add sim-resume, sim-watch, sim-stop,
+       sim-reason.
+
+       * interp.c (enum interrupt_cond_type): Delete.
+       (struct interrupt_generator): Delete.
+       (enum interrupt_type): Drop int_none.
+       (sim_open): Initialize WATCHPOINT module.
+       (sim_resume, sim_run): Rename sim_resume to sim_run.
+       (sim_engine_run): Replace interrupt code with call to sim-events.
+       (sim_set_interrupt): Delete.
+       (sim_parse_number): Delete.
+
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  4 18:11:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (fetch_argv): New function, fetch a arg vector from
+       simulator memory.
+
+       * configure.in: Check for fork, execve, execv.
+       * configure: Regenerate.
+
+       * interp.c (sim_store_register, sim_fetch_register): Use H2T_4 and
+       T2H_4 for byte swapping.
+
+       * sim-main.h, interp.c (get_word, get_half, get_byte, put_word,
+       put_half, put_byte): Delete.
+
+       * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
+
+       * sim-main.h (load_mem, store_mem): Redefine as macros.
+       (IMEM, IMEM_IMMED): New macros - fetch instructions.
+
+       * simops.c (OP_10007E0): For SYS_read, SYS_write, SYS_open
+       transfer data via a buffer.
+       (fetch_str): New function, fetch string from memory.
+
+       * Makefile.in (SIM_OBJS): Add sim-hrw.o module.
+
+       * interp.c (sim_open): Establish memory maps using sim-memopt.c
+       via sim_do_command.
+       (sim_do_command): Print error if memory-map command is used. Call
+       sim_args_command.
+       (map): Delete, replaced by sim-core.
+       (sim_memory_init): Delete, replaced by sim-core.
+       (sim_set_memory_map): Delete, replaced by sim-memopt.
+       (load_mem): Delete, replaced by sim-core.
+       (store_mem): Delete, replaced by sim-core.
+       (sim_write): Delete, replaced by sim-hrw.
+       (sim_read): Delete, replaced by sim-hrw.
+
+       * sim-main.h (struct sim_state): Remove memory members, using
+       sim-core.c
+
+Wed Sep  3 10:18:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h: Replace SIM_HAVE_FLATMEM with mem ptr.
+       * interp.c (map): Do not add to a void pointer.
+
+       * Makefile.in (INCLUDE): Add sim-main.h
+
+       * configure.in: Check for time.h
+       * configure: Re-generate.
+
+       * interp.c (struct interrupt_generator): Make time unsigned long,
+       address SIM_ADDR.
+       (sim_resume): Make oldpc SIM_ADDR.
+       (struct hash_entry): Make mask/opcode unsigned.
+
+       * v850_sim.h (struct simops ): Make opcode and mask unsigned.
+
+       * simops.c (utime.h): Include if available.
+       (OP_10007E0): Check for UTIME function.
+       (divun): Put parentheses around shift argument.
+       (OP_640): Put parentheses around shift argument, was wrong.
+       (OP_107F0): Return something.
+
+       * interp.c (sim_parse_number): Use strtoul not strtol.
+       (sim_resume): Use sim_elapsed_time_get to keep track of the time.
+
+       * configure.in (SIM_AC_OPTION_WARNINGS): Add.
+       (SIM_AC_OPTION_ENDIAN): Set to hardwired big.
+       (SIM_AC_OPTION_HOST_ENDIAN): Add.
+       (AC_CHECK_FUNCS): Add utime.
+       (AC_CHECK_HEADERS): Add stdlib.h, string.h, strings.h, utime.h
+       configure: Regenerate.
+
+
+       * Makefile.in (SIM_RUN_OBJS): Use nrun.o.
+       (SIM_OBJS): Add sim-io.o, sim-hload.o, sim-utils.o, sim-options.o,
+       sim-config.o, sim-module.o, sim-events.o, sim-core.o,
+       sim-endian.o, sim-engine.o, sim-trace.o, sim-profile.o
+       (SIM_ENDIAN, SIM_WARNGINS): Define.
+
+       * simops.c (OP_10007E0): Use sim_io_* for transfers.
+
+       * interp.c (sim_resume): Pass sd around.
+
+       * simops.c (sim-main.h): Include.
+
+       * gencode.c (write_template): Generate #include sim-main.h.
+       (write_opcodes): Ditto.
+
+       * interp.c (prog_bfd, prog_bfd_was_opened_p): Delete.
+       (v850_callback): Ditto.
+       (sim_kind, myname): Ditto.
+       (lookup_hash): Pass SD. Use sim_io_error.
+       (sim_set_memory_map): Pass in SD, use.
+       (init_system): Pass in SD, use.
+       (sim_open): Update.
+       (sim_set_profile): Delete.
+       (sim_set_profile_size): Delete.
+       (do_interrupt): Pass in SD, use.
+       (sim_info): Use sim_io_printf.
+       (sim_create_inferior): Reset registers.  Set PC from prog_bfd
+       argument.
+       (sim_load): Delete, use common/sim-hload.c
+       (sim_size): Rename to sim_memory_init.
+       (sim_write): Remove call to init_system.
+       (init_system): Delete.
+       (sim_set_callbacks): Delete.
+       (sim_set_interrupt): Pass in SD, use.
+       (start_time): Delete.
+
+       * v850_sim.h: Remove everything except `struct simops' from here.
+       * sim-main.h: Move most to here.
+       * gencode.c: Move #includes to here.
+
+       * sim-main.h(struct _sim_cpu): Rename struct _state.
+       (#define PC, et.al.): Update
+       (v850_callback): Delete.  Replaced with SIM_DESC arg.
+       (int8, uint8, int16, uint16, int32, uint32): Define types using
+       unsigned8 et.al from common/sim-types.h.
+       * sim-main.h (State): Define as STATE_CPU.
+
+Mon Sep  1 12:07:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Check for time, chmod.
+       * configure: Regenerate.
+       * simops.c (SYS_time, SYS_chmod): Use HAVE_TIME, HAVE_CHMOD.
+
+       * simops.c (../../libgloss/v850/sys/syscall.h): Include instead of
+       sys/syscall.h.
+       (OP_10007E0): Check the existance each SYS_* macro independantly.
+
+       * v850_sim.h (SIGQUIT, SIGTRAP): Only define if missing.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Tue Aug 26 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.
+       (sim_load): Move setting of PC from here.
+       (sim_create_inferior): To here.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 11:31:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add ABFD argument.
+
+Fri Aug 22 10:39:28 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c (bsh): Only set CY flag if either of the bottom
+       bytes is zero.
+
+       * simops.c (prepare, dispose): Lower numbered
+       registers go to higher numbered address.
+
+       * simops.c (unsigned divide instructions): S bit set if result has
+       top bit set.
+
+       * simops.c (pushml, pushmh, popml, popmh): Lower numbered
+       registers go to higher numbered address.
+
+Wed Aug 20 13:56:35 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c (OP_107E0, OP_107F0, OP_307E0, OP_307F0): Use correct
+       interpretation of SR bit in list18 structure.
+       (divn, divun): New functions to perform N step divide functions.
+
+Mon Aug 18 10:59:02 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * simops.c (OP_300, OP_400, OP_60, OP_70): Support variant opcodes
+       with US bit set in the PSW.
+
+Wed Aug 13 19:06:55 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * interp.c (sim_resume): Opcode functions return amount to be
+       added to PC and all opcodes take a standard format in the OP[]
+       array.
+
+       (do_format_*): Functions removed.
+
+       * v850_sim.h (SP, EP): New register mnemonics.
+
+       * gencode.c (write_header): Functions prototypes return an
+       integer.
+
+       * simops.c: Opcode functions return amount to be added to PC.
+
+       * v850_sim.h (CTPC, CTPSW, CTBP): New register mnemonics.
+
+       * simops.c: Add support for v850e instructions.
+
+       * simops.c: Add support for v850eq instructions.
+
+Tue May 20 10:24:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_open): Add callback argument.
+       (sim_set_callbacks): Delete SIM_DESC argument.
+
+Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr 23 17:20:16 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (prog_bfd_was_opened_p): New static local.
+       (prog_bfd): New global variable.
+       (sim_open): Undo patch to add -E support.
+       (sim_close): Close prog_bfd if sim_load opened it.
+       (sim_load): Record bfd of loaded file in prog_bfd.
+       * simops.c (prog_bfd): Renamed from exec_bfd.
+
+Fri Apr 18 14:17:12 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_stop): Stub function.
+
+Thu Apr 17 03:53:18 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (SIM_OBJS): Add sim-load.o.
+       * interp.c (sim_kind, myname): New static locals.
+       (sim_open): Set sim_kind, myname.  Ignore -E arg.
+       (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
+       load file into simulator.  Set start address from bfd.
+       (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
+
+Wed Apr 16 19:53:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * simops.c (OP_10007E0): Only provide system calls SYS_execv,
+       SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
+
+Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New arg `kind'.
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * configure: Re-generate.
+
+Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Regenerate to track ../common/aclocal.m4 changes.
+
+Thu Mar 13 13:00:54 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * interp.c (sim_open): New SIM_DESC result.  Argument is now
+       in argv form.
+       (other sim_*): New SIM_DESC argument.
+
+Tue Feb  4 13:33:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
+       COMMON_{PRE,POST}_CONFIG_FRAG instead.
+       * configure.in: sinclude ../common/aclocal.m4.
+       * configure: Regenerated.
+
+Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * configure configure.in Makefile.in:  Update to new configure
+       scheme which is more compatible with WinGDB builds.
+       * configure.in:  Improve comment on how to run autoconf.
+       * configure:  Re-run autoconf to get new ../common/aclocal.m4.
+       * Makefile.in:  Use autoconf substitution to install common
+       makefile fragment.
+
+Mon Jan 20 16:05:34 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_{E0,2E0,6E0}): The multiply operations sign extend,
+       not zero extend.
+
+Tue Jan 14 17:06:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * simops.c:  Put ifdefs around things to make MSVC happy.  Get rid
+       of unistd.h.  Disable SYS_stat, SYS_chown, SYS_time, SYS_times,
+       SYS_gettimeofday and SYS_utime from MSVC.
+
+Tue Dec 31 18:11:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (OP_10007E0): Know that kill encodes the signal number
+       via: 0xdead0000 | signal and turn it back into a signal.
+
+Fri Dec 27 14:44:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * v850_sim.h (SIG_V850_EXIT): Define as -1.
+
+       * interp.c (sim_open): Cast calloc function.
+       (sim_stop_reason): If signal is SIG_V850_EXIT, inform gdb the
+       program exited with the appropriate exit code.
+       (sim_set_interrupt): Declare buildargv.
+
+       * simops.c (OP_10007E0): Make exit signal normal exit.  Make time
+       type correct and work on big endian systems.
+
+Wed Nov 20 02:18:44 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in: Delete stuff moved to ../common/Make-common.in.
+       (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
+       * configure.in: Simplify using macros in ../common/aclocal.m4.
+       Call AC_CHECK_HEADERS(unistd.h).
+       * configure: Regenerated.
+       * config.in: New file.
+       * simops.c: #include "config.h".  #include <unistd.h> if present.
+
+Sun Nov  3 23:02:54 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * v850_sim.h (State): New slots dummy_mem, pending_nmi.
+       (EIPC, etc): New macros for system registers.
+       * simops.c, interp.c: Use everywhere.
+
+       * interp.c: Add support for interrupts issued by interrupt
+       generators, either PC- or time-based.  Controlled by simulator
+       command "sim interrupt".
+
+       * interp.c: Add support for variable-size allocation of memory,
+       via simulator command "sim memory-map".
+       (map): Issue SIGSEGV for references to invalid memory regions.
+
+Thu Oct 31 14:44:10 1996  Gavin Koch  <gavin@cygnus.com>
+
+       * simops.c: Include <sys/time.h> for struct timeval and
+       struct timezone.
+
+Wed Oct 30 08:49:10 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
+
+       * simops.c (OP_10007E0): Handle SYS_time.
+
+Tue Oct 29 14:22:55 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Include <sys/stat.h>.
+       (OP_10007E0): Handle SYS_stat.
+
+Thu Oct 24 12:26:35 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (OP_10007E0): Don't declare errno.
+
+       * simops.c (OP_500): Mask off low bit in displacement
+       for sld.w.
+       (OP_501): Similarly.
+
+       * simops.c (OP_500): Fix displacement handling for sld.w.
+       (OP_501): Similarly for sst.w.
+
+       * simops.c (trace_input): Remove all references to SEXT7.
+       (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement
+       is zero extended for sst/sld instructions.
+       * v850_sim.h (SEX7): Delete.  It's no longer needed (and it
+       was incorrect anyway).
+
+Thu Oct 24 10:33:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Makefile.in:  Get rid of srcroot.  Set all INSTALL macros via
+       autoconf.
+       * gencode.c (write_opcodes):  Pad operands field to account for
+       MSVC braindamage.
+       * simops.c:  Include errno.h.  Exclude SYS_chown, since MSVC
+       doesn't support it.  (Why is this here in the first place?!?)
+       * v850_sim.h:  Get rid of 64 bit defs.  Also, get rid of #elif's.
+       Change number of operands in struct simops from 9 to 6.  Define
+       SIGTRAP and SIGQUIT for MSVC.
+
+Tue Oct 15 16:19:51 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * interp.c (MEM_SIZE):  It's now bytes, not a power of 2.
+       * (map):  Add support for external mem in the 1->2 meg range.
+       Also, abort() when memory access is way out of bounds.  (Better to
+       die than to give wrong result.  (This will be fixed later.))
+       * (sim_size):  MEM_SIZE is now bytes, not shift factor.
+
+Tue Oct  1 15:53:24 1996  Gavin Koch <gavin@cygnus.com>
+
+       * simops.c (trace_input): Swapped order of operands for output
+       output of OP_IMM_REG.  Changed the fetching of the operands for
+       OP_LOAD32, and OP_STORE32 to work like op-function.
+
+Mon Sep 30 15:46:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * interp.c:  Move includes of remote-sim.h and callback.h to
+       v850-sim.h.
+       * (lookup_hash): Add PC to report of hash failure.
+       * (map load_mem store_mem):  New memory subsystem.  Models V851
+       memory system.
+       * (sim_write sim_read):  Use new memory subsystem.
+       * (sim_resume):  Don't load and save PC into EIPC anymore.  Needed
+       to make user-defined traps work right.
+       * simops.c (OP_*):  Use new memory subsystem.
+       * (OP_14007E0 (reti)):  Implement reti.
+       * (OP_14996E0 (trap)):  Implement user-defined traps.  Move I/O to
+       trap 31.  Use new memory subsystem.
+       * v850_sim.h:  Prototypes for load_mem, store_mem and map.  Use
+       load_mem in RLW macro.
+
+Fri Sep 27 18:34:09 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * gencode.c (write_opcodes):  Output hex values for opcode mask
+       and patterns.
+       * interp.c (sim_resume):  Save and restore PC from the appropriate
+       register.
+       * (sim_fetch_register sim_store_register):  Fix byte-order problem
+       with reading and writing registers.
+       * simops.c (OP_FFFF):  Implement pseudo-breakpoint insn.
+
+Fri Sep 27 17:42:37 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (trace_input): Fix thinko.
+
+Wed Sep 18 09:54:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (exec_bfd): Rename from sim_bfd.
+       (trace_input): Ditto.
+
+Thu Sep 12 12:03:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c (trace_input): Use find_nearest_line to print line
+       number, function name or file name of PC.
+
+Wed Sep 11 16:44:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * simops.c: Add tracing support.  Use SEXTxx macros instead of
+       doing hardwired shifts.
+
+       * configure.in (--enable-sim-cflags): Add switch to add additional
+       flags to simulator buld.  If --enable-sim-cflags=trace, turn on
+       tracing.
+       * configure: Regenerate.
+
+       * Makefile.in: Don't require a VPATH capable make if configuring
+       in the same directory.  Don't use CFLAGS for configuration flags.
+       Add flags from --enable-sim-cflags.  Support canadian cross
+       builds.  Rebuild whole simulator if include files change.
+
+       * interp.c (v850_debug): New global for debugging.
+       (lookup_hash,sim_size,sim_set_profile): Use
+       printf_filtered callback, instead of calling printf directly.
+       (sim_{open,trace}): Enable tracing if -t and compiled for tracing.
+
+       * v850_sim.h: Use limits.h to set the various sized types.
+       (SEXT{5,7,16,22}): New macros.
+
+Mon Sep  9 20:50:46 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (hash): Make this an inline function
+       when compiling with GCC.  Simplify.
+       * simpos.c: Explicitly include "sys/syscall.h".  Remove
+       some #if 0'd code.  Enable more emulated syscalls.
+
+Wed Sep  4 01:48:55 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c: Fix sign bit handling for add and sub instructions.
+
+Tue Sep  3 10:20:30 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * gencode.c: Fix various indention & style problems.
+       Remove test code.  Remove #if 0 code.
+       * interp.c: Provide prototypes for all static functions.
+       Fix minor indention problems.
+       (sim_open, sim_resume): Remove unused variables.
+       (sim_read): Return type is "int".
+       * simops.c: Remove unused variables.
+       (divh): Make result of divide-by-zero zero.
+       (setf): Initialize result to keep compiler quiet.
+       (sar instructions): These just clear the overflow bit.
+       * v850_sim.h: Provide prototypes for put_byte, put_half
+       and put_word.
+
+       * interp.c: OP should be an array of 32bit operands!
+       (v850_callback): Declare.
+       (do_format_5): Fix extraction of OP[0].
+       (sim_size): Remove debugging printf.
+       (sim_set_callbacks): Do something useful.
+       (sim_stop_reason): Gross hacks to get c-torture running.
+       * simops.c: Simplify code for computing targets of bCC
+       insns.   Invert 's' bit if 'ov' bit is set for some
+       instructions.  Fix 'cy' bit handling for numerous
+       instructions.  Make the simulator stop when a halt
+       instruction is encountered.  Very crude support for
+       emulated syscalls (trap 0).
+       * v850_sim.h: Include "callback.h" and declare
+       v850_callback.  Items in the operand array are 32bits.
+
+Sun Sep  1 22:35:35 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (sim_resume): Fix code to check for a format 3
+       opcode.
+       * simops.c: bCC insns only argument is a constant, not a
+       register value (duh...)
+
+Fri Aug 30 10:33:49 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c: Fix "not1" and "set1".
+
+       * simops.c: Don't forget to initialize temp for
+       "ld.h" and "ld.w"
+
+       * interp.c: Remove various debugging printfs.
+
+       * simops.c: Fix satadd, satsub boundary case handling.
+
+       * interp.c (hash): Fix.
+       * interp.c (do_format_8): Get operands correctly and
+       call the target function.
+       * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1".
+
+Thu Aug 29 13:53:29 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * interp.c (do_format_4): Get operands correctly and
+       call the target function.
+       * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b",
+       "sst.h", and "sst.w".
+
+       * v850_sim.h: The V850 doesn't have split I&D spaces.  Change
+       accordingly.  Remove many unused definitions.
+       * interp.c: The V850 doesn't have split I&D spaces.  Change
+       accordingly.
+       (get_longlong, get_longword, get_word): Deleted.
+       (write_longlong, write_longword, write_word): Deleted.
+       (get_operands): Deleted.
+       (get_byte, get_half, get_word): New functions.
+       (put_byte, put_half, put_word): New functions.
+       * simops.c: Remove unused functions.  Rough cut at
+       "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns.
+
+       * v850_sim.h (struct _state): Remove "psw" field.  Add
+       "sregs" field.
+       (PSW): Remove bogus definition.
+       * simops.c: Change condition code handling to use the psw
+       register within the sregs array.  Handle "ldsr" and "stsr".
+
+       * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".
+
+       * interp.c (do_format_5): Get operands correctly and
+       call the target function.
+       (sim_resume): Don't do a PC update for format 5 instructions.
+       * simops.c: Handle "jarl" and "jmp" instructions.
+
+       * simops.c: Fix minor typos.  Handle "cmp", "setf", "tst"
+       "di", and "ei" instructions correctly.
+
+       * interp.c (do_format_3): Get operands correctly and call
+       the target function.
+       * simops.c: Handle bCC instructions.
+
+       * simops.c: Add condition code handling to shift insns.
+       Fix minor typos in condition code handling for other insns.
+
+       * Makefile.in: Fix typo.
+       * simops.c: Add condition code handling to "sub" "subr" and
+       "divh" instructions.
+
+       * interp.c (hash): Update to be more accurate.
+       (lookup_hash): Call hash rather than computing the hash
+       code here.
+       (do_format_1_2): Handle format 1 and format 2 instructions.
+       Get operands correctly and call the target function.
+       (do_format_6): Get operands correctly and call the target
+       function.
+       (do_formats_9_10): Rough cut so shift ops will work.
+       (sim_resume): Tweak to deal with format 1 and format 2
+       handling in a single funtion.  Don't update the PC
+       for format 3 insns.  Fix typos.
+       * simops.c: Slightly reorganize.  Add condition code handling
+       to "add", "addi", "and", "andi", "or", "ori", "xor", "xori"
+       and "not" instructions.
+       * v850_sim.h (reg_t): Registers are 32bits.
+       (_state): The V850 has 32 general registers.  Add a 32bit
+       psw and pc register too.  Add accessor macros
+
+       * Makefile.in, interp.c, v850_sim.h: Bring over endianness
+       changes from the d10v simulator.
+
+       * simops.c: Add shift support.
+
+       * simops.c: Add multiply & divide support.  Abort for system
+       instructions.
+
+       * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
+       and subr.  No condition codes yet.
+
+Wed Aug 28 13:53:22 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
+       gencode.c, interp.c, simops.c: Created.