Deleted Added
full compact
libpthread_md.c (181059) libpthread_md.c (181341)
1/*
2 * Copyright (c) 2004 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2004 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/lib/libthread_db/arch/sparc64/libpthread_md.c 181059 2008-07-31 16:26:58Z marcel $");
28__FBSDID("$FreeBSD: head/lib/libthread_db/arch/sparc64/libpthread_md.c 181341 2008-08-06 03:14:18Z marcel $");
29
30#include <sys/procfs.h>
31#include <thread_db.h>
32#include <ucontext.h>
33
34#include "libpthread_db.h"
35
36void
29
30#include <sys/procfs.h>
31#include <thread_db.h>
32#include <ucontext.h>
33
34#include "libpthread_db.h"
35
36void
37pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
37pt_reg_to_ucontext(const struct reg *r __unused, ucontext_t *uc __unused)
38{
39}
40
41void
38{
39}
40
41void
42pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
42pt_ucontext_to_reg(const ucontext_t *uc __unused, struct reg *r __unused)
43{
44}
45
46void
43{
44}
45
46void
47pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
47pt_fpreg_to_ucontext(const struct fpreg* r __unused, ucontext_t *uc __unused)
48{
49}
50
51void
48{
49}
50
51void
52pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
52pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r __unused)
53{
54}
55
56void
57pt_md_init(void)
58{
59}
60
61int
53{
54}
55
56void
57pt_md_init(void)
58{
59}
60
61int
62pt_reg_sstep(struct reg *reg, int step)
62pt_reg_sstep(struct reg *reg __unused, int step __unused)
63{
64 return (0);
65}
63{
64 return (0);
65}