*BSD News Article 74048


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newscaster-1.mcast.net!cs.tu-berlin.de!loewis
From: loewis@cs.tu-berlin.de (Martin v.Loewis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Kernel debugger
Date: 17 Jul 1996 23:56:05 GMT
Organization: Technical University of Berlin, Germany
Lines: 15
Message-ID: <4sjuil$215@news.cs.tu-berlin.de>
NNTP-Posting-Host: cent.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Is there a kernel debugger available for FreeBSD 2.1R? The kernel seems
to support kadb, kgdb, and ddb. There is a man page for ddb. I could not
find any of these tools, though.
If there is, does it support
- local debugging
- symbolic debugging
- breakpoints and single stepping

If there is none, how would one reasonably investigate a problem?
To take a random example :-), suppose your new file system driver would
load, but mount(2) would return EINVAL before the VFS init function is
called. How would you locate the problem?

TIA,
Martin