From 4a3792163e0cbc2a04d0e8b81544976975d76439 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Oct 1999 00:40:18 +0000 Subject: Update. * pthread.c (__pthread_initial_thread): Pass argument to PTHREAD_START_ARGS_INITIALIZER. (__pthread_manager_thread): Likewise. * internals.h (PTHREAD_START_ARGS_INITIALIZER): Add parameter to initialize function. --- linuxthreads_db/ChangeLog | 2 ++ linuxthreads_db/td_ta_new.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'linuxthreads_db') diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog index c7836d3abd..6c11d92442 100644 --- a/linuxthreads_db/ChangeLog +++ b/linuxthreads_db/ChangeLog @@ -1,5 +1,7 @@ 1999-10-14 Ulrich Drepper + * td_ta_new.c: p_startfct does not exist anymore. + * td_thr_get_info.c: Always initialize start function. * td_ta_thr_iter.c: Don't return threads which exited (but are not diff --git a/linuxthreads_db/td_ta_new.c b/linuxthreads_db/td_ta_new.c index 15f445a877..37d6bb1d30 100644 --- a/linuxthreads_db/td_ta_new.c +++ b/linuxthreads_db/td_ta_new.c @@ -94,7 +94,7 @@ td_ta_new (struct ps_prochandle *ps, td_thragent_t **ta) if (ps_pglobal_lookup (ps, LIBPTHREAD_SO, "__linuxthreads_pthread_sizeof_descr", &addr) != PS_OK) - (*ta)->sizeof_descr = offsetof (struct _pthread_descr_struct, p_startfct); + (*ta)->sizeof_descr = sizeof (struct _pthread_descr_struct); else { if (ps_pdread (ps, addr, &(*ta)->sizeof_descr, sizeof (int)) != PS_OK) -- cgit v1.2.3