Skip to content

Commit af3a89b

Browse files
committed
feat(debug): pass objdump path to resolve globals
Cortex-debug requires objdump to be in the same folder as gdb, or needs the full path to the executable in the `launch.json` file. This is now possible with the new debugging API.
1 parent 5b2cdf0 commit af3a89b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: platform.txt

+1
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ debug.server.openocd.scripts_dir.windows={runtime.platform.path}\tools\openocd-e
262262
debug.server.openocd.scripts.0=board/{debug_script.{build.mcu}}
263263
debug.svd_file={runtime.platform.path}/tools/ide-debug/svd/{build.mcu}.svd
264264

265+
debug.cortex-debug.custom.objdumpPath={compiler.path}{compiler.prefix}objdump
265266
debug.cortex-debug.custom.request=attach
266267
debug.additional_config=debug_config.{build.mcu}
267268

0 commit comments

Comments
 (0)