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

Support checking gdb.exe on Windows #1001

Merged
merged 3 commits into from
May 18, 2020
Merged

Conversation

WardenGnaw
Copy link
Member

This PR adds additional checks to look for gdb on Windows.
If a user does not specify miDebuggerPath, we will check for gdb and
gdb.exe in PATH. If a miDebuggerPath is provided and does not supply any
directory, we will search that binary and binary.exe in PATH.

microsoft/vscode-cpptools#3076

This PR adds additional checks to look for gdb on Windows.
If a user does not specify miDebuggerPath, we will check for gdb and
gdb.exe in PATH. If a miDebuggerPath is provided and does not supply any
directory, we will search that binary and binary.exe in PATH.
src/MICore/LaunchOptions.cs Outdated Show resolved Hide resolved
@gregg-miskelly
Copy link
Member

            if (File.Exists(candidate))

On Windows, does it make sense to look for gdb (no extension)? I didn't think you could have a no-extension executable.


Refers to: src/MICore/LaunchOptions.cs:550 in 6760a4c. [](commit_id = 6760a4c, deletion_comment = False)

@WardenGnaw WardenGnaw merged commit 9743dd7 into master May 18, 2020
@WardenGnaw WardenGnaw deleted the dev/waan/gdbexesearch branch August 7, 2020 23:46
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.

3 participants