From owner-svn-src-head@FreeBSD.ORG Sat Feb 19 01:11:37 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DA941065674; Sat, 19 Feb 2011 01:11:37 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8CF8FC19; Sat, 19 Feb 2011 01:11:36 +0000 (UTC) Received: from lawrence1.loshell.room52.net (ppp59-167-184-191.static.internode.on.net [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id 5BA117E84A; Sat, 19 Feb 2011 12:11:35 +1100 (EST) Message-ID: <4D5F18C7.9000401@freebsd.org> Date: Sat, 19 Feb 2011 12:11:35 +1100 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-AU; rv:1.9.2.13) Gecko/20101214 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Matthew D Fleming References: <201102182225.p1IMPBP6074753@svn.freebsd.org> In-Reply-To: <201102182225.p1IMPBP6074753@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lauren.room52.net Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r218825 - in head/sys: ddb gdb kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 01:11:37 -0000 On 02/19/11 09:25, Matthew D Fleming wrote: > Author: mdf > Date: Fri Feb 18 22:25:11 2011 > New Revision: 218825 > URL: http://svn.freebsd.org/changeset/base/218825 > > Log: > Modify kdb_trap() so that it re-calls the dbbe_trap function as long as > the debugger back-end has changed. This means that switching from ddb > to gdb no longer requires a "step" which can be dangerous on an > already-crashed kernel. > > Also add a capability to get from the gdb back-end back to ddb, by > typing ^C in the console window. > > While here, simplify kdb_sysctl_available() by using > sbuf_new_for_sysctl(), and use strlcpy() instead of strncpy() since the > strlcpy semantic is desired. > > MFC after: 1 month Thanks heaps for doing this! It has annoyed me for quite some time but I had no idea where/how to fix it. Cheers, Lawrence