Don't add quotes to string representation in gdb.
gdb adds quotes itself around string values so don't duplicate them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
53dfbfa5c9
commit
9513aa80ce
@ -21,7 +21,7 @@ class wxStringPrinter:
|
|||||||
self.val = val
|
self.val = val
|
||||||
|
|
||||||
def to_string(self):
|
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):
|
def display_hint(self):
|
||||||
return 'string'
|
return 'string'
|
||||||
|
Loading…
Reference in New Issue
Block a user