aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-03-12 22:10:55 +0000
committerPedro Alves <palves@redhat.com>2008-03-12 22:10:55 +0000
commitfd532e2e9e70eab584bdd2db7925c427b97b8b0e (patch)
tree87e46f58ff28045c7c5b10a255f4f5c47fbcaa49
parent965b60eecbf5def589aea7c6359dcf48fdadce26 (diff)
downloadgdb-fd532e2e9e70eab584bdd2db7925c427b97b8b0e.zip
gdb-fd532e2e9e70eab584bdd2db7925c427b97b8b0e.tar.gz
gdb-fd532e2e9e70eab584bdd2db7925c427b97b8b0e.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 cebe49d..98787bd 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;
}