Change following parameter for custom kernel development during KGDB setup :
CONFIG_STRICT_DEVMEM = n
CONFIG_KGDB_KDB = y
CONFIG_KGDB_KDB = y
CONFIG_KDB_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_RODATA=n => kernel hacking => write protect kernel read only data strucuture
Reference :
https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/quickKDBkeyboard.html
http://landley.net/kdocs/Documentation/DocBook/xhtml-nochunks/kgdb.html#CompilingAKernel
https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/
CONFIG_STRICT_DEVMEM = n
CONFIG_KGDB_KDB = y
CONFIG_KGDB_KDB = y
CONFIG_KDB_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_RODATA=n => kernel hacking => write protect kernel read only data strucuture
Reference :
https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/quickKDBkeyboard.html
http://landley.net/kdocs/Documentation/DocBook/xhtml-nochunks/kgdb.html#CompilingAKernel
https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/