Date: Fri, 25 Mar 2011 18:16:36 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ddb db_command.c src/sys/gdb gdb_main.c gdb_packet.c src/sys/kern subr_kdb.c Message-ID: <201103251816.p2PIGvJw054433@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdf 2011-03-25 18:16:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/ddb db_command.c sys/gdb gdb_main.c gdb_packet.c sys/kern subr_kdb.c Log: SVN rev 220002 on 2011-03-25 18:16:36Z by mdf MFC r218825. [The implementation change to kdb_sysctl_available() cannot be MFC'd as it requires a non-MFCable change (adding drains to sbuf)]. 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. Revision Changes Path 1.80.2.5 +9 -3 src/sys/ddb/db_command.c 1.8.2.2 +11 -0 src/sys/gdb/gdb_main.c 1.4.10.2 +12 -0 src/sys/gdb/gdb_packet.c 1.27.2.7 +15 -6 src/sys/kern/subr_kdb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103251816.p2PIGvJw054433>