From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 00:57:02 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 034CC16A4CE; Fri, 16 Apr 2004 00:57:02 -0700 (PDT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB29C43D45; Fri, 16 Apr 2004 00:57:00 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id i3G7uvQ9024741; Fri, 16 Apr 2004 17:26:57 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Philip Paeps Date: Fri, 16 Apr 2004 17:26:54 +0930 User-Agent: KMail/1.6.1 References: <200404161447.29595.doconnor@gsoft.com.au> <20040416072414.GJ688@loge.nixsys.be> In-Reply-To: <20040416072414.GJ688@loge.nixsys.be> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404161726.54783.doconnor@gsoft.com.au> X-Spam-Score: -4.4 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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:57:02 -0000 On Fri, 16 Apr 2004 16:54, Philip Paeps wrote: > 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? It was doadump.. I had trouble with panic panic'ing and not dumping when I've tried it in the past :( I'll keep it in mind though. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5