From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 00:24:19 2004 Return-Path: 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 606A916A4CE for ; Fri, 16 Apr 2004 00:24:19 -0700 (PDT) Received: from gateway.nixsys.be (gateway.nixsys.be [195.144.77.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFABD43D1F for ; Fri, 16 Apr 2004 00:24:18 -0700 (PDT) (envelope-from philip@nixsys.be) Received: from loge.nixsys.be (loge.nixsys.be [195.144.77.45]) by gateway.nixsys.be (Postfix) with ESMTP id 4ECF9133 for ; Fri, 16 Apr 2004 09:24:17 +0200 (CEST) Received: from loge.nixsys.be (philip@localhost [IPv6:::1]) by loge.nixsys.be (8.12.11/8.12.11) with ESMTP id i3G7OGnc000967; Fri, 16 Apr 2004 09:24:16 +0200 (CEST) (envelope-from philip@loge.nixsys.be) Received: (from philip@localhost) by loge.nixsys.be (8.12.11/8.12.11/Submit) id i3G7OEB8000966; Fri, 16 Apr 2004 09:24:14 +0200 (CEST) (envelope-from philip) Date: Fri, 16 Apr 2004 09:24:14 +0200 From: Philip Paeps To: "Daniel O'Connor" Message-ID: <20040416072414.GJ688@loge.nixsys.be> Mail-Followup-To: Daniel O'Connor , freebsd-current@freebsd.org References: <200404161447.29595.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404161447.29595.doconnor@gsoft.com.au> X-Date-in-Rome: ante diem XVI Kalendas Maias MMDCCLVII ab Urbe Condida X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879 User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: GDB broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 07:24:19 -0000 On 2004-04-16 14:47:29 (+0930), Daniel O'Connor wrote: > I was helping someone test patches in -current and got a crash dump, but GDB > doesn't like reading it.. I've also seen this happen a few times in the past. > [inchoate 14:45] /var/crash >sudo gdb -k /boot/kernel/kernel /var/crash/vmcore.1 > GNU gdb 5.2.1 (FreeBSD) Did you make that core by calling doadump, or by calling panic in the debugger? I found that GDB will happily eat plain panic cores, but doesn't appear to like doadump cores. I've only tested with two corefiles though, so I might be wrong. Anyone else care to test? - Philip -- Philip Paeps Please don't CC me, I am subscribed to the list. BOFH Excuse #119: evil hackers from Serbia.