Re: How do I debug the kernel?

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Humm, not that I know of. And considering we are talking about PC hardware
here (are we?), I can't imagine how it can be possible.

On Tue, Mar 06, 2007 at 03:24:26PM -0500, Mark Hull-Richter wrote:
> I thought there was a way to debug the kernel live on its own machine,
> as long as you have more than one processor (we do) and you don't set a
> breakpoint in synchronization code.
> 
> > -----Original Message-----
> > From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
> > Behalf Of Rodrigo Barbosa
> > Sent: Tuesday, March 06, 2007 11:01 AM
> > To: CentOS mailing list
> > Subject: Re:  How do I debug the kernel?
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Using gdb to debug the kernel is not an easy trick. You will need
> > a kgdb patch for the kernel, and 2 computers. 1 for running the
> kernel,
> > and one for the debuger. These computers should be connected using a
> > serial (RS232) cable.
> > 
> > Please take notice I haven't done this since the 2.0 days, so things
> > might have changed, but I don't expect they changed much.
> > 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFF7dIRpdyWzQ5b5ckRAsF7AKDA5ZH9MAOn2LdKipR08sR4fpZacwCgshhl
aZRyzMUfOpGEiSlqNpW6uJM=
=hy6Y
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux