* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
index ca63e974a0ab8c7f39fe38c22e98a99784c72d42..c708c8fa7ac6a3e611fb7923a29893b1d9921333 100644 (file)
@@ -1,3 +1,609 @@
+1999-01-12  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
+       * sim-model.c (sim_mach_lookup_bfd_name): New function.
+       (sim_model_init): Call it.
+
+       * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
+
+start-sanitize-gxsim
+1999-01-11  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-gx-run.c (sim_engine_run): Allay warnings.  Write out updated
+       gx block list after each successful compilation job.
+       * sim-gx.c (sim_gx_compiled_block_f): dlopen the main executable
+       image, to allow gx block DLLs to resolve symbols there.
+       (sim_gx_{read,write}_block_list): Allay warnings.
+       (sim_gx_block_translate): Allay warnings.  Add $GX_FLAGS to
+       gx compilation/link jobs.
+       * sim-gx.h: Allay warnings.
+
+end-sanitize-gxsim
+1999-01-05  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
+       (CGEN_MAIN_SCM): Add rtx-funcs.scm.
+       (cgen-arch): Pass $(mach) to cgen.sh.
+       * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
+       (SEM_BRANCH_INIT_EXTRACT): New macro.
+       (SEM_BRANCH_INIT): Add taken_p.
+       (TARGET_SEM_BRANCH_FINI): Provide default definition.
+       (SEM_BRANCH_FINI): Use it.
+       (SEM_INSN): Update.
+       * cgen-run.c (sim_resume): Handle tracing of last insn.
+       * cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
+       * cgen-trace.c (current_abuf): New static global.
+       (trace_insn_init): Initialize it.
+       (trace_insn_fini): Use it.
+       (trace_insn): Set it.
+       * cgen.sh (arch case): Pass -m ${mach} to cgen.
+       * genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
+       (@cpu@_emit_after): Ditto.
+       (simple @cpu@_engine_run_full): New local `pc'.  Initialize semantic
+       labels if WITH_SEM_SWITCH_FULL.
+       * sim-model.c: Include bfd.h.
+       (sim_model_init): New function.
+       (sim_model_install): Record init fn.
+       * sim-model.h (MACH): New member bfd_name.
+       * sim-module.c (modules): Initialize model before scache.
+
+1998-12-24  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
+       
+       * nrun.c (main): Remain in simulation loop for traps and
+       exceptions when in operating environment mode.
+       (ui_loop_hook): New stub hook for standalone use.
+       * sim-events.c (sim_events_process): Call ui_loop_hook
+       periodically on CYGWIN host.
+
+       * sim-reason.c (sim_stop_reason): Return host signal numbers
+       to gdb on sim_stopped and sim_signalled cases.
+       * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
+       hook just before longjmp.
+       * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
+       hook just before sim_engine_run.
+
+       * sim-n-core.h (sim_core_trace_M): Allay const warning.
+       * sim-trace.h (trace_generic): Ditto.
+       * sim-trace.c (trace_generic): Ditto.
+       
+1998-12-14  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (SIM_MAIN_DEPS): New var.
+       (CGEN_MAIN_CPU_DEPS): New var.
+       * aclocal.m4: Add --enable-cgen-maint option.
+       * cgen-mem.h (GETMEM*): New arg `pc'.  Pass to sim_core routine.
+       (SETMEM*): Ditto.
+       (GETIMEM*): Pass pc value to sim_core routine.
+
+Fri Dec 11 16:58:36 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-handles.c (hw_handle_add_ihandle, hw_handle_add_phandle):
+       Compare with ZERO not NULL.
+
+Thu Dec 10 14:14:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-properties.c, hw-instances.c, hw-tree.c: Include
+       "sim-assert.h".
+
+1998-12-09  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-arange.c: Include libiberty.h, and stdlib.h if present.
+       * sim-trace.c: Include stdlib.h if present.
+       * dv-sockser.c: Include unistd.h if present.
+       (dv_sockser_init): Add missing arg to call to sim_io_eprintf.
+       * cgen-scache.c (scache_flush): Delete unused locals i,sc.
+
+1998-12-08  James E Wilson  <wilson@wilson-pc.cygnus.com>
+
+       * gennltvals.sh: Add i960.
+       * nltvals.def: Rebuild.
+
+1998-12-04  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-defs.h: New file, old cgen-sim.h.
+       * cgen-sim.h: Simple header that includes others.
+       * sim-arange.c: New file.
+       * sim-arange.h: New file.
+       * sim-basics.h: Include it.
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
+       (sim-arange.o): Add rule for.
+       * sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
+       (sim_io_eprintf_cpu): Add prototype.
+       * sim-inline.h (HAVE_INLINE): Define if GNUC.
+       (INLINE2): New macro.
+       (EXTERN_INLINE): New macro.
+       * sim-module.c (sim_post_argv_init): Initialize cpu backlink
+       before calling module init fns.
+       * sim-profile.c (OPTION_PROFILE_*): Move into enum.
+       (profile_init): New function.
+       (profile_options): New option --profile-range.
+       (profile_option_handler): Handle --profile-range.
+       (profile_print_insn): Qualify address range specific section titles.
+       (profile_print_addr_ranges): New function.
+       (profile_info): Print address ranges if specified.
+       (profile_install): Set profile_init init fn.
+       * sim-profile.h (PROFILE_DATA): New member `range'.
+       * sim-trace.c (trace_init): New function.
+       (trace_options): New option --trace-range.
+       (trace_option_handler): Handle --trace-range.
+       (trace_install): Set trace_init init fn.
+       * sim-trace.h (TRACE_DATA): New member `range'.
+       * sim-utils.c (sim_cpu_msg_prefix): New function.
+       (sim_io_eprintf_cpu): New function.
+       * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
+       (PC_IN_PROFILE_RANGE_P): New macro.
+       * cgen-trace.c (trace_insn_init): Set current_insn to NULL.
+       (trace_insn_fini): New arg abuf.  All callers updated.
+       Exit early if trace_insn not called.  Check ARGBUF_PROFILE_P before
+       printing cycle counts.
+       * cgen-trace.h (trace_insn_fini): Update prototype.
+       (TRACE_RESULT_P): New macro.
+       (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf.  All callers updated.
+       (TRACE_INSN): Check ARGBUF_TRACE_P.
+       (TRACE_EXTRACT,TRACE_RESULT): New arg abuf.  All callers updated.
+       * cgen-types.h (SIM_INLINE): Delete.
+       (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
+       * cgen-utils.c: Don't include cgen-engine.h
+       * genmloop.sh (@cpu@_fill_argbuf): New function.
+       (@cpu@_fill_argbuf_tp): New function.
+       (@cpu@_emit_before,@cpu@_emit_after): New functions.
+       (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
+       (SET_CTI_VPC,SET_INSN_COUNT): Update.
+       (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
+       doing profiling.  Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
+       (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
+       doing profiling. Update call to TRACE_INSN_FINI.
+
+       * sim-memopt.c (sim_memory_uninstall): Result type is `void'.
+
+1998-12-03  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-memopt.c (sim_memory_uninstall): Deallocate all memory
+       regions.
+
+1998-12-01  Doug Evans  <devans@casey.cygnus.com>
+
+       * sim-inline.c (SIM_INLINE_P): Fix typo.
+
+start-sanitize-gxsim
+1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
+
+       * sim-gx-run.c (sim_engine_run): Use new tgx_info struct to
+       collect run-time arguments to gx block.
+       * sim-gx.h (sim_gx_function): Corresponding signature change.
+       
+       * sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to
+       again compile a gx block source file.
+       (sim_gx_compiled_block_dispose): Uninstall obsoleted gx block
+       shared libraries.
+       (sim_gx_block_translate): Always emit new "gx_label_NNNN" labels,
+       for basic block entry points, even if !__GNUC__.
+
+end-sanitize-gxsim
+1998-11-30  Doug Evans  <devans@casey.cygnus.com>
+
+       * cgen-utils.c (cgen_virtual_opcode_table): Update.
+
+Tue Nov 24 18:40:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gennltvals.sh: Add v850 and d10v. Sort alphabetically.
+       * nltvals.def: Re-generate.
+
+Mon Nov 23 13:28:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.c (reverse_n, sim_core_uninstall, sim_core_init,
+       sim_core_map_attach, sim_core_map_detach, next_event_queue,
+       new_sim_core_mapping): Only define when EXTERN_SIM_CORE_P, pacify
+       GCC.
+       * sim-events.c (sim_events_uninstall, sim_events_suspend,
+       sim_events_resume, sim_events_zalloc, insert_sim_event): Ditto.
+
+1998-11-22  Doug Evans  <devans@tobor.to.cygnus.com>
+
+       * genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
+       (${cpu}_pbb_cti_chain): Ditto.
+
+start-sanitize-gxsim
+1998-11-21  Frank Ch. Eigler  <fche@elastic.org>
+
+       * sim-gx.c (sim_gx_block_translate): Generate computed
+       goto for __GNUC__ instead of plain switch() for gx block
+       entry.  Lose "-g" compile option for gx block.
+
+end-sanitize-gxsim
+1998-11-18  Doug Evans  <devans@casey.cygnus.com>
+
+       * Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
+       (CGEN_ARCH_SCM): New variable.
+       * cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
+       (EXTRACT_INT,EXTRACT_UINT): New macros.
+       (SEM_SEM_ARG): New macro.
+       (SEM_NEXT_VPC): New arg `pc'.
+       * cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
+       (sim_disassemble_insn): Update prototype.
+       * cgen-trace.c (current_insn,insn_fields): New static locals.
+       (trace_insn): Set them.
+       * cgen-utils.scm: #include cgen-engine.h.
+       (sim_disassemble_insn): New arg insn_fields.
+       Handle variable length insns.
+       * genmloop.sh: Only emit pbb decls if -pbb.
+       (${cpu}_scache_lookup): New arg `vpc'.
+       (scache support): Fetch pc before entering loop.
+
+       * gennltvals.sh: Add fr30 support.
+       * nltvals.def: Rebuild.
+
+Wed Nov 18 10:22:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h: Re-do type system so that GCC's attribute and mode
+       are used to specify types.  Handle case of ALPHA.
+
+1998-11-13  Frank Ch. Eigler  <fche@elastic.org>
+       
+start-sanitize-gxsim
+       * Make-common.im: Build sim-gx.o and sim-gx-run.o.
+       * sim-gx.c: New file: target-independent gx routines.
+       * sim-gx.h: Declarations for gx structs and routines.
+       * sim-gx-run.c: New file: target-independent gx driver.
+       * sim-base.h: Add gx block vector to state struct.
+end-sanitize-gxsim
+       * aclocal.m4: Add tests for dlopen family.
+       * config.in: Regenerated.
+       
+Wed Nov 11 14:02:25 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
+
+Wed Nov  4 23:51:19 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
+       HAVE_PARALLEL_INSNS, define as 0 or 1.  Emit decls of fns in mloop.cin.
+       * cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
+       * cgen-sim.h: ... to here.
+
+Wed Oct 28 12:00:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (enable-build-warnings): Replace
+       enable-sim-warnings. Extend =LIST syntax so that prepend and
+       append of options is possible.  Drop -Werror, add
+       -Wstrict-prototypes for GDB compatibility.
+       * Make-common.in (SIM_WARNINGS): Update.
+
+Mon Oct 19 13:56:32 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (CGEN_INCLUDE_DEPS): Define.
+       (sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
+       (sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
+       (cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
+       explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
+       CGEN_INCLUDE_DEPS.
+       * cgen-cpu.h: New file.
+       * cgen-engine.h: New file.
+       * cgen-scache.h: New file.
+       * cgen-sim.h: Delete portions moved to new files.
+       * genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
+       rather than sending result to stdout.
+
+Fri Oct  9 14:20:22 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (sim-reg.o): New rule.
+       (cgen-run.o): New rule.
+       * cgen-ops.h: Delete many BI macros.  Change all UBI -> BI.
+       * cgen-run.c (prime_cpu): New function.
+       * cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
+       (scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
+       mentioned cpu.
+       (scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
+       * cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
+       (CGEN_INSN_VIRTUAL_P): New macro.
+       (SEM_PC): New typedef.
+       (SEMANTIC_FN): Change type of result to SEM_PC.
+       (SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
+       (IDESC_CTI_P,IDESC_SKIP_P): New macros.
+       (SCACHE_MAP): New typedef.
+       (CPU_SCACHE): Add pbb support.
+       (scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
+       (SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
+       (CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
+       max_slice_insns.
+       (INSN_NAME): Delete.
+       (cgen_insn_name): Declare.
+       (sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
+       * cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
+       (first_insn_p): Make static.
+       (trace_insn): Handle virtual insns specially.
+       (cgen_trace_printf): Ensure we haven't overflowed the buffer.
+       * cgen-types.h (UBI): Delete.
+       (MODE_TYPE): New enum.
+       (HOSTINT,HOSTUINT,HOSTPTR): Delete.
+       * cgen-utils.c (mode_names): Delete UBI.  Add INT,UINT,PTR.
+       (cgen_virtual_opcode_table): New global.
+       (cgen_insn_name): New function.
+       (sim_disassemble_insn): Ignore virtual insns.
+       * genmloop.sh: Delete top level loop generation.  Add pbb support.
+       * sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
+       (sim_cpu_base): New members max_insns,insn_name,model_data.
+       (CPU_PC_GET,CPU_PC_SET): New macros.
+       (sim_pc_get,sim_pc_set): Declare.
+       * sim-model.c (model_set): Call model init fn.
+       * sim-model.h (MODEL_FN): New typedef.
+       (INSN_TIMING): New member model_fn.
+       (MODEL): New members num,init.
+       * sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
+       All callers updated.
+       (profile_insn_init): New fn.
+       (profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
+       Exit early if insn profiling not supported.
+       (profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
+       (profile_install): Record profile_insn_init as init fn.
+       (profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
+       * sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
+       (PROFILE_DATA): Delete member exec_time.
+       Change insn_count to pointer to array, rather than the array.
+       (sim_profile_print_bar): Declare.
+
+Wed Oct  7 16:56:42 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-run.c: New file.
+       * sim-reg.c: New file.
+
+Mon Sep 14 10:58:19 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * aclocal.m4: Add checks for -lsocket and -lnsl.
+
+       * dv-sockser.c (dv_sockser_init): Use SO_REUSEADDR to
+       allow local port reuse on listening socket.
+
+Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * sim-config.h: Remove reference to linux kernel header.
+
+Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * dv-sockser.c (sockser_addr): Make variable non-static.
+
+Mon Aug 24 11:47:37 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
+
+Tue Aug 11 18:12:19 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-events.c (sim_events_elapsed_time): Fix calculation.
+
+Tue Aug  4 20:36:46 1998  Jeff Holcomb  <jeffh@cygnus.com>
+
+       * Make-common.in (install-common): Add $(EXEEXT) when installing
+       run.
+
+Mon Aug  3 11:46:01 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (cgen_state): New member opcode_table.
+       * cgen-utils.c (sim_disassemble_insn): Use it.
+
+Fri Jul 24 10:14:18 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-mem.h (DECLARE_SETT): Fix return type.
+       * cgen-sim.h (sim_engine_illegal_insn): Declare.
+       * cgen-scache.c: Include stdlib.h.
+       * cgen-trace.c (trace_extract): Use %lx for PCADDR.
+       * sim-model.c (model_option_handler): Remove unused variable `n'.
+
+Tue Jul 21 16:27:43 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-utils.c: Include bfd.h.
+       (sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
+
+Wed Jul  8 18:24:10 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * sim-bits.h (EXTEND24): Fix typo.
+
+Wed Jul  8 17:41:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-events.c (ETRACE_P): New macro.
+       (struct _sim_event): Add member trace.
+       (sim_events_free): Reclaim trace message.
+
+       * sim-events.c, sim-events.h (sim_events_schedule_vtracef,
+       sim_events_schedule_tracef): New functions, include printf trace
+       information in argument list.  If tracing, store asprintf'd trace
+       message in sim_event.
+
+       * hw-events.c, hw-events.h (hw_event_queue_schedule_tracef,
+       hw_event_queue_schedule_vtracef): New functions, mimic
+       sim_event_tracef.
+
+Mon Jul  6 15:51:14 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * sim-bits.h (EXTEND24): Define.
+
+Thu Jul  2 17:13:25 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (CPU_SCACHE): Make size unsigned.
+       (CPU_SCACHE_HASH_MASK): New macro.
+       (SCACHE_HASH_PC): Rewrite.
+       * genmloop.sh (engine_resume_{full,fast}): Move some of hash
+       computation out of main loop.
+
+Wed Jul  1 16:44:12 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
+       (CGENDIR,CGEN): New variables.
+       (CGEN_VERBOSE): Renamed to CGENFLAGS.
+       (cgen-arch,cgen-cpu,cgen-decode): Update.
+       (CGEN_CPU_WRITE): New variable.
+       (CGEN_CPU_SEMSW): -W -> -X.
+       (CGEN_FLAGS_TO_PASS): Delete SCHEME.  Add CGEN,CGENFLAGS.
+       * cgen.sh: Delete args scheme,schemeflags.  New arg cgen.
+
+       * cgen-sim.h (RECORD_IADDR): Delete.
+       * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
+       * genmloop.sh (engine_resume_{full,fast}): Delete icount.
+
+Wed Jun 17 12:25:08 1998  Mark Alexander  <marka@cygnus.com>
+
+       * gennltvals.def (mn10200): Add entry.
+       * nltvals.def: Regenerate with MN10200 additions.
+
+Wed Jun 17 13:18:28 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-inline.h (EXTERN_*): Replace with EXTERN_*_P. Correct
+       documentation on how it works.
+
+       * sim-core.h, sim-core.c (sim_core_install, sim_core_attach,
+       sim_core_detach, sim_core_read_buffer, sim_core_write_buffer,
+       sim_core_set_xor, sim_core_xor_read_buffer,
+       sim_core_xor_write_buffer): Update.
+
+       * sim-events.h, sim-events.c (sim_events_install,
+       sim_events_watch_clock, sim_events_schedule_after_signal,
+       sim_events_schedule, sim_events_watch_sim, sim_events_watch_core,
+       sim_events_deschedule): Update.
+
+       * sim-fpu.h, sim-fpu.c (sim_fpu_zero, sim_fpu_one, sim_fpu_two,
+       sim_fpu_max32, sim_fpu_max64): Update.
+
+Sat Jun 13 07:45:38 1998  Doug Evans  <devans@fallis.cygnus.com>
+
+       * cgen-trace.c (trace_insn_fini): Redo cycle handling.
+       * sim-profile.h (PROFILE_DATA): Rename cycle handling members.
+       * sim-profile.c (profile_print_model): Update.
+
+Fri Jun 12 18:35:07 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * gennltvals.def (m32r): Use common syscall.h now.
+       (mn10300): Add entry.
+       * nltvals.def: Regenerate.
+
+       * sim-engine.c (sim_engine_get_run_state): New function.
+       * sim-engine.h (sim_engine_get_run_state): Declare it.
+
+Thu Jun 11 00:50:03 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
+       * sim-core.c (sim_core_signal): Make extern, always define.
+
+Wed Jun 10 16:02:29 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
+       * cgen-ops.h (ANDIF): New macro.
+       (ANDIF[BQHSD]I): Delete.
+
+Thu Jun  4 13:53:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-events.c (create_hw_event, delete_hw_event): Delete.
+       (hw_event_queue_schedule, hw_event_queue_deschedule,
+       bounce_hw_event): Fix hw-event memory corruptions found by Joyce
+       Janczyn.
+
+       * hw-alloc.h (HW_NZALLOC): Define.
+
+       * Make-common.in (test-hw-events): Add target for testing the
+       hw-event code.
+
+Mon May 25 21:11:26 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_COMMON_HW_OBJS): Add hw-handles.o and
+       hw-instances.o.
+       hw-handles.c, hw-instances.c, hw-handles.h, hw-instances.h: New
+       files.
+       * hw-main.h: Include hw-handles.h, hw-instances.h.
+       * hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare
+       * hw-base.c (hw_create, hw_delete): Call same.
+       
+Mon May 25 18:55:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-core.c: Include hw-main.h and sim-main.h.
+       * dv-pal.c: Include hw-main.h and sim-io.h.
+       * dv-glue.c: Include hw-main.h.
+
+       * hw-main.h: New file.  Move list of includes to here.
+       * hw-base.h: From here.
+       * Make-common.in (hw_base_headers): Rename to hw_main_headers.
+       (hw-*.o, dv-*.o): Update.
+       * hw-tree.c, hw-base.c, hw-properties.c, hw-ports.c, hw-device.c,
+       hw-events.c, hw-alloc.c, sim-hw.c: Include hw-main.h instead of
+       sim-main.h.
+
+       * hw-base.h (do_hw_attach_regs, do_hw_poll_read_method,
+       do_hw_poll_read): Move declarations from here.
+       * hw-main.h: To here.
+       
+       * hw-base.h (struct hw_device_descriptor, hw_finish_callback):
+       Move from here.
+       * hw-main.h (struct hw_descriptor, hw_finish_method): To here,
+       rename.
+       * Make-common.in (hw-config.h): Update
+       * hw-base.c, dv-pal.c, dv-glue.c: Update
+
+       * dv-glue.c, hw-device.h, hw-base.h, hw-ports.c: Rename
+       `*_callback' to `*_method.
+
+Mon May 25 18:41:18 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.h (set_*): Move set method macros from here.
+       * hw-device.h: To here.
+
+Mon May 25 18:21:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.h (create_hw_property_data, delete_hw_property_data):
+       Declare.
+
+       * hw-base.c (hw_create, hw_delete): Call
+       * hw-properties.c (create_hw_property_data,
+       delete_hw_property_data): Define.
+       
+Mon May 25 17:40:46 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.c, hw-properties.c: Include hw-base.h
+
+       * hw-alloc.h, hw-alloc.c: New files. Move alloc code to here.
+       * hw-device.c: From here.
+       * hw-base.h: Include "hw-events.h".
+
+       * hw-base.h (create_hw_alloc_data, delete_hw_alloc_data): Declare.
+       * hw-base.c (hw_create, hw_delete): Call.
+       * hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define.
+
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o.
+       (hw-alloc.o): New target.
+       
+Mon May 25 17:14:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-events.h, hw-events.c: New files.  Move event code to here.
+       * sim-hw.c: From here.
+       * hw-base.h: Include "hw-events.h".
+       * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o.
+       (hw-events.o): New target.
+
+       * hw-device.h (struct hw): Add struct hw_event_data events_of_hw.
+       * hw-events.h (struct hw_event): Replace typedef hw_event.
+       
+       * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare.
+       * hw-base.c (hw_create, hw_delete): Call.
+       * hw-events.c (create_hw_event_data, delete_hw_event_data): Define.
+
+       * dv-pal.c: Update.
+
+Mon May 25 16:55:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here.
+       * hw-ports.c: To here.
+       
+       * hw-base.h, hw-ports.c (create_hw_port_data,
+       delete_hw_port_data): New functions.
+       * hw-base.c (hw_delete, hw_create): Call same.
+       
+       * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions
+       from here.
+       * hw-ports.h: To here.
+
+Mon May 25 16:42:48 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
+       PROCESSOR and CIA arguments.
+
 Fri May 22 12:16:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
@@ -264,7 +870,7 @@ Tue Apr 14 18:49:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
        
 Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>
 
-       * sim-memopt.c (parse_addr): Sunos 4.5 does not hane strtol
+       * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol
        declared so we need this cast to prevent long long addresses
        from being misconfigures. Results in access to unmapped memory.
 
@@ -1104,9 +1710,8 @@ Tue Nov 25 20:12:46 1997  Michael Meissner  <meissner@cygnus.com>
 
 Tue Nov 25 00:12:38 1997  Doug Evans  <devans@seba.cygnus.com>
 
-start-sanitize-d30v
        * gennltvals.sh: Generate syscall values for d30v.
-end-sanitize-d30v
+
        * gennltvals.sh: Use libgloss/syscall.h for sparc.
        * nltvals.def: Regenerate.
 
@@ -2907,9 +3512,7 @@ Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
        * Make-common.in (SIM_EXTRA_DEPS): New config var.
        (sim_main_headers): Define.
        (sim-*.o): Depend on $(SIM_EXTRA_DEPS).
-start-sanitize-d30v
        (BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
-end-sanitize-d30v
        (clean): Use it.
        (sim-utils.o): Add rule for.
        * sim-utils.o: New file.
@@ -3347,5 +3950,3 @@ Tue Oct 10 12:03:13 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
 Thu Sep 28 15:40:36 1995  steve chamberlain  <sac@slash.cygnus.com>
 
        * run.c, run.1: From sh directory.
-
-
This page took 0.05572 seconds and 4 git commands to generate.