Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: duane@hunch.zk3.dec.com (Andrew Duane USG)
Subject: Re: Kernel debugging ..
Date: 27 Jul 2001 13:33:02 GMT	[thread overview]
Message-ID: <9jrqif$7le1$1@lead.zk3.dec.com> (raw)
In-Reply-To: 2f6bec0a.0107250034.3f8a3a2e@posting.google.com

In article <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> banny52@yahoo.com (Ginny E. Kim) writes:
>I got following message while I am willing to debugging kernel..
>
>[/]#dbx -k /vmunix
>dbx version 5.1
>Type 'help' for help.
>
>main:    Source not available
>
>warning: Files compiled -g3: parameter values probably wrong
>(dbx) 
>
>
>How can I do to use -g compiling option?

Unless you have a source license and distribution, you can't.
Most (98% or so) of the kernel is compiled at Compaq and shipped
as object files. There is no way to recompile them with -g.

Also, using -g would increase the space required at least 100%,
and (due to the extra code needed to preserve everything) slow
the kernel down considerably.

-g3 is sufficient for almost all debugging needs. See the documentation
on kernel debugging for more information on how to work around some of
the few issues.

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
Compaq Computer Corporation		(603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH    03062-2698




  parent reply	other threads:[~2001-07-27 13:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-25  8:34 Kernel debugging Ginny E. Kim
2001-07-25 14:43 ` Bob Harris
2001-07-27 13:33 ` Andrew Duane USG [this message]
2001-08-02  4:02   ` Ginny E. Kim
2001-08-02 14:23     ` Tony Verhulst
2001-08-01  1:41 ` Ric Werme
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox