*BSD News Article 27680


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!ucunix.san.uc.edu!not-for-mail
From: hwangw@ucunix.san.uc.edu (Wei-chun Hwang)
Newsgroups: comp.os.386bsd.questions
Subject: HELP.. How to debug KERNEL
Date: 24 Feb 1994 15:48:58 -0500
Organization: University of Cincinnati
Lines: 11
Sender: hwangw@ucunix.san.uc.edu
Distribution: world
Message-ID: <2kj3rq$qkt@ucunix.san.uc.edu>
NNTP-Posting-Host: ucunix.san.uc.edu


Hi :
    I am a novice in 4.3 freeBSD.   
    I recompiled my kernel ( Got a 386bsd file ) and tried to debug it. IN the 
    /src/sys/ROADMAP file, I found "gdb -k /386BSD  /dev/mem". I used it, but
    I can not get the SYMBOL-FILE.  Can any one tell my the name of the symbol
    file.( I try to use symbol-file command in gdb, but it did not work).
    OR, could anyone tell me any other better way to debug (not printf..).
    Thanks in advance!! 
                  WeI