Skip to content

Commit 3db75e7

Browse files
committed
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 0e673fa commit 3db75e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform.txt

+1
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ debug.server.openocd.scripts_dir={runtime.platform.path}{pathsep}tools{pathsep}o
267267
debug.server.openocd.scripts.0=board{pathsep}{debug_script.{build.mcu}}
268268
debug.svd_file={runtime.platform.path}{pathsep}tools{pathsep}ide-debug{pathsep}svd{pathsep}{build.mcu}.svd
269269

270+
debug.cortex-debug.custom.objdumpPath={compiler.path}{compiler.prefix}objdump{binext}
270271
debug.cortex-debug.custom.request=attach
271272
debug.additional_config=debug_config.{build.mcu}
272273

0 commit comments

Comments
 (0)