aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-10-03 03:27:10 +0000
committerJeff Law <law@redhat.com>1996-10-03 03:27:10 +0000
commitcad8350fd34de42040a27f1e43dba1e240305db5 (patch)
tree4bc4f89b77451a987aa7c8c1e27e80f75a22dae2
parenta0fe6c2dc64bf78af8784202f1c23c26d878b896 (diff)
downloadgdb-cad8350fd34de42040a27f1e43dba1e240305db5.zip
gdb-cad8350fd34de42040a27f1e43dba1e240305db5.tar.gz
gdb-cad8350fd34de42040a27f1e43dba1e240305db5.tar.bz2
* dis-asm.h (print_insn_mn10x00): Declare.
Getting started on Matsushita.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dis-asm.h10
2 files changed, 12 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index d4d6cb1..79b16d4 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+Wed Oct 2 21:24:43 1996 Jeffrey A Law (law@cygnus.com)
+
+ * dis-asm.h (print_insn_mn10x00): Declare.
+
Mon Sep 30 13:56:11 1996 Fred Fish <fnf@cygnus.com>
* libiberty.h: Remove #ifndef PRIVATE_XMALLOC.
diff --git a/include/dis-asm.h b/include/dis-asm.h
index d78419b..3a05927 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -43,6 +43,8 @@ typedef struct disassemble_info {
/* Target description. We could replace this with a pointer to the bfd,
but that would require one. There currently isn't any such requirement
so to avoid introducing one we record these explicitly. */
+ /* The bfd_flavour. This can be bfd_target_unknown_flavour. */
+ enum bfd_flavour flavour;
/* The bfd_arch value. */
enum bfd_architecture arch;
/* The bfd_mach value. */
@@ -115,8 +117,7 @@ extern int print_insn_h8300 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_h8300h PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_h8300s PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_h8500 PARAMS ((bfd_vma, disassemble_info*));
-extern int print_insn_alpha_osf PARAMS ((bfd_vma, disassemble_info*));
-extern int print_insn_alpha_vms PARAMS ((bfd_vma, disassemble_info*));
+extern int print_insn_alpha PARAMS ((bfd_vma, disassemble_info*));
/* start-sanitize-arc */
extern disassembler_ftype arc_get_disassembler PARAMS ((int, int));
/* end-sanitize-arc */
@@ -130,6 +131,7 @@ 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*));
extern int print_insn_m88k PARAMS ((bfd_vma, disassemble_info*));
+extern int print_insn_mn10x00 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_ns32k PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_big_powerpc PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_little_powerpc PARAMS ((bfd_vma, disassemble_info*));
@@ -138,6 +140,9 @@ extern int print_insn_w65 PARAMS ((bfd_vma, disassemble_info*));
/* start-sanitize-d10v */
extern int print_insn_d10v PARAMS ((bfd_vma, disassemble_info*));
/* end-sanitize-d10v */
+/* start-sanitize-v850 */
+extern int print_insn_v850 PARAMS ((bfd_vma, disassemble_info*));
+/* end-sanitize-v850 */
/* Fetch the disassembler for a given BFD, if that support is available. */
extern disassembler_ftype disassembler PARAMS ((bfd *));
@@ -165,6 +170,7 @@ extern void generic_print_address
/* Macro to initialize a disassemble_info struct. This should be called
by all applications creating such a struct. */
#define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \
+ (INFO).flavour = bfd_target_unknown_flavour, \
(INFO).arch = bfd_arch_unknown, \
(INFO).mach = 0, \
(INFO).endian = BFD_ENDIAN_UNKNOWN, \