OSDN Git Service

* dyn_load.c: Fix typo.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2010 19:06:24 +0000 (19:06 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2010 19:06:24 +0000 (19:06 +0000)
* 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

boehm-gc/ChangeLog
boehm-gc/dyn_load.c
boehm-gc/pthread_support.c

index d9cda96..fd34e48 100644 (file)
@@ -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
 2010-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac (*-*-solaris2.8*): Only usr alternate thread
index 5bebc1c..2133f46 100644 (file)
 #    endif
 #  endif
 
 #    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.  */
    be scanned by the gc.  */
 static int (*GC_has_static_roots)(const char *, void *, size_t);
 /* Register the routine.  */
index 57c8a16..fd961f5 100644 (file)
@@ -1139,7 +1139,7 @@ GC_PTR GC_get_thread_stack_base()
   if (pthread_getattr_np (my_pthread, &attr) != 0)
     {
 #   ifdef DEBUG_THREADS
   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;
     }
 #   endif
       return 0;
     }