aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-11-10 23:31:36 +0000
committerNick Clifton <nickc@redhat.com>1998-11-10 23:31:36 +0000
commit5d6c7d6814169a68fce3970cc054c5d7ae08d982 (patch)
tree0de998c24e7b0d41c7fc8e8af29dcd527af986d6 /include
parent0f461c4bfa122605be6820173fffe7b7f14cc47d (diff)
downloadgdb-5d6c7d6814169a68fce3970cc054c5d7ae08d982.zip
gdb-5d6c7d6814169a68fce3970cc054c5d7ae08d982.tar.gz
gdb-5d6c7d6814169a68fce3970cc054c5d7ae08d982.tar.bz2
Add support for disassemble FR30 instructions.
Diffstat (limited to 'include')
-rw-r--r--include/.Sanitize28
-rw-r--r--include/dis-asm.h3
2 files changed, 31 insertions, 0 deletions
diff --git a/include/.Sanitize b/include/.Sanitize
index 9996ebb..b5f7365 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 70a4da4..63b6eb0 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*));