diff options
author | Steve Chamberlain <sac@cygnus> | 1994-11-24 06:41:52 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-11-24 06:41:52 +0000 |
commit | 811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2 (patch) | |
tree | 5ad87408b43fabc6880cc805af6a0257eee3a7c3 | |
parent | 17775ffbca5e0710dd9e25de930648279deb80eb (diff) | |
download | gdb-811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2.zip gdb-811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2.tar.gz gdb-811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2.tar.bz2 |
* dis-asm.h (print_insn_shl): New prototype.
-rw-r--r-- | include/dis-asm.h | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index b04bf25..5db661d 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -11,6 +11,16 @@ typedef int (*fprintf_ftype) PARAMS((FILE*, const char*, ...)); +enum dis_insn_type { + dis_noninsn, /* Not a valid instruction */ + dis_nonbranch, /* Not a branch instruction */ + dis_branch, /* Unconditional branch */ + dis_condbranch, /* Conditional branch */ + dis_jsr, /* Jump to subroutine */ + dis_condjsr, /* Conditional jump to subroutine */ + dis_dref, /* Data reference instruction */ + dis_dref2 /* Two data references in instruction */ +}; /* This struct is passed into the instruction decoding routine, and is passed back out into each callback. The various fields are used @@ -63,16 +73,6 @@ typedef struct disassemble_info { To determine whether this decoder supports this information, set insn_info_valid to 0, decode an instruction, then check it. */ - enum dis_insn_type { - dis_noninsn, /* Not a valid instruction */ - dis_nonbranch, /* Not a branch instruction */ - dis_branch, /* Unconditional branch */ - dis_condbranch, /* Conditional branch */ - dis_jsr, /* Jump to subroutine */ - dis_condjsr, /* Conditional jump to subroutine */ - dis_dref, /* Data reference instruction */ - dis_dref2, /* Two data references in instruction */ - }; char insn_info_valid; /* Branch info has been set. */ char branch_delay_insns; /* How many sequential insn's will run before a branch takes effect. (0 = normal) */ @@ -104,17 +104,22 @@ extern int print_insn_h8300 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_h8300h PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_h8500 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_alpha PARAMS ((bfd_vma, disassemble_info*)); +extern int print_insn_arm PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_sparc PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_big_a29k PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_little_a29k PARAMS ((bfd_vma, disassemble_info*)); 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*)); extern int print_insn_m88k 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*)); +extern int print_insn_rs6000 PARAMS ((bfd_vma, disassemble_info*)); - - - +/* Fetch the disassembler for a given BFD, if that support is available. */ +extern disassembler_ftype disassembler PARAMS ((bfd *)); /* This block of definitions is for particular callers who read instructions |