aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/gdb/__init__.py
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-06-15 10:22:57 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-06-15 10:22:57 +0200
commit9fb4af5d56fcd0568137c5bf431f2f72807938a5 (patch)
treecb894541787d458586c4519a22243807d0a4799a /libs/kstd/gdb/__init__.py
parent32fa8e40c845755b3b9645fb01b4790e989bf9a9 (diff)
downloadkernel-9fb4af5d56fcd0568137c5bf431f2f72807938a5.tar.xz
kernel-9fb4af5d56fcd0568137c5bf431f2f72807938a5.zip
kstd/debug: fix string pretty printer
Diffstat (limited to 'libs/kstd/gdb/__init__.py')
-rw-r--r--libs/kstd/gdb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/gdb/__init__.py b/libs/kstd/gdb/__init__.py
index c5d1e539..4c4b3415 100644
--- a/libs/kstd/gdb/__init__.py
+++ b/libs/kstd/gdb/__init__.py
@@ -12,7 +12,7 @@ from .smart_pointers import (
def build_pretty_printers():
pp = gdb.printing.RegexpCollectionPrettyPrinter("kstd")
pp.add_printer("vector", "^kstd::vector<.*>$", KstdVectorPrinter)
- pp.add_printer("string", "^kstd::string$", KstdStringPrinter)
+ 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)
pp.add_printer("observer_ptr", "^kstd::observer_ptr<.*>$", KstdObserverPtrPrinter)