Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 03:51:05 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        river_robert@yahoo.com.cn
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Help about debugging FreeBSD kernel core dump file
Message-ID:  <84dead72050228195144c13e59@mail.gmail.com>
In-Reply-To: <20050301034135.2870843D3F@mx1.FreeBSD.org>
References:  <20050301034135.2870843D3F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> How can I debug the core dump file created by kernel panic? I try to use "gdb -core vmcore.0" (vmcore.0 is 4G file because I have 4G memory) and the gdb said: this is not a vaild core file. Why?

AFAIK  you have to use 'gdb -k' (or 'kgdb') to use GDB's kernel debugging mode.

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy



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