HomeFreeBSD

bhyve: Simplify register definitions a bit

Description

bhyve: Simplify register definitions a bit

It's awkward to have separate tables for information which is logically
connected. Merge the gdb_regset[] and gdb_regsize[] arrays and update
gdb_read_regs() to cope with the result. This makes the addition of
arm64 support a bit cleaner.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 1 week
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D43481

Details

Provenance
markjAuthored on Jan 23 2024, 4:40 PM
Reviewer
corvink
Differential Revision
D43481: bhyve: Simplify register definitions a bit
Parents
rGcfa2c78aee85: bhyve: Avoid underflows when handling remote commands
Branches
Unknown
Tags
Unknown