+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 hane 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.
+
+start-sanitize-sky
+Tue Mar 31 16:44:15 1998 Jim Lemke <jlemke@cygnus.com>
+
+ * sim-base.h: Add fp_type_opt etc to sim_state_base for
+ the global option "float_type".
+
+end-sanitize-sky
+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
+
+end-sanitize-am30
+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.
+
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+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.
+
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+start-sanitize-am30
+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
+
+end-sanitize-am30
+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.
+
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+Thu Mar 19 00:41:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-options.h: Document additional CPU arg to OPTION_HANDLER.
+
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+start-sanitize-am30
+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.
+
+end-sanitize-am30
+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