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

(cherry picked from commit 5e728af444b16f480ec0f43803ca2a7a3e6e2e48)

Details

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