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)
Thu, May 14, 2:53 AM
Unknown Object (File)
Tue, May 5, 11:47 PM
Unknown Object (File)
Sun, May 3, 4:08 AM
Unknown Object (File)
Sun, May 3, 3:52 AM
Unknown Object (File)
Sun, May 3, 1:15 AM
Unknown Object (File)
Thu, Apr 30, 6:57 PM
Unknown Object (File)
Wed, Apr 29, 3:56 AM
Unknown Object (File)
Apr 21 2026, 8:15 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 Not Applicable
Unit
Tests Not Applicable