Skip to main content
Visitor II
August 8, 2020
Question

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

  • August 8, 2020
  • 1 reply
  • 904 views

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

    This topic has been closed for replies.

    1 reply

    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