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)
Jan 7 2024, 12:11 PM
Unknown Object (File)
Jan 7 2024, 12:11 PM
Unknown Object (File)
Jan 7 2024, 12:11 PM
Unknown Object (File)
Jan 7 2024, 11:37 AM
Unknown Object (File)
Dec 19 2023, 11:13 PM
Unknown Object (File)
Nov 10 2023, 7:13 PM
Unknown Object (File)
Nov 8 2023, 7:09 PM
Unknown Object (File)
Nov 4 2023, 11:59 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.