aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-09-10 17:20:10 +0000
committerSteve Chamberlain <sac@cygnus>1992-09-10 17:20:10 +0000
commit62ba1060a476c6aaf0fbe723946f38625fcfc95e (patch)
tree9d0050f901862bf4344dca519b959348ba32736b
parentc3a1191a1da0c67ffac7419a97a057035ee4e307 (diff)
downloadgdb-62ba1060a476c6aaf0fbe723946f38625fcfc95e.zip
gdb-62ba1060a476c6aaf0fbe723946f38625fcfc95e.tar.gz
gdb-62ba1060a476c6aaf0fbe723946f38625fcfc95e.tar.bz2
Special stuff to strip v9 out of sparc-opc.c
-rw-r--r--opcodes/.Sanitize15
1 files changed, 15 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index 46543cb..f0d90f1 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -32,6 +32,21 @@ z8k-opc.h
Do-last:
+Do-last:
+
+if ( echo $* | grep keep\-v9 > /dev/null ) ; then
+ echo Keeping v9 in sparc-opc.c
+else
+ echo Sanitizing v9 in sparc-opc.c
+ rm -f new
+ grep -v v9 sparc-opc.c > new
+ if [ -n "${safe}" ] ; then
+ mv sparc-opc.c .Recover
+ else
+ rm sparc-opc.c
+ fi
+ mv new sparc-opc.c
+fi
echo Done in `pwd`.