Commit 1de861f0 authored by hjk's avatar hjk
Browse files

Debugger: Make QFiniteStack plot work without requiring expansion



Consistent with QVector etc.

Change-Id: Id616c9003c0d561ec941f9961dee122059d75dc3
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 31cc61e2
......@@ -546,8 +546,7 @@ def qdump__QFiniteStack(d, value):
size = int(value["_size"])
d.check(0 <= size and size <= alloc and alloc <= 1000 * 1000 * 1000)
d.putItemCount(size)
if d.isExpanded():
d.putPlotData(value["_array"], size, d.templateArgument(value.type, 0))
d.putPlotData(value["_array"], size, d.templateArgument(value.type, 0))
# Stock gdb 7.2 seems to have a problem with types here:
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment