From owner-freebsd-hackers Wed Aug 1 2:10:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from samar.sasken.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id 0211D37B406 for ; Wed, 1 Aug 2001 02:10:33 -0700 (PDT) (envelope-from pmk@sasken.com) Received: from samar (localhost [127.0.0.1]) by samar.sasken.com (8.11.3/8.11.3) with SMTP id f719AFg25359; Wed, 1 Aug 2001 14:40:17 +0530 (IST) Received: from localhost (pmk@localhost) by sunk2.sasi.com (8.9.3/8.9.3) with ESMTP id OAA03512; Wed, 1 Aug 2001 14:40:12 +0530 (IST) Date: Wed, 1 Aug 2001 14:40:12 +0530 (IST) From: Mohana Krishna Penumetcha X-Sender: To: "Eugene L. Vorokov" Cc: Subject: Re: crash dump output In-Reply-To: <200108010831.f718VCj16040@bugz.infotecs.ru> Message-ID: MIME-Version: 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 On Wed, 1 Aug 2001, Eugene L. Vorokov wrote: > Yet another issue, I have run config -g, then make depend, make and > make install.debug. But my /kernel is still about 2mb long, which probably > means it's not really debug kernel. However I see kernel.debug in the > compile directory which is about 8mb long. Should I copy it manually to the > / and boot this one ? The kernel.debug is the kernel with all debug symbol information. The symbol information is removed from this file and installed as /kernel. The difference in file sizes should make it obvious why the symbol information is removed. you can see this in the make output, all object files are linked to kernel.debug and after that 'objcopy' strips of all symbols. once you have the core file, invoke the gdb(with -k option), specify the kernel.debug as symbol file and /kernel as exec file. all this is explained more clearly in the handbook (/usr/share/doc/handbook/book.txt) regards, mohan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message