Date: Mon, 27 May 2002 11:12:47 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: freebsd-current@FreeBSD.ORG Subject: Re: gdb breaks world Message-ID: <7mznyme3ts.wl@black.imgsrc.co.jp> In-Reply-To: <20020522115339.A81067@dragon.nuxi.com> References: <20020518125604.A72462@troutmask.apl.washington.edu> <20020519180529.A81591@troutmask.apl.washington.edu> <3CE8642A.E00F6663@mindspring.com> <200205220957.24351.dfr@nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 22 May 2002 18:54:02 +0000 (UTC), David O'Brien wrote: > -ggdb means to use the most "expressive" debugging format the compiler > knows about. You want -gstabs+ or -gstabs I cannot debug a kernel with -gstabs+ option. Any hints about this? % cd sys/i386/compile/WATERBLUE % grep gdb ../../conf/WATERBLUE makeoptions DEBUG=-gstabs+ #Build kernel with gdb(1) debug symbols % sudo gdb52 (gdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (gdb) exec-file kernel (gdb) core-file /var/crash/vmcore.4 "/var/crash/vmcore.4" is not a core dump: File format not recognized -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mznyme3ts.wl>