diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-03-27 03:10:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-03-27 03:10:53 +0000 |
commit | 6d133cc9dff70d06c61e9347e06bd22f7edf9c77 (patch) | |
tree | 153e84c84e79e8b83fe80c4f487f7b7fa477fb66 /sim/common | |
parent | 77c9b27d9726f8c50c69ca7f30a65c4ec41607d0 (diff) | |
download | gdb-6d133cc9dff70d06c61e9347e06bd22f7edf9c77.zip gdb-6d133cc9dff70d06c61e9347e06bd22f7edf9c77.tar.gz gdb-6d133cc9dff70d06c61e9347e06bd22f7edf9c77.tar.bz2 |
Add sanitize-am30 markers. Keep details of AM30 implementation of
mn10300 out of the public eye.
Do something with top-level cgen directory.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/.Sanitize | 48 | ||||
-rw-r--r-- | sim/common/ChangeLog | 31 |
2 files changed, 66 insertions, 13 deletions
diff --git a/sim/common/.Sanitize b/sim/common/.Sanitize index 595894f..7e605bc 100644 --- a/sim/common/.Sanitize +++ b/sim/common/.Sanitize @@ -22,6 +22,13 @@ else 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" +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 @@ -117,19 +124,6 @@ tconfig.in Things-to-lose: -dv-core.c -dv-pal.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 - Do-last: d30v_files="ChangeLog gennltvals.sh nltvals.def" @@ -160,6 +154,34 @@ else done fi +am30_files="ChangeLog" +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 diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 109f82f..ec33093 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,8 +1,18 @@ +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 @@ -13,12 +23,14 @@ Thu Mar 26 09:10:56 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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, @@ -27,6 +39,8 @@ Wed Mar 25 09:18:34 1998 Andrew Cagney <cagney@b1.cygnus.com> (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 @@ -35,10 +49,12 @@ Tue Mar 24 12:24:24 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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, @@ -51,6 +67,7 @@ Mon Mar 23 10:25:08 1998 Andrew Cagney <cagney@b1.cygnus.com> (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. @@ -61,6 +78,7 @@ Tue Mar 24 17:41:35 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> * 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. @@ -81,6 +99,8 @@ Sun Mar 22 16:54:40 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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. @@ -94,6 +114,8 @@ Sun Mar 22 16:45:54 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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. @@ -107,6 +129,8 @@ Sun Mar 22 16:21:15 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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. @@ -138,6 +162,8 @@ Sun Mar 22 15:23:35 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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, @@ -149,10 +175,12 @@ Sun Mar 22 15:09:52 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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. @@ -180,6 +208,8 @@ Wed Mar 18 14:13:02 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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, @@ -188,6 +218,7 @@ Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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 |