Skip to content

"info recording" command that gives the path to the recording#4085

Open
timo wants to merge 1 commit into
rr-debugger:masterfrom
timo:info_recording_command
Open

"info recording" command that gives the path to the recording#4085
timo wants to merge 1 commit into
rr-debugger:masterfrom
timo:info_recording_command

Conversation

@timo

@timo timo commented Jul 20, 2026

Copy link
Copy Markdown

info recording prints out the path of the recording folder.

This is useful for running additional rr replay sessions from an existing one, or for calling rr dump to get data that is not otherwise surfaced by any gdb commands.

@rocallahan rocallahan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo these minor comments.

Comment thread src/test/info_recording.c

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need your own test program here. You can use simple.c like when.run does.

[](GdbServer&, Task* t, const vector<string>&) {
if (!t->session().is_replaying()) {
return DebuggerExtensionCommandHandler::cmd_end_diversion();
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to end the diversion for this.

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.

2 participants