From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 11 17:41:31 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1FF808C2 for ; Thu, 11 Jul 2013 17:41:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id F24DB1C2F for ; Thu, 11 Jul 2013 17:41:30 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4DD7DB949; Thu, 11 Jul 2013 13:41:30 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org, Jordan Hubbard Subject: Re: Kernel dumps [was Re: possible changes from Panzura] Date: Thu, 11 Jul 2013 10:28:37 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <3592BFB7-0663-4381-AFF5-C7DE0AE16858@mail.turbofuzz.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201307111028.37815.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 11 Jul 2013 13:41:30 -0400 (EDT) Cc: Will Andrews X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 17:41:31 -0000 > Speaking of Apple solutions, I've recently used Apple's kgdb with the > kernel debug kit & kdp remote debugging, to debug a panic'd OS X host. > It's really quite nice, because the debug kit comes with a ton of > macros, similar to kdb, and you also get the benefit of source > debugging. I think FreeBSD would benefit massively from finding some > way to share macros between kdb and kgdb, in addition to having an > "emergency network stack" like you suggest. I have a set of macros I maintain that implement many ddb commands in kgdb including 'sleepchain' and 'lockchain'. http://www.freebsd.org/~jhb/gdb/ -- John Baldwin