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)
Fri, Apr 3, 4:05 PM
Unknown Object (File)
Fri, Mar 20, 5:46 PM
Unknown Object (File)
Wed, Mar 18, 3:52 AM
Unknown Object (File)
Mon, Mar 9, 5:47 PM
Unknown Object (File)
Mon, Mar 9, 3:31 PM
Unknown Object (File)
Mon, Mar 9, 7:10 AM
Unknown Object (File)
Mon, Mar 9, 5:58 AM
Unknown Object (File)
Sun, Mar 8, 11:48 PM

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 Not Applicable
Unit
Tests Not Applicable