summaryrefslogtreecommitdiff
path: root/nptl/tst-attr3.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-18 19:15:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-18 19:15:31 +0000
commit8b8074da86f81a4f5974f01c1f9d297025ab04fe (patch)
treeb1145a035fc7b75662c04fa97f7a39b749733d53 /nptl/tst-attr3.c
parentbcc86889c775a0f717de272cc270e3b089aa5221 (diff)
downloadglibc-8b8074da86f81a4f5974f01c1f9d297025ab04fe.tar.gz
Update.
2003-09-18 Jakub Jelinek <jakub@redhat.com> * libio/memstream.c (open_memstream): Use _IO_init instead of _IO_old_init.
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);