HomeFreeBSD

bhyve: Fix the build with gcc

Description

bhyve: Fix the build with gcc

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.

Reviewed by: corvink, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45550

Details

Provenance
andrewAuthored on Jun 11 2024, 8:49 AM
Reviewer
corvink
Differential Revision
D45550: bhyve: Fix the build with gcc
Parents
rGabf239cf097b: arm64/vmm: Add braces to fix the gcc build
Branches
Unknown
Tags
Unknown