aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-03-12 22:22:06 +0000
committerPedro Alves <palves@redhat.com>2008-03-12 22:22:06 +0000
commit0e237a531454902d4267b7b7e3c391db60b0f389 (patch)
treeb6b540f31c5f053232eab3afad494e2f146d0c0f
parent9cfad774a6a940f4dd0faf602b439098d10d0535 (diff)
downloadgdb-0e237a531454902d4267b7b7e3c391db60b0f389.zip
gdb-0e237a531454902d4267b7b7e3c391db60b0f389.tar.gz
gdb-0e237a531454902d4267b7b7e3c391db60b0f389.tar.bz2
* thread.c (add_thread): Use printf_unfiltered to print.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index be0e954..54df78b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-12 Pedro Alves <pedro@codesourcery.com>
+
+ * thread.c (add_thread): Use printf_unfiltered to print.
+
2008-02-12 Joel Brobecker <brobecker@gnat.com>
* sol-thread.c: Replace use of TM_I386SOL2_H by an expression
diff --git a/gdb/thread.c b/gdb/thread.c
index 2fdfa77..40b7b3d 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -136,7 +136,7 @@ add_thread (ptid_t ptid)
struct thread_info *result = add_thread_silent (ptid);
if (print_thread_events)
- printf_filtered (_("[New %s]\n"), target_pid_to_str (ptid));
+ printf_unfiltered (_("[New %s]\n"), target_pid_to_str (ptid));
return result;
}