From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810575.tru64-unix-managers.marc@archive.invalid> From: "Marco Campani" Date: Fri, 28 Feb 1997 08:58:31 +0000 To: tru64-unix-managers Subject: SUMMARY: Debugging and DU4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810575 Great, in not more than 30 minutes from the mail I've got four answers ... Thanks to: Henrik Sloth [hs@dksin.dk] Robert Romani [romani@mail.dec.com] Olle Eriksson [olle@cb.uu.se] Rainer Landes [rlandes@fphws01.physik.uni-karlsruhe.de] First: the original question Whenever I use dbx or ladebug to debug code on various machine (AS1000 4/233, AS255, AXPpci, ...) the machine panics or hangs. The bug: There is a known (not to me) problem in the kernel debugging routine that manages stepping code. Solution: 1) Compile a new kernel with no KDEBUG option 2) Modify the current kernel: 2.a) For this session only (this means that next time you reboot the bug will turn on again dbx -k /vmunix p db_enable if db_enable is 1 you have the bug assign db_enable = 0 2.b) Permanent modification As in step 2.a for current session + dbx /vmunix (we need the disk image) patch db_enable = 0 This patches the disk image of the executable, so no kernel rebuild is required. Thanks and nice work -- ****************************************************************************** Marco Campani DIFI - Dipartimento di Fisica - Universita' degli Studi di Genova _/_/ _/_/ _/_/ _/_/_/_/ _/_/ _/_/ | INFM - UdR Genova _/_/ _/_/_/ _/_/ _/_/ _/_/_/ _/_/_/ | Via Dodecaneso, 33 _/_/ _/_/ _/ _/_/ _/_/_/_/ _/_/ _/ _/_/ | 16146 - Genova - ITALY _/_/ _/_/ _/_/_/ _/_/ _/_/ _/_/ | Ph: +39 - 10 - 3536311 _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ | Fax: +39 - 10 - 314218 ******************************************************************************