From 9513aa80ce830c97516e51e66c0db640d20f0443 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 22 Oct 2010 14:17:22 +0000 Subject: [PATCH] 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 --- misc/gdb/print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'