aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-03-03 16:53:41 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-03-03 16:53:41 +0000
commit779b65bfdb86f6d233b3e9f1b412f405cdfeef73 (patch)
tree9d86974cf7ebc7270071f82535757135ec935806 /opcodes/.Sanitize
parent49e122ae8d12658b33b5fc52f241eb9e87aa3374 (diff)
downloadgdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.zip
gdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.tar.gz
gdb-779b65bfdb86f6d233b3e9f1b412f405cdfeef73.tar.bz2
* mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.
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 9cd333c..b633ed2 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -238,6 +238,34 @@ else
done
fi
+vr4320_files="ChangeLog mips-opc.c mips-dis.c"
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4320 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4320\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/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
+
vr5400_files="ChangeLog mips-opc.c mips-dis.c"
if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
for i in $vr5400_files ; do