aboutsummaryrefslogtreecommitdiff
path: root/opcodes/avr-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-07-03 22:25:33 +0000
committerNick Clifton <nickc@redhat.com>2000-07-03 22:25:33 +0000
commit00d2865b835b1bba05334dcbb20201b6d99534d6 (patch)
tree7e0c931ab3e73f75424dfc50ef7c19190ef67401 /opcodes/avr-dis.c
parentc07ab2ec0cc5730de491dc2164d3af73ac5f904c (diff)
downloadgdb-00d2865b835b1bba05334dcbb20201b6d99534d6.zip
gdb-00d2865b835b1bba05334dcbb20201b6d99534d6.tar.gz
gdb-00d2865b835b1bba05334dcbb20201b6d99534d6.tar.bz2
Tidy up formatting.
Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
Diffstat (limited to 'opcodes/avr-dis.c')
-rw-r--r--opcodes/avr-dis.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/opcodes/avr-dis.c b/opcodes/avr-dis.c
index a774d8b..ee91d7f 100644
--- a/opcodes/avr-dis.c
+++ b/opcodes/avr-dis.c
@@ -103,7 +103,7 @@ avr_operand (insn, insn2, pc, constraint, buf, comment, regs)
case 0: *buf++ = 'Z'; break;
case 2: *buf++ = 'Y'; break;
case 3: *buf++ = 'X'; break;
- default: buf += sprintf (buf, _ (" unknown register ")); break;
+ default: buf += sprintf (buf, _(" unknown register ")); break;
}
if (insn & 0x1)
*buf++ = '+';
@@ -165,7 +165,7 @@ avr_operand (insn, insn2, pc, constraint, buf, comment, regs)
break;
case 'n':
- sprintf (buf, _ ("Internal disassembler error"));
+ sprintf (buf, _("Internal disassembler error"));
break;
case 'K':
@@ -205,7 +205,7 @@ avr_operand (insn, insn2, pc, constraint, buf, comment, regs)
break;
default:
- sprintf (buf, _ ("unknown constraint `%c'"), constraint);
+ sprintf (buf, _("unknown constraint `%c'"), constraint);
}
}
@@ -280,6 +280,7 @@ print_insn_avr(addr, info)
op2[0] = 0;
comment1[0] = 0;
comment2[0] = 0;
+ insn2 = 0;
if (opcode->insn_size > 1)
{