summaryrefslogtreecommitdiff
path: root/share/qtcreator/gdbmacros/gdbmacros.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Next try to fix pointer aliasing issueSergey Belyashov2009-09-291-7/+4
| | | | | Merge-request: 1562 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* CDB: Use GdbMi parser for everything.Friedemann Kleint2009-09-211-0/+5
| | | | | | | ..preparing recursive dumpers. Add recursive parser to watchutils.cpp Use insertBulkData() within CDB, add sizeof() information for some Qt containers in order to be able to dump QList<QList<KnownType> > .
* Debugger: Use Gdbmi parser in CDB for parsing of protocol 1Friedemann Kleint2009-09-181-45/+72
| | | | | | Change dumper protocol 1 output not to contain type names as hash keys (might contain blanks), use lists instead. Start fixing autotests for 4.6.
* fix pointer aliasing issueOswald Buddenhagen2009-09-181-6/+10
|
* debugger: disable not very useful QImage dumper for 1.3hjk2009-09-031-2/+2
|
* debugger: fix child count in QAbstractItem dumpershjk2009-09-031-3/+3
|
* debugger: fixes and improvements related to the Locals displayhjk2009-08-311-66/+64
| | | | | | | Split the concepts 'enabled' and 'editable' in the dumper output Disable "<not in scope>" entries, also fix their type. Fix glitch in type beautification for display Find reason for failing bulk updates.
* debugger: revert accidentally commited changes in the dumpershjk2009-08-281-5/+1
|
* debugger: the new pointer checks had been to aggressive. disable for nowhjk2009-08-281-3/+5
|
* debuger: fix insertion of nested WatchDatahjk2009-08-281-1/+1
|
* debugger: allow dumpers to return children in more than one nesting levelhjk2009-08-281-3/+25
|
* debugger: small improvements to dumpershjk2009-08-281-9/+56
| | | | | Add a dumper for QStack. Also don't crash when accessing an uninitialized pointer when the pointer looks bad to begin with.
* debugger: fix type field in QHash dumperhjk2009-08-271-2/+2
|
* debugger: make list access in dumpers a bit more robusthjk2009-08-271-2/+6
|
* debugger: constify the address parameter passed to qDumpObjectDatahjk2009-08-271-1/+1
|
* debugger: cosmetics of the dumper outputhjk2009-08-271-2/+2
|
* debugger: fix dumpers for QSharedPointer and QWeakPointer for the isNull() casehjk2009-08-261-0/+17
|
* debugger: small fixes in the QObject dumper and autotesthjk2009-08-211-3/+2
|
* debugger: add dumpers for QPoint, QPointF, and QRectFhjk2009-08-211-2/+103
|
* add dumper for QRecthjk2009-08-201-0/+27
|
* long live the kinghjk2009-08-141-1/+1
|
* debugger: re-enable all dumpers that are usable in bootstrapped applicationshjk2009-08-131-28/+27
|
* debugger: make helpers compilable with QT_BOOTSTRAPPEDhjk2009-08-121-13/+68
|
* Debugger: Added auto test for QModelIndex dumper.ck2009-08-111-1/+1
| | | | Also fixed a bug uncovered by the auto test.
* Debugger: Fixed QMapNode dumper.ck2009-08-101-1/+1
|
* Debugger: More dumper auto tests.ck2009-08-071-13/+0
| | | | Added auto tests for QFileInfo, QHashNode and QLocale dumpers.
* Debugger: More dumper auto tests.ck2009-08-051-1/+1
| | | | Added test for "QAbstractItem" and fixed bug uncovered by that.
* Debugger: Added auto test to stay in sync with QObjectPrivate.ck2009-08-041-71/+1
| | | | | | The compile-time solution introduced by 3a084ae8a2e1be68576a82 was felt by some to be too intrusive, so I've integrated the check for changes to QObjectPrivate into the auto test.
* Dumper updates.ck2009-08-041-3/+13
| | | | | | | | | - Added auto test for QMap. - Qt::UniqueConnection is not actually a connection type, so we don't treat it as one. - The definition of QObjectPrivate keeps getting out of sync, so there now is a "static assertion" that causes a compile error when QObjectPrivate's size changes.
* Debugger: Updated QObjectSlot dumper for Qt 4.6.ck2009-07-241-6/+19
| | | | | | | | The format of QObjectPrivate's senders list changed in version 4.6. This change is now taken into account by the QObjectSlot and QObjectSlotList dumpers. Reviewed-by: hjk
* Made use of Qt::UniqueConnection dependent on version >= 4.6.ck2009-07-201-0/+2
|
* Added more dumper auto tests.ck2009-07-201-8/+15
| | | | Added test for QObjectSignal dumper and fixed two bugs uncovered by it.
* Added more dumper auto tests.ck2009-07-161-0/+1
| | | | | Added test for QImage and fixed bug uncovered by that test. Also prepared test for QSharedPointer.
* Debugger: Remove unneeded expression for dumping QVector.Friedemann Kleint2009-07-161-3/+10
| | | | | ...thus enabling dumping of it in CDB. Reviewed-by: hjk <qtc-committer@nokia.com>
* Fix CDB/output dumperversion correctly, dump maps correctly.Friedemann Kleint2009-07-151-1/+1
|
* debugger: remove duplicated 'completeSuffix' entry in QFileInfo dumperhjk2009-07-151-1/+0
|
* debugger: fix regression in QMap dumping introduced in 5bd1d2a0hjk2009-07-141-0/+1
|
* debugger: workaround for gdb reporting 'std::wstring' as 'wstring'hjk2009-07-131-2/+2
|
* Added QDumper auto tests.ck2009-07-101-1/+2
| | | | Added auto tests for QChar and QFile dumpers.
* debugger: reduce amount of data produced by the dumpers by removinghjk2009-07-101-13/+0
| | | | predicatable parts.
* debugger: do not output child type and numchild information if it is equalhjk2009-07-101-11/+27
| | | | to the ones specified in the childtype and childnumchild items
* debugger: remove the InnerValueResult enum and handling again.hjk2009-07-101-138/+69
| | | | 60 lines of mainly useless code
* debugger: work on dumper auto testshjk2009-07-091-29/+11
|
* Dump QObjects for CDBFriedemann Kleint2009-07-091-6/+18
|
* debugger: add auto tests for QListhjk2009-07-081-41/+72
|
* Dumper fixing, dump some common std::map, std::set types with CDB.Friedemann Kleint2009-07-071-17/+128
| | | | | | | | | | | - std::set/map: Introduce templates to iterate the MSVC STL implementation depending on type (since it inherits some basic set_traits that depend on the key/value size. - Retrieve types correctly in CDB (buffer too short for STL-types) - Fix std::map in GDB broken by previous commit. - Introduce a dumper version check in GDB/CDB. - Make GDB parse sizes in initial dumper call as well - Fix special sizes to work with namespaced Qt (watchutils)
* Polish dumpers to show enumeration values, Polish CDB locals output.Friedemann Kleint2009-07-071-23/+83
|
* Fix up Debugger helpers to be able to dump QObject's with CDB.Friedemann Kleint2009-07-061-226/+420
| | | | | | | | | | | | | | | | | | | | | | | - Make container dumper routines set "childnumchild" when known in order to avoid roundtrips; avoid repeated invocations of container.end(). - Completed dumper information in some places to avoid roundtrips. - Extended QVariant helpers by dumpers for common GUI types (rectangles, points, sizes, fonts, size policies). - Introduced artificial QObjectChildList/QObjectProperty types to be able to dump QObject children and properties without using gdb expressions. - Fixed dumping of Signal/Slot list to pass on correct types. Avoid recursions if signal is connected to self. - Replaced expressions by addresses in the dumpers to it make work for CDB. - Reworked dumper test program to have -a, making it usable for tests, add further types. - Gdb: Clear output buffer before calling dumpers, avoiding mixups in case evaluation of expression fails. - Fix the dumper parser used by CDB, do not be fooled by "<synthetic>" addresses, etc. - Pass on a "dumperVersion" in initial query.
* Great debugger helper bug fixing spree.Friedemann Kleint2009-07-031-22/+44
| | | | | | | | | | | | - Fix extractTemplate() not to kill blanks in case there is no blank after a comma, fix hardcoded types accordingly. - Make niceType()'s regexps ignore blanks after commas, add unsigned short as char_type and cache the mappings, making them work for CDB. - CDB: Parse map output of dumpers correctly, generally don't confuse the parser by unknown keywords encountered when parsing children, thus enabling simple QMap types. - Make dumpInnerValueHelper output std::string types.
* Display Q<>Pointers/Work towards displaying maps/QMaps in CDB.Friedemann Kleint2009-07-021-4/+53
| | | | | | | | | | | | | Make dumpers pass on more size information initially, namely the various Q<>Pointers. Introduce enum for those special template types whose size does not vary with the arguments (Q<>Pointer, std::allocators...) to make it more easily extensible. Pass on some common QMapNode<> sizes as well. Introduce an expression cache to the common QtDumperHelper class and make dumpers pass some common expression values (value offsets of common QMapNode<> incarnations). Make CDBDumperHelper use the expression cache. Extend dumper tester.