Skip to main content
Wjian.1
Associate III
August 8, 2020
Question

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

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

This topic has been closed for replies.

1 reply

ArmandG
ST Employee
August 10, 2020

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