Page MenuHomeFreeBSD

bhyve: Fix the build with gcc
ClosedPublic

Authored by andrew on Mon, Jun 10, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 12, 5:18 PM
Unknown Object (File)
Wed, Jun 12, 2:17 AM
Unknown Object (File)
Tue, Jun 11, 4:34 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