Debugger: Fix GdbEngine state transitions for 'attach'
Debugger: Fix GdbEngine state transitions for 'attach'

... to running process. Pretty much the same setup as for
the terminal now, except that we are stopped in the end.

Change-Id: I02c5bf52971dc97fd6393ee67349c9070dc08697
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@theqtcompany.com>
Reviewed-by: Christian Stenger <accbb51712d7b9c4fb108439d01e716148e5f9e6@theqtcompany.com>

xianian/qt-creator,danimo/qt-creator,Distrotech/qtcreator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,xianian/qt-creator,kuba1/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,kuba1/qtcreator,kuba1/qtcreator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,danimo/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,kuba1/qtcreator,xianian/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,danimo/qt-creator,xianian/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator