Commit Graph

18 Commits

Author SHA1 Message Date
Friedemann Kleint
7e054be61c Debugger[New CDB]: Qualify some inner types by module.
in order to speed things up or make dumping of
containers of classes possible.
Fix a bug in stripPointerType.
2011-01-05 15:39:01 +01:00
Friedemann Kleint
ee090e7248 Debugger[New CDB]: Fix QHash/QSet.
Iterate bucket lists correctly.
2011-01-05 09:40:33 +01:00
Friedemann Kleint
d9ec7dd0a6 Debugger[New CDB]: Fix QMap.
Determine field offset of map node using GetFieldOffset.
Qualify with full module.
2011-01-04 10:53:53 +01:00
Friedemann Kleint
8d3e48af33 Debugger[New CDB]: First attempts at QMap<>.
Qualify map and hash nodes as Module!QMapNode<>.
Limit recursion depth of GDBMI dump.
Introduce error reporting.
Iterate QMap nodes and create artificial key/value nodes.
2010-12-21 17:23:27 +01:00
con
23c22b7c66 License headers, part 2 2010-12-17 17:14:20 +01:00
Friedemann Kleint
bc31a3f140 Debugger[New CDB]: Dump QHash/QMultiHash/QSet.
Introduce new Symbol group node for fake map nodes.
Iterate over QHash and extract keys, values for QSet/QHash.
2010-12-16 15:49:08 +01:00
Friedemann Kleint
476dda1b43 Debugger[New CDB]: Fix stepping issues, forced shutdown, values.
- Do not report start-up trap as stop reason should one trigger
  while stepping.
- Set current frame to first usable frame, avoiding disassembly
  while stepping
- Kill process in case of forced shutdown with pending (long)
  commands.
- SymbolGroupValue: Do a quick check for accessible values
  and mark failure as 'invalid'.
- Introduce flag indicating existence of simple dumpers to types.
2010-12-16 12:20:44 +01:00
Friedemann Kleint
7fa7ec98d3 Debugger[New CDB]: Do not add begin twice for QList<Large>.
Factor out some utilities for hashes.
2010-12-15 17:01:03 +01:00
Friedemann Kleint
b0b915fa56 Debugger[New CDB]: Fix flag handling and expanding of list children.
Suppress repetitive invocation of dumper evaluation.
Use parseWatchData() as does gdb.
2010-12-15 14:09:37 +01:00
Friedemann Kleint
cc3dd43942 Debugger[New CDB]: Linked lists containers/container child expansion.
Introduce node hierarchy and move nodes to a separate file.
Introduce reference nodes that point to additional symbols and
symbols within the symbol tree (make deeply nested linked list
elements visible as array elements). Properly name container
elements as array elements 0..n. Fix pre-expansion of complex
dumpers.
2010-12-15 11:01:01 +01:00
Friedemann Kleint
580484488f Debugger[New CDB]: QList fixes.
Alignment at void*-boundaries for small types.
Read out pointer array directly instead of dereferencing ** for
large types for speed.
2010-12-14 09:57:33 +01:00
Friedemann Kleint
5fcc706800 Debugger[New CDB]: Work on QList.
Move container size code to container.cpp/h and known type
enumeration to separate knowntype.h.
Add some more types. Change type detection to work without
'class '/'struct ' prefixes for inner types. Add Qt types with
Movable/Primitive flags. Add QStack/QQueue, size for std::deque
and std::stack. Add infrastructure for linked-list type containers
and std::list. Implement QList specialisations depending on type.
2010-12-13 16:30:29 +01:00
Friedemann Kleint
d3619e806d Debugger[New CDB]: First stab at containers.
Set up infrastructure for having 'fake' children in a symbolgroup
that merely reference others. Print inames correctly, do index
bookkeeping accordingly, adapt visitor.
Prototypically implement complex dumpers for array-type containers.
adding children as additional symbols.
2010-12-10 17:17:55 +01:00
Friedemann Kleint
54c5692efc Debugger[New CDB]: Dump size of containers and QObject::ObjectName.
Extend type checking for container templates. Add utility
function to obtain container size.
2010-12-03 16:46:20 +01:00
Friedemann Kleint
e90c89e27d Debugger:[New CDB]: Add casting to SymbolGroupValue for QVariant.
Reorganize simple dumpers to be easily nested, add QVariant
dumper. Introduce enumeration and detection routine for types.
2010-12-01 13:43:29 +01:00
Friedemann Kleint
f3f95c693a Debugger[new CDB]: Add support for more core types.
Structures with accessible members.
2010-11-29 12:35:19 +01:00
Friedemann Kleint
30e74df0ba Debugger[New CDDB]: Dump strings and simple Qt types.
Add infrastructure for simple dumpers in Symbol group.
Fix display of class values.
2010-11-26 15:51:56 +01:00
Friedemann Kleint
78fe22f4a3 Debugger[New CDB]: Add SymbolGroupValue for simple dumping. 2010-11-25 17:17:06 +01:00