diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-09-09 19:23:41 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-09-09 19:23:41 +0000 |
commit | 8863243604e60887390dd03f4355d5261a0c0604 (patch) | |
tree | af2a8d12276628f3d69ab00cf777823e5148dc65 /.Sanitize | |
parent | 4a9149d501d04774085e7a3eb531bf9bb25541d8 (diff) | |
download | gdb-8863243604e60887390dd03f4355d5261a0c0604.zip gdb-8863243604e60887390dd03f4355d5261a0c0604.tar.gz gdb-8863243604e60887390dd03f4355d5261a0c0604.tar.bz2 |
* config.sub, configure.in: Add entries for m32r.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -270,6 +270,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"m32r\"... +fi + +m32r_files="config.sub configure.in ChangeLog" + +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32r stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32r\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 |