]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 234190,234196,234280:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 May 2012 21:16:08 +0000 (21:16 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 May 2012 21:16:08 +0000 (21:16 +0000)
commit0c09b522f80841132ba5cd8781854f1241af82cf
tree592782db23cf236cf28166ec2a0d6bf428d6bf1f
parent52dd23696bb6761ef4f13e90009908baed6d7ca6
MFC 234190,234196,234280:
- Extend the KDB interface to add a per-debugger callback to print a
  backtrace for an arbitrary thread (rather than the calling thread).
  A kdb_backtrace_thread() wrapper function uses the configured debugger
  if possible, otherwise it falls back to using stack(9) if that is
  available.
- Replace a direct call to db_trace_thread() in propagate_priority()
  with a call to kdb_backtrace_thread() instead.

git-svn-id: svn://svn.freebsd.org/base/stable/8@235742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ddb/db_main.c
sys/gdb/gdb_main.c
sys/kern/subr_kdb.c
sys/kern/subr_turnstile.c
sys/sys/kdb.h