lose_these_too="${cygnus_files} ${lose_these_too}"
fi
-am30_files="dv-core.c dv-pal.c dv-glue.c hw-base.c hw-base.h hw-device.c hw-device.h hw-ports.c hw-ports.h hw-properties.c hw-properties.h hw-tree.c hw-tree.h sim-hw.h sim-hw.c"
-if ( echo $* | grep keep\-am30 > /dev/null ) ; then
- keep_these_too="${am30_files} ${keep_these_too}"
-else
- lose_these_too="${am30_files} ${lose_these_too}"
-fi
-
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
done
fi
-am30_files="ChangeLog sim-module.c sim-base.h Make-common.in"
-if ( echo $* | grep keep\-am30 > /dev/null ) ; then
- for i in $am30_files ; do
- if test ! -d $i && (grep sanitize-am30 $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping am30 stuff in $i
- fi
- fi
- done
-else
- for i in $am30_files ; do
- if test ! -d $i && (grep sanitize-am30 $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"am30\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-am30/,/end-\sanitize\-am30/d' < $i > new
- if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
- if [ -n "${verbose}" ] ; then
- echo Caching $i in .Recover...
- fi
- mv $i .Recover
- fi
- mv new $i
- fi
- done
-fi
-
cygnus_files="ChangeLog Make-common.in"
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
for i in $cygnus_files ; do
-start-sanitize-am30
Fri May 22 12:16:27 1998 Andrew Cagney <cagney@b1.cygnus.com>
* aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
* sim-hw.c: Include ctype.h.
(do_hw_poll_read): Do not assume EAGAIN.
-end-sanitize-am30
Wed May 20 04:37:57 1998 Doug Evans <devans@seba.cygnus.com>
* cgen-trace.c (first_insn_p): New static local.
* sim-io.c: #include <errno.h>.
Wed May 6 12:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
-start-sanitize-am30
* dv-pal.c (struct hw_pal_device): Add reader.
(hw_pal_finish): Initialize reader.
(HW_IO_EOF, HW_IO_NOT_READY): Define.
* dv-pal.c: Use.
-end-sanitize-am30
* 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>
-start-sanitize-am30
* hw-tree.h (hw_tree_print): Paramaterize with print and file
arguments.
* hw-tree.c: Update.
functions.
(sim_hw_print): New function.
-end-sanitize-am30
* sim-engine.h (sim_engine_vabort): Declare.
* sim-engine.c (sim_engine_vabort): New function.
* run.c (main): Handle all alternatives of enum sim_stop.
(main): Delete unused `asection *s'.
-start-sanitize-am30
Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
* hw-tree.h, hw-tree.c (hw_tree_vparse): New function
* 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
* 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,
(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
* 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,
(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.
* 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.
* 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-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.
* 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.
* 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,
* 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.
* 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,
* 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
# here. Some files are used by all simulators (e.g. callback.o).
# Those files are specified in LIB_OBJS below.
-# start-sanitize-am30
SIM_COMMON_HW_OBJS = \
hw-device.o \
hw-ports.o \
hw-tree.o \
sim-hw.o \
-# end-sanitize-am30
SIM_NEW_COMMON_OBJS = \
sim-bits.o \
sim-break.o \
sim-break_h = $(srccom)/sim-break.h
sim-signal_h = $(srccom)/sim-signal.h
-# start-sanitize-am30
hw-base_h = $(srccom)/hw-base.h
hw-device_h = $(srccom)/hw-device.h
hw-handles_h = #$(srccom)/hw-handles.h
$(hw-handles_h) \
$(hw-ports_h) \
$(hw-properties_h) \
-# end-sanitize-am30
# FIXME: If this complicated way of building .o files from ../common is
# necessary, the reason should be documented here.
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-hrw.c $(ALL_CFLAGS)
-#start-sanitize-am30
sim-hw.o: $(srccom)/sim-hw.c $(sim_main_headers) $(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-hw.c $(ALL_CFLAGS)
-#end-sanitize-am30
sim-info.o: $(srccom)/sim-info.c $(sim-assert_h) \
$(srcroot)/include/remote-sim.h \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srccom)/sim-break.c $(ALL_CFLAGS)
-# start-sanitize-am30
# FIXME This is one very simple-minded way of generating the file hw-config.h
hw-config.h: Makefile.in $(srccom)/Make-common.in config.status Makefile
rm -f tmp-hw.h
$(sim-main_h) $(hw_base_headers)
$(CC) -c $(srccom)/dv-pal.c $(ALL_CFLAGS)
-#end-sanitize-am30
nrun.o: $(srccom)/nrun.c config.h tconfig.h \
$(srcroot)/include/remote-sim.h $(srcroot)/include/callback.h \