Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2005 12:45:00 -0700
From:      Bakul Shah <bakul@BitBlocks.com>
To:        qemu-devel@nongnu.org
Cc:        hackers@freebsd.org
Subject:   Re: [Qemu-devel] Re: debugging with Qemu 
Message-ID:  <200506081945.j58Jj0J3088231@gate.bitblocks.com>
In-Reply-To: Your message of "Wed, 08 Jun 2005 11:55:07 PDT." <200506081855.j58It7m2087868@gate.bitblocks.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506081945.j58Jj0J3088231>