Make truss work for CloudABI processes on aarch64.
authored <ed@FreeBSD.org>
Fri, 30 Oct 2015 08:11:37 +0000 (08:11 +0000)
committered <ed@FreeBSD.org>
Fri, 30 Oct 2015 08:11:37 +0000 (08:11 +0000)
commitf8063150c3bce7df1f34d3b8ddb207a8abda4f1e
tree1e988c14fde8f61b75e36ca8b01a1022b41e8822
parent24409c318d1686feec71b2c2c666d90963266318
Make truss work for CloudABI processes on aarch64.

This change copies over amd64-cloudabi64.c to aarch64-cloudabi.c and
adjusts it to fetch the proper registers on aarch64. To reduce the
amount of shared code, the errno conversion function is moved into a
separate source file.

Reviewed by: jhb, andrew
Differential Revision: https://reviews.freebsd.org/D4023
usr.bin/truss/Makefile
usr.bin/truss/aarch64-cloudabi64.c [new file with mode: 0644]
usr.bin/truss/amd64-cloudabi64.c
usr.bin/truss/cloudabi.c [new file with mode: 0644]
usr.bin/truss/cloudabi.h [new file with mode: 0644]