Skip to content

Use version-neutral OpenOCD port commands - #659

Open
MarianSavchuk wants to merge 1 commit into
eclipse-embed-cdt:developfrom
MarianSavchuk:issue-658-openocd-port-commands
Open

MarianSavchuk wants to merge 1 commit into
eclipse-embed-cdt:developfrom
MarianSavchuk:issue-658-openocd-port-commands

Conversation

@MarianSavchuk

Copy link
Copy Markdown

Use the new gdb port / telnet port / tcl port subcommands when OpenOCD provides them, and fall back to gdb_port / telnet_port / tcl_port otherwise.

Tested on Windows 11 with xPack OpenOCD 0.12.0-7 and stock v0.12.0 (see #658).

Fixes #658

Current OpenOCD replaced gdb_port / telnet_port / tcl_port with the
"gdb port" / "telnet port" / "tcl port" subcommands and prints a
DEPRECATED! warning for each old name. No released OpenOCD has the new
syntax yet; v0.12.0 accepts only the old names.

Let OpenOCD choose: use the new subcommand when the command group exists
("info commands"), and the old command otherwise. Each port is checked
on its own, because the gdb/tcl and telnet changes landed separately.

See eclipse-embed-cdt#658
@ilg-ul

ilg-ul commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

I guess it is ok, but I'll ask the openocd guys to confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants