diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-05-08 18:14:08 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-05-08 18:14:08 +0200 |
| commit | 8ec011d9f5ad79c1e951127d3906a08e282649d1 (patch) | |
| tree | 0223ce3c923578efe913f5b9dc39bf2c7481dcc9 /kapi/gdb/__init__.py | |
| parent | 07fb219869099c719b0fbfeae81b95512487639e (diff) | |
| download | kernel-8ec011d9f5ad79c1e951127d3906a08e282649d1.tar.xz kernel-8ec011d9f5ad79c1e951127d3906a08e282649d1.zip | |
debug: add pretty printer for boot modules
Diffstat (limited to 'kapi/gdb/__init__.py')
| -rw-r--r-- | kapi/gdb/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kapi/gdb/__init__.py b/kapi/gdb/__init__.py index afb68f8..88b1d05 100644 --- a/kapi/gdb/__init__.py +++ b/kapi/gdb/__init__.py @@ -1,7 +1,8 @@ import gdb.printing -from .memory import * +from .boot_modules import * from .devices import * +from .memory import * def build_pretty_printers(): @@ -17,6 +18,11 @@ def build_pretty_printers(): pp.add_printer( "kapi_devices_device", "^kapi::devices::device$", KapiDevicesDevicePrinter ) + pp.add_printer( + "kapi_boot_modules_boot_module", + "^kapi::boot_modules::boot_module$", + KapiBootModulesBootModulePrinter, + ) return pp |
