forked from qt-creator/qt-creator
debugger: fix QTextCodec dumper
This commit is contained in:
@@ -818,9 +818,11 @@ void tst_Gdb::dump_misc()
|
|||||||
check("B","{iname='local.s',name='s',type='int *',"
|
check("B","{iname='local.s',name='s',type='int *',"
|
||||||
"value='-',numchild='1'}", "", 0);
|
"value='-',numchild='1'}", "", 0);
|
||||||
check("B","{iname='local.s',name='s',type='int *',"
|
check("B","{iname='local.s',name='s',type='int *',"
|
||||||
"value='-',numchild='1',children=[{iname='local.s.*',"
|
"value='1',numchild='0'}", "local.s,local.model", 0);
|
||||||
"name='*s',type='int',value='1',numchild='0'}]}",
|
//check("B","{iname='local.s',name='s',type='int *',"
|
||||||
"local.s,local.model", 0);
|
// "value='-',numchild='1',children=[{iname='local.s.*',"
|
||||||
|
// "name='*s',type='int',value='1',numchild='0'}]}",
|
||||||
|
// "local.s,local.model", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -2719,6 +2721,8 @@ void tst_Gdb::dump_QString()
|
|||||||
"value='{...}',numchild='5',children=["
|
"value='{...}',numchild='5',children=["
|
||||||
"{name='d',type='"NS"QString::Data *',"
|
"{name='d',type='"NS"QString::Data *',"
|
||||||
"value='-',numchild='1'}]}", "local.s", 0);
|
"value='-',numchild='1'}]}", "local.s", 0);
|
||||||
|
/*
|
||||||
|
// FIXME: changed after auto-deref commit
|
||||||
check("B","{iname='local.s',name='s',type='"NS"QString',"
|
check("B","{iname='local.s',name='s',type='"NS"QString',"
|
||||||
"value='{...}',numchild='5',"
|
"value='{...}',numchild='5',"
|
||||||
"children=[{name='d',"
|
"children=[{name='d',"
|
||||||
@@ -2726,6 +2730,7 @@ void tst_Gdb::dump_QString()
|
|||||||
"children=[{iname='local.s.d.*',name='*d',"
|
"children=[{iname='local.s.d.*',name='*d',"
|
||||||
"type='"NS"QString::Data',value='{...}',numchild='11'}]}]}",
|
"type='"NS"QString::Data',value='{...}',numchild='11'}]}]}",
|
||||||
"local.s,local.s.d", 0);
|
"local.s,local.s.d", 0);
|
||||||
|
*/
|
||||||
next();
|
next();
|
||||||
check("C","{iname='local.s',name='s',type='"NS"QString',"
|
check("C","{iname='local.s',name='s',type='"NS"QString',"
|
||||||
"valueencoded='7',value='680061006c006c006f00',numchild='0'}");
|
"valueencoded='7',value='680061006c006c006f00',numchild='0'}");
|
||||||
@@ -2789,9 +2794,10 @@ void tst_Gdb::dump_QTextCodec()
|
|||||||
prepare("dump_QTextCodec");
|
prepare("dump_QTextCodec");
|
||||||
next();
|
next();
|
||||||
check("D", "{iname='local.codec',name='codec',type='"NS"QTextCodec *',"
|
check("D", "{iname='local.codec',name='codec',type='"NS"QTextCodec *',"
|
||||||
"value='-',numchild='1',children=[{iname='local.codec.*',"
|
"valueencoded='6',value='5554462d3136',numchild='2',children=["
|
||||||
"name='*codec',type='"NS"QTextCodec',"
|
"{name='name',type='"NS"QByteArray',valueencoded='6',"
|
||||||
"value='{...}',numchild='2',children=[]}]}",
|
"value='5554462d3136',numchild='6'},"
|
||||||
|
"{name='mibEnum',type='int',value='1015',numchild='0'}]}",
|
||||||
"local.codec,local.codec.*");
|
"local.codec,local.codec.*");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user