Re: debugging a module under uml kernel using kgdb

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

 



Hi...

On Wed, Mar 5, 2008 at 7:30 PM, rajesh R <rjsh23@xxxxxxxxx> wrote:
> Hi,
>
> 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. "

first, make sure, is kgdb already ported to UML? remember that kgdb is
arch dependent whereas UML itself is considered as "arch".

Why not simply use gdb and  hook it to UML processes?

>
> Another point is i want to use the latest kernel , ie 2.6.24
> but there is no kgdb patch for it. Are we forced to use
> back kernels that supported by kgdb fokes. ? Any way out ?

use printk/systemtap/kprobes instead?

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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