]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/arm/ChangeLog
sim: drop duplicate header checks
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
index bf7256c4516517fc79225d6a0ba699bd3efc4a20..40d461c29e4202d3bc9362df1cb7d1cd35db7423 100644 (file)
@@ -1,3 +1,519 @@
+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