Fixup readline and sim including of override.m4
[deliverable/binutils-gdb.git] / sim / ChangeLog
index 67a52d9160696bea673da1b59043f314058a3a33..086538bb23085166fab026c17dc3bfa1ef63386c 100644 (file)
@@ -1,3 +1,473 @@
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * 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-05-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * m32c/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-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.
+       * avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
+       * avr/config.in: New file, generated by autoheader.
+       * avr/configure: New file generated by autoconf.
+       * 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.
+
+2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/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>
+
+       * cris/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>
+
+       * cris/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.
+
+       * cris/sim-main.h (struct _sim_cpu): New member
+       set_target_thread_data.
+       * cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
+       * cris/crisv10f.c: Ditto.
+       * cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
+       (MY (f_specific_init)): Set new _sim_cpu member to new function.
+       * cris/traps.c (TARGET_SYS_set_thread_area): Define.
+       (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
+       case.
+
+       * cris/traps.c (TARGET_SYS_exit_group): Define.
+       (cris_break_13_handler): Handle it like the exit for the last
+       thread.
+
+       * cris/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.
+
+       * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
+       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+       TARGET_MAP_DENYWRITE.
+
+       * cris/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.
+
+       * cris/semcrisv32f-switch.c: Regenerate.
+
+2008-12-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/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.
+
+       * cris/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.
+
+       * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
+       * cris/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-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-07-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/configure: Regenerate to track ../common/common.m4 changes.
+       * cris/config.in: Ditto.
+
+2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
+            Daniel Jacobowitz  <dan@codesourcery.com>
+            Joseph Myers  <joseph@codesourcery.com>
+
+       * cris/configure: Regenerate.
+
+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-10-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
+       cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
+       cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
+       cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
+       cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
+       cris/semcrisv32f-switch.c: Regenerate.
+
+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-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/traps.c (dump_statistics): Change format for cycle numbers
+       to %llu and cast parameters to unsigned long long.
+
+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-10-02  Edgar E. Iglesias  <edgar@axis.com>
+           Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
+       (cris_unknown_syscall_action): Declare.
+       * cris/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.
+       * cris/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  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Add Dave Brolley for sh64.
+
+2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/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>
+
+       * cris/configure.ac: Check for limits.h and sys/param.h.
+       * cris/configure, cris/config.in: Rebuild.
+       * cris/traps.c (SIM_PATHMAX): New macro.
+       (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
+
+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-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cris/configure: Regenerated.
+
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cris/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-04-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
+
+2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
+       * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
+       (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
+       (all): Depend on rvdummy$(EXEEXT).
+       * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS.  Check for
+       sys/socket.h and sys/select.h.  Call SIM_AC_OPTION_HARDWARE,
+       default off.
+       * cris/configure: Regenerate.
+       * cris/cris-sim.h (cris_have_900000xxif): Declare here.
+       (enum cris_interrupt_type, crisv10deliver_interrupt)
+       (crisv32deliver_interrupt: New declarations.
+       * cris/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.
+       * cris/crisv10f.c (MY (deliver_interrupt)): New function.
+       * cris/crisv32f.c (MY (deliver_interrupt)): New function.
+       * cris/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.
+       * cris/sim-if.c (cris_have_900000xxif): Now global.
+       (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
+       Force "-model" option, effectively.
+       * cris/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>
+
+       * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
+       (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
+       (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
+
+2006-03-13  DJ Delorie  <dj@redhat.com>
+
+       * MAINTAINERS: Add self as m32c sim maintainer.
+
+2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
+       mapping.
+       (cris_break_13_handler) <case TARGET_SYS_time>: New case.
+
+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.
+
+2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/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>
+
+       * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
+       cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
+       cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
+       cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
+
+2005-12-05  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
+       cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
+       cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
+       cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
+       cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
+       cris/semcrisv32f-switch.c: Regenerate.
+
+2005-11-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/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>
+
+       * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
+       last_open_fd, last_open_flags.
+       * cris/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.
+
+       * cris/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/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>
+
+       * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
+
+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-18  Hans-Peter Nilsson  <hp@axis.com>
 
        * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
This page took 0.028044 seconds and 4 git commands to generate.