* sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
[deliverable/binutils-gdb.git] / sim / common / ChangeLog
index e63c8734ee520c430298cf12196533e7d467b1b3..b7e6f2ea4b6d75275a8fc023ed2dc57227606ad2 100644 (file)
+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.
+       Move common object files from here.
+       * Make-common.in (SIM_COMMON_HW_OBJS): To here.
+       
+Thu May 21 17:57:16 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-hw.c: Include ctype.h.
+       (do_hw_poll_read): Do not assume EAGAIN.
+
+Wed May 20 04:37:57 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-trace.c (first_insn_p): New static local.
+       (trace_insn_init): Set it.
+       (trace_insn_fini): Use TRACE_PREFIX.
+       (trace_insn): Rewrite to use trace_prefix.
+       * sim-trace.c (trace_prefix): Don't print filename arg if NULL.
+       Adjust width accordingly.
+
+       * sim-profile.h (PROFILE_DATA): New member profile_any_p.
+       (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
+       (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
+       (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
+       (PROFILE_COUNT_CORE): Simplify.
+       * sim-profile.c (profile_option_handler): Compute profile_any_p.
+
+Tue May 19 23:55:30 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-ops.h (ADDCFSI): Fix typo.
+
+Sat May 16 12:44:52 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
+       * genmloop.sh: Use them rather than static locals.
+
+       * sim-engine.c (sim_engine_set_run_state): New function.
+       * sim-engine.h (sim_engine_set_run_state): Declare.
+       * genmloop.sh (pending_reason,pending_sigrc): New static locals.
+       (@cpu@_engine_stop): New args reason,sigrc.  All callers updated.
+       (engine_resume): Reorganize.  Allow synchronous exit from main loop.
+
+Fri May 15 16:06:05 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-trace.c (trace_insn_init): New arg first_p. 
+       All callers updated.
+       (trace_insn_fini): New arg last_p.  All callers updated.
+       * cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
+       (TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
+       * genmloop.sh (engine_resume): Update.
+
+Fri May 15 15:59:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * Make-common.in (install-common): Run ranlib on installed copy of
+       libsim.a.
+
+Fri May 15 15:03:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
+
+       * Make-common.in (install-common): Rename and install libsim.a.
+
+Tue May 12 15:23:57 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-io.c (unistd.h): Include.
+
+Wed May  6 16:04:18 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common (sim_main_headers): Sort.
+       (cgen-*.o): Add cgen-sim.h dependency.
+
+       * cgen-scache.c (scache_init): Only allocate space if scache element
+       size is non-zero.
+       (scache_flush,scache_print_profile): Check if scache in use first.
+
+       * cgen-sim.h (IDESC): Provide forward declaration.
+       (DECODE): Delete.
+       (CGEN_CPU): Always define scache member.  New members idesc,opcode.
+       (cgen_cpu_max_extra_bytes): Declare.
+       * cgen-utils.c (cgen_cpu_max_extra_bytes): New function.
+
+       * cgen.sh: s/@arch@/${arch}/ for cpu files.
+
+       * sim-cpu.h: New file.  sim_cpu_base moved here.
+       Move sim_cpu_lookup decl here.
+       * sim-base.h: #include "sim-cpu.h".
+       * sim-cpu.c: New file.
+       * Make-common (sim_main_headers): Add sim-cpu.h.
+       (sim-cpu.o): Add rule for.
+
+       * sim-model.c (set_model): Delete.
+       (sim_model_set,model_set): New functions.
+       (sim_model_install): Renamed from model_install.
+       Don't set default model here.
+       (model_option_handler): Rewrite --model processing.
+       (sim_model_lookup,sim_mach_lookup): New functions.
+       * sim-model.h (MAX_MODELS,MAX_INSNS): Delete.
+       (insn_timing): Delete.
+       (INSN_TIMING): New member `num'.
+       (IMP_PROPERTIES): Always define scache_elm_size member.
+       (MACH): New member init_cpu.
+       (sim_machs): Renamed from machs.
+       (sim_model_install): Renamed from model_install.
+       (sim_model_set,sim_model_lookup,sim_mach_lookup): Declare.
+       * sim-module.c (modules): Update.
+
+       * sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro.
+
+       * sim-io.c: #include <errno.h>.
+
+Wed May  6 12:39:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (struct hw_pal_device): Add reader.
+       (hw_pal_finish): Initialize reader.
+       (scan_hw_pal): Use reader.
+
+       * hw-base.h, sim-hw.c (do_hw_poll_read): New function.
+       (HW_IO_EOF, HW_IO_NOT_READY): Define.
+       * dv-pal.c: Use.
+
+       * sim-io.h, sim-io.c (sim_io_poll_read): New function.  Copy from
+       ../ppc/main.c sim_io_read_stdin.
+
+Fri May  1 12:11:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.h (hw_tree_print): Paramaterize with print and file
+       arguments.
+       * hw-tree.c: Update.
+       
+       * hw-base.h (hw_port_event_callback): Delete CPU/CIA args.
+       * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete
+       CPU/CIA args.
+       * hw-ports.h (hw_port_event): Ditto.
+       * hw-ports.c (hw_port_event): Update.
+       * hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer):
+       Update.
+       * dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer):
+       Update.
+       (hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt.
+       (do_counter_event): Update.
+       * dv-glue.c (hw_glue_io_read_buffer): Update.
+       (hw_glue_port_event): Update.
+
+       * hw-device.h (SIM_DESC): Replace with struct sim_state.
+       * hw-base.h (hw_create): Ditto.
+       * hw-base.c (hw_create): Ditto.
+       
+       * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule,
+       hw_event_queue_deschedule, hw_event_queue_time): Delete, moved
+       from here to.
+       * sim-hw.c: Here.
+       * hw-device.h (hw_system_cpu): Declare.
+       * sim-hw.c (hw_system_cpu): New function.
+
+       * sim-core.c (sim_core_map_attach, sim_core_attach): Call
+       sim_hw_abort not hw_abort.
+       (sim-hw.h): Include.
+       (sim_core_read_buffer, sim_core_write_buffer): Call
+       sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU
+       argument.
+       (sim_core_set_xor): Do not pass CPU when aborting.
+
+       * sim-n-core.h (sim_core_read_aligned_N,
+       sim_core_write_aligned_N): Call sim_hw_abort not hw_abort.
+       (sim_core_read_aligned_N, sim_core_write_aligned_N): Call
+       sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not
+       return length.
+
+       * sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare
+       sim_hw_print.
+       * sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer,
+       sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New
+       functions.
+       (sim_hw_print): New function.
+
+       * sim-engine.h (sim_engine_vabort): Declare.
+       * sim-engine.c (sim_engine_vabort): New function.
+
+Wed Apr 29 23:58:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (print_data): For floating-point numbers trace raw
+       hex value.
+       (trace_result_fp2): New function.
+       * sim-trace.h (trace_result_fp2): New declaration.
+       (TRACE_FP_RESULT2): New macro.
+
+Tue Apr 28 18:28:58 1998  Geoffrey Noer  <noer@cygnus.com>
+
+        * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
+        AM_CYGWIN32 and AM_EXEEXT.
+        * common/Make-common.in: set EXEEXT, add missing EXEEXTs
+        to run and install-common rules.
+        * common/configure: regenerate
+
+Sat Apr 25 17:45:01 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (cell_word): New type.
+       (natural_cell): Delete type.
+
+Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Sun Apr 26 15:25:07 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h (NEED_DECLARATION_PRINTF): Removed.
+
+Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Fri Apr 24 11:38:08 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * acconfig.h: New file.
+       * Make-common.in (top_builddir): New macro.
+       (INTL_LIB): Removed.
+       (INTLLIBS): New macro.
+       (INTLDEPS): Likewise.
+       (LIBDEPS): Use INTLDEPS.
+       (EXTRA_LIBS): Use INTLLIBS.
+       * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
+       (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
+       AM_LC_MESSAGES): New macros from GNU gettext.
+
+Fri Apr 24 19:57:59 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-config.h: Discard leading _ from macros.
+       * sim-types.h: Ditto.
+
+Wed Apr 22 14:14:19 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * Make-common.in (CSEARCH): Add -I to intl directories.
+       (INTL_LIB): Point to libintl.a.
+       (LIBDEPS): Add $(INTL_LIB).
+       (EXTRA_LIBS): Ditto.
+
+Tue Apr 21 12:44:27 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * cgen-types.h (GETHIDI,MAKEDI): Tweak.
+
+       * cgen-ops.h (ADDCFSI): Fix.
+       (SUBCFSI): Tweak.
+
+Tue Apr 21 13:18:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (signed_address, unsigned_address): Define.
+
+Mon Apr 20 21:47:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a
+       QNaN.
+
+Thu Apr 16 10:30:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction):
+       New functions, pack / unpack sim_fpu struct using raw values.
+       (sim_fpu_is): Differentiate between negative and positive
+       infinity.
+
+Tue Apr 14 18:49:31 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-bits.h (EXTEND4): Define.
+       (EXTEND4, EXTEND15, EXTEND11): Ditto.
+       
+Tue Apr 14 16:31:35 1998  John Metzler  <jmetzler@cygnus.com>
+
+       * 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.
+
+Tue Apr 14 13:19:14 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * Make-common.in (RUNTESTFLAGS): Define.
+       (check): Pass RUNTESTFLAGS to recursive make.
+
+Tue Apr 14 15:09:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-info.c (sim_info): Be verbose when either VERBOSE or
+       STATE_VERBOSE_P.
+
+Sat Apr  4 23:24:17 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-inline): By default, disable sim-inline when
+       cross compiling.
+
+Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults.
+       (sim-inline): Update to match sim-inline.[hc]
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * Make-common.in (sim_main_headers): Add sim-inline.h
+
+       * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P.
+       selected.
+       * sim-endian.h (sim-endian.c): Ditto.
+       
+       * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H.
+       (sim_events_set_trace): Delete unused prototype.
+       
+       * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H.
+       * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C.
+
+       * sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P.
+       (sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to):
+       Comment out, not yet implemented in sim-fpu.c.
+       (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan,
+       sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU.
+       
+       * sim-inline.h: Rewrite description.
+       (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define.
+       (SIM_MAIN_INLINE): Add inline option.
+       
+       * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not
+       include generated files. Handled by generator directly.
+       
+Sat Apr  4 01:07:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P
+       up-to-date.
+
+       * sim-trace.h (TRACE_ANY_P): Define.
+       (struct _trace_data): Add trace_any_p.
+
+Mon Mar 30 17:11:55 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * run.c (main): Handle all alternatives of enum sim_stop.
+       (main): Delete unused `asection *s'.
+
+Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.h, hw-tree.c (hw_tree_vparse): New function
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+       * sim-hw.c: New file.
+       * sim-hw.h (sim_hw_parse): Declare function.
+       (hw-tree.h): Do not include.
+       
+       * sim-base.h (STATE_HW): Define.
+       (struct sim_state_base): Add member struct *hw.
+
+       * sim-module.c (sim-hw.h): Include.
+       (modules): Add sim_hw_install.
+       
+       * aclocal.m4 (sim_hw_obj): Add sim-hw.o
+
+Fri Mar 27 14:55:06 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-base.h (CPU_INDEX): Define.
+
+       * sim-utils.c (sim_state_alloc): Initialize.
+       * sim-module.c (sim_post_argv_init): Ditto.
+
+Thu Mar 26 10:07:57 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * aclocal.m4 (sim_hw_obj):  Fix sed expression to generate
+       properly formatted lists.
+
+Thu Mar 26 10:37:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was
+       0x2f needs to be 0x3f.
+
+Thu Mar 26 09:10:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.c (hw_tree_find_property): Return NULL when device is
+       not found.
+       (hw_tree_find_*_property): Clean up error message when property is
+       not found.
+
+       * dv-pal.c (hw_pal_io_read_buffer): Check the smp property is
+       present before looking for it.
+
+Wed Mar 25 16:17:38 1998  Ian Carmichael  <iancarm@cygnus.com>
+
+       * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h.  
+       (AC_CHECK_FUNCS): Add check for __setfpucw.
+       * configure: Regenerated.
+
+Wed Mar 25 09:18:34 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
+       hw_pal_timer, hw_pal_timer_value): Define.
+       (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
+       (do_counter_event, do_counter_read, do_counter_value,
+       do_counter_write): new functions.
+
+Tue Mar 24 12:24:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-tree.c (hw_printf): Send tree dump to stderr, same as other
+       trace output.
+
+       * hw-base.c (hw_create): Stop searching for a device when one is
+       found.
+
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 23 10:25:08 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add second argument,
+       appends extra devices.
+       (SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of
+       the device names.
+       
+       * Make-common.in (hw-config.h): New target, create hw-config.h
+       file.
+       (SIM_HW): Definition from @sim_hw@.
+       (hw-base.o): Depend on hw-config.h
+
+Tue Mar 24 17:41:35 1998  Stu Grossman  <grossman@bhuna.cygnus.co.uk>
+
+       * Make-common.in:  Get SHELL from configure.
+       * (stamp-tvals sim-inline.c):  Use $(SHELL) when invoking
+       move-if-change.  Fixes NT native build problem.
+       * Makefile.in (nltvals.def):   Use $(SHELL) when invoking
+       move-if-change.  Fixes NT native build problem.
+       * configure:  Regenerate with autoconf 2.12.1 to fix shell issues for
+       NT native builds.
+       
+Sun Mar 22 16:54:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h, hw-device.c (hw_strdup): New function.
+
+       * hw-base.c (hw_create): Use hw_strdup when saving a copy of the
+       strings name, family and args.
+       (full_name_of_hw): Use hw_strdup when returning the full path.
+
+       * hw-properties.c: Clean up property not found / wrong type error
+       messages.
+       
+       * hw-tree.c (hw_tree_parse): Finish a devices initialization
+       before attaching any ports.
+
+       * hw-base.c (hw-config.): Include.  Replace hardwired table.
+
+       * dv-glue.c: Copy over ../ppc/hw_glue.c.  Update to new framework.
+
+       * Make-common.in: Add rule for dv-glue.o.
+
+Sun Mar 22 16:45:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-base.c (hw_finish): Move setting of trace level to here.
+       (hw_create): From here.
+
+       * hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
+       ../ppc/device_table.c.
+
+       * dv-pal.c (hw_pal_finish): Attach PAL device to parent bus.
+
+       * hw-tree.c (print_properties): Supress path when printing
+       properties of root node.
+
+Sun Mar 22 16:21:15 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (HW_TRACE): Define.
+       (hw_trace): Declare.
+       * hw-device.c (hw_trace): Implement function.
+
+       * hw-base.c (hw_create): Set hw trace level from "trace?"
+       property.
+
+       * dv-core.c (dv_core_attach_address_callback): Add trace.
+
+       * dv-pal.c: Replace DTRACE with HW_TRACE.
+
+Sun Mar 22 15:23:35 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (HW_ZALLOC, HW_MALLOC): New macros.
+       (hw_alloc_data): Delcare.
+       (struct hw): Add member alloc_of_hw.
+       
+       * hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New
+       functions. Assocate memory with a device.
+       (stdlib.h): Include.
+       
+       * hw-base.h (set_hw_delete): Define.
+       (hw_delete_callback): Declare.
+       (hw_delete): Declare.
+
+       * hw-base.c (hw_delete): Implement function.
+       (struct hw_base_data): Add member to_delete.
+       (ignore_hw_delete): New function, does nothing.
+       (hw_create): Set the hw_delete method.
+       (hw_create): Allocate the base type using HW_ZALLOC before setting
+       any methods.
+
+       * hw-tree.h, hw-tree.c (hw_tree_delete): New function.
+       
+       * hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free.
+       
+       * hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free.
+       (attach_hw_port_edge): Add struct hw argument
+
+       * dv-pal.c (hw_pal_finish): Replace zalloc/zfree with
+       hw_zalloc/hw_free.
+
+Sun Mar 22 15:09:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * hw-device.h (hw_attach_address_callback,
+       hw_detach_address_callback): Attach to a single space not a space
+       mask. Clarify interpretation of SPACE:ADDR parameters.
+
+       * hw-base.c (passthrough_hw_attach_address,
+       passthrough_hw_detach_address): Update.
+       * dv-core.c (dv_core_attach_address_callback): Ditto.
+       * dv-pal.c (hw_pal_attach_address): Ditto.
+
+Thu Mar 19 00:41:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-options.h: Document additional CPU arg to OPTION_HANDLER.
+
+Wed Mar 18 14:13:02 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Make-common.in (SIM_HW_OBJS, SIM_HW_SRC, SIM_DV_OBJS): Define.
+       (hw-base_h, hw-device_h, hw-handles_h, hw-instances_h, hw_ports_h,
+       hw-properties_h, hw-tree_h): Define, point at corresponding
+       header.
+       (hw_base_headers): Define list of headers included by hw-base.h
+       (hw-base.o, hw-device.o, hw-instances.o, hw-handles.o, hw-ports.o,
+       hw-properties.o, hw-tree.o): Specify dependencies.
+       (dv-core.o, dv-pal.o): Ditto.
+
+       * sim-hw.h: New file.
+
+       * hw-device.h, hw-device.c, hw-properties.h, hw-properties.c,
+       hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch].
+       
+       * hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc].
+
+       * hw-base.h, hw-base.c: new files.  Copied from
+       ../ppc/device_table.[hc].
+
+       * dv-core.c, dv-pal.c: New files. Copied from
+       ../ppc/hw_{core,pal}.c
+       
+       * sim-basics.h (struct hw): Declare.
+       (enum port_direction, enum object_disposition): Declare.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
+       sim_dv_src in Makefile. Take list of devices as parameter to m4
+       macro..
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Mar 16 12:37:33 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-trace.h, sim-trace.c (trace_prefix): Pass in sim_cia so that
+       trace_prefix can abort cleanly.
+
+Sat Mar 14 18:36:12 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * dv-sockser.c, dv-sockser.h: New files.
+       * Make-common.in (dv-sockser.o): Add rule for.
+       * aclocal.m4: Check for fcntl.h.
+       * config.h: Add HAVE_FCNTL_H.
+
+       * sim-break.c (remove_breakpoint): Fix thinko.
+
+       * sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
+       Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
+
+1998-03-13  Fred Fish  <fnf@cygnus.com>
+
+       * sim-base.h (struct sim_state_base): Add prog_syms and
+       define macro STATE_PROG_SYMS.
+       * sim-trace.c (trace_prefix): Add variables abfd, symsize,
+       symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
+       and bfd_canonicalize_symtab, to get symbol table on first use
+       and preserve it via STATE_PROG_SYMS for future calls to
+       bfd_find_nearest_line.
+
+Wed Mar 11 14:02:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-core.h, sim-core.c (sim_core_map_to_str): Delete.
+
+       * sim-core.c (sim_core_attach): Handle a generic number of maps -
+       up to nr_maps, not just access_* maps.
+
+       * sim-profile.h (struct PROFILE_DATA): Track nr_maps different
+       maps.
+
+       * sim-profile.c (profile_print_core): Make map unsigned.  Iterate
+       over nr_maps not sim_core_nr_maps.
+
+       * sim-events.h, sim-events.c (sim_events_watch_core): Change
+       core_map argument to unsigned.
+       (struct _sim_core): Ditto for struct member core_map.
+
+       * sim-core.h (nr_sim_core_maps, sim_core_*_map): Delete
+
+       * sim-basics.h (access_io, access_*_io): Define.
+       (map_read, map_write, map_exec, map_io): Define.
+
+       * sim-core.c, sim-core.h (sim_core_attach): Replace argument
+       attach with more generic mapmask.
+       (sim_core_{read,write}_*): Change map argument to unsigned.
+       
+       * sim-core.c (sim_core_uninstall, sim_core_attach,
+       sim_core_detach): Iterate over nr_maps instead of
+       sim_core_nr_maps.
+
+       * sim-break.c (insert_breakpoint): Write breakpoints to exec_map
+       instead of the write_map.
+       (remove_breakpoint): Ditto.
+
+       * genmloop.sh (engine_resume_full): Replace sim_core_*_map
+       with read_map, write_map, exec_map resp.
+
+       * cgen-mem.h (DECLARE_GETMEM, DECLARE_SETMEM, DECLARE_GETIMEM):
+       Ditto.
+
+       * cgen-utils.c (sim_disassemble_insn): Ditto.
+
+       * sim-hrw.c (sim_write, sim_write): Ditto.
+
+       * sim-utils.h, sim-utils.c (access_to_str, map_to_str,
+       transfer_to_str): New functions.
+
+Mon Mar  9 12:50:59 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * sim-base.h (sim_state_base): New member environment.
+       (STATE_ENVIRONMENT): New macro.
+       * sim-config.c (current_environment): Delete.
+       (sim_config_default): New function.
+       (sim_config): Set STATE_ENVIRONMENT, not current_environment.
+       * sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
+       (sim_config_default): Add prototype.
+       * sim-module.c (sim_pre_argv_init): Call sim_config_default.
+       * sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
+       Set STATE_ENVIRONMENT, not current_environment.
+
+Mon Mar  9 11:59:03 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
+
+Tue Mar  3 10:53:05 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
+
+       * sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
+
+Mon Mar  2 10:20:06 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * Make-common.in (TAGS): Make smarter.
+       * Makefile.in (TAGS): Ditto.
+
+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.
@@ -383,9 +1456,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.
 
@@ -2186,9 +3258,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.
This page took 0.033476 seconds and 4 git commands to generate.