HomeFreeBSD

bhyve: Prepare to add arm64 support to the gdb stub

Description

bhyve: Prepare to add arm64 support to the gdb stub

In particular:

  • Stop assuming that the breakpoint size is one byte.
  • Avoid referencing the "rip" field in machine-independent code, use a helper.

No functional change intended.

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

(cherry picked from commit 5f086566e02a3d21dc840564b90d46f1d3b829bb)

Details

Provenance
markjAuthored on Jan 23 2024, 4:41 PM
Reviewer
corvink
Differential Revision
D43483: bhyve: Prepare to add arm64 support to the gdb stub
Parents
rG8c931d6c8db2: bhyve: Simplify register definitions a bit
Branches
Unknown
Tags
Unknown