thread_db.c (183021) | thread_db.c (209689) |
---|---|
1/* 2 * Copyright (c) 2004 David Xu <davidxu@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2004 David Xu <davidxu@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/lib/libthread_db/thread_db.c 183021 2008-09-14 16:07:21Z marcel $"); | 28__FBSDID("$FreeBSD: head/lib/libthread_db/thread_db.c 209689 2010-07-04 12:08:04Z kib $"); |
29 30#include <proc_service.h> 31#include <stddef.h> 32#include <thread_db.h> 33#include <unistd.h> 34#include <sys/cdefs.h> 35#include <sys/endian.h> 36#include <sys/errno.h> --- 134 unchanged lines hidden (view full) --- 171td_err_e 172td_thr_event_getmsg(const td_thrhandle_t *th, td_event_msg_t *msg) 173{ 174 const td_thragent_t *ta = th->th_ta; 175 return (ta->ta_ops->to_thr_event_getmsg(th, msg)); 176} 177 178td_err_e | 29 30#include <proc_service.h> 31#include <stddef.h> 32#include <thread_db.h> 33#include <unistd.h> 34#include <sys/cdefs.h> 35#include <sys/endian.h> 36#include <sys/errno.h> --- 134 unchanged lines hidden (view full) --- 171td_err_e 172td_thr_event_getmsg(const td_thrhandle_t *th, td_event_msg_t *msg) 173{ 174 const td_thragent_t *ta = th->th_ta; 175 return (ta->ta_ops->to_thr_event_getmsg(th, msg)); 176} 177 178td_err_e |
179td_thr_old_get_info(const td_thrhandle_t *th, td_old_thrinfo_t *info) 180{ 181 const td_thragent_t *ta = th->th_ta; 182 return (ta->ta_ops->to_thr_old_get_info(th, info)); 183} 184__sym_compat(td_thr_get_info, td_thr_old_get_info, FBSD_1.0); 185 186td_err_e |
|
179td_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) 180{ 181 const td_thragent_t *ta = th->th_ta; 182 return (ta->ta_ops->to_thr_get_info(th, info)); 183} 184 185#ifdef __i386__ 186td_err_e --- 248 unchanged lines hidden --- | 187td_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) 188{ 189 const td_thragent_t *ta = th->th_ta; 190 return (ta->ta_ops->to_thr_get_info(th, info)); 191} 192 193#ifdef __i386__ 194td_err_e --- 248 unchanged lines hidden --- |