This adds a reproducer dump commands which makes it possible to inspect a reproducer from inside LLDB. Currently it supports the Files, Commands and Version providers. I'm planning to add support for the GDB Remote provider in a future patch.
Details
Details
- Reviewers
friss jingham labath - Group Reviewers
Restricted Project - Commits
- rG97fc8eb4382e: [Reproducer] Add reproducer dump command.
rL371909: [Reproducer] Add reproducer dump command.
rLLDB371909: [Reproducer] Add reproducer dump command.
Diff Detail
Diff Detail
- Repository
- rLLDB LLDB
Event Timeline
Comment Actions
If I've run lldb like:
$ lldb -capture-path <PATH>
and then I want to dump the reproducer I've loaded, it seems annoying to have to say:
(lldb) reproducer dump -f <PATH>
Why do I need to type it again? So it seems like you could make -f optional, and if it isn't provided use the currently loaded reproducer?
Comment Actions
Inspect the current reproducer when in replay mode and no path is specified.
Thanks for the suggestions, Jim!
Comment Actions
The help for -f should say what happens if this option isn't provided. Otherwise this looks fine.