diff options
author | Steve Chamberlain <sac@cygnus> | 1994-11-25 06:15:19 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-11-25 06:15:19 +0000 |
commit | a4d44f7ac90bb40b8c6c9cba88d49061356e60bf (patch) | |
tree | ba980bbe87a07f2b37e9eb5a0a6f5fa3dcff253a /opcodes/.Sanitize | |
parent | de582ad6769414ea1d0c4167d8a14437896bf756 (diff) | |
download | gdb-a4d44f7ac90bb40b8c6c9cba88d49061356e60bf.zip gdb-a4d44f7ac90bb40b8c6c9cba88d49061356e60bf.tar.gz gdb-a4d44f7ac90bb40b8c6c9cba88d49061356e60bf.tar.bz2 |
remove sh3 stuff.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r-- | opcodes/.Sanitize | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 9600959..13d2d8f 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -96,6 +96,29 @@ else done fi + +sh3_files="ChangeLog sh3-opc.h" +if ( echo $* | grep keep\-sh3 > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh3 stuff in $sh3_files. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning sh3 in `pwd`: + fi + for f in $sh3_files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed -e '/start\-sanitize\-sh3/,/end\-sanitize\-sh3/d' -e '/ xl /d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done +fi + + rce_files="configure.in" if ( echo $* | grep keep\-rce > /dev/null ) ; then for i in $rce_files ; do @@ -130,4 +153,5 @@ for i in * ; do fi done + # End of file. |