diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-07-01 17:34:10 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-07-01 17:34:10 +0000 |
commit | 186dfd16abde98533933b68360bc19b026818716 (patch) | |
tree | 4026b8d3fb608483031d0e905b9758a9d623f199 /.Sanitize | |
parent | bfac208d92dc2f1ecb24c7564b1dc7ce941ba908 (diff) | |
download | gdb-186dfd16abde98533933b68360bc19b026818716.zip gdb-186dfd16abde98533933b68360bc19b026818716.tar.gz gdb-186dfd16abde98533933b68360bc19b026818716.tar.bz2 |
Add basic d10v support
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -237,6 +237,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"d10v\"... +fi + +d10v_files="ChangeLog config.sub" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + for i in $d10v_files ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d10v stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d10v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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 + rce_files="config.sub" if ( echo $* | grep keep\-rce > /dev/null ) ; then |