From owner-freebsd-alpha Thu Apr 8 15:32:30 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 9591714BD4 for ; Thu, 8 Apr 1999 15:32:27 -0700 (PDT) (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.9.1/8.9.1) with ESMTP id SAA13602; Thu, 8 Apr 1999 18:30:15 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id SAA21307; Thu, 8 Apr 1999 18:29:42 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 8 Apr 1999 18:29:41 -0400 (EDT) To: paul@originative.co.uk Cc: simokawa@sat.t.u-tokyo.ac.jp, dfr@nlsystems.com, freebsd-alpha@FreeBSD.ORG Subject: RE: _start or __start? In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14093.11304.145065.519608@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org paul@originative.co.uk writes: > > Darn! I'd forgotten about this.. My gdb only works interactively for > > user programs. > > > > As to where the problem is, I have no clue. That's why I never fixed > > it. > > Ahh, that explains why I couldn't use it to do postmortem analysis then! You can't use it for postmortem analysis of user programs, but it *should* work for postmortem analysis of kernel crashdumps. The code that writes these two types of core files is totally different. I've had problems getting a proper stack trace out if it (sometimes it works, sometimes it doesn't, and I'm not good enough at hacking gdb to know how to fix it or even what's wrong), but you should be able to get a valid crashdump and at least look at global variables. In the worst case, you should at least be able to get a trace with ddb on the way down. I'm eagerly looking forward to somebody with a clue getting gdb working on alphas... Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message