summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/thread_db.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-09-14 16:07:21 +0000
committermarcel <marcel@FreeBSD.org>2008-09-14 16:07:21 +0000
commitead754945e1303f4902bb9c1d2f3da9dcc13c967 (patch)
tree02668a21719febb89d083b97a83b079abb56473a /lib/libthread_db/thread_db.h
parentae2f507eb0c3fb503f9f2b78128db903aceeabc1 (diff)
downloadFreeBSD-src-ead754945e1303f4902bb9c1d2f3da9dcc13c967.zip
FreeBSD-src-ead754945e1303f4902bb9c1d2f3da9dcc13c967.tar.gz
Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},
where critical. Some places still use ps_pread/ps_pwrite directly, but only need changed when byte-order comes into the picture. Also, change th_p in td_event_msg_t from a pointer type to psaddr_t, so that events also work when psaddr_t is widened.
Diffstat (limited to 'lib/libthread_db/thread_db.h')
-rw-r--r--lib/libthread_db/thread_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthread_db/thread_db.h b/lib/libthread_db/thread_db.h
index 3508eba..ee71e06 100644
--- a/lib/libthread_db/thread_db.h
+++ b/lib/libthread_db/thread_db.h
@@ -95,7 +95,7 @@ typedef enum {
typedef struct {
td_thr_events_e event;
- const td_thrhandle_t *th_p;
+ psaddr_t th_p;
uintptr_t data;
} td_event_msg_t;
OpenPOWER on IntegriCloud