Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: harris@zk3.dec.com (Bob Harris)
Subject: Re: Digital Unix 4.0B and Debug
Date: 1997/05/21	[thread overview]
Message-ID: <harris-ya023680002105971011170001@usenet.pa.dec.com> (raw)
In-Reply-To: EAHB9G.7I0@fsa.bris.ac.uk


In article <EAHB9G.7I0@fsa.bris.ac.uk>, 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.



  reply	other threads:[~1997-05-21  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-17  4:00 Digital Unix 4.0B and Debug Lefteris Tsintjelis
1997-05-19  4:00 ` Jeff Diewald
1997-05-19  4:00 ` Malcolm Beattie
1997-05-19  4:00 ` Bob Farquharson
1997-05-20  4:00   ` Mark Taylor
1997-05-21  4:00     ` Bob Harris [this message]
1997-05-20  4:00 ` EMMANUEL CHOQUET
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