summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>2004-12-03 23:35:45 +0000
committerJim Blandy <jimb@redhat.com>2004-12-03 23:35:45 +0000
commit5bc139ae082fbc2203b4406a76a51bd47af4a824 (patch)
treedf6cfe0c593e47267493d7c1db7a986524d26e3b
parentfe0b89bfb2c28baacc81ef2d6285328d2df4c1ab (diff)
downloadgdb-5bc139ae082fbc2203b4406a76a51bd47af4a824.tar.gz
Disable debugging messages by default.
* lwp-pool.c (debug_lwp_pool): Initialize to zero. * thread-db.c (thread_db_noisy): Same.
-rw-r--r--rda/unix/ChangeLog4
-rw-r--r--rda/unix/lwp-pool.c2
-rw-r--r--rda/unix/thread-db.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/rda/unix/ChangeLog b/rda/unix/ChangeLog
index fbcb15bd13d..6447ea8c879 100644
--- a/rda/unix/ChangeLog
+++ b/rda/unix/ChangeLog
@@ -1,5 +1,9 @@
2004-12-03 Jim Blandy <jimb@redhat.com>
+ Disable debugging messages by default.
+ * lwp-pool.c (debug_lwp_pool): Initialize to zero.
+ * thread-db.c (thread_db_noisy): Same.
+
Remove code to handle threads exiting without generating a wait
status; that was a kernel bug, not an intended feature, and
there's no easy way to support both.
diff --git a/rda/unix/lwp-pool.c b/rda/unix/lwp-pool.c
index e90dfbd98e9..7cd38871784 100644
--- a/rda/unix/lwp-pool.c
+++ b/rda/unix/lwp-pool.c
@@ -37,7 +37,7 @@
#include "lwp-pool.h"
#include "lwp-ctrl.h"
-static int debug_lwp_pool = 1;
+static int debug_lwp_pool = 0;
/* THE LIFETIME OF A TRACED LWP
diff --git a/rda/unix/thread-db.c b/rda/unix/thread-db.c
index 74e80256e3b..3b977d6cb1d 100644
--- a/rda/unix/thread-db.c
+++ b/rda/unix/thread-db.c
@@ -45,7 +45,7 @@
#include "lwp-pool.h"
/* Make lots of noise (debugging output). */
-int thread_db_noisy = 1;
+int thread_db_noisy = 0;
int proc_service_noisy = 0;
/*