debugger: gracefully handle pointers to types named 'class Foo'
debugger: gracefully handle pointers to types named 'class Foo'

The code was previously taking the fallback route through
gdb.parse_and_evaluate which is slow and not available on
some targets.

Change-Id: I066d4c87c9eda168fe8019e4aaae35e58715d5c8
Reviewed-by: Friedemann Kleint
Reviewed-on: http://codereview.qt.nokia.com/1426
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@nokia.com>

duythanhphan/qt-creator,syntheticpp/qt-creator,bakaiadam/collaborative_qt_creator,duythanhphan/qt-creator,danimo/qt-creator,colede/qtcreator,omniacreator/qtcreator,richardmg/qtcreator,azat/qtcreator,malikcjm/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,kuba1/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,xianian/qt-creator,dmik/qt-creator-os2,malikcjm/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,bakaiadam/collaborative_qt_creator,richardmg/qtcreator,jonnor/qt-creator,KDAB/KDAB-Creator,colede/qtcreator,bakaiadam/collaborative_qt_creator,xianian/qt-creator,bakaiadam/collaborative_qt_creator,farseerri/git_code,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,jonnor/qt-creator,hdweiss/qt-creator-visualizer,richardmg/qtcreator,farseerri/git_code,darksylinc/qt-creator,bakaiadam/collaborative_qt_creator,xianian/qt-creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,farseerri/git_code,danimo/qt-creator,KDAB/KDAB-Creator,dmik/qt-creator-os2,azat/qtcreator,syntheticpp/qt-creator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,colede/qtcreator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,farseerri/git_code,kuba1/qtcreator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,dmik/qt-creator-os2,xianian/qt-creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,malikcjm/qtcreator,duythanhphan/qt-creator,farseerri/git_code,danimo/qt-creator,xianian/qt-creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,kuba1/qtcreator,kuba1/qtcreator,xianian/qt-creator,kuba1/qtcreator,colede/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,KDE/android-qt-creator,duythanhphan/qt-creator,danimo/qt-creator,xianian/qt-creator,maui-packages/qt-creator,azat/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,syntheticpp/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,richardmg/qtcreator,jonnor/qt-creator,hdweiss/qt-creator-visualizer,darksylinc/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,maui-packages/qt-creator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,azat/qtcreator,jonnor/qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,maui-packages/qt-creator,KDAB/KDAB-Creator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,darksylinc/qt-creator,jonnor/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,azat/qtcreator,ostash/qt-creator-i18n-uk,syntheticpp/qt-creator,dmik/qt-creator-os2,KDE/android-qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,darksylinc/qt-creator,azat/qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,KDE/android-qt-creator,xianian/qt-creator,duythanhphan/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,Distrotech/qtcreator,KDAB/KDAB-Creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,darksylinc/qt-creator,dmik/qt-creator-os2,KDE/android-qt-creator,duythanhphan/qt-creator,danimo/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,jonnor/qt-creator,hdweiss/qt-creator-visualizer,colede/qtcreator