diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-05-17 04:59:59 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-05-17 04:59:59 +0000 |
commit | 28aa53a45cc42f7cfc70a3318d951da5bda9feb5 (patch) | |
tree | 706876d3646981e074a8505b4faa76a7c5a7138f /lib | |
parent | 2ec6a6b5e755fa5b53be0ec197fff455eee327cf (diff) | |
download | FreeBSD-src-28aa53a45cc42f7cfc70a3318d951da5bda9feb5.zip FreeBSD-src-28aa53a45cc42f7cfc70a3318d951da5bda9feb5.tar.gz |
Export offsets of thread signal pending set and signal mask for debugger.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_symbols.c | 2 | ||||
-rw-r--r-- | lib/libpthread/pthread.map | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_symbols.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_symbols.c b/lib/libkse/thread/thr_symbols.c index 2072c96..2b9639b 100644 --- a/lib/libkse/thread/thr_symbols.c +++ b/lib/libkse/thread/thr_symbols.c @@ -77,3 +77,5 @@ int _thread_off_dtv = DTV_OFFSET; int _thread_off_state = offsetof(struct pthread, state); int _thread_state_running = PS_RUNNING; int _thread_state_zoombie = PS_DEAD; +int _thread_off_sigmask = offsetof(struct pthread, sigmask); +int _thread_off_sigpend = offsetof(struct pthread, sigpend); diff --git a/lib/libpthread/pthread.map b/lib/libpthread/pthread.map index 914b41f..31ee580 100644 --- a/lib/libpthread/pthread.map +++ b/lib/libpthread/pthread.map @@ -723,6 +723,8 @@ global: _thread_off_key_destructor; _thread_off_kse; _thread_off_kse_locklevel; + _thread_off_sigmask; + _thread_off_sigpend; _thread_off_state; _thread_off_thr_locklevel; _thread_off_tlsindex; diff --git a/lib/libpthread/thread/thr_symbols.c b/lib/libpthread/thread/thr_symbols.c index 2072c96..2b9639b 100644 --- a/lib/libpthread/thread/thr_symbols.c +++ b/lib/libpthread/thread/thr_symbols.c @@ -77,3 +77,5 @@ int _thread_off_dtv = DTV_OFFSET; int _thread_off_state = offsetof(struct pthread, state); int _thread_state_running = PS_RUNNING; int _thread_state_zoombie = PS_DEAD; +int _thread_off_sigmask = offsetof(struct pthread, sigmask); +int _thread_off_sigpend = offsetof(struct pthread, sigpend); |