about summary refs log tree commit diff
path: root/linuxthreads_db/thread_dbP.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-20 21:05:29 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-20 21:05:29 +0000
commit481b550f585164c7faef0075aa10e34b57959e1e (patch)
tree99a92c9382037502b65acb4e1316be0c441bb03b /linuxthreads_db/thread_dbP.h
parentf1e4a4a403f740c153acfc0cd96ecc5aa542e341 (diff)
downloadglibc-481b550f585164c7faef0075aa10e34b57959e1e.tar.gz
glibc-481b550f585164c7faef0075aa10e34b57959e1e.tar.xz
glibc-481b550f585164c7faef0075aa10e34b57959e1e.zip
Update.
	* Makefile: Define -D_RPC_THREAD_SAFE_ for cancel.c.
Diffstat (limited to 'linuxthreads_db/thread_dbP.h')
-rw-r--r--linuxthreads_db/thread_dbP.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/linuxthreads_db/thread_dbP.h b/linuxthreads_db/thread_dbP.h
index 13e534afe6..8e87bae52d 100644
--- a/linuxthreads_db/thread_dbP.h
+++ b/linuxthreads_db/thread_dbP.h
@@ -8,6 +8,24 @@
 #include "../linuxthreads/internals.h"
 
 
+/* Indeces for the symbol names.  */
+enum
+  {
+    PTHREAD_THREADS_EVENTS = 0,
+    PTHREAD_LAST_EVENT,
+    PTHREAD_HANDLES_NUM,
+    PTHREAD_HANDLES,
+    PTHREAD_KEYS,
+    LINUXTHREADS_PTHREAD_THREADS_MAX,
+    LINUXTHREADS_PTHREAD_KEYS_MAX,
+    LINUXTHREADS_PTHREAD_SIZEOF_DESCR,
+    LINUXTHREADS_CREATE_EVENT,
+    LINUXTHREADS_DEATH_EVENT,
+    LINUXTHREADS_REAP_EVENT,
+    NUM_MESSAGES
+  };
+
+
 /* Comment out the following for less verbose output.  */
 #ifndef NDEBUG
 # define LOG(c) if (__td_debug) __libc_write (2, c "\n", strlen (c "\n"))
@@ -80,4 +98,8 @@ ta_ok (const td_thragent_t *ta)
   return runp != NULL;
 }
 
+
+/* Internal wrapper around ps_pglobal_lookup.  */
+extern int td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr);
+
 #endif /* thread_dbP.h */