<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/tools, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-05-16T20:24:45Z</updated>
<entry>
<title>kernel: address executable stack warnings in amd64 gcc build</title>
<updated>2026-05-16T20:24:45Z</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2026-05-16T20:24:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=755c1e039adfd68ecf4d5954e13fe54263c34a03'/>
<id>urn:sha1:755c1e039adfd68ecf4d5954e13fe54263c34a03</id>
<content type='text'>
Mark assembly files as not requiring executable stacks.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D56946
</content>
</entry>
<entry>
<title>gdb: Print a stack trace if a python command raises an error</title>
<updated>2026-04-18T12:26:29Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-04-18T12:23:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9899c8da0c19e66bedf37dd914e13880089877e2'/>
<id>urn:sha1:9899c8da0c19e66bedf37dd914e13880089877e2</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>syscall: Create a script to export the data as json</title>
<updated>2026-04-17T04:44:19Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2026-04-17T04:42:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b3b23f284a67317309af7c30bb70d5f461f3f02f'/>
<id>urn:sha1:b3b23f284a67317309af7c30bb70d5f461f3f02f</id>
<content type='text'>
Create a script to export the parsed data as json. Include the
annotations for the system call arguments, since they are helpful to
downstream uses.

Sponsored by:		Netflix
Reviewed by:		brooks
Differential Revision:	https://reviews.freebsd.org/D56408
</content>
</entry>
<entry>
<title>syscalls: Preserve the attributes of the args</title>
<updated>2026-04-17T04:44:19Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2026-04-17T04:42:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a1745da389bd3bb9fd32c25cf221fa32866debd'/>
<id>urn:sha1:2a1745da389bd3bb9fd32c25cf221fa32866debd</id>
<content type='text'>
Lightly parse and preserve the attributes of the args as attributes.

Sponsored by:		Netflix
Reviewed by:		brooks
Differential Revision:	https://reviews.freebsd.org/D56407
</content>
</entry>
<entry>
<title>sound: Retire unused emu10k1-mkalsa.sh</title>
<updated>2026-03-24T10:38:41Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-24T10:32:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71c46c8c901be2a6e0708c912f0d766d49e5b335'/>
<id>urn:sha1:71c46c8c901be2a6e0708c912f0d766d49e5b335</id>
<content type='text'>
It is a legacy script which is no longer used. Its utility is also
unknown.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56043
</content>
</entry>
<entry>
<title>make_dtb.sh: add include path</title>
<updated>2025-12-11T17:19:44Z</updated>
<author>
<name>Oskar Holmlund</name>
<email>oh@FreeBSD.org</email>
</author>
<published>2025-12-11T17:19:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=95d8576d8cc725ce2536d85335523c350b0bf69c'/>
<id>urn:sha1:95d8576d8cc725ce2536d85335523c350b0bf69c</id>
<content type='text'>
The device tree include file for TI TPS65* is in a
relative path to the source for example:
device-tree/src/arm/ti/omap/am335x-bone-common.dtsi#n305
device-tree/src/arm/rockchip/rk3066a-marsboard.dts#n183

This patch gets the dts path and adds that as an include path
for the device tree compiler.

Approved by: manu (mentor)
Differential revision: https://reviews.freebsd.org/D53887
</content>
</entry>
<entry>
<title>gdb: Fix some PEP 8 violations</title>
<updated>2025-11-19T14:00:05Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-11-19T13:58:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32605b159f3fea3a5d4710055681650f3de9ea68'/>
<id>urn:sha1:32605b159f3fea3a5d4710055681650f3de9ea68</id>
<content type='text'>
Silence some warnings in my editor.  No functional change intended.

MFC after:	1 week
</content>
</entry>
<entry>
<title>gdb: Make development a bit easier</title>
<updated>2025-10-27T16:33:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-10-27T16:33:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5d47e1e67cdf1707cb460c2722894305f3cb34d'/>
<id>urn:sha1:d5d47e1e67cdf1707cb460c2722894305f3cb34d</id>
<content type='text'>
Provide a command which can be used to reload gdb modules.

MFC after:	1 week
</content>
</entry>
<entry>
<title>gdb: Improve doc strings</title>
<updated>2025-10-27T16:28:20Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-10-27T16:28:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef7b81340b8e0ad06584f364aa02105c03ca5f7c'/>
<id>urn:sha1:ef7b81340b8e0ad06584f364aa02105c03ca5f7c</id>
<content type='text'>
These are printed by gdb when requesting help for the corresponding
function or command, so phrase them such that they make sense in that
context.

MFC after:	1 week
</content>
</entry>
<entry>
<title>libexec/kgdb: Add new modules and install them together with debug info</title>
<updated>2025-10-03T14:32:09Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-10-03T14:25:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea675a43f09ba569adf1dd17b4f1ced970e48de4'/>
<id>urn:sha1:ea675a43f09ba569adf1dd17b4f1ced970e48de4</id>
<content type='text'>
This change simplifies integration of gdb python scripts with our kernel
debugging infrastructure.  Rather than putting debugging scripts in
/usr/libexec/kgdb, move them to &lt;path-to-kernel-debug-symbols&gt;/gdb, and
add a kernel-gdb.py which automatically loads modules from that
directory.  kernel-gdb.py will be automatically executed by kgdb when
loading kernel debug symbols (assuming a default configuration), so one
no longer needs to do anything to use these modules.

The change also adds a couple of new modules, vnet.py and pcpu.py, for
conveniently accessing VNET symbols and PCPU/DPCPU fields, respectively.
Note that these require a change to the kernel linker when accessing
symbols from a loadable kernel module.

sys/tools/gdb/README.txt describes the scheme in more detail and
provides some rudiementary documentation for the commands and functions
added by these modules.  It should be updated when adding new features.

sys/tools/gdb/selftest.py can be used to do some primitive testing of
the modules.  All it does is execute a number of gdb commands making use
of commands and functions added by these modules.  The developer is
expected to verify that the commands complete without errors and that
the output looks sane.

Discussed with:	kp, avg, jhb, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50825
</content>
</entry>
</feed>
