Page MenuHomeFreeBSD

Fix reporting of the CloudABI ABI in kdump.
ClosedPublic

Authored by jhb on Mar 5 2016, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 4, 3:01 AM
Unknown Object (File)
Fri, Oct 3, 6:56 PM
Unknown Object (File)
Fri, Oct 3, 12:08 PM
Unknown Object (File)
Jul 23 2025, 2:19 AM
Unknown Object (File)
Jul 22 2025, 3:10 AM
Unknown Object (File)
Jul 11 2025, 11:36 AM
Unknown Object (File)
Jul 10 2025, 10:06 PM
Unknown Object (File)
Jun 30 2025, 3:12 AM
Subscribers

Details

Summary

Fix reporting of the CloudABI ABI in kdump.

  • Advertise the word size for CloudABI ABIs via the SV_LP64 flag. All of the other ABIs include either SV_ILP32 or SV_LP64.
  • Fix kdump to not assume a 32-bit ABI if the ABI flags field is non-zero but SV_LP64 isn't set. Instead, only assume a 32-bit ABI if SV_ILP32 is set and fallback to the unknown value of "00" if neither SV_LP64 or SV_ILP32 is set.
Test Plan
  • ktrace a CloudABI program and run kdump on the trace

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Fix reporting of the CloudABI ABI in kdump..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: kib, ed.
kib edited edge metadata.
This revision is now accepted and ready to land.Mar 5 2016, 9:26 PM
ed edited edge metadata.
This revision was automatically updated to reflect the committed changes.