From owner-freebsd-current Tue Mar 18 18:12:48 2003 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 13CA137B401; Tue, 18 Mar 2003 18:12:46 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED6343F85; Tue, 18 Mar 2003 18:12:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B372B66B9B; Tue, 18 Mar 2003 18:12:44 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 8BE73F6C; Tue, 18 Mar 2003 18:12:44 -0800 (PST) Date: Tue, 18 Mar 2003 18:12:44 -0800 From: Kris Kennaway To: Andrew Gallatin Cc: Kris Kennaway , alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: kgdb on alpha does not work properly Message-ID: <20030319021244.GA4792@rot13.obsecurity.org> References: <20030318224602.GA3777@rot13.obsecurity.org> <15991.42164.106407.279644@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <15991.42164.106407.279644@grasshopper.cs.duke.edu> 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 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 18, 2003 at 05:59:00PM -0500, Andrew Gallatin wrote: >=20 > Kris Kennaway writes: > > I've been having trouble getting gdb -k on alpha to give me sensible > > backtraces. For example, here is the backtrace of a softupdates panic > > that I dumped by calling doadump in ddb: >=20 > <..> >=20 > > #6 0xfffffc000058fe48 in trap (a0=3D1, a1=3D1, a2=3D18446739675669307= 791, entry=3D3, > > framep=3D0xfffffe0006c59818) at /a/asami/portbuild/alpha/src-clien= t/sys/alpha/alpha/trap.c:382 > > #7 0xfffffc0000580928 in XentIF () at machine/asm.h:62 >=20 >=20 > As I've mentioned before, gdb on alpha looses its marbles when there's > a trap in the stack trace. An explicit panic without a trap works fine. > Ddb works fine in any circumstance. Hmm, ok, thanks. I guess I can use addr2line to trace through the panic. Kirk usually needs information from the (missing, in this case) stack frames to debug it though :-( Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+d9IcWry0BWjoQKURAioLAKCZ1pLhVcBUzAp0d+8O/eQefYrWPgCg8yOW OPSa+riI3voNXqor4hPDv/A= =WJIp -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message