From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a858a20a7f681de3 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-01 08:00:07 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!ajo.zk3.dec.com!hunch.zk3.dec.com!duane From: duane@hunch.zk3.dec.com (Andrew Duane USG) Newsgroups: comp.unix.tru64 Subject: Re: Kernel debugging .. Date: 27 Jul 2001 13:33:02 GMT Organization: Digital Equipment Corporation Message-ID: <9jrqif$7le1$1@lead.zk3.dec.com> References: <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> NNTP-Posting-Host: hunch.zk3.dec.com X-Trace: lead.zk3.dec.com 996240783 251329 16.141.0.43 (27 Jul 2001 13:33:02 GMT) X-Complaints-To: iass@ajo.zk3.dec.com NNTP-Posting-Date: 27 Jul 2001 13:33:02 GMT Xref: archiver1.google.com comp.unix.tru64:4018 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