summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqiyao <qiyao>2011-02-16 09:46:08 +0000
committerqiyao <qiyao>2011-02-16 09:46:08 +0000
commit214ee551673c9b0b6b2c9020f9e86d9011cb4911 (patch)
tree5cfa9f7011a895882738f52314ad805115a07bb5
parent3557d238ef89dbbbc8122d3605608e7b1303cd46 (diff)
downloadgdb-214ee551673c9b0b6b2c9020f9e86d9011cb4911.tar.gz
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 24ab512e75d..41f7a861d34 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 84691161d8c..d4cd8556c54 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);