8000 Added a compatibility trick in `debug -I` for `toolchain.prefix` key by cmaglie · Pull Request #2428 · arduino/arduino-cli · GitHub
[go: up one dir, main page]

Skip to content

Added a compatibility trick in debug -I for toolchain.prefix key #2428

New issue
8000

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

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed debug command
  • Loading branch information
cmaglie committed Nov 15, 2023
commit 9e0443b48de2a9b37a01f5a6a17b18f98690ec5d
2 changes: 1 addition & 1 deletion commands/debug/debug.go
4AC6
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func getCommandLine(req *rpc.GetDebugConfigRequest, pme *packagemanager.Explorer
var gdbPath *paths.Path
switch debugInfo.GetToolchain() {
case "gcc":
gdbexecutable := debugInfo.GetToolchainPrefix() + "gdb"
gdbexecutable := debugInfo.GetToolchainPrefix() + "-gdb"
if runtime.GOOS == "windows" {
gdbexecutable += ".exe"
}
Expand Down
0