Stream: git-wasmtime

Topic: wasmtime / PR #14776 gdbstub: forward interrupt requests ...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:21):

cfallin opened PR #14776 from cfallin:gdbstub-forward-interrupts to bytecodealliance:main:

The gdbstub component acknowledged a client's interrupt request (Ctrl-C) without asking the debuggee to stop, so interrupting a running program had no effect until its next debug event. Call debuggee.interrupt() and report the resulting interrupted event as the stop.

This PR also adds a protocol-level test, using a minimal GDB remote protocol client, that interrupts a long-running loop. (This little test stub is also useful for later PRs I plan to send.)

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:21):

cfallin requested alexcrichton for a review on PR #14776.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:21):

cfallin requested wasmtime-core-reviewers for a review on PR #14776.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:51):

:thumbs_up: alexcrichton submitted PR review:

I won't really pretend to understand the test, but seems reasonable otherwise.

One thing I'll point out though, which is preexisting, is that free_port is inherently a racy function. Eventually we'll probably see flakes due to that. If you (or perhaps an LLM) have a chance, it'd be best to spawn wasmtime bound to port 0, have Wasmtime print out where it's listening, read that from the test, and then use that.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:52):

:cross_mark: alexcrichton closed without merge PR #14776.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:52):

alexcrichton reopened PR #14776 from cfallin:gdbstub-forward-interrupts to bytecodealliance:main.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 21:52):

alexcrichton has enabled auto merge for PR #14776.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 22:04):

alexcrichton added PR #14776 gdbstub: forward interrupt requests to the debuggee. to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 22:29):

:check: alexcrichton merged PR #14776.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 22:29):

alexcrichton removed PR #14776 gdbstub: forward interrupt requests to the debuggee. from the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Oct 15 2026 at 23:09):

cfallin commented on PR #14776:

Ah, good point -- addressed in #14777.


Last updated: Oct 31 2026 at 23:03 UTC