Re: kernel debugging

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

 



Hi

On Thu, Jul 24, 2008 at 11:57 AM, amol verule <amol.debian@xxxxxxxxx> wrote:
> hi to all,
>              how to debug kernel and vmlinuz using kgdb or kdb.which one is
> better?
> where to use kgdb and kdb?

kdb: you just need one machine....because you can debug the machine directly...

kdgb: you need to machines, the debugged machine and debugger
machine...you connect both with serial cable IIRC.

I think kgdb has several advantages as you can easily trap everything,
from boot code to interrupt handler. While I believe kdb has certain
limitation due to its interactivity nature.

Somebody may CMIIW...

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