summaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2011-01-10 17:14:12 +0000
committerMichael Snyder <msnyder@specifix.com>2011-01-10 17:14:12 +0000
commitafd0ae8df48a2757ca2e090f248aa182c767fb66 (patch)
treebec1c9158300de708ffa79dc916ba6c29851f22f /gdb/sh64-tdep.c
parentf7c014ebf61934b43a9eaa549cbec124fad44aab (diff)
downloadgdb-afd0ae8df48a2757ca2e090f248aa182c767fb66.tar.gz
2011-01-10 Michael Snyder <msnyder@vmware.com>
* charset.c (validate): Internationalization. * coffread.c (read_one_sym): Ditto. * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. * h8300-tdep.c (H8300_extract_return_value): Ditto. * inflow.c (new_tty): Ditto. * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. * m32c-tdep.c (m32c_return_value): Ditto. * mep-tdep.c (mep_store_return_value): Ditto. * score-tdep.c (score7_fetch_insn): Ditto. * ser-mingw.c (pipe_windows_open): Ditto. * sh64-tdep.c (sh64_extract_return_value): Ditto. * spu-tdep.c (spu_register_type): Ditto. * tracepoint.c (trace_find_command): Ditto. * valarith.c (value_pos): Ditto.
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index ef2acdc3715..6b15234f5f5 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1258,7 +1258,7 @@ sh64_extract_return_value (struct type *type, struct regcache *regcache,
memcpy (valbuf, buf + offset, len);
}
else
- error ("bad size for return value");
+ error (_("bad size for return value"));
}
}
@@ -1572,7 +1572,8 @@ sh64_register_convert_to_virtual (struct gdbarch *gdbarch, int regnum,
store_typed_floating (to, type, val);
}
else
- error ("sh64_register_convert_to_virtual called with non DR register number");
+ error (_("sh64_register_convert_to_virtual "
+ "called with non DR register number"));
}
static void
@@ -1596,7 +1597,8 @@ sh64_register_convert_to_raw (struct gdbarch *gdbarch, struct type *type,
&val, to);
}
else
- error ("sh64_register_convert_to_raw called with non DR register number");
+ error (_("sh64_register_convert_to_raw called "
+ "with non DR register number"));
}
static void
@@ -2002,7 +2004,7 @@ sh64_do_fp_register (struct gdbarch *gdbarch, struct ui_file *file,
/* Get the data in raw format. */
if (!frame_register_read (frame, regnum, raw_buffer))
- error ("can't read register %d (%s)",
+ error (_("can't read register %d (%s)"),
regnum, gdbarch_register_name (gdbarch, regnum));
/* Get the register as a number */
@@ -2161,7 +2163,7 @@ sh64_media_print_registers_info (struct gdbarch *gdbarch, struct ui_file *file,
if (regnum != -1) /* do one specified register */
{
if (*(gdbarch_register_name (gdbarch, regnum)) == '\0')
- error ("Not a valid register for the current processor type");
+ error (_("Not a valid register for the current processor type"));
sh64_print_register (gdbarch, file, frame, regnum);
}
@@ -2219,10 +2221,10 @@ sh64_compact_print_registers_info (struct gdbarch *gdbarch,
if (regnum != -1) /* do one specified register */
{
if (*(gdbarch_register_name (gdbarch, regnum)) == '\0')
- error ("Not a valid register for the current processor type");
+ error (_("Not a valid register for the current processor type"));
if (regnum >= 0 && regnum < R0_C_REGNUM)
- error ("Not a valid register for the current processor mode.");
+ error (_("Not a valid register for the current processor mode."));
sh64_print_register (gdbarch, file, frame, regnum);
}