From f27132d968df8fd59748b024ba549b5cd3f980ca Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 30 Aug 2026 17:46:56 +0200 Subject: kstd/gdb: add flat_map printer --- libs/kstd/gdb/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/kstd/gdb/__init__.py') diff --git a/libs/kstd/gdb/__init__.py b/libs/kstd/gdb/__init__.py index 018b31f2..a4aee9cd 100644 --- a/libs/kstd/gdb/__init__.py +++ b/libs/kstd/gdb/__init__.py @@ -1,6 +1,7 @@ import gdb.printing +from .flat_map import KstdFlatMapPrinter from .error_code import KstdErrorCodePrinter from .result import KstdResultPrinter from .smart_pointers import ( @@ -17,6 +18,7 @@ from .vector import KstdVectorPrinter def build_pretty_printers(): pp = gdb.printing.RegexpCollectionPrettyPrinter("kstd") pp.add_printer("vector", "^kstd::vector<.*>$", KstdVectorPrinter) + pp.add_printer("flat_map", "^kstd::flat_map<.*>$", KstdFlatMapPrinter) pp.add_printer("string", "^kstd::basic_string<.*>$", KstdStringPrinter) pp.add_printer("unique_ptr", "^kstd::unique_ptr<.*>$", KstdUniquePtrPrinter) pp.add_printer("shared_ptr", "^kstd::shared_ptr<.*>$", KstdSharedPtrPrinter) -- cgit v1.2.3