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)
Mon, Nov 25, 8:58 PM
Unknown Object (File)
Sun, Nov 24, 1:48 PM
Unknown Object (File)
Nov 16 2024, 5:32 AM
Unknown Object (File)
Oct 5 2024, 8:48 AM
Unknown Object (File)
Oct 2 2024, 11:54 PM
Unknown Object (File)
Sep 25 2024, 4:41 PM
Unknown Object (File)
Sep 25 2024, 3:06 AM
Unknown Object (File)
Sep 24 2024, 7:37 PM
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.