]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/h8300/ChangeLog
sim: allow the assert configure option everywhere
[thirdparty/binutils-gdb.git] / sim / h8300 / ChangeLog
index 2436abac2665682f0fe000804e44457a84e4d9f6..fa8370293119b45e4dc5f98c2318b3051b17df31 100644 (file)
@@ -1,8 +1,461 @@
+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>
 
 
 2003-03-20  D.Venkatasubramanian  <dvenkat@noida.hcltech.com>
 
-       * compile.c (cmdline_location): Added function to 
+       * 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 
+       (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 
+       (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.
 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) 
+       * 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. 
+       * compile.c: Change literal regnumbers to REGNUMS.
        Fix instruction and cycles counting
 
 2001-12-20  Kazu Hirata  <kazu@hxi.com>
@@ -183,7 +636,7 @@ Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
 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
@@ -192,7 +645,7 @@ Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
 
 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
 
-        * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
 
 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
 
@@ -465,18 +918,18 @@ Wed Jun 26 08:58:53 1996  Jeffrey A Law  (law@cygnus.com)
 
 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.
+       * 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
@@ -728,7 +1181,7 @@ Fri Jul  9 14:36:48 1993  Doug Evans  (dje@canuck.cygnus.com)
        (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.
@@ -779,5 +1232,5 @@ Sun Jan  3 14:15:07 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
 
 Tue Dec 22 13:56:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
 
-       * new 
+       * new