summaryrefslogtreecommitdiff
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-10-03 14:25:53 +0000
committerMark Johnston <markj@FreeBSD.org>2025-10-03 14:32:09 +0000
commitea675a43f09ba569adf1dd17b4f1ced970e48de4 (patch)
tree0d685c12979006e220584345a85bcde257e80f4a /ObsoleteFiles.inc
parent07747afd516e710814fdc65afb0e5000d046f28f (diff)
libexec/kgdb: Add new modules and install them together with debug info
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 <path-to-kernel-debug-symbols>/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
Diffstat (limited to 'ObsoleteFiles.inc')
-rw-r--r--ObsoleteFiles.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 539ab7d54460..36e8c048661e 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,10 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20251003: kgdb python scripts moved
+OLD_FILES+=usr/libexec/kgdb/acttrace.py
+OLD_DIRS+=usr/libexec/kgdb
+
# 20251001: test helper sendto-IP_MULTICAST_IF renamed
OLD_FILES+=usr/tests/sys/netinet/sendto-IP_MULTICAST_IF