+1999-10-11 Cristian Gafton <gafton@redhat.com>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
+ SA_SIGINFO.
+
1999-10-10 Ulrich Drepper <drepper@cygnus.com>
* stdlib/atexit.c (initial): New variable. Use to initialize
nss modules, and a few other files. Together, they should make it
possible to do development with old static libraries on a glibc 2.1
system. This add-on is still in development. You can get it from
- <ftp://alpha.gnu.org/gnu/glibc-compat-2.1.tar.gz>
+ <ftp://alpha.gnu.org/gnu/glibc/glibc-compat-2.1.tar.gz>
but please keep in mind that it is experimental.
nss modules, and a few other files. Together, they should make it
possible to do development with old static libraries on a glibc 2.1
system. This add-on is still in development. You can get it from
- <ftp://alpha.gnu.org/gnu/glibc-compat-2.1.tar.gz>
+ <ftp://alpha.gnu.org/gnu/glibc/glibc-compat-2.1.tar.gz>
but please keep in mind that it is experimental.
?? Why is extracting files via tar so slow?
+1999-10-11 Ulrich Drepper <drepper@cygnus.com>
+
+ * td_thr_get_info.c: Initialize ti_type field.
+
+ * td_ta_thr_iter.c: Also report the manager thread.
+
1999-10-08 Andreas Jaeger <aj@suse.de>
* thread_db.h: Fix typos in comments.
{
struct pthread_handle_struct phc;
- if (cnt == 1)
- /* Skip the manager thread. */
- continue;
-
if (ps_pdread (ta->ph, handles, &phc,
sizeof (struct pthread_handle_struct)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
infop->ti_tid = pds.p_tid;
infop->ti_tls = (char *) pds.p_specific;
infop->ti_pri = pds.p_priority;
+ /* The first thread (0 being the initial one) is the manager thread
+ Mark it appropriately. */
+ infop->ti_type = ((pds.p_tid % th->th_ta_p->pthread_threads_max) == 1
+ ? TD_THR_SYSTEM : TD_THR_USER);
/* We can get the following information only if the thread descriptor
in the target processor is large enough, i.e., comes from a recent
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 0x00000004 /* Don't send SIGCHLD when children stop. */
+#define SA_SIGINFO 0x00000040 /* Invoke signal-catching function with three
+ arguments instead of one. */
#ifdef __USE_MISC
# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */