Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 1999 16:34:05 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Greg Lehey <grog@lemis.com>
Cc:        archie@whistle.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: How to use gdb to catch a panic
Message-ID:  <Pine.GSO.3.96.991109163217.10533D-100000@sol.cs.binghamton.edu>
In-Reply-To: <19991109172745.27205@mojave.sitaranetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >
> > Thanks!  I will certainly look into them.  In the same time, I add a
> > sysctl variable and let my program calls Debugger("some string") if that
> > sysctl variable is true.
> 
> I don't understand what that's useful for.

If the kernel routine is going to be called from my code, I set the sysctl
variable to be 1.

> 
> > It seems working.  I hope someone will write a hacker's book.
> 
> I'm intending to write something on the subject, but don't count on it
> soon.

Maybe in a newer version of your book.

> Greg
> --



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991109163217.10533D-100000>