* callback.c (os_lseek): Call wrap on lseek result.
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
index d7440be77262162c86768e1d0f1de90e7290c6c4..6cb313b74528de48ae3cac8e2fb6a45d957c6c84 100644 (file)
@@ -1,3 +1,527 @@
+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.
This page took 0.03546 seconds and 4 git commands to generate.