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

allow overriding argv[0] in gdb.debug #2024

Conversation

giladreti
Copy link

before this commit, it was not was possible to specify argv[0] using gdb.debug, nor run the program with argc = 0 (see for example #1273)

this commit adds support for specifying both argv and exe, thus allowing further customization of the provided arguments.

before this commit, it was not was possible to specify `argv[0]` using `gdb.debug`, nor run the program with `argc = 0` (see for example Gallopsled#1273)

this commit adds support for specifying both `argv` and `exe`, thus allowing further customization of the provided arguments.
@Arusekk
Copy link
Member

Arusekk commented Jan 28, 2022

It looks like we could maybe leverage our 'starting processes over SSH' thing, which already does a lot of wrapping logic, and uses an ordered dict to support putting environment in the correct order on old python versions.

@peace-maker
Copy link
Member

Closing in favor of #2233 since this PR stalled due to lack of time #1273 (comment)
Thank you regardless for kicking this off!

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.

None yet

3 participants