aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-12-16 14:44:16 +0000
committerNick Clifton <nickc@redhat.com>1997-12-16 14:44:16 +0000
commit9a8ea169a6e9622c76c418c9058c5da2e83e82b3 (patch)
tree1b572c804a655f3a043ccf6fb81e787e8b74def5 /.Sanitize
parenta3240f68578e136d4104fa49f4e00d15471c672f (diff)
downloadgdb-9a8ea169a6e9622c76c418c9058c5da2e83e82b3.zip
gdb-9a8ea169a6e9622c76c418c9058c5da2e83e82b3.tar.gz
gdb-9a8ea169a6e9622c76c418c9058c5da2e83e82b3.tar.bz2
Added m32rx sanitization
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 8653a4e..dae079f 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -470,6 +470,34 @@ else
done
fi
+m32rx_files="ChangeLog config-ml.in"
+if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
+ for i in $m32rx_files ; do
+ if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping m32rx stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"m32rx\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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
+
# Do this check LAST!
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then