summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-11 19:06:24 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-11 19:06:24 +0000
commit51451cc90553df7787baae4324cd5d5b41f9f9e7 (patch)
tree8054499853d732ca49f21370af998c4d95e69f1f
parentbf2335d79e11e01a00c785213dd5653e7520126e (diff)
downloadgcc-51451cc90553df7787baae4324cd5d5b41f9f9e7.tar.gz
* dyn_load.c: Fix typo.
* pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]: Use GC_printf0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165328 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--boehm-gc/ChangeLog6
-rw-r--r--boehm-gc/dyn_load.c2
-rw-r--r--boehm-gc/pthread_support.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index d9cda96895e..fd34e480320 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * dyn_load.c: Fix typo.
+ * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
+ Use GC_printf0.
+
2010-06-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (*-*-solaris2.8*): Only usr alternate thread
diff --git a/boehm-gc/dyn_load.c b/boehm-gc/dyn_load.c
index 5bebc1c155d..2133f465ef9 100644
--- a/boehm-gc/dyn_load.c
+++ b/boehm-gc/dyn_load.c
@@ -122,7 +122,7 @@
# endif
# endif
-/* An user-supplied routine that is called to dtermine if a DSO must
+/* An user-supplied routine that is called to determine if a DSO must
be scanned by the gc. */
static int (*GC_has_static_roots)(const char *, void *, size_t);
/* Register the routine. */
diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c
index 57c8a16a1fa..fd961f5d802 100644
--- a/boehm-gc/pthread_support.c
+++ b/boehm-gc/pthread_support.c
@@ -1139,7 +1139,7 @@ GC_PTR GC_get_thread_stack_base()
if (pthread_getattr_np (my_pthread, &attr) != 0)
{
# ifdef DEBUG_THREADS
- GC_printf1("Can not determine stack base for attached thread");
+ GC_printf0("Can not determine stack base for attached thread");
# endif
return 0;
}