Linux has a number of very useful GDB scripts under scripts/gdb/linux/* that provide OS awareness for debuggers and allows for debugging of a variety of data structures (lists, timers, radix tree, mapletree, etc.) as well as subsystems (clocks, devices, classes, busses, etc.).
These scripts are typically maintained in isolation from the subsystem that they parse the data structures and symbols of, which can lead to people playing catch up with fixing bugs or updating the script to work with updates made to the internal APIs/objects etc. Here are some recents examples: https://lore.kernel.org/all/20250601055027.3661480-1-tony.ambar...@gmail.com/ https://lore.kernel.org/all/20250619225105.320729-1-florian.faine...@broadcom.com/ https://lore.kernel.org/all/20250625021020.1056930-1-florian.faine...@broadcom.com/ This patch series is intentionally split such that each subsystem maintainer can decide whether to accept the extra review/maintenance/guidance that can be offered when GDB scripts are being updated or added. Thanks! Florian Fainelli (16): MAINTAINERS: Include clk.py under COMMON CLK FRAMEWORK entry MAINTAINERS: Include device.py under DRIVER CORE entry MAINTAINERS: Include genpd.py under GENERIC PM DOMAINS entry MAINTAINERS: Include radixtree.py under GENERIC RADIX TREE entry MAINTAINERS: Include interrupts.py under IRQ SUBSYSTEM entry MAINTAINERS: Include kasan.py under KASAN entry MAINTAINERS: Include mapletree.py under MAPLE TREE entry MAINTAINERS: Include GDB scripts under MEMORY MANAGEMENT entry MAINTAINERS: Include modules.py under MODULE SUPPORT entry MAINTAINERS: Include cpus.py under PER-CPU MEMORY ALLOCATOR entry MAINTAINERS: Include timerlist.py under POSIX CLOCKS and TIMERS entry MAINTAINERS: Include dmesg.py under PRINTK entry MAINTAINERS: Include proc.py under PROC FILESYSTEM entry MAINTAINERS: Include vmalloc.py under VMALLOC entry MAINTAINERS: Include xarray.py under XARRAY entry MAINTAINERS: Include vfs.py under FILESYSTEMS entry MAINTAINERS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.43.0