Skip to main content
Associate III
March 5, 2024
Question

It seems that the shipped arm-eabi-none-gdb with CLT does not have -tui support. Is it confirmed?

  • March 5, 2024
  • 1 reply
  • 2004 views

The error message I got is the following:

C:\ST\STM32CubeCLT\GNU-tools-for-STM32\bin\arm-none-eabi-gdb.exe: TUI mode is not supported

My gdb version:

GNU gdb (GNU Tools for STM32 11.3.rel1.20230912-1600) 12.1.90.20220802-git
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Is it confirmed that this version has no TUI? 

1 reply

Uwe Bonnes
Chief
March 5, 2024

I can not confirm or deny. But "show configuration" in gdb will tell about compiled options. And "tui" will about tui. But maybe your system GDB is compiled with "multiarch". E.g. for SUSE is is multiarch and I do not longer need to care for the ARM gdb requiring a very special python version or crash/

ubaldotAuthor
Associate III
March 6, 2024

Thanks for your reply. The command show configuration shows:

This GDB was configured as follows:
configure --host=x86_64-w64-mingw32 --target=arm-none-eabi
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--with-expat
--with-gdb-datadir=/build/gnu-tools-for-stm32_11.3.rel1.20230912-1600/install-mingw/arm-none-eabi/share/gdb (relocatable)
--with-jit-reader-dir=/build/gnu-tools-for-stm32_11.3.rel1.20230912-1600/install-mingw/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--without-babeltrace
--without-intel-pt
--without-mpfr
--without-xxhash
--without-python
--without-python-libdir
--without-debuginfod
--without-guile
--disable-source-highlight
--with-separate-debug-dir=/build/gnu-tools-for-stm32_11.3.rel1.20230912-1600/install-mingw/lib/debug (relocatable)
--with-system-gdbinit=/build/gnu-tools-for-stm32_11.3.rel1.20230912-1600/install-mingw/x86_64-w64-mingw32/arm-none-eabi/lib/gdbinit (relocatable)

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)

which suggests me that there is no python support but I cannot see anything related to the TUI. I am working on Windows 10.