feat(debug): pause and resume a guest thread at a breakpoint #17555
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17555"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-08T22:08:37Z.
What
Adds the NID stop registry, off by default: a thread that hits an armed NID can be held there until a
Continuewith the stop's id.Hitblocks the calling thread and holds no registry or table lock while it waits. Continue resumes it; the capacity of the registry is tested.Nothing calls
Hityet. No call path consults the table, so arming a NID does not stop a title. The wiring is a follow-up.Stacked on #17261 (the breakpoint table): this branch contains that PR's commits and the same merge with current
main.Tested
Linux, Debian kernel 6.1.0-54-amd64, Intel Xeon E5-1620 v2. Host archive build, focused tests only, no game and no PS5 hardware.
Command:
Output:
The per-file SYNTAX stage reports missing generated and SDL headers for some files; BUILD-EXIT is 0.
Overlap: pr_overlap fails closed on shared files (libc build list, the libc debt file, the environment reference). Across the 109 open PRs it flags for this series, none adds a line using the debugger or hook-table identifiers (DebugNid, NidStop, NidBreakpoint, ANYPS5_DEBUG, command parsing, WriteHookTable, hooks.json, debug_nids, breakpoint). No open PR implements the same functions.
Not verified:
Hitin this PR.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:36:00Z.
Review: COMMENTED
I compiled and ran the exact breakpoint and stop fixtures on Linux. Both passed, including registry capacity.
Hitreleases the registry mutex before waiting andContinuekeys the wake to the stop ID. Please preserve those checks when reconciling the separatelibc/CMakeLists.txtconflict with exact #17261. This head trial-merges cleanly ontoc1601e56d5by itself.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.