<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/kgdb, branch releng/14.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-02-09T14:55:45Z</updated>
<entry>
<title>crashinfo: Print stack traces for all on-CPU threads</title>
<updated>2024-02-09T14:55:45Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-01-15T20:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a2fa7bb9cbb788cfe07db11071712af7cdcea93'/>
<id>urn:sha1:0a2fa7bb9cbb788cfe07db11071712af7cdcea93</id>
<content type='text'>
Add a python script which implements the bulk of this functionality.
Over time, this would ideally evolve into a library of python routines
which can be used to inspect kernel data structures and automate some
debugging tasks, similar to jhb's out-of-tree scripts, but written in a
somewhat nicer language and with better integration into the kgdb
command prompt.

Note that kgdb currently won't auto-load scripts in this directory.
This should perhaps change in the future.  It probably also makes more
sense to have a crashinfo.py which provides all the kgdb output that we
want to include in core.txt, rather than having crashinfo.sh pipe in
several commands.

Reviewed by:	avg, imp
Discussed with:	jhb
MFC after:	3 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33817

(cherry picked from commit 2524b7dfb0df7e37ea9651559ce6c027b006e2a9)
</content>
</entry>
</feed>
