debugger: show cdb vtable pointer in hex

Change-Id: I8deb537ce837e54315b0f0a64897363f70344137
Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-5381
Reviewed-on: http://codereview.qt.nokia.com/1405
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
hjk
2011-07-11 11:19:29 +02:00
committed by Friedemann Kleint
parent c4ba51ca36
commit 6e5908625f
6 changed files with 25 additions and 1 deletions

View File

@@ -417,6 +417,13 @@ unsigned SymbolGroupValue::isPointerType(const std::string &t)
return 0;
}
// Return number of characters to strip for pointer type
bool SymbolGroupValue::isVTableType(const std::string &t)
{
const char vtableTypeC[] = "__fptr() [";
return t.compare(0, sizeof(vtableTypeC) - 1, vtableTypeC) == 0;
}
// add pointer type 'Foo' -> 'Foo *', 'Foo *' -> 'Foo **'
std::string SymbolGroupValue::pointerType(const std::string &type)
{