tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Marco Campani" <campa () ge ! INFM ! it>
To: tru64-unix-managers
Subject: SUMMARY: Debugging and DU4.0B
Date: Fri, 28 Feb 1997 08:58:31 +0000	[thread overview]
Message-ID: <96078608810575.tru64-unix-managers.marc@archive.invalid> (raw)


	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

******************************************************************************

                 reply	other threads:[~1997-02-28  8:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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