Skip to content

Commit c8f33b1

Browse files
Removing absolute paths to compiler executables
VSCode exporter was generating a launch config that contained absolute paths to the compiler executables. It makes more sense to use the executables that are installed into the system PATH.
1 parent f0ec856 commit c8f33b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/export/vscode/launch.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
},
3636
"linux": {
3737
"MIMode": "gdb",
38-
"MIDebuggerPath": "/usr/bin/arm-none-eabi-gdb",
38+
"MIDebuggerPath": "arm-none-eabi-gdb",
3939
"debugServerPath": "pyocd-gdbserver"
4040
},
4141
"osx": {
4242
"MIMode": "gdb",
43-
"MIDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb",
43+
"MIDebuggerPath": "arm-none-eabi-gdb",
4444
"debugServerPath": "pyocd-gdbserver"
4545
},
4646
"windows": {
4747
"preLaunchTask": "make.exe",
4848
"MIMode": "gdb",
49-
"MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\6 2017-q1-update\\bin\\arm-none-eabi-gdb.exe",
49+
"MIDebuggerPath": "arm-none-eabi-gdb.exe",
5050
"debugServerPath": "pyocd-gdbserver.exe",
5151
"setupCommands": [
5252
{ "text": "-environment-cd ${workspaceRoot}\\BUILD" },

0 commit comments

Comments
 (0)