summaryrefslogtreecommitdiff
path: root/solenv/gdb
AgeCommit message (Collapse)AuthorFilesLines
2014-11-10Do not deref (potentially dangling) weak_ptrStephan Bergmann1-1/+11
Change-Id: Ic9694aa8bd85fe0548b8f5fc5f52b4bbd6dce1cf
2014-11-10Adapt FractionPrinterStephan Bergmann1-3/+3
Change-Id: Ic297f14ea1bf5f3fa69c80a34439b5d13fc84346
2014-10-24More useful pretty printing of invalid fractionsStephan Bergmann1-1/+1
Change-Id: I5e118182e146645ee8546c69edf21834117a1129
2014-08-20gdb: print the SwNodeIndex properly if there are multiple blocksMichael Stahl1-2/+6
Change-Id: I178d365e71ef3377b1a2cfc115bb297640161efe
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann1-8/+2
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
2013-11-15Add Python 3 compatibility to GDB pretty printers.Jan-Marek Glogowski12-37/+50
GDB on *buntu is linked against Python 3.3, which has many incompatibilities to Python 2, resulting in broken code. This patch uses the Python six library as a compatibility layer. Change-Id: Icb4cc54a1d05afb119376bb5e1430c91cb794d08 Reviewed-on: https://gerrit.libreoffice.org/6688 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-15Import Python six v1.4.1.Jan-Marek Glogowski1-0/+577
Python six just consists of a single Python file, so this includes the file as a convenience. Change-Id: I98ed50fba657013f5f3f12a4d13b3ba5558bfa2e Reviewed-on: https://gerrit.libreoffice.org/6687 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-10-22Resolves: fdo#38838 remove UniStringCaolán McNamara1-25/+0
hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
2013-07-28Adapt gdb python pretty-printer to time nano-second precision API changeLionel Elie Mamane1-10/+10
Change-Id: I416d98a298f00ae445a480c738a47758544d317c
2013-06-13Only print the rtl::Reference's pointerStephan Bergmann1-2/+1
...but do not pretty-print its dereferenced value. This is in line with the handling of css::uno::Reference, and avoids gdb Python exceptions when trying to print uninitialized rtl::Reference instances (which can e.g. happen during a "backtrace full"). Change-Id: I9a3c0a6441cf23cba748183226832d2ba23bd531
2013-05-28Added pretty printers for writerfilter OOXML tokenizerCédric Bosdonnat1-0/+88
Change-Id: I0fa2cb8d24cd6862ab1d88ad8ccc033c70bbfa44
2013-05-28SmartPtr pretty printer now behaves according to set print object valueCédric Bosdonnat1-2/+7
Change-Id: Ie8a092b7d91e0f379c7102c3aa12da8eb7666840
2013-05-22Add gdb pretty-printers for basegfxThorsten Behrens1-0/+170
First cut - polygons and B2DRange covered. Change-Id: I042bff8c3fa5c889a926d450090494e2e20f76b1
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks10-220/+40
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-45/+8
2013-04-13adapt gdb pretty-printers to libmergedPeter Foley1-2/+4
Change-Id: I80236f3c69abe713ddfa8111e8ff76f83954def4
2013-04-10gdb: make uno::Reference output shorterMiklos Vajna1-2/+1
The original idea to dereference the implementation and show all details sounded nice, but now printing any UNO object that is a bit more complex results in a multi-page output, which makes getting backtraces really hard. Better to just show the dynamic type and the pointer. Change-Id: I340a31b27b059c3d03d9e537de519e286af2e50f
2013-04-09pretty-print SwXTextCursorMiklos Vajna1-0/+27
Change-Id: I98bb5cbcde93a408c44f4f985c06532ab0a37652
2013-04-09pretty-print SwUnoCrsrMiklos Vajna1-0/+22
Change-Id: Ia79e582002c92591694815580eff905b864ea6c5
2013-04-09gdb: pretty-printers for sw::mark::IMark, sw::UnoImplPtr and SwXTextRangeMiklos Vajna1-0/+62
Change-Id: I09b9e5a64b1b2630dbccdd9cf4392376b955dbdd
2013-04-09gdb: get UnoReferencePrinter work againMiklos Vajna1-4/+1
Change-Id: I07d6a24f5c94a115d38ccffde26725b668dab430
2013-02-07gdb: UnoReferencePrinter: prevent ambiguity problems differentlyMichael Stahl1-4/+8
With gdb 7.5.1 the dynamic_cast may cause "Couldn't determine value's most derived type for dynamic_cast", which isn't helpful either. So just print the current XInterface value in case the cast fails. Change-Id: I453b1a8eecbb056853293280195f6475f8852f2b
2013-01-31gdb: UnoReferencePrinter: prevent ambiguity problemsMichael Stahl1-1/+3
gdb 7.5.1 complains about ambiguous base class "XInterface" with cast() so try dynamic_cast() instead. Change-Id: I99a21eea7251e663deee395f6a13ca0ed041e8c9
2013-01-28Only call data()/length() when self is valid()Stephan Bergmann1-2/+2
Change-Id: Icd9c12a10d2183a5159a3aa7a70e90494e8a8183
2013-01-10gdb: print something also for non-recognized node typesMichael Stahl1-0/+2
These do not occur as such but while a node is being destroyed it is still in the nodes array and may have some base class types; without giving these a value gdb will just stop printing the nodes array then. Change-Id: If78c4f633312cf8bad0048b704fe20bd09c7c28f
2013-01-07Avoid infinite recursion in -gdb.py printersStephan Bergmann1-0/+11
...when printing the pThread argument in a cppu_threadpool::ThreadPool::waitInPool call frame. Change-Id: I5c94485a0218be449c9dab67701a634eef3e08a1
2012-08-25gdb: SwPaMPrinter: print rings as wellMichael Stahl1-0/+6
Change-Id: I31b7b6b0cd4ac67c059729e68b50c92b865930b0
2012-08-07gdb: add pretty-printer for tools RectangleMiklos Vajna1-0/+19
Change-Id: I9c6f4b54254fa7a1b91f0bf1a19d16bb3778a2be
2012-07-20gdb: add SwIndex pretty-printerMiklos Vajna1-0/+12
Change-Id: I452038a80f9a091f2b7af36d236cebd5f176b5e9
2012-07-20gdb: add SwNodeIndex pretty-printerMiklos Vajna1-0/+12
Change-Id: I6d233c2cf715021262a5de1bdc76f68b7eb17db3
2012-07-11gdb: add pretty-printer for SwRectMiklos Vajna1-0/+16
Change-Id: I0506b3e92df372a67b4431e52e2e9d308dc886c9
2012-07-11gdb: add pretty-printer for tools SizeMiklos Vajna1-0/+17
Change-Id: I3ff6568e34698d414ca7e4c631d32156b9d28cf0
2012-07-10gdb: add pretty-printer for tools PointMiklos Vajna1-0/+17
nA is X, nB is Y, but finally it's now pointless to remember that Change-Id: I9fb1f6518e33862663a5bd5e28876979f0f1e05f
2012-05-20gbuildize solenvDavid Tardon1-40/+0
Change-Id: I6e0758e543a89f593a1b0432b28b4c9768993af7
2012-05-07gdb: enable pretty-printer for uno::ReferenceMiklos Vajna1-0/+1
Change-Id: Ia4ac141d8e054d8558d77251c6f069a51a7e6fab
2012-04-02call the right function :blush:David Tardon1-4/+4
2012-04-01add pretty printers for boostDavid Tardon11-0/+809
2012-03-08fdo #46446: add python gdb helpers for osl::FileBaseCatalin Iacob1-0/+65
2012-02-27solenv/gdb: fix Emacs modelinesMichael Stahl11-11/+11
2012-02-07gdb: don't barf on non-ASCII text in SwTxtNodeMichael Stahl1-1/+1
Because the default text encoding in Python 2 is "ascii" these would throw a UnicodeEncodeError: 'ascii' codec can't encode character...
2012-01-24remove debugging printDavid Tardon1-1/+0
2011-12-10solenv: pimp the gdb nodes array pretty printerMichael Stahl1-2/+36
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara13-67/+65
2011-11-24SwIndex::nIndex renamed to SwIndex::m_nIndexCaolán McNamara1-1/+1
2011-09-20Cleaned up solenv/gdb/makefile.mkStephan Bergmann1-2/+1
2011-09-17actually create the flag after runDavid Tardon1-1/+1
2011-09-06make pretty printers available during build alreadyDavid Tardon1-0/+41
2011-08-29Added SwPosition, SwPaM gdb pretty-printersCédric Bosdonnat1-0/+30
2011-08-22install gdb pretty printersDavid Tardon1-0/+42
2011-08-22add gdb pretty printersDavid Tardon11-0/+1769