diff options
author | Nick Clifton <nickc@redhat.com> | 2007-09-26 16:07:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-09-26 16:07:18 +0000 |
commit | ad6d75509f878bb5efc73f58e5c49524bdbe7814 (patch) | |
tree | e78728ce4449898b2c38e3de3afd7442450c39d9 /opcodes/ia64-gen.c | |
parent | 8c947dc1fe6d9ee0b3dcda4363565df6f4e1f82f (diff) | |
download | gdb-ad6d75509f878bb5efc73f58e5c49524bdbe7814.tar.gz |
* mt-asm.c (parse_imm16): Reword error message in order to allow it to be translated properly.
* ia64-gen.c (print_dependency_table): Likewise.
* mips-dis.c (print_insn_args): Likewise.
Diffstat (limited to 'opcodes/ia64-gen.c')
-rw-r--r-- | opcodes/ia64-gen.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ia64-gen.c b/opcodes/ia64-gen.c index 7dc85b513b4..5c897a95322 100644 --- a/opcodes/ia64-gen.c +++ b/opcodes/ia64-gen.c @@ -1550,9 +1550,14 @@ print_dependency_table () static const char *mode_str[] = { "RAW", "WAW", "WAR" }; if (rdeps[i]->total_chks == 0) - warn (_("Warning: rsrc %s (%s) has no chks%s\n"), - rdeps[i]->name, mode_str[rdeps[i]->mode], - rdeps[i]->total_regs ? "" : " or regs"); + { + if (rdeps[i]->total_regs) + warn (_("Warning: rsrc %s (%s) has no chks%\n"), + rdeps[i]->name, mode_str[rdeps[i]->mode]); + else + warn (_("Warning: rsrc %s (%s) has no chks or regs\n"), + rdeps[i]->name, mode_str[rdeps[i]->mode]); + } else if (rdeps[i]->total_regs == 0) warn (_("rsrc %s (%s) has no regs\n"), rdeps[i]->name, mode_str[rdeps[i]->mode]); |