Deleted Added
full compact
libthr_db.c (158681) libthr_db.c (177490)
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>
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 158681 2006-05-17 05:14:45Z davidxu $");
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>
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>
36#include <sys/ptrace.h>
37#include <thread_db.h>
38#include <unistd.h>
39
40#include "thread_db_int.h"
41
42#define TERMINATED 1
43

--- 742 unchanged lines hidden (view full) ---

786
787 /* FreeBSD specific extensions. */
788 .to_thr_sstep = pt_thr_sstep,
789#ifdef __i386__
790 .to_thr_getxmmregs = pt_thr_getxmmregs,
791 .to_thr_setxmmregs = pt_thr_setxmmregs,
792#endif
793};
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);