Skip to content

openocd version doesn't support thread info #67

@comotion

Description

@comotion

Hi,
I need thread info for debugging my zephyr apps on stm32wb
with zephyr sdk 0.17.0 I get the following

$ west debug --runner openocd
-- west debug: rebuilding
GenerateVersionHeader.cmake
-- west debug: using runner openocd
-- runners.openocd: OpenOCD GDB server running on port 3333; update OpenOCD software for thread info
Open On-Chip Debugger 0.11.0+dev-00728-gb6f95a16c-dirty (2024-10-20-01:26)

and zephyr 3.7.1's scripts/west_commands/runners/openocd.py:supports_thread_info() looks for versions bigger than 0.11.0, so this check fails. Indeed, the openocd shipped with zephyr-sdk does not provide thread info in zephyr, which I can verify with the info threads command in gdb. I'm wondering if this is an oversight, or there is another reason why the openocd binary is built from old sources?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions