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, Jul 21, 5:16 PM
Unknown Object (File)
Mon, Jul 20, 4:23 PM
Unknown Object (File)
Mon, Jul 6, 1:18 PM
Unknown Object (File)
Fri, Jul 3, 5:42 PM
Unknown Object (File)
Thu, Jul 2, 12:37 PM
Unknown Object (File)
Mon, Jun 29, 10:31 AM
Unknown Object (File)
Fri, Jun 26, 5:29 PM
Unknown Object (File)
Jun 23 2026, 12:19 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