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

no way to set current working directory #90

Open
dschaefer opened this issue Mar 18, 2019 · 2 comments
Open

no way to set current working directory #90

dschaefer opened this issue Mar 18, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@dschaefer
Copy link
Contributor

I'd like the executable under debug to run from a certain directory so that files it creates go there. We don't have an option for that.

@jonahgraham
Copy link
Contributor

There is a placeholder for this in the configuration I added in #122

cwd?: string; // TODO not implemented

@jonahgraham jonahgraham added the enhancement New feature or request label Jan 31, 2023
@jonahgraham
Copy link
Contributor

For completeness, as much of the focus has been on embedded targets which have no concept of cwd for the inferior, there is a cwd for the gdbserver (or whatever is used as the target server)

// Specifies the working directory of gdbserver
cwd?: string;

tromey added a commit to tromey/gdb that referenced this issue Jul 25, 2023
This adds the "cwd" parameter to the DAP launch request.

This came up here:
    eclipse-cdt-cloud/cdt-gdb-adapter#90
... and seemed like a good idea.
tromey added a commit to tromey/gdb that referenced this issue Jul 31, 2023
This adds the "cwd" parameter to the DAP launch request.

This came up here:
    eclipse-cdt-cloud/cdt-gdb-adapter#90
... and seemed like a good idea.

Reviewed-By: Eli Zaretskii <[email protected]>
saagarjha pushed a commit to ahjragaas/binutils-gdb that referenced this issue Aug 1, 2023
This adds the "cwd" parameter to the DAP launch request.

This came up here:
    eclipse-cdt-cloud/cdt-gdb-adapter#90
... and seemed like a good idea.

Reviewed-By: Eli Zaretskii <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants