為了添加kgdb支持添加了下面的 內(nèi)核編譯選項(xiàng)(根據(jù)網(wǎng)上的前人配置的,應(yīng)該是沒錯):
General setup
-> Prompt for development and/or incomplete code/drivers
Kernel hacking -->
Kernel debugging
compile the kernel with debug info
KGDG: kernel debugging with remote gdb -->
KGDB: use kgdb over the serial console
其他都是默認(rèn),好多配置選線更沒有找到,不過我相信是因?yàn)閮?nèi)核版本的問題。