Deleted Added
full compact
arm-freebsd.c (302408) arm-freebsd.c (311999)
1/*
2 * Copyright 1997 Sean Eric Fagan
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
1/*
2 * Copyright 1997 Sean Eric Fagan
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: stable/11/usr.bin/truss/arm-freebsd.c 295056 2016-01-30 01:00:54Z jhb $");
33__FBSDID("$FreeBSD: stable/11/usr.bin/truss/arm-freebsd.c 311999 2017-01-12 22:06:57Z jhb $");
34
35/* FreeBSD/arm-specific system call handling. */
36
37#include <sys/ptrace.h>
38#include <sys/syscall.h>
39
40#include <machine/reg.h>
41#include <machine/armreg.h>
42#include <machine/ucontext.h>
43
34
35/* FreeBSD/arm-specific system call handling. */
36
37#include <sys/ptrace.h>
38#include <sys/syscall.h>
39
40#include <machine/reg.h>
41#include <machine/armreg.h>
42#include <machine/ucontext.h>
43
44#include <stdbool.h>
44#include <stdio.h>
45#include <sysdecode.h>
46
47#include "truss.h"
48
49static int
50arm_fetch_args(struct trussinfo *trussinfo, u_int narg)
51{

--- 85 unchanged lines hidden ---
45#include <stdio.h>
46#include <sysdecode.h>
47
48#include "truss.h"
49
50static int
51arm_fetch_args(struct trussinfo *trussinfo, u_int narg)
52{

--- 85 unchanged lines hidden ---