Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 18:16:49 +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:  <201103251817.p2PIHCvK054480@repoman.freebsd.org>

index | next in thread | raw e-mail

mdf         2011-03-25 18:16:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/ddb              db_command.c 
    sys/gdb              gdb_main.c gdb_packet.c 
    sys/kern             subr_kdb.c 
  Log:
  SVN rev 220003 on 2011-03-25 18:16:49Z 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.73.2.6  +9 -3      src/sys/ddb/db_command.c
  1.7.2.2   +11 -0     src/sys/gdb/gdb_main.c
  1.4.2.1   +12 -0     src/sys/gdb/gdb_packet.c
  1.24.2.3  +15 -6     src/sys/kern/subr_kdb.c


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103251817.p2PIHCvK054480>