From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d9ab08a1d8ff2548 X-Google-Attributes: gidfee84,public From: harris@zk3.dec.com (Bob Harris) Subject: Re: Digital Unix 4.0B and Debug Date: 1997/05/21 Message-ID: #1/1 X-Deja-AN: 242845920 References: <337D68AC.DE6AD04C@csd.hol.gr> <3380c109.4715987@news.globalnet.co.uk> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article , chmbt@zeus.bris.ac.uk (Mark Taylor) wrote: >On Mon, 19 May 1997 21:11:40 GMT Bob Farquharson (rfarq@global.net) wrote: >Hm, I tried this but with no success: > > # ladebug -k /vmunix > (ladebug) set dba_enable = 0 > Unable to obtain the kernel threadlist from DPI. The symbol is db_enable. >and > > # dbx /vmunix It is "dbx -k /vmunix". The -k is important. And the name is again wrong. db_enable # dbx -l vmunix (dbx) print db_enable (dbx) assign db_enable=0 # set in memory value (dbx) patch db_enable=0 # patch on disk /vmunix file >I have removed the KDEBUG option from the kernel config file, but >I'd like to get a fix without requiring a reboot. Don't forget to do a rebuild of the kernel and copy the new kernel to /vmunix before doing the reboot doconfig -c HOSTNAME ... cp /sys/HOSTNAME/vmunix /vmunix -- Bob Harris "I don't get to tell me what to do, I only get to tell me how to do it." Comments expressed here are my own and _NOT_ those of my employer.