]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
add i18n markup in error message (utils.c:parse_escape)
authorJoel Brobecker <brobecker@gnat.com>
Thu, 3 Mar 2011 03:51:30 +0000 (03:51 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 3 Mar 2011 03:51:30 +0000 (03:51 +0000)
gdb/ChangeLog:

       * utils.c (parse_escape): Add i18n markup in error message.

gdb/ChangeLog
gdb/utils.c

index 0d922742d5307748b7a554e4fb8394d96007921c..9e2787fd27ae33f7b8bf7f726f115d5a549fd874 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * utils.c (parse_escape): Add i18n markup in error message.
+
 2011-03-03  Yao Qi  <yao@codesourcery.com>
 
        * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
index 46b4612baa9469a26b572ed3a864d8329fabe244..91e6af4a6e9d7b64480c8f58bb9473f7cb7a774a 100644 (file)
@@ -2001,8 +2001,8 @@ parse_escape (struct gdbarch *gdbarch, char **string_ptr)
     }
 
   if (!host_char_to_target (gdbarch, c, &target_char))
-    error ("The escape sequence `\\%c' is equivalent to plain `%c',"
-          " which has no equivalent\nin the `%s' character set.",
+    error (_("The escape sequence `\\%c' is equivalent to plain `%c',"
+            " which has no equivalent\nin the `%s' character set."),
           c, c, target_charset (gdbarch));
   return target_char;
 }