* include/opcode/mips.h (INSN_4900): Added.
authorGavin Romig-Koch <gavin@redhat.com>
Wed, 29 Oct 1997 22:38:20 +0000 (22:38 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Wed, 29 Oct 1997 22:38:20 +0000 (22:38 +0000)
gdb/.Sanitize

index cc33837..fe5edc0 100644 (file)
@@ -600,6 +600,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $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 * ; do
+               if test ! -d $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
+
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
        for i in * ; do
                if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then