aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-02-11 13:26:34 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-02-11 13:26:34 +0000
commit276c2d7dc8a0057901123776b5ae26fe48ce69e2 (patch)
treef92c4a48e0f2f6b8df840f40d6a5ec752bb6d076 /include/opcode/.Sanitize
parenta7f081a5be64456cdd268ceb515db7c94737c2b2 (diff)
downloadgdb-276c2d7dc8a0057901123776b5ae26fe48ce69e2.zip
gdb-276c2d7dc8a0057901123776b5ae26fe48ce69e2.tar.gz
gdb-276c2d7dc8a0057901123776b5ae26fe48ce69e2.tar.bz2
Add r5900
Diffstat (limited to 'include/opcode/.Sanitize')
-rw-r--r--include/opcode/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize
index 41d25cd..5d654e5 100644
--- a/include/opcode/.Sanitize
+++ b/include/opcode/.Sanitize
@@ -169,6 +169,34 @@ else
done
fi
+r5900_files="ChangeLog mips.h"
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ for i in $r5900_files ; do
+ if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping r5900 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $r5900_files ; do
+ if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"r5900\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/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
+
tic80_files="ChangeLog"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in $tic80_files ; do