lkml.org 
[lkml]   [2008]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKGDB 2..26 fails to wait while booting
Thanks Jason. I got it working, but is it possible to enable kdb with kgdb. 
How can I debug the kernel early. In kdb we have option called as kdb=early, can we do the same in kgdb. I tried to set breakpoint in kgdb at start_kernel, it looks like kgdb executed past the start_kernel code.Hence break point does not work.
Please let me know how to enable debug early kernel option in KGDB.

Thanks
Amruth p.v


--- On Mon, 8/18/08, Jason Wessel <jason.wessel@windriver.com> wrote:

> From: Jason Wessel <jason.wessel@windriver.com>
> Subject: Re: KGDB 2..26 fails to wait while booting
> To: amruth_pv@yahoo.com
> Cc: linux-kernel@vger.kernel.org
> Date: Monday, August 18, 2008, 9:05 AM
> amruth wrote:
> > Hi
> > I have created 2.6.26 kernel with KGDB enabled but the
> system fails to
> wait. Can anybody provide me detailed info on how to setup
> the grub
> configuration to wait until gdb connects from development
> machine.
> > Thanks
> > Amruth p.v
> >
> >
> >
> >
> > --
> > To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>
> What parameters did you use in grub?
>
> Generally speaking you have to setup the boot parameters to
> be something
> like:
>
> kgdboc=ttyS0,115200 kgdbwait
>
> Jason.
>
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/






\
 
 \ /
  Last update: 2008-08-18 17:39    [W:0.211 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site