aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);