From owner-freebsd-alpha Tue Mar 18 14:59: 8 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E582B37B401; Tue, 18 Mar 2003 14:59:06 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAAC543FA3; Tue, 18 Mar 2003 14:59:05 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.8/8.12.8) with ESMTP id h2IMx5Rv005469 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 18 Mar 2003 17:59:05 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h2IMx0J00921; Tue, 18 Mar 2003 17:59:00 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15991.42164.106407.279644@grasshopper.cs.duke.edu> Date: Tue, 18 Mar 2003 17:59:00 -0500 (EST) To: Kris Kennaway Cc: alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: kgdb on alpha does not work properly In-Reply-To: <20030318224602.GA3777@rot13.obsecurity.org> References: <20030318224602.GA3777@rot13.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: <..> > #6 0xfffffc000058fe48 in trap (a0=1, a1=1, a2=18446739675669307791, entry=3, > framep=0xfffffe0006c59818) at /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/trap.c:382 > #7 0xfffffc0000580928 in XentIF () at machine/asm.h:62 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. > > Can someone please look into this? I spent a day or two hacking on gdb last year and never made any progress. I wish somebody with more gdb fu would look at it. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message