This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed Feb 16 01:53:55 UTC 2011
- From: Yao Qi <yao at codesourcery dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 16 Feb 2011 17:49:27 +0800
- Subject: Re: New ARI warning Wed Feb 16 01:53:55 UTC 2011
- References: <20110216015355.GA13284@sourceware.org> <4D5B61F0.1030502@codesourcery.com> <006601cbcdb4$e8381cf0$b8a856d0$@muller@ics-cnrs.unistra.fr>
On 02/16/2011 04:38 PM, Pierre Muller wrote:
> Hi Yao,
>
> could you please modify this patch
> so as to also remove the trailing newline?
Sure. Applied.
--
Yao (éå)
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.12591
diff -u -r1.12591 ChangeLog
--- gdb/ChangeLog 15 Feb 2011 21:43:24 -0000 1.12591
+++ gdb/ChangeLog 16 Feb 2011 09:45:02 -0000
@@ -1,3 +1,8 @@
+2011-02-16 Yao Qi <yao@codesourcery.com>
+
+ * thread.c (info_threads_command): Add missing i18n markup and remove
+ trailing newline.
+
2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
* breakpoint.c (longjmp_names): New variable.
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 09:45:02 -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"), tmp_tid);
tid = tmp_tid;
print_thread_info (uiout, tid, -1);