GDB thread debugging

Hello everyone!

This is my first meet with this group and Riot RTOS.

I’m just starting with Riot on SiLab EFM32GG family.

I have one main question, if there is any option to switch between Riot threads, or there is only possibility to debug IDLE Thread ?

Could you describe me any other option to debug threads and Riot, If there is no option to debug it in GDB

Best regards, and thanks for help Michal

Hi Michal,

This is my first meet with this group and Riot RTOS.

welcome to the RIOT! :smiley:

I have one main question, if there is any option to switch between Riot threads, or there is only possibility to debug IDLE Thread ?

Could you describe me any other option to debug threads and Riot, If there is no option to debug it in GDB

There's a patched version of OpenOCD that support RIOT's threading: cortex_m: Add debug symbols for OpenOCD/GDB thread support by daniel-k · Pull Request #4058 · RIOT-OS/RIOT · GitHub -> GitHub - daniel-k/openocd: My fork and contributions of OpenOCD

I hope that helps.

Cheers Oleg

Hi Oleg,

thanks for information , it helps a lot:)

is here someone who tried to send standard output to SWO terminal with OpenOCD ?

Rock and RIOT! :slight_smile: