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-07-31 18:41:30 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.70!typhoon.ne.mediaone.net.POSTED!not-for-mail Newsgroups: comp.unix.tru64 Subject: Re: Kernel debugging .. References: <2f6bec0a.0107250034.3f8a3a2e@posting.google.com> From: Ric Werme X-Newsreader: NN version 6.5.0 CURRENT #119 Message-ID: Date: Wed, 01 Aug 2001 01:41:28 GMT NNTP-Posting-Host: 24.168.185.9 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 996630088 24.168.185.9 (Tue, 31 Jul 2001 21:41:28 EDT) NNTP-Posting-Date: Tue, 31 Jul 2001 21:41:28 EDT Organization: Road Runner Xref: archiver1.google.com comp.unix.tru64:4002 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? The basic answer is that you need the source code license. Expensive. The meaning behind the message is to say that whenever you look at stack traces or local variables, you may not get the right data or dbx will say that they have been optimised away. You should get the same message debugging user applications that were compiled with -g3. (-g3 says to generate debugging information, but optimize the code anyway.) -- Ric Werme | werme@nospam.mediaone.net http://people.ne.mediaone.net/werme | ^^^^^^^ delete