Re: Kernel with debugging info

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

 



--- Frank Schaefer <frank.schafer@setuza.cz> wrote:
> Hi there,
> 
> Does anybody know, how to build a kernel with debug info? There
> isn't a
> appropriate option in ``make *config''.
> Will it be sufficient to add the -g switch to the CFLAGS in the
> main
> Makefile?
> 

Hmmm...debug info...  Are you talking about using kdbg or some other
debugger?

In that case, you need to patch the kernel to make debugging options
available.  After patching, you rebuild your kernel.  The patch makes
available new options under "Kernel Hacking" when using xconfig.

For the patch, FAQ, etc. see http://kgdb.sourceforge.net/

Hope this is what you're looking for.

--Christine

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
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