aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1998-09-10 18:28:13 +0000
committerMichael Meissner <gnu@the-meissners.org>1998-09-10 18:28:13 +0000
commit52ce74dc9f3487714519ee4fdeaba74fa62633c9 (patch)
tree18083545303ad32a918179459592ddb6e04340b8 /opcodes/.Sanitize
parentd7d7dd1b5aec3470035480bc1c3f46da21170f4f (diff)
downloadgdb-52ce74dc9f3487714519ee4fdeaba74fa62633c9.zip
gdb-52ce74dc9f3487714519ee4fdeaba74fa62633c9.tar.gz
gdb-52ce74dc9f3487714519ee4fdeaba74fa62633c9.tar.bz2
Sanitize out Nortel 750 sprs
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize30
1 files changed, 30 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index a1cabbc..1663cc4 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -462,6 +462,36 @@ else
done
fi
+nortel_ppc750_files="ChangeLog ppc-opc.c"
+if ( echo $* | grep keep\-nortel-ppc750 > /dev/null ) ; then
+ for i in $nortel_ppc750_files ; do
+ if test -f $i && (grep sanitize-nortel-ppc750 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping m32rx stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $nortel_ppc750_files ; do
+ if test -f $i && (grep sanitize-nortel-ppc750 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"m32rx\" from $i...
+ fi
+ cp $i new
+ # The PIPE sanitization will be much cleaner with redact.
+ sed -e '/start\-sanitize\-nortel-ppc750/,/end\-sanitize\-nortel-ppc750/d' \
+ -e 's/, PIPE_[A-Z]*//g' < $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
+
for i in *; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in opcodes/$i! 1>&2