summaryrefslogtreecommitdiff
path: root/lib/libthread_db/thread_db.c
diff options
context:
space:
mode:
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