From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: New ARI warning Thu Mar 3 01:53:39 UTC 2011
Date: Thu, 03 Mar 2011 04:02:00 -0000 [thread overview]
Message-ID: <20110303040209.GR30306@adacore.com> (raw)
In-Reply-To: <20110303015339.GA30897@sourceware.org>
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
> > gdb/utils.c:2004: gettext: _ markup: All messages should be marked up with _.
> gdb/utils.c:2004: error ("The escape sequence `\\%c' is equivalent to plain `%c',"
Fixed with the attached patch....
--
Joel
[-- Attachment #2: utils.diff --]
[-- Type: text/x-diff, Size: 876 bytes --]
commit a302e41aea176ee6d76081823c8e86b22464aa9f
Author: Joel Brobecker <brobecker@adacore.com>
Date: Thu Mar 3 07:49:15 2011 +0400
add i18n markup in error message (utils.c:parse_escape)
gdb/ChangeLog:
* utils.c (parse_escape): Add i18n markup in error message.
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;
}
prev parent reply other threads:[~2011-03-03 4:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 1:53 GDB Administrator
2011-03-03 4:02 ` Joel Brobecker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110303040209.GR30306@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox