svn commit: r218825 - in head/sys: ddb gdb kern

Lawrence Stewart lstewart at freebsd.org
Sat Feb 19 01:11:37 UTC 2011


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


More information about the svn-src-all mailing list