Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2001 00:14:51 -0400
From:      FastPathNow@netscape.net
To:        freebsd-hackers@freebsd.org
Subject:   Quick question on kgdb
Message-ID:  <3A8E33FD.61BB4DDA.375A6AF3@netscape.net>

next in thread | raw e-mail | index | archive | help
if I wish to use Kgdb, I build the kernel with the following set of steps from

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Since I make my own modifications to the source code I do the following

Change to the /usr/src directory
    # cd /usr/src
Compile the kernel.
    # make buildkernel KERNCONF=MYKERNEL
Install the new kernel.
    # make installkernel KERNCONF=MYKERNEL

MYKERNEL has the DEBUG=-g options for the make (I modified /usr/src/sys/i386/conf/MYKERNEL)

when I load up the installed kernel in / with 'gdb -k kernel' .. it says debugging symbols not found....

Am i loading up the right file ?. Is is supposed to have the symbols in it?

Regards
-AG
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8E33FD.61BB4DDA.375A6AF3>