X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=da63533024bcb43c510ff1454bc2f42d62e6ea9d;hb=a493e3e2e429e4832b8620bd920ad07d0c2892d7;hp=b5ef6a99005c2b37055f392d6bb86894f663b834;hpb=e94d449d6fedb4f51f5751eceb6a41a51340d408;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index b5ef6a9900..da63533024 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,602 @@ +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. + +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