This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Messages localization in gdbserver [Re: [patch 3/3] Implement qXfer:libraries for Linux/gdbserver #2]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org, ppluzhnikov at google dot com
- Date: Tue, 18 Oct 2011 19:23:40 +0200
- Subject: Messages localization in gdbserver [Re: [patch 3/3] Implement qXfer:libraries for Linux/gdbserver #2]
- References: <20111003215530.GC20272@host1.jankratochvil.net> <E1RAyE5-0006y9-Bz@fencepost.gnu.org>
On Tue, 04 Oct 2011 08:11:37 +0200, Eli Zaretskii wrote:
> > + if (*phdr_memaddr == 0 || *num_phdr == 0)
> > + {
> > + warning ("Unexpected missing AT_PHDR and/or AT_PHNUM: "
> > + "phdr_memaddr = %ld, phdr_num = %d",
>
> No _() ? Doesn't gdbserver support translations of messages?
The _() macro is defined for gdbserver but it is used only for a single
message there. So I also did not use it.
thread-db.c: warning (_("libthread-db-search-path component too long,"
[ The doc update to be posted in a new patch. ]
Thanks,
Jan