diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-03-03 03:51:30 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-03-03 03:51:30 +0000 |
commit | 3351ea09d2187a84d3b3fbca715d571748128a3e (patch) | |
tree | 1251bfcbcb582695e2662f4982d1e2aeeeb355cf | |
parent | bf9f652ab6728e11fb3e993c57a9e7133045aad1 (diff) | |
download | binutils-3351ea09d2187a84d3b3fbca715d571748128a3e.zip binutils-3351ea09d2187a84d3b3fbca715d571748128a3e.tar.gz binutils-3351ea09d2187a84d3b3fbca715d571748128a3e.tar.bz2 |
add i18n markup in error message (utils.c:parse_escape)
gdb/ChangeLog:
* utils.c (parse_escape): Add i18n markup in error message.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/utils.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0d92274..9e2787f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/utils.c b/gdb/utils.c index 46b4612..91e6af4 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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; } |