Deleted Added
full compact
amd64-cloudabi64.c (302408) amd64-cloudabi64.c (311999)
1/*-
2 * Copyright (c) 2015 Nuxi, https://nuxi.nl/
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.

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

19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2015 Nuxi, https://nuxi.nl/
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.

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

19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: stable/11/usr.bin/truss/amd64-cloudabi64.c 295931 2016-02-23 20:00:55Z jhb $");
27__FBSDID("$FreeBSD: stable/11/usr.bin/truss/amd64-cloudabi64.c 311999 2017-01-12 22:06:57Z jhb $");
28
29#include <sys/param.h>
30#include <sys/ptrace.h>
31
32#include <machine/psl.h>
33
28
29#include <sys/param.h>
30#include <sys/ptrace.h>
31
32#include <machine/psl.h>
33
34#include <stdbool.h>
34#include <stdio.h>
35#include <sysdecode.h>
36
37#include "truss.h"
38
39static int
40amd64_cloudabi64_fetch_args(struct trussinfo *trussinfo, unsigned int narg)
41{

--- 53 unchanged lines hidden ---
35#include <stdio.h>
36#include <sysdecode.h>
37
38#include "truss.h"
39
40static int
41amd64_cloudabi64_fetch_args(struct trussinfo *trussinfo, unsigned int narg)
42{

--- 53 unchanged lines hidden ---