recognize rr session within gdb
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
What is the best way to recognize "I'm in rr replay" from gdb script/python api?
I do have some user commands in my gdbinit that change memory of the running process - I'd like to recognize when running a gdb session and then py raise gdb.GdbError("This command does not work during rr replay").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GDB script and Python API context described in the issue, and investigate how an rr replay session can be distinguished from an ordinary GDB session. Check the existing issue discussion for prior findings. Done means documenting or exposing a reliable detection method that lets the user command reject memory-changing operations during rr replay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100