cortexm-debug extension message: 'WARNING: Cortex-Debug will deprecate use of GDB version 8. Please upgrade to version 9+'

Hi.

The VS code extension Cortex-Debug reports:

'WARNING: Cortex-Debug will deprecate use of GDB version 8. Please upgrade to version 9+'

The manual installation instructions at https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#install-the-gnu-arm-embedded-toolchain state:

To be able to cross-compile your applications for Arm targets, you must install version 9-2019-q4-major of the GNU Arm Embedded Toolchain.

Important

Make sure to install the toolchain version that is mentioned above. Other toolchain versions might not work with this version of the nRF Connect SDK. Similarly, other versions of the nRF Connect SDK might require a different toolchain version.

Do not use GNU Arm Embedded Toolchain versions 9-2020-q2-update and 10-2020-q4-major due to TF-M sample incompatibility issue. These versions do not work correctly when compiling binaries for Cortex-M Secure Extensions.

The gdb included in the recommended toolchain is a version 8.

Newer toolchains are currently not recommended.

Please make sure that when the deprecation kicks in, that the VScode debug extension works with a recommended toolchain.

Would it be possible to use 11.2-2022.02 from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads or does that version also suffer from the TF-M issue?

Related