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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to