Implement python gdb helpers Background: LibreOffice uses UTF-16 strings, which are a royal pain to inspect in the debugger. To fix this we have some dbg_util methods which can be used to inspect them, but it would be far nicer to have some python macros for gdb to make inspecting them trivial, adding them to relevant stack traces etc. To how all this is possible read Tom Tromey's excellent Python GDB Tutorial at: http://sourceware.org/gdb/wiki/PythonGdbTutorial and/or the GDB manual Python chapter at: http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html The essential types to print are in sal/inc/rtl/ustring.hxx - a simple conversion to ascii would be a wonderful start. Skills: python, C++, gdb
dtardon has a stack of personal gdb foo I think ?
Yes, I have. And it covers a lot more than just strings :) *** This bug has been marked as a duplicate of bug 34745 ***
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillPython SkillDebug SkillScript SkillCpp) [NinjaEdit]