diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-26 11:47:39 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-08-26 11:47:39 +0000 |
commit | d83c654853c53c431e581c6ca3a715dd70cbe126 (patch) | |
tree | 71c004182c33ef464204fa24b22372dc3474d9d8 /opcodes/z8k-dis.c | |
parent | 24a35864abc1f856aafd797360b3e5390ed30f32 (diff) | |
download | gdb-d83c654853c53c431e581c6ca3a715dd70cbe126.zip gdb-d83c654853c53c431e581c6ca3a715dd70cbe126.tar.gz gdb-d83c654853c53c431e581c6ca3a715dd70cbe126.tar.bz2 |
For include/opcode:
* d30v.h: Fix declaration of reg_name_cnt.
* d10v.h: Fix declaration of d10v_reg_name_cnt.
* arc.h: Add prototypes from opcodes/arc-opc.c.
For opcodes:
* tic54x-dis.c: Add unused attributes where needed.
* z8k-dis.c (output_instr): Add unused attribute.
* h8300-dis.c: Add missing prototypes.
(bfd_h8_disassemble): Make static.
* cris-dis.c: Add missing prototype.
* h8500-dis.c: Likewise.
* m68hc11-dis.c: Likewise.
* pj-dis.c: Likewise.
* tic54x-dis.c: Likewise.
* v850-dis.c: Likewise.
* vax-dis.c: Likewise.
* w65-dis.c: Likewise.
* z8k-dis.c: Likewise.
* d10v-dis.c: Add missing prototype.
(dis_long): Remove unused variable.
(dis_2_short): Likewise.
* sh-dis.c: Add missing prototypes.
* v850-opc.c: Likewise.
Add unused attributes where needed.
* ns32k-dis.c: Add missing prototypes.
(bit_extract_simple): Remove unused variable.
Diffstat (limited to 'opcodes/z8k-dis.c')
-rw-r--r-- | opcodes/z8k-dis.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/z8k-dis.c b/opcodes/z8k-dis.c index 754540f..dcba775 100644 --- a/opcodes/z8k-dis.c +++ b/opcodes/z8k-dis.c @@ -50,6 +50,9 @@ typedef struct { unsigned long interrupts; } instr_data_s; +static int fetch_data PARAMS ((struct disassemble_info *, int)); + + /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive) to ADDR (exclusive) are valid. Returns 1 for success, longjmps on error. */ @@ -134,6 +137,7 @@ static char *ctrl_names[8] = { }; static int seg_length; +static int print_insn_z8k PARAMS ((bfd_vma, disassemble_info *, int)); int z8k_lookup_instr PARAMS ((unsigned char *, disassemble_info *)); static void output_instr PARAMS ((instr_data_s *, unsigned long, disassemble_info *)); @@ -274,7 +278,7 @@ z8k_lookup_instr (nibbles, info) static void output_instr (instr_data, addr, info) instr_data_s *instr_data; - unsigned long addr; + unsigned long addr ATTRIBUTE_UNUSED; disassemble_info *info; { int loop, loop_limit; |