diff options
author | jhb <jhb@FreeBSD.org> | 2016-02-25 17:43:32 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-02-25 17:43:32 +0000 |
commit | 85f8ae969b95a5539c68ffb09c545b5023901f4e (patch) | |
tree | 50ed0465cbbb2a974ca3f05208341cc78d07bdd4 /usr.bin | |
parent | 802aaffb415e299c3c0ae79a1da2a93ff8f8421e (diff) | |
download | FreeBSD-src-85f8ae969b95a5539c68ffb09c545b5023901f4e.zip FreeBSD-src-85f8ae969b95a5539c68ffb09c545b5023901f4e.tar.gz |
Add simple support for CloudABI processes to kdump(1).
This does not decode arguments to system calls but should properly
decode system call names and error return values.
Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D5412
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/kdump.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index b4a1f69..52001d2 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -520,6 +520,9 @@ abidump(struct ktr_header *kth) case SV_ABI_FREEBSD: abi = "F"; break; + case SV_ABI_CLOUDABI: + abi = "C"; + break; default: abi = "U"; break; @@ -674,6 +677,10 @@ syscallabi(u_int sv_flags) #endif return (SYSDECODE_ABI_LINUX); #endif +#if defined(__aarch64__) || defined(__amd64__) + case SV_ABI_CLOUDABI: + return (SYSDECODE_ABI_CLOUDABI64); +#endif default: return (SYSDECODE_ABI_UNKNOWN); } |