Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 22:25:11 +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:  <201102190943.p1J9hTvk066891@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mdf         2011-02-18 22:25:11 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_command.c 
    sys/gdb              gdb_main.c gdb_packet.c 
    sys/kern             subr_kdb.c 
  Log:
  SVN rev 218825 on 2011-02-18 22:25:11Z by mdf
  
  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
  
  Revision  Changes    Path
  1.84      +9 -3      src/sys/ddb/db_command.c
  1.9       +11 -0     src/sys/gdb/gdb_main.c
  1.5       +12 -0     src/sys/gdb/gdb_packet.c
  1.33      +23 -29    src/sys/kern/subr_kdb.c



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