Skip to content

Commit 4a74304

Browse files
rsoracmaglie
rsora
authored andcommitted
Refined gdb command line based on debugger tests
1 parent fd074dc commit 4a74304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose
227227
tools.gdb.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
228228
tools.gdb.cmd=arm-none-eabi-gdb
229229
tools.gdb.cmd.windows=arm-none-eabi-gdb.exe
230-
tools.gdb.debug.pattern="{path}/{cmd}" -ex "set pagination off" -ex 'target extended-remote | {tools.openocd.path}/{tools.openocd.cmd} -s "{tools.openocd.path}/share/openocd/scripts/" --file "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "gdb_port pipe" -c "telnet_port 0" -c init -c halt' {build.path}/{build.project_name}.elf
230+
tools.gdb.debug.pattern="{path}/{cmd}" --interpreter=mi2 -ex "set pagination off" -ex 'target extended-remote | {tools.openocd.path}/{tools.openocd.cmd} -s "{tools.openocd.path}/share/openocd/scripts/" --file "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "gdb_port pipe" -c "telnet_port 0"' {build.path}/{build.project_name}.elf

0 commit comments

Comments
 (0)