Re: debugging a module under uml kernel using kgdb

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

 



Hi,

Le Wed, 5 Mar 2008 18:00:38 +0530,
"rajesh R" <rjsh23@xxxxxxxxx> a écrit :

> I am trying to debug a kernel module (learning purpose)
> using kgdb. My test machine is a UML machine (instance).
> After applying kgdb patches i do not get the kgdb option
> by doing "$ make xconfig ARCH=um. "

You don't need to use kgdb to debug an UML kernel, you can simply use
the normal gdb:
 http://user-mode-linux.sourceforge.net/hacking.html

(See the bottom of the page for specific instructions about how to
debug kernel modules under UML with gdb.)

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

Attachment: signature.asc
Description: PGP signature


[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