Skip to content

bhyve: add binary memory writes to GDB stub - #2413

Open
peripherium wants to merge 1 commit into
freebsd:mainfrom
peripherium:bhyve-gdbstub-binary-download
Open

bhyve: add binary memory writes to GDB stub#2413
peripherium wants to merge 1 commit into
freebsd:mainfrom
peripherium:bhyve-gdbstub-binary-download

Conversation

@peripherium

Copy link
Copy Markdown

This implements one of the remaining TODOs in the bhyve GDB stub.

Currently, memory writes are only supported through the M packet, which sends the data as hexadecimal. With this change, the stub also handles the X packet from the GDB remote protocol, allowing GDB to use binary memory writes when binary downloads are enabled.

This makes set remote binary-download on usable with the bhyve GDB stub.

Add support for the GDB remote protocol X packet to the bhyve
GDB stub, allowing memory to be written using binary data in addition
to the existing M packet.

Signed-off-by: Manuel Einfalt <einfalt1@proton.me>
@peripherium
peripherium requested a review from bsdjhb as a code owner September 6, 2026 18:38
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

Thank you for taking the time to contribute to FreeBSD!

Some of files have special handling:

Important

@bsdjhb @bryanv @markjdb @khng300 @markpeek wants to review changes to usr.sbin/bhyve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant