when I use kgdb debugging kernel...

Adam Lee adam8157 at gmail.com
Sat Jan 10 10:27:57 EST 2015


On Sat, Jan 10, 2015 at 02:33:43PM +0800, sizel wrote:
> when I use kgdb debugging kernel, I have added the "kgdbwait" to the kernel
> boot options, bug the system can't stop at booting for my gdb to connect
> 
> In gdb session , type continue . It outputs "The program is not run"
> 

Seems like you only connected console but not kgdb serial, check the
kernel parameter "kgdboc".

FYI, https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/kgdbKernelArgs.html

-- 
Adam Lee
http://adam8157.info



More information about the Kernelnewbies mailing list