mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
Use bool in include
* bfdlink.h: Replace bfd_boolean with bool throughout. * coff/ecoff.h: Likewise. * coff/xcoff.h: Likewise. * dis-asm.h: Likewise. * elf/mmix.h: Likewise. * elf/xtensa.h: Likewise. * opcode/aarch64.h: Likewise, and FALSE with false, TRUE with true. * opcode/arc.h: Likewise. * opcode/mips.h: Likewise. * opcode/tic6x-opcode-table.h: Likewise. * opcode/tic6x.h: Likewise.
This commit is contained in:
@ -150,7 +150,7 @@ typedef struct disassemble_info
|
||||
/* Function called to check if a SYMBOL is can be displayed to the user.
|
||||
This is used by some ports that want to hide special symbols when
|
||||
displaying debugging outout. */
|
||||
bfd_boolean (* symbol_is_valid)
|
||||
bool (* symbol_is_valid)
|
||||
(asymbol *, struct disassemble_info *dinfo);
|
||||
|
||||
/* These are for buffer_read_memory. */
|
||||
@ -189,7 +189,7 @@ typedef struct disassemble_info
|
||||
unsigned int skip_zeroes_at_end;
|
||||
|
||||
/* Whether the disassembler always needs the relocations. */
|
||||
bfd_boolean disassembler_needs_relocs;
|
||||
bool disassembler_needs_relocs;
|
||||
|
||||
/* Results from instruction decoders. Not all decoders yet support
|
||||
this information. This info is set each time an instruction is
|
||||
@ -303,10 +303,10 @@ extern void print_arm_disassembler_options (FILE *);
|
||||
extern void print_arc_disassembler_options (FILE *);
|
||||
extern void print_s390_disassembler_options (FILE *);
|
||||
extern void print_wasm32_disassembler_options (FILE *);
|
||||
extern bfd_boolean aarch64_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bfd_boolean arm_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bfd_boolean csky_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bfd_boolean riscv_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bool aarch64_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bool arm_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bool csky_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern bool riscv_symbol_is_valid (asymbol *, struct disassemble_info *);
|
||||
extern void disassemble_init_powerpc (struct disassemble_info *);
|
||||
extern void disassemble_init_s390 (struct disassemble_info *);
|
||||
extern void disassemble_init_wasm32 (struct disassemble_info *);
|
||||
@ -320,7 +320,7 @@ extern const disasm_options_and_args_t *disassembler_options_s390 (void);
|
||||
endian if BIG is true), bfd_mach value MACH, and ABFD, if that support
|
||||
is available. ABFD may be NULL. */
|
||||
extern disassembler_ftype disassembler (enum bfd_architecture arc,
|
||||
bfd_boolean big, unsigned long mach,
|
||||
bool big, unsigned long mach,
|
||||
bfd *abfd);
|
||||
|
||||
/* Amend the disassemble_info structure as necessary for the target architecture.
|
||||
@ -381,7 +381,7 @@ extern int generic_symbol_at_address
|
||||
(bfd_vma, struct disassemble_info *);
|
||||
|
||||
/* Also always true. */
|
||||
extern bfd_boolean generic_symbol_is_valid
|
||||
extern bool generic_symbol_is_valid
|
||||
(asymbol *, struct disassemble_info *);
|
||||
|
||||
/* Method to initialize a disassemble_info struct. This should be
|
||||
|
Reference in New Issue
Block a user