diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-08-16 03:30:16 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-08-16 03:30:16 +0000 |
commit | 83403f384048c8619e28ffee5bed975e92cf23cc (patch) | |
tree | 3752df33df9354977d5f9b725ad2e3137d7986bf /lib/libthread_db/libpthread_db.h | |
parent | 48729174301a8e17185c18c146f969c0fc2dd9f0 (diff) | |
download | FreeBSD-src-83403f384048c8619e28ffee5bed975e92cf23cc.zip FreeBSD-src-83403f384048c8619e28ffee5bed975e92cf23cc.tar.gz |
1. Use libpthread's exported symbols to calcuate offset in data structure
2. Enable TLS debugger support.
Diffstat (limited to 'lib/libthread_db/libpthread_db.h')
-rw-r--r-- | lib/libthread_db/libpthread_db.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libthread_db/libpthread_db.h b/lib/libthread_db/libpthread_db.h index 397ec72..7a17b79 100644 --- a/lib/libthread_db/libpthread_db.h +++ b/lib/libthread_db/libpthread_db.h @@ -56,6 +56,23 @@ struct td_thragent { psaddr_t thread_active_threads_addr; psaddr_t thread_keytable_addr; int thread_activated; + int thread_off_dtv; + int thread_off_kse_locklevel; + int thread_off_kse; + int thread_off_tlsindex; + int thread_off_attr_flags; + int thread_size_key; + int thread_off_tcb; + int thread_off_linkmap; + int thread_off_tmbx; + int thread_off_thr_locklevel; + int thread_off_next; + int thread_off_state; + int thread_max_keys; + int thread_off_key_allocated; + int thread_off_key_destructor; + int thread_state_zoombie; + int thread_state_running; struct pt_map *map; int map_len; }; |