summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/thread_db.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-07-30 00:59:19 +0000
committermarcel <marcel@FreeBSD.org>2008-07-30 00:59:19 +0000
commitb40c2c680dab0e4c2250a79f7e6e931adb991a37 (patch)
tree455d667c1dc638f27b2788d1fd4c5bb6b3099870 /lib/libthread_db/thread_db.c
parent7938797d4a0017c36f6908b4da0427faa244ae80 (diff)
downloadFreeBSD-src-b40c2c680dab0e4c2250a79f7e6e931adb991a37.zip
FreeBSD-src-b40c2c680dab0e4c2250a79f7e6e931adb991a37.tar.gz
Change the type of psaddr_t from void* to uintptr_t. A pointer
type cannot be made wider to allow ILP32 platforms to target LP64 platforms.
Diffstat (limited to 'lib/libthread_db/thread_db.c')
-rw-r--r--lib/libthread_db/thread_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthread_db/thread_db.c b/lib/libthread_db/thread_db.c
index dcfde691..6daea63 100644
--- a/lib/libthread_db/thread_db.c
+++ b/lib/libthread_db/thread_db.c
@@ -244,8 +244,8 @@ td_thr_validate(const td_thrhandle_t *th)
}
td_err_e
-td_thr_tls_get_addr(const td_thrhandle_t *th, void *linkmap, size_t offset,
- void **address)
+td_thr_tls_get_addr(const td_thrhandle_t *th, psaddr_t linkmap, size_t offset,
+ psaddr_t *address)
{
const td_thragent_t *ta = th->th_ta;
return (ta->ta_ops->to_thr_tls_get_addr(th, linkmap, offset, address));
OpenPOWER on IntegriCloud