aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/gdb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/gdb/__init__.py')
-rw-r--r--libs/kstd/gdb/__init__.py2
1 files changed, 2 insertions, 0 deletions
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)