diff options
author | kib <kib@FreeBSD.org> | 2010-07-04 12:08:04 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-07-04 12:08:04 +0000 |
commit | 2b9a53839c45891fab833be19313b39fd70bdecb (patch) | |
tree | a8c79439938f105976c877e4960497e25bc3e397 /lib/libthread_db/thread_db.c | |
parent | 22a31bdc6e494c4ec4dd908a6deca6832f6e6ff6 (diff) | |
download | FreeBSD-src-2b9a53839c45891fab833be19313b39fd70bdecb.zip FreeBSD-src-2b9a53839c45891fab833be19313b39fd70bdecb.tar.gz |
Extend the td_thrinfo_t to include siginfo for the signal that stopped
the target. Take care of ABI.
Suggested by: davidxu
MFC after: 2 weeks
Diffstat (limited to 'lib/libthread_db/thread_db.c')
-rw-r--r-- | lib/libthread_db/thread_db.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libthread_db/thread_db.c b/lib/libthread_db/thread_db.c index dc8195d..121855b 100644 --- a/lib/libthread_db/thread_db.c +++ b/lib/libthread_db/thread_db.c @@ -176,6 +176,14 @@ td_thr_event_getmsg(const td_thrhandle_t *th, td_event_msg_t *msg) } td_err_e +td_thr_old_get_info(const td_thrhandle_t *th, td_old_thrinfo_t *info) +{ + const td_thragent_t *ta = th->th_ta; + return (ta->ta_ops->to_thr_old_get_info(th, info)); +} +__sym_compat(td_thr_get_info, td_thr_old_get_info, FBSD_1.0); + +td_err_e td_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) { const td_thragent_t *ta = th->th_ta; |