Skip to content
Commit 3363c64a authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Fabio Baltieri
Browse files

cmake: bintools: gnu: Update GDB executable names for Zephyr SDK 0.15



The Zephyr SDK 0.15.0 release has changed the default GDB executable to
be Python-less and introduced an alternate Python-capable variant
called `gdb-py` (note that the Zephyr SDK previously provided
`gdb-no-py` instead).

This commit updates the CMake toolchain detection routine to attempt
using the Python-capable GDB variant (gdb-py) first and, if it is not
available or fails to launch due to a missing libpython dependency,
use the Python-less GDB variant (gdb).

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent 163b99e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment