Skip to content

Commit ac44685

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 55d515b commit ac44685

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
@@ -298,6 +298,7 @@ debug.server.openocd.scripts_dir.windows={runtime.platform.path}\tools\openocd-e
298298
debug.server.openocd.scripts.0=board/{debug_script.{build.mcu}}
299299
debug.svd_file={runtime.platform.path}/tools/ide-debug/svd/{build.mcu}.svd
300300

301+
debug.cortex-debug.custom.objdumpPath={compiler.path}{compiler.prefix}objdump
301302
debug.cortex-debug.custom.request=attach
302303
debug.additional_config=debug_config.{build.mcu}
303304

0 commit comments

Comments
 (0)