X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=9bf58e27af30b8f88325970762aa715142a0bc48;hb=b2b255bdf3d29d97c10668b4bb5fceeb886a15f1;hp=3aa491a318146d3f85f111d6f312347acfaceb8e;hpb=c8551de35c952a01283328a3f14dbb5195769815;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3aa491a318..9bf58e27af 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,542 @@ +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. + * nltvals.def: Regenerate. + +2013-06-03 Mike Frysinger + + * acinclude.m4: Replace maintainer-mode code with AM_MAINTAINER_MODE. + * aclocal.m4, configure: Regenerate. + +2013-05-10 Freddie Chopin + + PR build/15414: + * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use + -Wformat-nonliteral with -Wno-format. + +2013-03-26 Mike Frysinger + + * acinclude.m4: Regenerate. + +2013-03-23 Joel Sherrill + + * acinclude.m4: Add SIM_DV_SOCKSER_O which is empty on hosts + which do not support dv-sockser.o. Add always as option to + first argument to SIM_AC_OPTION_HARDWARE. Fail if hardware + is always required to be enabled by simulator. + +2012-08-28 Kaushik Phatak + + * gennltvals.sh: Use libgloss/syscall.h for cr16. + * nltvals.def: Regenerate. + +2012-06-16 Joel Brobecker + + * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE. + * config.in, configure: Regenerate. + +2012-05-24 Pedro Alves + + * sim-signal.h (sim_signal_to_target): Rename to ... + (sim_signal_to_gdb_signal): ... this. + * sim-signal.c (sim_signal_to_target): Rename to ... + (sim_signal_to_gdb_signal): ... this. + * sim-reason.c (sim_stop_reason): Adjust to rename. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace target_signal with gdb_signal throughout. + +2012-05-18 Nick Clifton + + PR 14072 + * callback.c: Include config.h before system header files. + * cgen-trace.c: Likewise. + * cgen-utils.c: Likewise. + * gentmap.c: Likewise. + +2012-04-02 Mike Frysinger + + * hw-ports.c (hw_port_decode): Change "Unreconized" to "Unrecognized". + +2012-03-28 Rathish C + + * sim-trace.c: Update the function prototype of save_data_size. + Move the enum data_fmt from here... + * sim-trace.h: ...to here. + Add function prototype of save_data. + +2012-03-25 Mike Frysinger + + * sim-core.h (sim_core_trans_addr): Add prototype. + +2012-03-24 Hans-Peter Nilsson + + * nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanza + missing in last change. + +2012-03-24 Mike Frysinger + + * acinclude.m4 (SIM_AC_COMMON): Call AC_USE_SYSTEM_EXTENSIONS. + * nrun.c: Include string.h/strings.h. + * aclocal.m4, config.in, configure: Regenerate. + +2012-03-22 Mike Frysinger + + * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Copy AC_ARG_ENABLE(werror), + WERROR_CFLAGS, and build_warnings from gdb/configure.ac. Comment + out -Werror initialization. + +2012-03-19 Mike Frysinger + + * Make-common.in (TAGS): Change a-z to [:lower:]. + * acinclude.m4 (sim-trace): Likewise. + * gennltvals.sh: Change A-Z0-9 to [:upper:][:digit:]. + Change A-Za-z0-9 to [:alnum:]. + +2012-03-18 Mike Frysinger + + * nrun.c (main): Display strsignal of sigrc. + +2012-01-06 Mike Frysinger + + * Makefile.in (abs_srcdir): Declare. + (srcroot): Define in terms of abs_srcdir. + (headers): Change srcdir to abs_srcdir. + +2012-01-02 Joel Brobecker + + * dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright + header. + +2011-12-19 Joel Brobecker + + * Make-common.in (hw-config.h): Work around bug in Solaris 2.8 + system bourne shell. + +2011-12-03 Mike Frysinger + + * syscall.c (cb_get_string): Rename from "get_string". + (get_path): Rename get_string call to cb_get_string. + +2011-12-03 Mike Frysinger + + * Make-common.in (VPATH): Add $(srccom). + (DEP): Delete. + (DEPMODE, DEPDIR, depcomp, COMPILE.pre, COMPILE.post, COMPILE, + POSTCOMPILE): New variables. + (.c.o): Replace recipe with call to $(COMPILE) and $(POSTCOMPILE). + Include dependency files, when using GNU Make. Delete all + dependency-only rules. + * aclocal.m4: Include ../../config/depstand.m4. Call + ZW_CREATE_DEPDIR and ZW_PROG_COMPILER_DEPENDENCIES. + (MAKE, GMAKE): New substs. + +2011-11-07 Mike Frysinger + + PR sim/13161 + * configure.ac (AC_CHECK_FUNCS): Add posix_fallocate. + * configure, config.in: Regenerate. + * dv-cfi.c (attach_cfi_regs): Check for HAVE_POSIX_FALLOCATE. + +2011-10-19 Mike Frysinger + + * acinclude.m4: Call AC_CHECK_LIB when $hardware contains cfi. + +2011-10-18 John Wehle (tiny patch) + + * sim-profile.c (profile_info): Only print the title once. + +2011-10-17 Mike Frysinger + + * acinclude.m4: Rename from aclocal.m4. + * aclocal.m4: Regenerate. + +2011-10-17 Mike Frysinger + + * aclocal.m4: Change AC_PREREQ comment to 2.64. + * common.m4: Delete. + * configure.ac: Change AC_PREREQ to 2.64. Replace AC_CONFIG_HEADER + call and common.m4 include with SIM_AC_COMMON(cconfig.h). + * configure: Regenerate. + +2011-10-14 Alexey Makhalov + + * sim-alu.h (ALU32_AND): Clear carry flag. + (ALU32_AND): Clear carry flag. + +2011-10-09 Mike Frysinger + + * dv-cfi.c: Include stdbool.h. + +2011-10-09 Mike Frysinger + + * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h. + +2011-10-04 Mike Frysinger + + * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and + ACX_BUGURL. Define PKGVERSION and REPORT_BUGS_TO. + +2011-07-12 Mike Frysinger + + * sim-command.c: Include sim-options.h. + +2011-07-12 Mike Frysinger + + * aclocal.m4: Move sinclude comment after AC_INIT comment. + +2011-07-12 Mike Frysinger + + * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC. + Delete direct call to AC_PROG_CC. + +2011-07-05 Mike Frysinger + + * sim-command.c: New file. + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-command.o. + (sim-command.o): New rule. + +2011-05-27 Mike Frysinger + + * sim-options.c (standard_option_handler): Remove arg[0] check + when freeing simulator_sysroot. Only strdup arg when arg[0] is + not an empty string, otherwise assign "" back to it. + +2011-05-26 Mike Frysinger + + * nltvals.def: Regenerate to include Blackfin syscalls again. + +2011-05-25 Mike Frysinger + + * sim-trace.c (OPTION_TRACE_SYSCALL): New enum. + (trace_options): Handle "trace-syscall" with OPTION_TRACE_SYSCALL. + (trace_option_handler): Handle OPTION_TRACE_SYSCALL. + (trace_idx_to_str): Likewise. + * sim-trace.h (TRACE_SYSCALL_IDX): New enum. + (TRACE_syscall): Define. + (WITH_TRACE_SYSCALL_P): Likewise. + (TRACE_SYSCALL_P): Likewise. + +2011-05-23 Mike Frysinger + + * dv-glue.c (hw_glue_finish): Move "name" to function scope and + remove now-unnecessary sub-scope for glue->type setting. + Check to see if the "reg" property exists before we use it, and + if it doesn't exist, error out for "glue" devices. + +2011-05-23 Mike Frysinger + + * dv-glue.c (hw_glue_finish): Set type to glue_or when name is + glue-or, and set type to glue_xor when name is glue-xor. + (hw_glue_port_event): Return immediately when type is glue_io + or unmatched. Handle glue_or and glue_xor types. Move HW_TRACE + and hw_port_event calls from glue_and to end of function. + +2011-05-11 Mike Frysinger + + * callback.c, dv-pal.c, dv-sockser.c, hw-base.c, hw-device.c, + hw-instances.c, hw-ports.c, hw-properties.c, hw-tree.c, sim-abort.c, + sim-arange.c, sim-config.c, sim-core.c, sim-engine.c, sim-events.c, + sim-hw.c, sim-io.c, sim-memopt.c, sim-options.c, sim-profile.c, + sim-resume.c, sim-stop.c, syscall.c: Add space before parenthesis + around function arguments. + +2011-04-14 Mike Frysinger + + * sim-options.c (complete_option_list, sim_complete_command): + New functions. + +2011-04-02 Mike Frysinger + + * dv-glue.c: Fix up style. + +2011-04-02 Mike Frysinger + + * hw-alloc.c (hw_alloc_data): Adjust brace. + * hw-base.c (hw_base_data): Likewise. + (generic_hw_unit_decode): Fix indentation. + * hw-device.h (_hw_unit, enum, hw): Adjust braces. + * hw-events.c (hw_event, hw_event_data): Likewise. + * hw-handles.c (hw_handle_mapping, hw_handle_data): Likewise. + * hw-instances.c (hw_instance_data): Likewise. + * hw-instances.h (hw_instance): Likewise. + * hw-main.h (hw_descriptor, enum): Likewise. + * hw-ports.c (hw_port_edge, hw_port_data, empty_hw_ports): Likewise. + * hw-ports.h (hw_port_descriptor): Likewise. + * hw-properties.c (hw_property_data): Likewise. + * hw-properties.h (enum, hw_property, _ihandle_runtime_property_spec, + _range_property_spec, _reg_property_spec): Likewise. + * hw-tree.c (_name_specifier, printer): Likewise. + (split_device_specifier, parse_string_property, hw_tree_traverse, + print_size, print_reg_property, print_string, print_properties): + Fix indentation. + +2011-03-29 Mike Frysinger + + * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add cfi to default list. + * Make-common.in (dv-cfi.o): New rule. + * dv-cfi.c, dv-cfi.h: New files. + +2011-03-21 Kevin Buettner + + * gennltvals.sh: Search sys/_default_fcntl.h, in addition to + fcntl.h and sys/fcntl.h, for constants. + * nltvals.def: Regenerate. + * sim-io.c (sim_io_stat, sim_io_fstat): New functions. + * sim-io.h (sys/types.h, sys/stat.h): Include. + (sim_io_stat, sim_io_fstat): Declare. + +2011-03-14 Mike Frysinger + + * callback.c, cgen-engine.h, dv-core.c, dv-glue.c, dv-pal.c, + hw-base.c, hw-device.c, hw-device.h, hw-handles.c, hw-instances.c, + hw-ports.c, hw-ports.h, hw-properties.c, hw-tree.c, nrun.c, + run-sim.h, run.c, sim-alu.h, sim-assert.h, sim-base.h, sim-basics.h, + sim-config.c, sim-core.c, sim-core.h, sim-engine.h, sim-events.c, + sim-events.h, sim-fpu.c, sim-hw.c, sim-inline.h, sim-load.c, + sim-memopt.c, sim-n-core.h, sim-options.c, sim-profile.c, + sim-signal.c, sim-trace.c, sim-trace.h, sim-utils.c, sim-watch.c, + syscall.c: Trim trailing whitespace. + +2011-03-05 Mike Frysinger + + * gennltvals.sh: Handle bfin targets. + * nltvals.def: Regenerate. + +2011-02-25 Kevin Buettner + + * callback.c (fdbad): Return EBADF rather than EINVAL for bad + file descriptors. + +2011-02-14 Mike Frysinger + + * hw-alloc.c (hw_alloc_data): Delete zalloc_p. + (hw_zalloc, hw_malloc): Delete zalloc_p reference. + (hw_free): Drop zfree logic and always call free. + * hw-base.c (hw_delete): Change zfree to free. + * hw-handles.c (hw_handle_remove_ihandle): Likewise. + (hw_handle_remove_phandle): Likewise. + * hw-instances.c (hw_instance_delete): Likewise. + * hw-tree.c (parse_reg_property): Likewise. + (parse_ranges_property): Likewise. + (parse_string_property): Likewise. + * sim-core.c (sim_core_uninstall): Likewise. + * sim-cpu.c (sim_cpu_free_all): Likewise. + * sim-hw.c (sim_hw_uninstall): Likewise. + * sim-memopt.c (do_memopt_delete): Likewise. + (sim_memory_uninstall): Likewise. + * sim-module.c (sim_module_uninstall): Likewise. + * sim-options.c (sim_parse_args): Likewise. + * sim-profile.c (profile_pc_cleanup): Likewise. + (profile_uninstall): Likewise. + * sim-watch.c (do_watchpoint_delete): Likewise. + * sim-utils.c (zfree): Delete. + (sim_state_free): Change zfree to free. + * sim-utils.h (zfree): Delete. + +2011-02-13 Mike Frysinger + + * sim-events.h (_sim_events.time_from_event): Change type to signed64. + +2011-01-12 Mike Frysinger + + * sim-hw.c (sim_hw_uninstall): Uncomment hw_tree_delete. + +2011-01-12 Mike Frysinger + + * sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf + fails. + * sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL + when asprintf fails. + * sim-utils.c (sim_do_commandf): Issue an error and return when + asprintf fails. + * sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when + asprintf fails. + +2011-01-11 Mike Frysinger + + * sim-memopt.c (do_memopt_add): Set nr_bytes to s.st_size before + bytes has been calculated and when mmap_next_fd is valid and + nr_bytes is 0. + (memory_option_handler): Allow missing size when mmap_next_fd is + valid. + +2011-01-10 Mike Frysinger + + * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set $hardware to $2 when $2 is + not empty, and always append $3 to $hardware. + +2011-01-10 Mike Frysinger + + * hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute. + * sim-hw.h (sim_hw_abort): Likewise. + +2011-01-05 Mike Frysinger + + * sim-load.c (sim_load_file): Change buffer type to unsigned char *. + +2011-01-05 Joel Brobecker + + * run.1: Copyright year update. + +2010-12-28 Mike Frysinger + + * hw-alloc.h (HW_NALLOC): Define. + +010-12-28 Mike Frysinger + + * hw-alloc.h (HW_NZALLOC): Change ME,TYPE,N to me,type,n. + +2010-12-15 Mike Frysinger + + * sim-memopt.c (OPTION_MAP_INFO): Define. + (memory_options): Handle --map-info. + (memory_option_handler): Handle OPTION_MAP_INFO. + +2010-11-22 Mike Frysinger + + * sim-profile.c (PROFILE_PC_FREQ, PROFILE_PC_NR_BUCKETS, + PROFILE_PC_SHIFT, PROFILE_PC_START, PROFILE_PC_END, + PROFILE_INSN_COUNT): Add stubs when profile is disabled. + +2010-11-22 Mike Frysinger + + * sim-core.c (WITH_HW): Add device casts to device_error, + device_io_read_buffer, and device_io_write_buffer. + +2010-11-16 Mike Frysinger + + * dv-sockser.c (dv_sockser_write_buffer): New function. + (dv_sockser_write): Rewrite to use dv_sockser_write_buffer. + * dv-sockser.h (dv_sockser_write_buffer): New prototype. + +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.