*BSD News Article 56003


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: enabling crash dumps
Date: 4 Dec 1995 22:45:53 GMT
Organization: Private BSD site, Dresden
Lines: 28
Message-ID: <49vtn1$99f@uriah.heep.sax.de>
References: <49i9ps$cos@scratchy.mosquito.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

boot@no.such.domain (Bruce Bauman) writes:

> First, after configuring my kernel with config -g, I get an undefined symbol
> at link time:
> 
> 
> loading kernel

> .../../kern/tty.c:2146: Undefined symbol `_ttyprintf' referenced
from text segment

Have you really recompiled from scratch?

> Second, I'm a little unclear about what I need to do to debug with
> kgdb. Do I need to enable options KGDB in the kernel config file? I
> found several #ifdefs in the kernel sources, but couldn't find any
> documentation telling me what to do.

You don't need to care.  KGDB is defunct.  kgdb (alias gdb -k) is
something different.  Stick with the kernel-debug section in the
handbook.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)