diff options
author | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:30:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:30:31 +0000 |
commit | 492c267000a0dc490804a065c2e58716650cb69a (patch) | |
tree | ec0054ce258001ee688d9edf53e29dd5e9642c8f /.Sanitize | |
parent | a365cd79ee656018c3702516a6f88faf189ad628 (diff) | |
download | gdb-492c267000a0dc490804a065c2e58716650cb69a.zip gdb-492c267000a0dc490804a065c2e58716650cb69a.tar.gz gdb-492c267000a0dc490804a065c2e58716650cb69a.tar.bz2 |
Add support for v850e and v850eq target.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 52 |
1 files changed, 52 insertions, 0 deletions
@@ -279,6 +279,58 @@ else fi done fi +if ( echo $* | grep keep\-v850e > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850e stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850e\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/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 +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850eq stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850eq\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850/,/end-\sanitize\-v850eq/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 r5900_files="ChangeLog config.sub configure.in" |