From mboxrd@z Thu Jan 1 00:00:00 1970 From: adam8157@gmail.com (Adam Lee) Date: Sat, 10 Jan 2015 23:27:57 +0800 Subject: when I use kgdb debugging kernel... In-Reply-To: References: Message-ID: <20150110152757.GA3131@adam-laptop> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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