cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enable the KGDB tool to debug the kernel in stm32mp157 platform

Wjian.1
Associate II

Could you give me some advice on how to debug the kernel through KGDB,

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
ArmandG
ST Employee

Hello @Wjian.1​ ,

You have to enable the KGDB tool in the Kernel Menuconfig. Go to "Kernel Hacking" and then enable "KGDB: kernel debugger"

https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel

You can find more informations for using KGDB at this link:

https://mirrors.edge.kernel.org/pub/linux/kernel/people/jwessel/kdb/

Regards,

Armand