From: Nick Clifton Date: Tue, 10 Nov 1998 23:31:36 +0000 (+0000) Subject: Add support for disassemble FR30 instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d6c7d6814169a68fce3970cc054c5d7ae08d982;p=binutils-gdb.git Add support for disassemble FR30 instructions. --- diff --git a/include/.Sanitize b/include/.Sanitize index 9996ebb6c74..b5f73654804 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -95,6 +95,34 @@ else done fi +fr30_files="ChangeLog dis-asm.h" +if ( echo $* | grep keep\-fr30 > /dev/null ) ; then + for i in $fr30_files ; do + if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping fr30 stuff in $i + fi + fi + done +else + for i in $fr30_files ; do + if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"fr30\" from $i... + fi + cp $i new + sed '/start\-sanitize\-fr30/,/end-\sanitize\-fr30/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 [ -n "${verbose}" ] ; then echo Processing \"sky\"... fi diff --git a/include/dis-asm.h b/include/dis-asm.h index 70a4da4644e..63b6eb031a3 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -162,6 +162,9 @@ extern int print_insn_i960 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_sh PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_shl PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_hppa PARAMS ((bfd_vma, disassemble_info*)); +/* start-sanitize-fr30 */ +extern int print_insn_fr30 PARAMS ((bfd_vma, disassemble_info*)); +/* end-sanitize-fr30 */ extern int print_insn_m32r PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_m88k PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_mn10200 PARAMS ((bfd_vma, disassemble_info*));