apm problem and kernel debugging

Jesse Guardiani jesse at wingnet.net
Fri Dec 5 07:19:22 PST 2003


Howdy list,

I submitted this PR a few days ago:

http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/59876

And at the time, I thought that the backtrace I provided
was decent. However, I've since taken a look at some other
kernel backtraces on the web and I now realize that my
backtrace didn't include line numbers and source code
references.

The backtrace in the problem report was taken using the
software watchdog and what I _thought_ was a debug kernel.
For example, it was compiled with:

makeoptions     DEBUG=-g
options         WATCHDOG
options         DDB
options         INVARIANTS
options         INVARIANT_SUPPORT
options         WITNESS
options         WITNESS_SKIPSPIN

So how do I make that backtrace include line numbers and
source code references? I'm assuming that's why nobody has
responded to my PR yet, and I'd like to provide as much
info as possible.

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




More information about the freebsd-current mailing list