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.
Details
Details
- Reviewers
jhb andrew - Commits
- rS290186: Make truss work for CloudABI processes on aarch64.
truss has been run on the unit testing binary. The output looks all
right.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Upload it through the web.
For some reason Arcanist is having troubles uploading new source files on my system. Let's see what happens if we just paste the raw diff in Phabricator.
Comment Actions
Looks fine to me. FWIW, I already have a WIP branch where I've moved the errno tables and syscall tables out of truss/kdump into a new shared library (libsysdecode). This also adds CloudABI to kdump (since it is very cheap to do).
I have some more work to do on the library, but I might start importing some of the simpler bits (the ioctl.c and syscall name moves at least) soon.
https://github.com/freebsd/freebsd/compare/master...bsdjhb:libsysdecode