]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 234190,234196,234280:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 May 2012 21:14:09 +0000 (21:14 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 May 2012 21:14:09 +0000 (21:14 +0000)
commit823d930fbc1ceb24032bbf91c6b002cda89b8b89
tree505a2e213c7aefe9861b68fef2b69a44635e263f
parente3c6c5a576c77431b0fef632cb3bad78d29ff4bb
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/9@235741 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