Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proc/gdbserial: add environment variables to configure rr invocation #3726

Merged
merged 1 commit into from
May 24, 2024

Conversation

aarzilli
Copy link
Member

Adds two environment variables to configure rr invocations.

Fixes #3670

@@ -15,6 +15,11 @@ import (
"github.com/go-delve/delve/pkg/proc"
)

const (
delveRecordFlagsEnvVar = "DELVE_RECORD_FLAGS"
Copy link
Member

Choose a reason for hiding this comment

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

I think we should name these DELVE_RR_* just in case we ever happen to switch to another record & replay backend which doesn't accept the given flags, and just to make things more explicit.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Adds two environment variables to configure rr invocations.

Fixes go-delve#3670
Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

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

LGTM

@derekparker derekparker merged commit 40670aa into go-delve:master May 24, 2024
2 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.

RR chaos mode
2 participants