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

gdb/ChangeLog:

       * utils.c (parse_escape): Add i18n markup in error message.
This commit is contained in:
Joel Brobecker 2011-03-03 03:51:30 +00:00
parent bf9f652ab6
commit 3351ea09d2
2 changed files with 6 additions and 2 deletions

View 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

View 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;
}