Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 15:03:28 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Yann Berthier <yb@sainte-barbe.org>, current@FreeBSD.org
Subject:   Re: Problems reading vmcores
Message-ID:  <20020831220328.GA58880@xor.obsecurity.org>
In-Reply-To: <20020831220043.GA58767@xor.obsecurity.org>
References:  <20020831212639.GA58028@xor.obsecurity.org> <20020831214201.GA74473@hsc.fr> <20020831220043.GA58767@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 31, 2002 at 03:00:43PM -0700, Kris Kennaway wrote:
> 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 :)
>=20
> Oops, pasted the wrong thing:
>=20
> 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 conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-undermydesk-freebsd"...
> /a/vmcore.0: Undefined error: 0.

Also

gohan10# bin/gdb52 -k kernel.debug vmcore.0
GNU gdb 5.2 (FreeBSD)
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-portbld-freebsd5.0"...
/a/vmcore.0: Bad file descriptor.

Kris

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9cT0vWry0BWjoQKURAqTXAKChXYggULe+erxrIFeUkneFYa0hOACdEcM1
k1uvdiKRe+lKXOHqvtSSHnA=
=+u98
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--

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?20020831220328.GA58880>