forked from Imagelibrary/binutils-gdb
Use bool in opcodes
cpu/ * frv.opc: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout. opcodes/ * sysdep.h (POISON_BFD_BOOLEAN): Define. * aarch64-asm-2.c, * aarch64-asm.c, * aarch64-asm.h, * aarch64-dis-2.c, * aarch64-dis.c, * aarch64-dis.h, * aarch64-gen.c, * aarch64-opc.c, * aarch64-opc.h, * arc-dis.c, * arc-dis.h, * arc-fxi.h, * arc-opc.c, * arm-dis.c, * bfin-dis.c, * cris-dis.c, * csky-dis.c, * csky-opc.h, * dis-buf.c, * disassemble.c, * frv-opc.c, * frv-opc.h, * h8300-dis.c, * i386-dis.c, * m68k-dis.c, * metag-dis.c, * microblaze-dis.c, * microblaze-dis.h, * micromips-opc.c, * mips-dis.c, * mips-formats.h, * mips-opc.c, * mips16-opc.c, * mmix-dis.c, * msp430-dis.c, * nds32-dis.c, * nfp-dis.c, * nios2-dis.c, * ppc-dis.c, * riscv-dis.c, * score-dis.c, * score7-dis.c, * tic6x-dis.c, * v850-dis.c, * vax-dis.c, * wasm32-dis.c, * xtensa-dis.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#ifdef BFD64
|
||||
/* s3_s7: opcodes and export prototypes. */
|
||||
extern int
|
||||
s7_print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little);
|
||||
s7_print_insn (bfd_vma pc, struct disassemble_info *info, bool little);
|
||||
|
||||
struct score_opcode
|
||||
{
|
||||
@@ -1048,7 +1048,7 @@ print_insn_score16 (bfd_vma pc, struct disassemble_info *info, long given)
|
||||
/* NOTE: There are no checks in these routines that
|
||||
the relevant number of data bytes exist. */
|
||||
static int
|
||||
s3_print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
|
||||
s3_print_insn (bfd_vma pc, struct disassemble_info *info, bool little)
|
||||
{
|
||||
unsigned char b[6];
|
||||
bfd_vma given, given_h, given_l, given_16, given_32, given_48;
|
||||
@@ -1179,18 +1179,18 @@ int
|
||||
print_insn_big_score (bfd_vma pc, struct disassemble_info *info)
|
||||
{
|
||||
if (score_get_arch (info) == bfd_mach_score3)
|
||||
return s3_print_insn (pc, info, FALSE);
|
||||
return s3_print_insn (pc, info, false);
|
||||
else
|
||||
return s7_print_insn (pc, info, FALSE);
|
||||
return s7_print_insn (pc, info, false);
|
||||
}
|
||||
|
||||
int
|
||||
print_insn_little_score (bfd_vma pc, struct disassemble_info *info)
|
||||
{
|
||||
if (score_get_arch (info) == bfd_mach_score3)
|
||||
return s3_print_insn (pc, info, TRUE);
|
||||
return s3_print_insn (pc, info, true);
|
||||
else
|
||||
return s7_print_insn (pc, info, TRUE);
|
||||
return s7_print_insn (pc, info, true);
|
||||
}
|
||||
#else /* not BFD64 */
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user