aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-02-16 09:46:09 +0000
committerYao Qi <yao@codesourcery.com>2011-02-16 09:46:09 +0000
commit60bbf3380ac7d9e1f24e3497b2cea852731a6654 (patch)
treea03caeb49de497fea9c0e9b004e7704e8845e221
parent7d58ce8f4b6e28ee588de498220de5fcf74bb80f (diff)
downloadgdb-60bbf3380ac7d9e1f24e3497b2cea852731a6654.zip
gdb-60bbf3380ac7d9e1f24e3497b2cea852731a6654.tar.gz
gdb-60bbf3380ac7d9e1f24e3497b2cea852731a6654.tar.bz2
2011-02-16 Yao Qi <yao@codesourcery.com>
* thread.c (info_threads_command): Add missing i18n markup and remove trailing newline.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/thread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24ab512..41f7a86 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/thread.c b/gdb/thread.c
index 8469116..d4cd855 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -980,7 +980,7 @@ info_threads_command (char *arg, int from_tty)
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);