summaryrefslogtreecommitdiffstats
path: root/libthread_db/include/thread_db.h
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2011-09-29 16:26:00 -0700
committerSteve Kondik <shade@chemlab.org>2011-09-29 16:26:00 -0700
commit40d5df28bc4278d543697c960267ba3b5da74163 (patch)
tree4a1cae5501cb263d8b2fbd821ff0434bc7732809 /libthread_db/include/thread_db.h
parent6ed844f1f2e3a53939b606011a76fb3e353a7a92 (diff)
parent50a83255d80f98b857c3f72dd2225d4bbc720ca3 (diff)
downloadbionic-cm-7.1.0.zip
bionic-cm-7.1.0.tar.gz
bionic-cm-7.1.0.tar.bz2
Merge branch 'gingerbread' of git://git.omapzoom.org/platform/bionic into 237cm-7.1.0
Conflicts: libc/Android.mk libthread_db/Android.mk Change-Id: I4a730f70bf3b31331ab9cee5f1a098d4162ef4b7
Diffstat (limited to 'libthread_db/include/thread_db.h')
-rw-r--r--libthread_db/include/thread_db.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libthread_db/include/thread_db.h b/libthread_db/include/thread_db.h
index 1b36cb2..1ed8ffca 100644
--- a/libthread_db/include/thread_db.h
+++ b/libthread_db/include/thread_db.h
@@ -9,9 +9,7 @@
#include <signal.h>
#include <stdint.h>
#include <sys/types.h>
-
-typedef void *psaddr_t;
-typedef pid_t lwpid_t;
+#include <sys/procfs.h>
#define TD_THR_ANY_USER_FLAGS 0xffffffff
#define TD_THR_LOWEST_PRIORITY -20
@@ -151,6 +149,10 @@ extern td_err_e td_thr_event_enable(td_thrhandle_t const * handle,
extern td_err_e td_ta_thr_iter(td_thragent_t const * agent, td_thr_iter_f * func, void * cookie,
td_thr_state_e state, int32_t prio, sigset_t * sigmask, uint32_t user_flags);
+extern td_err_e td_thr_event_enable(td_thrhandle_t const * handle, td_event_e event);
+
+extern td_err_e td_thr_get_info(td_thrhandle_t const * handle, td_thrinfo_t * info);
+
extern char const ** td_symbol_list(void);
extern td_err_e td_thr_tls_get_addr(const td_thrhandle_t * th,