Skip to content

Add opt-in EE Ctrl-C receiver thread - #14

Merged
fjtrujy merged 2 commits into
masterfrom
feat/ee-cooperative-receiver
Nov 16, 2026
Merged

fjtrujy merged 2 commits into
masterfrom
feat/ee-cooperative-receiver

Conversation

@fjtrujy

@fjtrujy fjtrujy commented Nov 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a dedicated EE socket-reader thread for raw GDB Ctrl-C while the target runs, with exclusive socket ownership and session-generation tracking.
  • Keep the stop cooperative: applications still call gdbstub_poll_interrupt() at safe points; no exception-vector or preemptive behavior is added.
  • Add native state/transport tests and opt-in EE CI build coverage.

Validation

  • Real PS2: initial S05, two consecutive T02 SIGINT stops, and clean detach.
  • Fresh real GNU R5900 GDB session: register reads, source breakpoint, local variable inspection, single-step, and detach.
  • PS2Link remained responsive after both sessions.
  • Local make clean all check check-gdb check-install, plus receiver-only and combined hardware-flag builds, pass.

This does not interrupt arbitrary uninstrumented EE code.

@fjtrujy
fjtrujy force-pushed the feat/ee-cooperative-receiver branch from 4c89878 to 84ee084 Compare November 16, 2026 13:26
@fjtrujy
fjtrujy merged commit 40b2649 into master Nov 16, 2026
15 checks passed
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