Repository navigation
Use version-neutral OpenOCD port commands - #659
Open
MarianSavchuk wants to merge 1 commit into
Open
MarianSavchuk wants to merge 1 commit into
MarianSavchuk wants to merge 1 commit into
Conversation
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
Contributor
|
I guess it is ok, but I'll ask the openocd guys to confirm this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use the new
gdb port/telnet port/tcl portsubcommands when OpenOCD provides them, and fall back togdb_port/telnet_port/tcl_portotherwise.Tested on Windows 11 with xPack OpenOCD 0.12.0-7 and stock v0.12.0 (see #658).
Fixes #658