Deleted Added
full compact
libpthread_md.c (181044) libpthread_md.c (181059)
1/*
2 * Copyright (c) 2007 Olivier Houchard
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) 2007 Olivier Houchard
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/arm/libpthread_md.c 181044 2008-07-31 05:25:52Z marcel $");
28__FBSDID("$FreeBSD: head/lib/libthread_db/arch/arm/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>
31#include <string.h>
33#include <thread_db.h>
34
35#include "libpthread_db.h"
36
37void
38pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
39{
40 mcontext_t *mc = &uc->uc_mcontext;

--- 76 unchanged lines hidden ---
32#include <thread_db.h>
33
34#include "libpthread_db.h"
35
36void
37pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
38{
39 mcontext_t *mc = &uc->uc_mcontext;

--- 76 unchanged lines hidden ---