From a73c6dcdd42994167dfec4db36b0d0ad439d39ad Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 10 Jan 2011 17:14:13 +0000 Subject: 2011-01-10 Michael Snyder * 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. --- gdb/sh64-tdep.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'gdb/sh64-tdep.c') diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index ef2acdc..6b15234 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); } -- cgit v1.1