diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-26 17:54:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-26 17:55:58 +0200 |
commit | bdf2c5932c081bbd028d2defaf576f93dc157a36 (patch) | |
tree | 96b970c8b404e2221630be2f613bd421359a524b /solenv | |
parent | 79afde9b14e65c7c074617e63a094d911d0bc78f (diff) |
LLDB remove pretty-printing of long obsolete String class
Change-Id: I8574c0b731efecb174370d09cfea2c89c27ab974
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/lldb/libreoffice/LO.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/solenv/lldb/libreoffice/LO.py b/solenv/lldb/libreoffice/LO.py index 397d115380c2..3c1134ccadc4 100644 --- a/solenv/lldb/libreoffice/LO.py +++ b/solenv/lldb/libreoffice/LO.py @@ -68,20 +68,6 @@ def rtl_uString_summary(valobj, dict): def rtl_OUString_summary(valobj, dict): return rtl_uString_summary(valobj.GetChildMemberWithName('pData'), dict) -def UniStringData_summary(valobj, dict): - if valobj.TypeIsPointerType(): - return UniStringData_summary(valobj.Dereference(), dict) - - length = valobj.GetChildMemberWithName('mnLen').GetValueAsUnsigned(0) - buffer = valobj.GetChildMemberWithName('maStr') - - buffer_ptr = buffer.AddressOf(); - - return sal_unicode_string(buffer_ptr, length) - -def String_summary(valobj, dict): - return UniStringData_summary(valobj.GetChildMemberWithName('mpData'), dict) - def sal_unicode_string(buffer_ptr, length): e = lldb.SBError() @@ -116,7 +102,5 @@ def __lldb_init_module(debugger, dict): debugger.HandleCommand("type summary add --skip-pointers --skip-references --python-function LO.rtl_OString_summary rtl::OString") debugger.HandleCommand("type summary add --skip-references --python-function LO.rtl_uString_summary rtl_uString") debugger.HandleCommand("type summary add --skip-pointers --skip-references --python-function LO.rtl_OUString_summary rtl::OUString") - debugger.HandleCommand("type summary add --skip-references --python-function LO.UniStringData_summary UniStringData") - debugger.HandleCommand("type summary add --skip-pointers --skip-references --python-function LO.String_summary String") # vim:set shiftwidth=4 softtabstop=4 expandtab: |