mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
39d1d4e5ca
1999-10-12 Andreas Jaeger <aj@suse.de> * stdlib/tst-environ.c: Include <string.h> for strcpy declaration. * math/basic-test.c: Fix typo. * locale/programs/xstrdup.c: Include string.h for glibc compilation to get string prototypes. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of gregset_t and fpregset_t. * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc warnings. Correct value for x == 0. * argp/argp-help.c: Remove broken definition of flockfile and funlockfile. 1999-10-12 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match generic Linux version. 1999-10-12 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
46 lines
1.0 KiB
C
46 lines
1.0 KiB
C
/* Private header for thread debug library. */
|
|
#ifndef _THREAD_DBP_H
|
|
#define _THREAD_DBP_H 1
|
|
|
|
#include <string.h>
|
|
#include "thread_db.h"
|
|
#include "../linuxthreads/internals.h"
|
|
|
|
#include "proc_service.h"
|
|
|
|
|
|
/* Comment out the following for less verbose output. */
|
|
#define LOG(c) __libc_write (2, c "\n", strlen (c "\n"))
|
|
|
|
|
|
/* Handle for a process. This type is opaque. */
|
|
struct td_thragent
|
|
{
|
|
/* Delivered by the debugger and we have to pass it back in the
|
|
proc callbacks. */
|
|
struct ps_prochandle *ph;
|
|
|
|
/* Some cached information. */
|
|
|
|
/* Address of the `__pthread_handles' array. */
|
|
struct pthread_handle_struct *handles;
|
|
|
|
/* Address of the `pthread_kyes' array. */
|
|
struct pthread_key_struct *keys;
|
|
|
|
/* Maximum number of threads. */
|
|
int pthread_threads_max;
|
|
|
|
/* Maximum number of thread-local data keys. */
|
|
int pthread_keys_max;
|
|
|
|
/* Size of 2nd level array for thread-local data keys. */
|
|
int pthread_key_2ndlevel_size;
|
|
|
|
/* Sizeof struct _pthread_descr_struct. */
|
|
int sizeof_descr;
|
|
};
|
|
|
|
|
|
#endif /* thread_dbP.h */
|