aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-12-22 17:22:11 +0000
committerDoug Evans <dje@google.com>1997-12-22 17:22:11 +0000
commit80c396f6cd52a7bd3524f85e333c8679dc7cf9fb (patch)
treed82fb95f5acce480efbdfb6714c58a10a72a1280 /opcodes/.Sanitize
parentf5870264dfa95240958b2c21605abecbcd05c248 (diff)
downloadgdb-80c396f6cd52a7bd3524f85e333c8679dc7cf9fb.zip
gdb-80c396f6cd52a7bd3524f85e333c8679dc7cf9fb.tar.gz
gdb-80c396f6cd52a7bd3524f85e333c8679dc7cf9fb.tar.bz2
* configure.in: Add txvu support.
* configure: Regenerate. * disassemble.c: Add txvu support.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index 730aaea..d6b7ed8 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -365,6 +365,34 @@ else
done
fi
+sky_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c"
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sky stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sky\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2