This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Wed Feb 16 01:53:55 UTC 2011


On 02/16/2011 09:53 AM, GDB Administrator wrote:
> 1103a1104
>> gdb/thread.c:983: gettext: _ markup: All messages should be marked up with _.
> gdb/thread.c:983:	error ("invalid thread id %d\n", tmp_tid);

This patch is obvious, and I'll apply it later today.

-- 
Yao (éå)
2011-02-16  Yao Qi  <yao@codesourcery.com>

	* thread.c (info_threads_command): Add missing i18n markup.

Index: gdb/thread.c
===================================================================
RCS file: /cvs/src/src/gdb/thread.c,v
retrieving revision 1.132
diff -u -r1.132 thread.c
--- gdb/thread.c	15 Feb 2011 21:17:52 -0000	1.132
+++ gdb/thread.c	16 Feb 2011 05:19:32 -0000
@@ -980,7 +980,7 @@
       unsigned int highrange;
 
       if (tmp_tid <= 0)
-	error ("invalid thread id %d\n", tmp_tid);
+	error (_("invalid thread id %d\n"), tmp_tid);
 
       tid = tmp_tid;
       print_thread_info (uiout, tid, -1);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]