diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-04-12 03:00:28 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-04-12 03:00:28 +0000 |
commit | 2cf5eeb00151f72e5aa07f0289c2889752eb07d9 (patch) | |
tree | b5ca39973148c65442650488e554719cd7db2deb /lib/libthr/thread/thr_symbols.c | |
parent | c874648f8b61fce9d0fd977d6502638d882c2f33 (diff) | |
download | FreeBSD-src-2cf5eeb00151f72e5aa07f0289c2889752eb07d9.zip FreeBSD-src-2cf5eeb00151f72e5aa07f0289c2889752eb07d9.tar.gz |
Add debugger event reporting support, current only TD_CREATE and TD_DEATH
events are reported.
Diffstat (limited to 'lib/libthr/thread/thr_symbols.c')
-rw-r--r-- | lib/libthr/thread/thr_symbols.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_symbols.c b/lib/libthr/thread/thr_symbols.c index 313cad7..c35f2c7 100644 --- a/lib/libthr/thread/thr_symbols.c +++ b/lib/libthr/thread/thr_symbols.c @@ -45,10 +45,11 @@ int _thread_off_tcb = offsetof(struct pthread, tcb); int _thread_off_tid = offsetof(struct pthread, tid); int _thread_off_next = offsetof(struct pthread, tle.tqe_next); int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); -int _thread_off_thr_locklevel = offsetof(struct pthread, locklevel); int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex); -int _thread_off_isdead = offsetof(struct pthread, terminated); +int _thread_off_report_events = offsetof(struct pthread, report_events); +int _thread_off_event_mask = offsetof(struct pthread, event_mask); +int _thread_off_event_buf = offsetof(struct pthread, event_buf); int _thread_size_key = sizeof(struct pthread_key); int _thread_off_key_allocated = offsetof(struct pthread_key, allocated); int _thread_off_key_destructor = offsetof(struct pthread_key, destructor); |