* Make-common.in (TAGS): Make smarter.
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
index c8a2c455a3fcde4657ec4a61059617249ddf4113..3697432821f8f298aa131ce9542ad2d5bf626fb5 100644 (file)
@@ -1,3 +1,124 @@
+Mon Mar  2 10:20:06 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (TAGS): Make smarter.
+
+       * sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
+       Use 0xa5 as initial value.
+       (sim_core_map_detach): Use free instead of zfree.
+
+Fri Feb 27 19:09:57 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-module.c (*): Fix typos in assertion tests.
+
+Sat Feb 28 13:54:10 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-module.c (sim_pre_argv_init): String passed to asprintf
+       can't be constant.
+       
+       * sim-options.c (sim_parse_args): Ditto.
+       (sim_args_command): Return OK, instead of nothing, for an empty
+       command.
+
+Fri Feb 27 13:29:13 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-profile.c (profile_info): Rename from profile_print. Drop
+       misc and misc_cpu callback arguments.  Use
+       PROFILE_INFO_CPU_CALLBACK and STATE_PROFILE_INFO_CALLBACK instead.
+       (profile_install): Install profile_info function.
+
+       * sim-profile.h (PROFILE_INFO_CPU_CALLBACK,
+       STATE_PROFILE_INFO_CALLBACK): Define.
+       (struct PROFILE_DATA): Add field info_cpu_callback.
+       (profile_print): Delete function.
+
+       * sim-base.h (STATE_MODULES): Define.  Replace individual
+       STATE_*_LIST with single struct module_list.
+
+       * sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare.
+       (struct module_list): Declare.
+       
+       * sim-module.h, sim-module.c (sim_module_add_info_fn,
+       sim_module_info): New functions.
+       (sim_module_install): Clean up module data structures.
+
+       * sim-info.c (sim_info): New file. New function. Call
+       sim_module_info.
+
+       * Make-common.in (sim-info.o): Define rule.
+       (SIM_NEW_COMMON_OBJS): Add sim-info.o.
+
+
+Fri Feb 27 18:26:16 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-base.h (sim_cpu_base): New members name, options.
+       (sim_cpu_lookup): Add prototype.
+       * sim-module.c (sim_pre_argv_init): Provide default names for cpus.
+       * sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
+       (sim_add_option_table): Update prototype.
+       * sim-options.c (sim_add_option_table): New argument `cpu'.
+       (standard_option_handler,standard_install): Update.
+       (sim_parse_args): Handle cpu specific options.
+       (print_help): New static function.
+       (sim_print_help): Call it.  Print cpu specific options.
+       (find_match): New static function.
+       (sim_args_command): Call it.  Handle cpu specific options.
+       * sim-utils.c (sim_cpu_lookup): New function.
+       * sim-memopt.c (memory_option_handler): Update.
+       (sim_memopt_install): Update.
+       * sim-model.c (model_option_handler): Update.
+       (model_install): Update.
+       * sim-profile.c (profile_option_handler): Update.
+       (profile_install): Update.
+       * sim-trace.c (trace_option_handler): Update.
+       (trace_install): Update.
+       * sim-watch.c (watchpoint_option_handler): Update.
+       (sim_watchpoint_install): Update.
+       * cgen-scache.c (scache_option_handler): Update.
+       (scache_install): Update.
+
+Wed Feb 25 11:00:26 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (check): Run `make check' in testsuite dir.
+
+Wed Feb 25 14:40:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (trace_result0): New function.
+
+       * sim-trace.h (TRACE_FP_*, TRACE_FPU_*): Rename TRACE_FPU_*
+       macro's to TRACE_FP_*. TRACE_FPU_* should be defined and used when
+       tracing sim_fpu variables.
+       (TRACE_ALU_RESULT0): Define.
+       (TRACE_FP_RESULT_WORD): Define.
+       (TRACE_FP_INPUT_WORD1): Define.
+
+       * sim-fpu.c, sim-fpu.h (sim_fpu_max32, sim_fpu_max64, sim_fpu_one,
+       sim_fpu_two): New constants.
+       (sim_fpu_op1, sim_fpu_op2): New types.
+       (struct _sim_fpu): Delete member result.  Re-order other members.
+       (sim_fpu_sign, sim_fpu_exp): New functions.
+       (sim_fpu_max, sim_fpu_min): new functions.
+       (EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64,
+       NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define.
+       
+Tue Feb 24 22:45:39 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-profile.c (profile_print): Delete duplicate test of
+       PROFILE_INSN_IDX.
+       (profile_print_pc): Exit early if data collection not set up.
+       (profile_print_core): Simplify by calling sim_core_map_to_str.
+       * sim-core.h (sim_core_map_to_str): Declare.
+       * sim-core.c (sim_core_map_to_str): Make non-static.
+
+       * genmloop.sh (engine_resume): Update insn_count before exiting.
+       (engine_resume_full): Keep accurate core profile data.
+
+       * cgen-utils.c (sim_disassemble_insn): Don't use
+       sim_core_read_aligned_N, it messes up profiling results.
+
+Mon Feb 23 20:45:57 1998  Mark Alexander  <marka@cygnus.com>
+
+       * nltvals.def: Regenerate with MN10300 additions.
+
 Tue Feb 24 13:18:42 1998  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * sim-trace.h (TRACE_ALU_RESULT2): Define.
This page took 0.02905 seconds and 4 git commands to generate.