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)
Sun, Sep 21, 1:55 AM
Unknown Object (File)
Fri, Sep 19, 9:37 PM
Unknown Object (File)
Thu, Sep 18, 1:29 PM
Unknown Object (File)
Wed, Sep 17, 12:31 AM
Unknown Object (File)
Tue, Sep 16, 2:47 PM
Unknown Object (File)
Tue, Sep 16, 4:36 AM
Unknown Object (File)
Sep 11 2025, 6:18 PM
Unknown Object (File)
Sep 9 2025, 6:26 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