summaryrefslogtreecommitdiff
path: root/lib/libthread_db/thread_db.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-08-08 22:37:53 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-08-08 22:37:53 +0000
commit3e93cc3ae35baf2f2398b3bee5ce38393eb7a595 (patch)
treeef2fbec2f4813f6b13a05ff5f301e393a7edfaf1 /lib/libthread_db/thread_db.c
parent604be46d1e7b6af4e9ddaf1a9d79bb3d009069b3 (diff)
Notes
Diffstat (limited to 'lib/libthread_db/thread_db.c')
-rw-r--r--lib/libthread_db/thread_db.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libthread_db/thread_db.c b/lib/libthread_db/thread_db.c
index e92d4ff3c13c..b1b1bccc9f6a 100644
--- a/lib/libthread_db/thread_db.c
+++ b/lib/libthread_db/thread_db.c
@@ -226,6 +226,14 @@ td_thr_validate(const td_thrhandle_t *th)
return (ta->ta_ops->to_thr_validate(th));
}
+td_err_e
+td_thr_tls_get_addr(const td_thrhandle_t *th, void *linkmap, size_t offset,
+ void **address)
+{
+ const td_thragent_t *ta = th->th_ta;
+ return (ta->ta_ops->to_thr_tls_get_addr(th, linkmap, offset, address));
+}
+
/* FreeBSD specific extensions. */
td_err_e