Date: Sat, 19 Feb 2011 12:11:35 +1100 From: Lawrence Stewart <lstewart@freebsd.org> To: Matthew D Fleming <mdf@FreeBSD.org> 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 Message-ID: <4D5F18C7.9000401@freebsd.org> In-Reply-To: <201102182225.p1IMPBP6074753@svn.freebsd.org> References: <201102182225.p1IMPBP6074753@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5F18C7.9000401>