X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=22ea9453250753f042d8270863f2758583969666;hb=62836bf48e1a5312afa895ec7730a332e0928e0a;hp=ca6d384a85f5266fb10b94ff82fbdeeb5dd2d5ca;hpb=ea52ff81ba88d9490d4fa765b922c764ab4c6f4a;p=binutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ca6d384a85f..22ea9453250 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,474 @@ +2009-11-23 Doug Evans + + * cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT. + (EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT. + +2009-11-22 Doug Evans + + * 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 + + * cgen-mem.h (DECLARE_GETT): Don't inline. + (DECLARE_SETT): Ditto. + +2009-10-15 Joel Sherrill + + * sim-inline.h: Fix spelling error. + +2009-10-02 Ralf Corsepius + + * Make-common.in: Add datarootdir. + +2009-08-29 Ralf Wildenhues + + * 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 + + * 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 + + * Makefile.in (datarootdir): New variable. + +2009-07-07 Doug Evans + + * Make-common.in (CPU_DIR): Define. + +2009-07-06 Doug Evans + + * 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 + + * gennltvals.sh: Add lm32 target. + * nltvals.def: Add lm32 syscall definitions. + +2009-03-19 J"orn Rennecke (tiny change) + + Speed up simulator startup: + * sim-utils.c (zalloc): Use xcalloc. + +2009-01-07 Hans-Peter Nilsson + + * 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 + + * aclocal.m4: Fix underquoting of function names. + +2008-10-21 Julian Brown + + * Make-common.in (run$(EXEEXT)): Add LDFLAGS. + +2008-07-11 Hans-Peter Nilsson + + * 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 + Daniel Jacobowitz + Joseph Myers + + * 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 + + * sim-signal.c: Define missing signals for _WIN32. + +2008-02-12 M Ranga Swami Reddy + + * gennltvals.sh: Add cr16. + * nltvals.def: Rebuild. + +2007-10-11 Jesper Nilsson + + * 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 + + * 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 + + * acconfig.h: Remove. + * config.in: Regenerate. + +2006-11-07 Thiemo Seufer + + * gentmap.c: Fix compile time warning. + +2006-11-07 Thiemo Seufer + + * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type + for bfd text addresses. + +2006-08-29 Thiemo Seufer + Nigel Stephens + + * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for + SIM_QUIET_NAN_NEGATED. + +2006-08-29 Nigel Stephens + + * 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 + + * aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR. + * common.m4: Likewise. + * configure: Regenerated. + +2006-06-05 Daniel Jacobowitz + + * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. + * configure: Regenerated. + +2006-05-31 Daniel Jacobowitz + + * 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 + + * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate- + option-contents test. + +2005-11-28 Mark Mitchell + + * 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 + + * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES + change. + +2005-07-08 Ian Lance Taylor + + * 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 + + * callback.c: Remove ANSI_PROTOTYPES conditional code. + * sim-load.c: Likewise. + * syscall.c: Likewise. + +2005-05-24 Corinna Vinschen + + * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency + check. + +2005-05-17 Daniel Jacobowitz + + * Make-common.in (install-common, installdirs): Honor $DESTDIR. + +2005-04-20 Manoj Iyer + + * sim-types.h: Changed unsigned32 and unsigned64 to signed32 + and signed64 for __ALPHA__. + +2005-03-23 Mark Kettenis + + * 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 + + * 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 + + * callback.c (os_fstat): Don't declare 't' unless it's used. + +2005-02-09 Jim Blandy + + * 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 + + * syscall.c (cb_syscall) : 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 + + * 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 + + * common.m4: New file, based on of aclocal.m4. + +2005-01-11 Andrew Cagney + + * aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros. + * configure: Regenerated to track ../common/aclocal.m4 changes. + +2005-01-07 Andrew Cagney + + * 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 + + * syscall.c (cb_syscall) + : New cases. + +2004-12-13 Hans-Peter Nilsson + + * syscall.c (cb_syscall) : New case. + (cb_syscall) : New case. + * callback.c (os_lstat): New function. + +2004-12-08 Hans-Peter Nilsson + + * run.1: Document --sysroot=filepath. + * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT. + (standard_options): Support --sysroot=. + (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 + + * Make-common.in (sim-basics_h): Add $(callback_h). + +2004-12-03 Hans-Peter Nilsson + + * 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 + + * cgen.sh: New thirteenth parameter opcfile, defaulting to + /dev/null. + : Pass -OPC opcfile. + * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth + parameter to cgen.sh. + +2004-11-30 Richard Earnshaw + + * 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 + + * 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 + + * 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 + + * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2. + +2004-07-26 Andrew Cagney + + Problem from Olaf Hering . + * Makefile.in (install-man, installdirs): Add DESTDIR prefix. + +2004-07-10 Ben Elliston + + * hw-tree.c (parse_integer_property): Typo fix in comments. + * sim-options.c (sim_args_command): Likewise. + +2004-06-28 Andrew Cagney + + * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook. + +2004-06-27 J"orn Rennecke + + * callback.c (os_shutdown): Fix bug in last change: actually + mark file descriptors as available on startup. + +2004-06-25 J"orn Rennecke + + [ 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 + + * sim-load.c (sim_load_file): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc. + +2004-05-18 Daniel Jacobowitz + + * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before + passing it to printf. + +2004-05-10 Daniel Jacobowitz + + * 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 + + * 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 + + * Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty. + +2003-12-19 Kazuhiro Inaoka + + * sim-core.c (sim_core_trans_addr): Added for m32r-linux-run. + +2003-11-22 Kazu Hirata + + * sim-options.c (standard_options): Fix the names of H8 + variants. + +2003-10-30 Andrew Cagney + + * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" + with "struct bfd_symbol". + +2003-10-21 Andrew Cagney + + * callback.c (os_truncate): Call "truncate", and not "stat". + +2003-10-20 Andrew Cagney + + * sim-base.h: Replace "struct sec" with "struct bfd_section". + +2003-10-15 J"orn Rennecke + + * callback.c (os_ftruncate, os_truncate): New functions. + (default_callback): Initialize ftruncate and truncate members. + 2003-09-08 Dave Brolley On behalf of Doug Evans