Skip to content

Commit

Permalink
debug: pass objdump path to resolve globals
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pillo79 committed Dec 6, 2023
1 parent 0e673fa commit 3db75e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ debug.server.openocd.scripts_dir={runtime.platform.path}{pathsep}tools{pathsep}o
debug.server.openocd.scripts.0=board{pathsep}{debug_script.{build.mcu}}
debug.svd_file={runtime.platform.path}{pathsep}tools{pathsep}ide-debug{pathsep}svd{pathsep}{build.mcu}.svd

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

Expand Down

0 comments on commit 3db75e7

Please sign in to comment.