Deleted Added
full compact
libpthread_md.c (146818) libpthread_md.c (181059)
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/arch/i386/libpthread_md.c 146818 2005-05-31 09:43:04Z dfr $");
28__FBSDID("$FreeBSD: head/lib/libthread_db/arch/i386/libpthread_md.c 181059 2008-07-31 16:26:58Z marcel $");
29
29
30#include <string.h>
31#include <sys/types.h>
30#include <sys/types.h>
32#include <proc_service.h>
33#include <thread_db.h>
34#include <machine/npx.h>
31#include <machine/npx.h>
32#include <string.h>
33#include <thread_db.h>
35
36#include "libpthread_db.h"
37
38static int has_xmm_regs;
39
40void
41pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
42{

--- 77 unchanged lines hidden ---
34
35#include "libpthread_db.h"
36
37static int has_xmm_regs;
38
39void
40pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
41{

--- 77 unchanged lines hidden ---