Re: debugging LKMs with GDB

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

 



Hi,

On Sun, 7 Nov 2004 14:07:47 +0530, Himanshu Chauhan
<meethimanshuchauhan@xxxxxxxxx> wrote:
> As we can debug user space programs with GDB, how can we debug the
> loadable kernel modules
> with GDB. 

I believe it can be done. You can probably even use ddd (Data Display
Debugger). But, you may have to pass /proc/kcore to gdb.

x86

--
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