aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-06-18 23:00:38 +0000
committerJeff Law <law@redhat.com>1996-06-18 23:00:38 +0000
commitcc9738177659a2877a1a57c28f02570022233f33 (patch)
treed4b7660c6eec4cd73165b9a274767ebb71ff6f3b /opcodes/.Sanitize
parent71415be57c79a33a2b9847a13db2372c8708c294 (diff)
downloadgdb-cc9738177659a2877a1a57c28f02570022233f33.zip
gdb-cc9738177659a2877a1a57c28f02570022233f33.tar.gz
gdb-cc9738177659a2877a1a57c28f02570022233f33.tar.bz2
* h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
to just "mode". start-sanitize-h8s * disassemble.c (disassembler): Handle H8/S. * h8300-dis.c (print_insn_h8300s): New function for H8/S. end-sanitize-h8s Even more H8/S goo.
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 f6b1819..f2fd360 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -105,6 +105,34 @@ else
done
fi
+h8s_files="ChangeLog disassemble.c h8300-dis.c"
+if ( echo $* | grep keep\-h8s > /dev/null ) ; then
+ for i in $h8s_files ; do
+ if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping h8s stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $h8s_files ; do
+ if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"h8s\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2