diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:45:07 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:45:07 -0700 |
commit | 43e65147c07b1400ae0dbb6694882eceb2363713 (patch) | |
tree | e52d56a58d00c74db6c82e736464ab0f500a7181 /opcodes/m10200-dis.c | |
parent | f3445b37b67deb8f67f7885274b2544684503f78 (diff) | |
download | gdb-43e65147c07b1400ae0dbb6694882eceb2363713.zip gdb-43e65147c07b1400ae0dbb6694882eceb2363713.tar.gz gdb-43e65147c07b1400ae0dbb6694882eceb2363713.tar.bz2 |
Remove trailing spaces in opcodes
Diffstat (limited to 'opcodes/m10200-dis.c')
-rw-r--r-- | opcodes/m10200-dis.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/m10200-dis.c b/opcodes/m10200-dis.c index c52120f..f608488 100644 --- a/opcodes/m10200-dis.c +++ b/opcodes/m10200-dis.c @@ -20,7 +20,7 @@ #include "sysdep.h" #include <stdio.h> -#include "opcode/mn10200.h" +#include "opcode/mn10200.h" #include "dis-asm.h" #include "opintl.h" @@ -54,7 +54,7 @@ disassemble (bfd_vma memaddr, mysize = 5; else abort (); - + if (op->format == FMT_2 || op->format == FMT_5) extra_shift = 8; else if (op->format == FMT_3 @@ -70,7 +70,7 @@ disassemble (bfd_vma memaddr, const unsigned char *opindex_ptr; unsigned int nocomma; int paren = 0; - + match = 1; (*info->fprintf_func) (info->stream, "%s\t", op->name); @@ -104,7 +104,7 @@ disassemble (bfd_vma memaddr, (*info->fprintf_func) (info->stream, ","); nocomma = 0; - + if ((operand->flags & MN10200_OPERAND_DREG) != 0) { value = ((insn >> (operand->shift + extra_shift)) @@ -144,7 +144,7 @@ disassemble (bfd_vma memaddr, else if ((operand->flags & MN10200_OPERAND_MEMADDR) != 0) (*info->print_address_func) (value, info); - else + else (*info->fprintf_func) (info->stream, "%ld", value); } /* All done. */ @@ -157,7 +157,7 @@ disassemble (bfd_vma memaddr, (*info->fprintf_func) (info->stream, _("unknown\t0x%04lx"), insn); } -int +int print_insn_mn10200 (bfd_vma memaddr, struct disassemble_info *info) { int status; |