Skip to main content
doctek
Associate II
October 1, 2024
Solved

Where is ST-LINK_gdbserver?

  • October 1, 2024
  • 1 reply
  • 4972 views

ST-LINK_gdbserver has been a very important part of my Arduino development with ST micros. I've used it extensively with the STM32L071 and am wanting to use it with the STMU073. But I need to upgrade it for the newer micro. So I've upgraded my CubeMX and my CubeProgrammer.

However, ST-LINK_gdbserver is nowhere to be found! Could someone please tell me where to find it? I've looked everywhere (I think) and done lots of searching. Any help would be appreciated!

TIA

Best answer by Semer CHERNI

Hello @doctek 

First let me thank you for posting.

The STM32CubeMX does not contain the GDB server as it is only generating the code.

The GDB server is part of STM32CubeIDE tool. It could be found under the plugin folder in the STM32CubeIDE installation repository.

KR,
Semer.

1 reply

Semer CHERNI
Semer CHERNIBest answer
ST Employee
October 1, 2024

Hello @doctek 

First let me thank you for posting.

The STM32CubeMX does not contain the GDB server as it is only generating the code.

The GDB server is part of STM32CubeIDE tool. It could be found under the plugin folder in the STM32CubeIDE installation repository.

KR,
Semer.

doctek
doctekAuthor
Associate II
October 2, 2024

Thank you for your response. I have installed version 1.60 of STM32CubeIDE (version 1.61 is not available for Ubuntu 24.04) and I find com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.linux64_2.1.400.202404281720 in the plugins. I think this is what I'm after. Can you verify?

Thank you.

doctek
doctekAuthor
Associate II
October 2, 2024

That was actually a *** question. Sorry! In that directory is tools/bin and in there is ST-LINK_gdbserver.

Thank you!