tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Debugging and DU4.0B
@ 1997-02-28  8:58 Marco Campani
  0 siblings, 0 replies; only message in thread
From: Marco Campani @ 1997-02-28  8:58 UTC (permalink / raw)
  To: tru64-unix-managers


	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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-02-28  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-28  8:58 SUMMARY: Debugging and DU4.0B Marco Campani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox