Get kgdb working with the imx8mq
gdb can connect over the serial port to the imx8m but cannot set break points. I think it might be due to RO kernel sections.
Here is a patch to allow disabling CONFIG_STRICT_KERNEL_RWX but it still can't write breakpoints
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information