From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 8 19:45:01 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF0C16A41C for ; Wed, 8 Jun 2005 19:45:01 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from gate.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F8743D1F for ; Wed, 8 Jun 2005 19:45:01 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by gate.bitblocks.com (8.13.3/8.13.1) with ESMTP id j58Jj0J3088231; Wed, 8 Jun 2005 12:45:00 -0700 (PDT) (envelope-from bakul@bitblocks.com) Message-Id: <200506081945.j58Jj0J3088231@gate.bitblocks.com> To: qemu-devel@nongnu.org In-reply-to: Your message of "Wed, 08 Jun 2005 11:55:07 PDT." <200506081855.j58It7m2087868@gate.bitblocks.com> Date: Wed, 08 Jun 2005 12:45:00 -0700 From: Bakul Shah Cc: hackers@freebsd.org Subject: Re: [Qemu-devel] Re: debugging with Qemu X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 19:45:01 -0000 > I am using kqemu and qemu built from May 2 snapshot if that > matters. This was a stock 5.4-RELEASE complied locallly > with > > makeoptions DEBUG=-g > > added the kernel config file. The host was also running 5.4 > but that should not matter. Ugh... Should've done a diff with GENERIC since the options are needed for debugging: --- /sys/i386/conf/GENERIC Tue Apr 12 12:50:23 2005 +++ /sys/i386/conf/DUMBLEDORE Mon May 9 17:51:10 2005 @@ -58,6 +58,12 @@ # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. +options KDB +options DDB +options GDB +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols + + device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots