Page MenuHomeFreeBSD

bhyve: Fix the build with gcc
ClosedPublic

Authored by andrew on Jun 10 2024, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 11, 2:12 PM
Unknown Object (File)
Tue, Aug 11, 2:12 PM
Unknown Object (File)
Tue, Aug 11, 2:12 PM
Unknown Object (File)
Sun, Aug 9, 1:09 AM
Unknown Object (File)
Wed, Aug 5, 2:53 AM
Unknown Object (File)
Tue, Aug 4, 8:26 AM
Unknown Object (File)
Tue, Aug 4, 5:46 AM
Unknown Object (File)
Mon, Aug 3, 1:53 AM

Details

Summary

gcc doesn't like const and static to not be at the start of a variable
declaration. Update the gdb_regset arrays to make it more obvious they
are arrays of struct gdb_reg and to fix the gcc build.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58130
Build 55018: arc lint + arc unit