Re: Kgdb setup for 2.4.20.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 05, 2003 at 04:36:45PM +0530, Deepankar Vidyarthi wrote:
> Hi,
> 
> Any idea how can we set up kgdb for kernel version 2.4.20.
> I could not find any kgdb-patch for this kernel version (as is the case
> with older versions). 

What architecture are you using?
 
> But it seems the support for kgdb has been built-in in this kernel.
> Also, the kgdb.c file (arch/cris/kernel/kgdb.c) says that it can be
> enabled using config option CONFIG_ETRAX_KGDB. But this option is not
> there in the .config file. 
> 
> If anyone has any idea about how to get this running, please let me
> know.

I'm on x86, and as far as I know, there are two options for
me:

  http://kgdb.sourceforge.net/
... which has patches for 2.4.18 RedHat kernels, and

  http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/
... the current mm tree, which includes George Anzinger's patch:
  http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm5/broken-out/kgdb-ga.patch

I guess you could port the kgdb-ga patch to another kernel,
as a third choice.

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux