commit | c2419fc006d8c246707d1ae3e196359cce06d3b0 | [log] [tgz] |
---|---|---|
author | Benjamin Valentin <benjamin.valentin@ml-pa.com> | Mon Apr 29 21:31:11 2019 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed May 01 10:40:59 2019 -0400 |
tree | 4b018aea59e359e8416f8d09df66bc79dfdb0dae | |
parent | 3ac8fa5c00b6d57ad3098b3ffbbf0af84a3045cb [diff] |
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: Benjamin Valentin <benjamin.valentin@ml-pa.com>