summary refs log tree commit diff
path: root/nptl/tst-attr3.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-attr3.c')
-rw-r--r--nptl/tst-attr3.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/nptl/tst-attr3.c b/nptl/tst-attr3.c
index f6a5c46466..eb7754d6c1 100644
--- a/nptl/tst-attr3.c
+++ b/nptl/tst-attr3.c
@@ -92,6 +92,9 @@ tf (void *arg)
       error (0, 0, "pthread_attr_getstack returned range does not cover thread's stack");
       result = tf;
     }
+  else
+    printf ("thread stack %p-%p (0x%zx)\n", stackaddr, stackaddr + stacksize,
+	    stacksize);
 
   size_t guardsize1, guardsize2;
   err = pthread_attr_getguardsize (&a, &guardsize1);
@@ -114,6 +117,8 @@ tf (void *arg)
 		 guardsize1, guardsize2);
 	  result = tf;
 	}
+      else
+	printf ("thread guardsize %zd\n", guardsize1);
     }
 
   int scope1, scope2;
@@ -262,6 +267,9 @@ do_test (void)
       error (0, 0, "pthread_attr_getstack returned range does not cover main's stack");
       result = 1;
     }
+  else
+    printf ("initial thread stack %p-%p (0x%zx)\n", stackaddr,
+	    stackaddr + stacksize, stacksize);
 
   size_t guardsize;
   err = pthread_attr_getguardsize (&a, &guardsize);