1/* 2 * Copyright (c) 2004 Marcel Moolenaar 3 * Copyright (c) 2005 David Xu 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/lib/libthread_db/libthr_db.c 177490 2008-03-22 05:40:44Z davidxu $"); |
30 31#include <proc_service.h> 32#include <stddef.h> 33#include <stdlib.h> 34#include <string.h> 35#include <sys/types.h> |
36#include <sys/linker_set.h> |
37#include <sys/ptrace.h> 38#include <thread_db.h> 39#include <unistd.h> 40 41#include "thread_db_int.h" 42 43#define TERMINATED 1 44 --- 742 unchanged lines hidden (view full) --- 787 788 /* FreeBSD specific extensions. */ 789 .to_thr_sstep = pt_thr_sstep, 790#ifdef __i386__ 791 .to_thr_getxmmregs = pt_thr_getxmmregs, 792 .to_thr_setxmmregs = pt_thr_setxmmregs, 793#endif 794}; |
795 796DATA_SET(__ta_ops, libthr_db_ops); |