X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=6cb313b74528de48ae3cac8e2fb6a45d957c6c84;hb=0bd15c7fb2b8e2bcc72890acc6e42816d39d64df;hp=506029cd1180385d093eceeecd5862dcde3a1be0;hpb=7e12978101ece6f8cfd097bb2489d370459a1607;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 506029cd11..6cb313b745 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,364 @@ +2010-10-07 Hans-Peter Nilsson + + * callback.c (os_lseek): Call wrap on lseek result. + +2010-05-26 Ozkan Sezer + + * 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 + + * sim-fpu.c (sim_fpu_zero, sim_fpu_qnan): Add 0 initializers. + +2010-04-21 Mike Frysinger + + * profile.c (sim_profile_print_bar): Add cpu argument. + +2010-04-21 Mike Frysinger + + * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU. + +2010-04-21 Mike Frysinger + + * 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 + + * 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 + + * dv-sockser.h (DV_SOCKSER_DISCONNECTED): Define. + * dv-sockser.c (dv_sockser_status): Set DV_SOCKSER_DISCONNECTED + initially. + +2010-04-13 Mike Frysinger + + * sim-hrw.c (sim_write): Add const to buf arg. + * sim-utils.h (sim_write_fn): Likewise. + +2010-04-12 Mike Frysinger + + * sim-profile.h (PROFILE_BRANCH_TAKEN, PROFILE_BRANCH_UNTAKEN): New + defines. + +2010-04-12 Mike Frysinger + + * 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 + + * 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 + + * 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 + + * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements. + +2010-04-10 Mike Frysinger + + * sim-trace.c (save_data): Add const markings to "buf" argument. + +2010-04-10 Mike Frysinger + + * sim-options.c (standard_option_handler): Add const markings to + local "type" var. + +2010-04-02 Mike Frysinger + + * hw-ports.h: Fix spelling typos. + +2010-03-30 Mike Frysinger + + * 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 + + * sim-utils.c (sim_io_eprintf_cpu): Use %s with printf string. + * sim-hw.c (hw_option_handler): Likewise. + +2010-03-30 Mike Frysinger + + * 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 + + * sim-core.c (sim_core_read_buffer): Change raddr to address_word. + (sim_core_write_buffer): Likewise. + +2010-03-30 Mike Frysinger + + * sim-trace.c (trace_option_handler): Move cpu_nr decl behind + the SIM_HAVE_ADDR_RANGE define. + +2010-03-30 Mike Frysinger + + * sim-core.h (device_error): Add const to message, and add printf + format attribute. + +2010-03-30 Mike Frysinger + + * sim-profile.c (profile_print_addr_ranges): Wrap with the + SIM_HAVE_ADDR_RANGE define. + +2010-03-30 Mike Frysinger + + * dv-glue.c (hw_glue_ports): Swap static and const. + +2010-03-30 Mike Frysinger + + * 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 + + * sim/common/sim-options.c (enum): Remove SIM_HAVE_BIENDIAN ifdef. + (standard_options): Likewise. + (standard_option_handler): Likewise. + +2010-03-16 Mike Frysinger + + * 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 + + * hw-properties.h (hw_add_boolean_property): Rename "bool" to + "boolean". + +2010-02-04 Mike Frysinger + + * sim-model.c: Include sim-model.h + +2010-02-04 Mike Frysinger + + * sim-base.h: Declare sim_state.cpu as a pointer in the comment. Drop + & from the STATE_CPU() examples. + +2010-01-24 Doug Evans + + * 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 + + * cgen-ops.h (SUBWORDXFSI): Fix word ordering. + (SUBWORDTFSI, JOINSIDI): Ditto. + +2010-01-05 Doug Evans + + * cgen-types.h (SETDI): Delete, unused. + +2009-12-02 Doug Evans + + * cgen-engine.h: Remove duplicated comment. + +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