diff --git a/misc/gdb/print.py b/misc/gdb/print.py index 9ac0b8e36e..703c9c6a68 100755 --- a/misc/gdb/print.py +++ b/misc/gdb/print.py @@ -21,7 +21,7 @@ class wxStringPrinter: self.val = val def to_string(self): - return '"' + self.val['m_impl']['_M_dataplus']['_M_p'].string() + '"' + return self.val['m_impl']['_M_dataplus']['_M_p'].string() def display_hint(self): return 'string'