Page MenuHomeFreeBSD

bhyve: Fix the build with gcc
ClosedPublic

Authored by andrew on Jun 10 2024, 5:21 PM.
Tags
None
Referenced Files
F111875973: D45550.id139722.diff
Sun, Mar 9, 4:39 PM
F111846618: D45550.diff
Sun, Mar 9, 5:45 AM
Unknown Object (File)
Sat, Mar 8, 9:29 AM
Unknown Object (File)
Wed, Feb 26, 8:02 PM
Unknown Object (File)
Wed, Feb 26, 6:15 AM
Unknown Object (File)
Tue, Feb 25, 10:18 PM
Unknown Object (File)
Tue, Feb 25, 8:04 PM
Unknown Object (File)
Feb 2 2025, 9:56 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