From: Ian Lance Taylor Date: Fri, 6 Jan 1995 22:48:48 +0000 (+0000) Subject: * dis-asm.h: Make idempotent. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc7d3f0cafaa3389c8ee248b6c3981664c338759;p=binutils-gdb.git * dis-asm.h: Make idempotent. --- diff --git a/include/ChangeLog b/include/ChangeLog index b91ed0ad2d5..efb0a5db84c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,18 @@ +Fri Jan 6 17:44:14 1995 Ian Lance Taylor + + * dis-asm.h: Make idempotent. + +Wed Dec 14 13:08:43 1994 Stan Shebs + + * progress.h: New file, empty definitions for progress macros. + +start-sanitize-arc +Tue Nov 29 17:38:20 1994 Doug Evans + + * dis-asm.h (print_insn_arc): Declare. + * elf/common.h (EM_CYGNUS_ARC): Define. +end-sanitize-arc + Fri Nov 25 00:14:05 1994 Jeff Law (law@snake.cs.utah.edu) * hp-symtab.h: New file describing the debug symbols emitted diff --git a/include/dis-asm.h b/include/dis-asm.h index 5db661d0860..9f5c79f280b 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -6,6 +6,9 @@ interface, for making instruction-processing programs more independent of the instruction set being processed. */ +#ifndef DIS_ASM_H +#define DIS_ASM_H + #include #include "bfd.h" @@ -84,10 +87,6 @@ typedef struct disassemble_info { } disassemble_info; - - - - /* Standard disassemblers. Disassemble one instruction at the given target address. Return number of bytes processed. */ @@ -104,6 +103,9 @@ 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*)); +/* start-sanitize-arc */ +extern int print_insn_arc PARAMS ((bfd_vma, disassemble_info*)); +/* end-sanitize-arc */ 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*)); @@ -179,3 +181,5 @@ dis_asm_print_address PARAMS ((bfd_vma addr, disassemble_info *info)); (INFO).memory_error_func = dis_asm_memory_error, \ (INFO).print_address_func = dis_asm_print_address, \ (INFO).insn_info_valid = 0 + +#endif /* ! defined (DIS_ASM_H) */