aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-10-29 22:44:29 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-10-29 22:44:29 +0000
commitc7227bdcf7f2a37967ff7c934d2277603c969303 (patch)
treec310f6e7d1994532a6e01bfb37103632d8ba995e /include/opcode/.Sanitize
parenta50b45f379052d0456a7f61be16a7ac1e1fb2b4c (diff)
downloadgdb-c7227bdcf7f2a37967ff7c934d2277603c969303.zip
gdb-c7227bdcf7f2a37967ff7c934d2277603c969303.tar.gz
gdb-c7227bdcf7f2a37967ff7c934d2277603c969303.tar.bz2
* include/opcode/mips.h (INSN_4900): Added.
Diffstat (limited to 'include/opcode/.Sanitize')
-rw-r--r--include/opcode/.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize
index 35ba9c1..615390f 100644
--- a/include/opcode/.Sanitize
+++ b/include/opcode/.Sanitize
@@ -128,6 +128,35 @@ else
done
fi
+tx49_files="ChangeLog mips.h"
+
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+ for i in $tx49_files ; do
+ if test -f $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tx49 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $tx49_files ; do
+ if test -f $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tx49\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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
+
r5900_files="ChangeLog mips.h"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do