Skip to content
Commit c2419fc0 authored by Benjamin Valentin's avatar Benjamin Valentin Committed by Anas Nashif
Browse files

cmake: gdb: use gdb-multiarch if ${CROSS_COMPILE}gdb is not availiable



Modern versions of GDB support multiple architectures
with the same binary.
In fact, Ubuntu stopped shipping a gdb-arm-none-eabi
package, gdb-multiarch should be used instead.

This fixes a failure on those systems where otherwise CMAKE_GDB will be
assigned to CMAKE_GDB-NOTFOUND.

Signed-off-by: default avatarBenjamin Valentin <benjamin.valentin@ml-pa.com>
parent 3ac8fa5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment