diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /opcodes/mips-dis.c | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | gdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2 |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 0a42801..d8862f7 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -52,7 +52,7 @@ static int print_insn_mips16 static int is_newabi PARAMS ((Elf_Internal_Ehdr *)); static void print_mips16_insn_arg - PARAMS ((int, const struct mips_opcode *, int, boolean, int, bfd_vma, + PARAMS ((int, const struct mips_opcode *, int, bfd_boolean, int, bfd_vma, struct disassemble_info *)); /* FIXME: These should be shared with gdb somehow. */ @@ -312,7 +312,7 @@ print_insn_arg (d, l, pc, info) if ((vsel & 1) == 0) break; (*info->fprintf_func) (info->stream, "$v%d[%d]", - (l >> OP_SH_FT) & OP_MASK_FT, + (l >> OP_SH_FT) & OP_MASK_FT, vsel >> 1); } else if ((vsel & 0x08) == 0) @@ -498,7 +498,7 @@ print_insn_mips (memaddr, word, info) { register const struct mips_opcode *op; int target_processor, mips_isa; - static boolean init = 0; + static bfd_boolean init = 0; static const struct mips_opcode *mips_hash[OP_MASK_OP + 1]; /* Build a hash table to shorten the search time. */ @@ -687,7 +687,7 @@ print_insn_mips16 (memaddr, info) bfd_byte buffer[2]; int length; int insn; - boolean use_extend; + bfd_boolean use_extend; int extend = 0; const struct mips_opcode *op, *opend; @@ -715,10 +715,10 @@ print_insn_mips16 (memaddr, info) insn = bfd_getl16 (buffer); /* Handle the extend opcode specially. */ - use_extend = false; + use_extend = FALSE; if ((insn & 0xf800) == 0xf000) { - use_extend = true; + use_extend = TRUE; extend = insn & 0x7ff; memaddr += 2; @@ -768,7 +768,7 @@ print_insn_mips16 (memaddr, info) return length - 2; } - use_extend = false; + use_extend = FALSE; memaddr += 2; @@ -776,7 +776,7 @@ print_insn_mips16 (memaddr, info) info); if (status == 0) { - use_extend = true; + use_extend = TRUE; if (info->endian == BFD_ENDIAN_BIG) extend = bfd_getb16 (buffer); else @@ -839,7 +839,7 @@ print_mips16_insn_arg (type, op, l, use_extend, extend, memaddr, info) char type; const struct mips_opcode *op; int l; - boolean use_extend; + bfd_boolean use_extend; int extend; bfd_vma memaddr; struct disassemble_info *info; |