aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/gdb/kstd/vector.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gdb/kstd/vector.py b/scripts/gdb/kstd/vector.py
index b42aeae..597ffdc 100644
--- a/scripts/gdb/kstd/vector.py
+++ b/scripts/gdb/kstd/vector.py
@@ -8,9 +8,9 @@ class KstdVectorPrinter:
self.type = val.type.template_argument(0)
def to_string(self):
- size = int(self.val(["m_size"]))
- capacity = int(self.val(["m_capacity"]))
- return f"kstd::vector<{self.type}> of length {size}, capacity {capacity}"
+ size = int(self.val["m_size"])
+ capacity = int(self.val["m_capacity"])
+ return f"kstd::vector of length {size}, capacity {capacity}"
def children(self):
size = int(self.val["m_size"])