Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
b7c93c03
Commit
b7c93c03
authored
Dec 07, 2009
by
hjk
Browse files
debugger: simply dumper logic in case of inner types are pointers
parent
d2ab8762
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/auto/debugger/tst_gdb.cpp
View file @
b7c93c03
...
...
@@ -816,12 +816,12 @@ void tst_Gdb::dump_misc()
next
();
check
(
"B"
,
"{iname='local.s',name='s',type='int *',"
"value='-',numchild='1'}"
,
""
,
0
);
check
(
"B"
,
"{iname='local.s',name='s',type='int *',"
"value='1',numchild='0'}"
,
"local.s,local.model"
,
0
);
//check("B","{iname='local.s',name='s',type='int *',"
// "value='-',numchild='1',children=[{iname='local.s.*',"
// "name='*s',type='int',value='1',numchild='0'}]}",
// "local.s,local.model", 0);
// "value='1',numchild='0'}", "local.s,local.model", 0);
check
(
"B"
,
"{iname='local.s',name='s',type='int *',"
"value='-',numchild='1',children=["
"{name='*',type='int',value='1',numchild='0'}]}"
,
"local.s,local.model"
,
0
);
}
...
...
@@ -1641,7 +1641,7 @@ void tst_Gdb::dump_QList_int_star()
check
(
"E"
,
"{iname='local.list',name='list',"
"type='"
NS
"QList<int*>',value='<3 items>',numchild='3',"
"childtype='int',childnumchild='0',children=["
"{value='1'},{value='
(null)
',type='int *'},{value='2'}]}"
,
"local.list"
);
"{value='1'},{value='
0x0
',type='int *'},{value='2'}]}"
,
"local.list"
);
}
...
...
@@ -1919,8 +1919,8 @@ void tst_Gdb::dump_QObject()
check
(
"G"
,
"{iname='local.ob',name='ob',type='"
NS
"QObject',valueencoded='7',"
"value='41006e0020004f0062006a00650063007400',numchild='4',children=["
"{name='parent',type='"
NS
"QObject *',"
"
value='0x0',
numchild='0'},"
"{name='parent',
value='0x0',
type='"
NS
"QObject *',"
"numchild='0'},"
"{name='children',type='-',"
// NS"QObject{Data,}::QObjectList',"
"value='<0 items>',numchild='0',children=[]},"
"{name='properties',value='<1 items>',type=' ',numchild='1',children=["
...
...
@@ -2792,7 +2792,7 @@ void tst_Gdb::dump_QTextCodec()
// FIXME
prepare
(
"dump_QTextCodec"
);
next
();
check
(
"D"
,
"{iname='local.codec',name='codec',type='"
NS
"QTextCodec
*
',"
check
(
"D"
,
"{iname='local.codec',name='codec',type='"
NS
"QTextCodec',"
"valueencoded='6',value='5554462d3136',numchild='2',children=["
"{name='name',type='"
NS
"QByteArray',valueencoded='6',"
"value='5554462d3136',numchild='6'},"
...
...
@@ -3599,7 +3599,7 @@ void tst_Gdb::dump_std_vector()
"{type='"
+
listType
+
"',value='<1 items>',"
"childtype='int',"
"childnumchild='0',children=[{value='45'}]},"
"{value='
(null)
',numchild='0'}]},"
"{value='
0x0
',numchild='0'}]},"
"{iname='local.list',name='list',type='"
+
listType
+
"',"
"value='<1 items>',numchild='1'}"
,
"local.vector,local.vector.0"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment