X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=0478f2cc752fa763a03872c016e110e6f52ba6c1;hb=6362a3f8757bfce133b724df2077573433823ad4;hp=445a4c044e24edd5be596db5434c97ea9d81c08a;hpb=3346cfda88e8a4351e9b11c663e365bcf9721ff2;p=binutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 445a4c044e2..0478f2cc752 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,423 @@ +2015-06-17 Mike Frysinger + + * callback.c (cb_target_map_entry, cb_host_map_entry): Define. + (cb_target_to_host_syscall): Rewrite to use cb_target_map_entry. + (cb_host_to_target_errno): Rewrite to use cb_host_map_entry. + (cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal, + cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal): + Define. + * gentmap.c (gen_targ_map_c): Output name field. + +2015-06-12 Mike Frysinger + + * acinclude.m4: Change configure.in to configure.ac. + * sim-config.h: Likewise. + +2015-06-12 Mike Frysinger + + * acinclude.m4 (sim-trace): Delete -DTRACE flags. + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT, + TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE, + TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL, + TRACE_DEBUG): Define. + +2015-06-12 Mike Frysinger + + * sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P. + * sim-trace.c (trace_option_handler): Likewise. + * sim-trace.h (WITH_TRACE_ANY_P): Define. + (STRACE_ANY_P): Use WITH_TRACE_ANY_P. + (TRACE_ANY_P): Likewise. + +2015-06-12 Mike Frysinger + + * cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to + CGEN_TRACE_INSN_FINI. + * cgen-trace.c: Rename trace_insn to cgen_trace_insn, + trace_result to cgen_trace_result, trace_insn_fini to + cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init, + and trace_extract to cgen_trace_extract. + * cgen-trace.h (trace_insn_init): Rename to ... + (cgen_trace_insn_init): ... this. + (trace_insn_fini): Rename to ... + (cgen_trace_insn_fini): ... this. + (trace_insn): Rename to ... + (cgen_trace_insn): ... this. + (trace_extract): Rename to ... + (cgen_trace_extract): ... this. + (trace_result): Rename to ... + (cgen_trace_result): ... this. + (TRACE_RESULT_P): Rename to ... + (CGEN_TRACE_RESULT_P): ... this. + (TRACE_INSN_INIT): Rename to ... + (CGEN_TRACE_INSN_INIT): ... this. Change trace_insn_init to + cgen_trace_insn_init. + (TRACE_INSN_FINI): Rename to ... + (CGEN_TRACE_INSN_FINI): ... this. Change trace_insn_fini to + cgen_trace_insn_fini. + (TRACE_PRINTF): Rename to ... + (CGEN_TRACE_PRINTF): ... this. + (TRACE_INSN): Rename to ... + (CGEN_TRACE_INSN): ... this. Change trace_insn to cgen_trace_insn. + (TRACE_EXTRACT): Rename to ... + (CGEN_TRACE_EXTRACT): ... this. Change trace_extract to + cgen_trace_extract. + (TRACE_RESULT): Rename to ... + (CGEN_TRACE_RESULT): ... this. Change TRACE_RESULT_P to + CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result. + * genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to + CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and + TRACE_INSN to CGEN_TRACE_INSN. + (@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI. + +2015-06-11 Mike Frysinger + + * sim-events.c (ETRACE_P): Delete. + (ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd). + (update_time_from_event, sim_events_schedule_vtracef): Likewise. + * sim-events.h (struct _sim_events): Delete trace member. + * sim-trace.c (set_trace_option_mask): Delete trace_nr check and + always set STATE_TRACE_FLAGS(sd)[trace_nr] element. + +2015-06-11 Mike Frysinger + + * sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P, + STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P, + STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P, + STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define. + +2015-06-11 Mike Frysinger + + * sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines. + +2015-06-11 Mike Frysinger + + * sim-trace.h (WITH_TRACE_P): New define. + (WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P, + WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P, + WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P, + WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P, + WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P): + Redefine to use WITH_TRACE_P. + +2015-06-09 Mike Stump + + * sim-events.c (sim_events_schedule_after_signal): Fix spelling + mistake in call to sim_engine_abort. + +2015-04-29 Nick Clifton + + PR 18273 + * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by + increasing parenthesis around casts to signed values. + +2015-04-21 Mike Frysinger + + * gennltvals.sh: Add mcore support. + * nltvals.def: Regenerate. + +2015-04-21 Mike Frysinger + + * cgen.sh: Add +x permissions. + * genmloop.sh: Likewise. + * gentvals.sh: Likewise. + * gennltvals.sh (newlibroot): New variable to hold the path to newlib. + Change all uses of srcroot for newlib to newlibroot. + +2015-04-18 Mike Frysinger + + * sim-base.h (SIM_CPU): New typedef. + +2015-04-18 Mike Frysinger + + * cgen-engine.h (CIA_ADDR): Delete. + * sim-base.h: Update sim_cia example. + [!CIA_ADDR] (sim_cia): New typedef. + +2015-04-17 Mike Frysinger + + * cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET. + * sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise. + * sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET. + * sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and + CIA_SET to CPU_PC_SET. + +2015-04-15 Mike Frysinger + + * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o. + * sim-main.h (STATE_CPU): Remove from comment and define. + +2015-04-13 Mike Frysinger + + * acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM. + * configure: Regenerate. + +2015-04-13 Mike Frysinger + + * sim-options.c: Include version.h. + (OPTIONS_VERSION): New enum. + (standard_options): Add "version". + (standard_option_handler): Handle OPTIONS_VERSION. + +2015-04-13 Mike Frysinger + + * Makefile.in (version.o): Change to using create-version.sh from gdb. + (create-version.sh): Delete. + +2015-04-06 Mike Frysinger + + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o. + +2015-04-01 Mike Frysinger + + * run-sim.h, run.c: Delete. + * tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete. + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + * Make-common.in (CSEARCH): Add $(ZLIBINC). + (ZLIB, ZLIBINC): Define. + (BFD_LIB): Add $(ZLIB). + +2015-03-31 Mike Frysinger + + * cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE. + * cgen-ops.h (SEMOPS_INLINE): Likewise. + +2015-03-29 Mike Frysinger + + * sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p. + (sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE. + * sim-inline.h (INLINE2): Define to gnu_inline when available. + +2015-03-24 Mike Frysinger + + * sim-profile.c (profile_pc_event): Get pc via sim_pc_get. Delete + usage of STATE_WATCHPOINTS. + (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check. Change + STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia). + +2015-03-24 Mike Frysinger + + * tconfig.h: Note SIM_HAVE_PROFILE is deprecated. + +2015-03-24 Mike Frysinger + + * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated. + +2015-03-24 Mike Frysinger + + * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting + of enable_sim_hardware to AC_ARG_ENABLE. + +2015-03-23 Mike Frysinger + + * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O. + Add dv-sockser.o to sim_hw_objs. + +2015-03-23 Mike Frysinger + + * dv-sockser.c: Include config.h. + * dv-sockser.h: Include sim-inline.h. + [HAVE_DV_SOCKSER]: Move all prototypes here. + [!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write, + dv_sockser_write_buffer, dv_sockser_read): New stub functions. + +2015-03-16 Mike Frysinger + + * gentmap.c, run.c: Convert old style prototypes. + +2015-03-16 Mike Frysinger + + * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM. Delete logic for + symlinking tconfig.h to tconfig.in. + * config.in, configure: Regenerate. + * nrun.c, run.c, sim-basics.h: Delete tconfig.h include. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-15 Mike Frysinger + + * dv-socker.h (dv_sockser_install): Declare. + * sim-module.c: Include config.h. + [HAVE_DV_SOCKSER]: Include dv-sockser.h. + (modules) [HAVE_DV_SOCKSER]: Add dv_sockser_install. + * sim-module.h: Include gdb/remote-sim.h. + +2015-03-14 Mike Frysinger + + * Make-common.in (BUILT_SRC_FROM_COMMON): Delete. + (sim-inline.c): Delete rule. + +2015-03-14 Mike Frysinger + + * Make-common.in (SIM_RUN_OBJS): Change to nrun.o. + * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning. + [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error. + +2015-03-14 Mike Frysinger + + * sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h. + [!ASSERT, WITH_ASSERT]: Likewise. + * sim-endian.c: Delete sim-io.h include. + +2015-02-19 Mike Frysinger + + * run-sim.h (sim_kill): Delete unused prototype. + +2015-02-13 Chen Gang + + * gentmap.c: Include "string.h". + +2015-02-02 Chen Gang + + * sim-options.c (sim_args_command): Call freeargv() when failure + occurs. + +2015-01-07 Joel Brobecker + + * aclocal.m4, configure: Regenerate using automake 1.11.1. + +2014-12-03 Joel Brobecker + + * sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat" + and "fstat" callbacks by calls to "to_stat" and "to_fstat" (resp) + callbacks following renaming in callback.h. + * syscall.c (cb_syscall): Likewise. Adjust calls to "lstat" + callback by call to "to_lstat" callback + +2014-08-28 Gary Benson + + * sim-trace.h (debug_printf): New define. + +2014-08-19 Alan Modra + + * configure: Regenerate. + +2014-08-15 Roland McGrath + + * configure: Regenerate. + * config.in: Regenerate. + +2014-03-10 Mike Frysinger + + * sim-command.c (sim_do_command): Add const to cmd. + * sim-options.c (sim_args_command): Add const to cmd. + * sim-options.h (sim_args_command): Add const to cmd. + +2014-03-05 Mike Frysinger + + * sim-hload.c (sim_load): Add const to prog. + * sim-load.c (sim_load_file): Likewise. + * sim-utils.c (sim_analyze_program): Likewise. + * sim-utils.h (sim_analyze_program): Likewise. + (sim_load_file): Likewise. + +2014-03-04 Mike Frysinger + + * acinclude.m4 (build_warnings): Copy from gdb/configure.ac. + * callback.c (system): Delete unused prototype. + (os_init): Likewise. + (os_shutdown): Likewise. + (os_unlink): Likewise. + (os_time): Likewise. + (os_system): Likewise. + (os_rename): Likewise. + (os_write_stdout): Likewise. + (os_flush_stdout): Likewise. + (os_write_stderr): Likewise. + (os_flush_stderr): Likewise. + (os_write): Likewise. + (os_read_stdin): Likewise. + (os_read): Likewise. + (os_open): Likewise. + (os_lseek): Likewise. + (os_isatty): Likewise. + (os_get_errno): Likewise. + (os_close): Likewise. + (os_vprintf_filtered): Likewise. + (os_evprintf_filtered): Likewise. + (os_error): Likewise. + (fdmap): Likewise. + (fdbad): Likewise. + (wrap): Likewise. + (wrap): Change to new style prototype. + (fdbad): Likewise. + (fdmap): Likewise. + (os_close): Likewise. + (os_poll_quit): Likewise. + (os_get_errno): Likewise. + (os_isatty): Likewise. + (os_lseek): Likewise. + (os_open): Likewise. + (os_read): Likewise. + (os_read_stdin): Likewise. + (os_write): Likewise. + (os_write_stdout): Likewise. + (os_flush_stdout): Likewise. + (os_write_stderr): Likewise. + (os_flush_stderr): Likewise. + (os_rename): Likewise. + (os_system): Likewise. + (os_time): Likewise. + (os_unlink): Likewise. + (os_stat): Likewise. + (os_fstat): Likewise. + (os_lstat): Likewise. + (os_ftruncate): Likewise. + (os_truncate): Likewise. + (os_pipe): Likewise. + (os_pipe_empty): Likewise. + (os_pipe_nonempty): Likewise. + (os_shutdown): Likewise. + (os_init): Likewise. + (cb_read_target_syscall_maps): Likewise. + (cb_target_to_host_syscall): Likewise. + (cb_host_to_target_errno): Likewise. + (cb_target_to_host_open): Likewise. + (cb_store_target_endian): Likewise. + (cb_host_to_target_stat): Likewise. + * sim-hload.c (sim_load): Change to new style prototype. + * sim-load.c (sim_load_file): Change to new style prototype. + (report_transfer_performance): Likewise. + (xprintf_bfd_vma): Likewise. + * syscall.c (cb_get_string): Change to new style prototype. + (get_path): Likewise. + (cb_syscall): Likewise. + +2013-10-15 Hans-Peter Nilsson + + * create-version.sh: Align parameters to match those of + ../../gdb/common/create-version.sh. + * Make-common.in (srcsim): New variable. + (version.c): Adjust call to create-version.sh as per above. + +2013-09-23 Alan Modra + + * configure: Regenerate. + +2013-09-03 Mike Stump + + * sim-options.c (complete_option_list): Mark text and word const. + +2013-06-28 Tom Tromey + + * Make-common.in (version.c): Use version.in, not + common/version.in. + * create-version.sh: Likewise. + +2013-06-24 Joel Brobecker + + * create-version.sh: New script. Adapted from + gdb/commong/create-version.sh. + * Make-common.in (version.c): Update rule dependencies, + and re-implement using create-version.sh. + 2013-06-21 Nick Clifton * gennltvals.sh: Add msp430 support.