From owner-freebsd-hackers Fri Jun 29 21:14:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36]) by hub.freebsd.org (Postfix) with ESMTP id E0CE437B401 for ; Fri, 29 Jun 2001 21:14:52 -0700 (PDT) (envelope-from FastPathNow@netscape.net) Received: from FastPathNow@netscape.net by imo-d04.mx.aol.com (mail_out_v30.22.) id n.c7.6e45ec (16241) for ; Sat, 30 Jun 2001 00:14:51 -0400 (EDT) Received: from netscape.com (aimmail02.aim.aol.com [205.188.144.194]) by air-in03.mx.aol.com (v78_r3.8) with ESMTP; Sat, 30 Jun 2001 00:14:51 -0400 Date: Sat, 30 Jun 2001 00:14:51 -0400 From: FastPathNow@netscape.net To: freebsd-hackers@freebsd.org Subject: Quick question on kgdb Mime-Version: 1.0 Message-ID: <3A8E33FD.61BB4DDA.375A6AF3@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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