[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging LKMs with GDB
kgdb should help.
http://kgdb.linsyssoft.com/
~A
On Sun, 7 Nov 2004, Shakthi Kannan wrote:
> 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/
>
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/