From owner-freebsd-current Sat Aug 31 15: 0:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1415337B400 for ; Sat, 31 Aug 2002 15:00:45 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-146.dsl.lsan03.pacbell.net [64.165.226.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BEE943E6A for ; Sat, 31 Aug 2002 15:00:44 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C579366B41; Sat, 31 Aug 2002 15:00:43 -0700 (PDT) Date: Sat, 31 Aug 2002 15:00:43 -0700 From: Kris Kennaway To: Yann Berthier Cc: current@FreeBSD.org Subject: Re: Problems reading vmcores Message-ID: <20020831220043.GA58767@xor.obsecurity.org> References: <20020831212639.GA58028@xor.obsecurity.org> <20020831214201.GA74473@hsc.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20020831214201.GA74473@hsc.fr> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 31, 2002 at 11:42:01PM +0200, Yann Berthier wrote: > On Sat, 31 Aug 2002, Kris Kennaway wrote: >=20 > > I'm having difficulty reading vmcore images with gdb (either the > > system version or the port). > >=20 > > (gdb) gohan10# gdb /a/kernel.debug /a/vmcore.0 >=20 > But you need to specify the -k flag to gdb to use it against kernel > dumps, I'm sure it will give much better results :) Oops, pasted the wrong thing: gohan10# gdb -k kernel.debug vmcore.0 GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... /a/vmcore.0: Undefined error: 0. Kris --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9cTx1Wry0BWjoQKURAshsAKD8kNREBsF2rJyLwV3uONAmbNtnrACguLFa OWbLtKtmIcGiiiRlmDg1vsI= =D34X -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message