diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:20:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 9193bc4285c232400a26448ca75095c44c13f637 (patch) | |
tree | 40d0ec6e79c179c2f814a2b559e52377eb8c4d14 /include/dis-asm.h | |
parent | ad9e24ad113a160d8d44dba0eb5cb02647a164e0 (diff) | |
download | gdb-9193bc4285c232400a26448ca75095c44c13f637.zip gdb-9193bc4285c232400a26448ca75095c44c13f637.tar.gz gdb-9193bc4285c232400a26448ca75095c44c13f637.tar.bz2 |
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.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r-- | include/dis-asm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index 368eb27..4f50084 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -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 |