Debugger[New CDB]: Improve 32bit debugging on 64bit systems.

- Ignore WOW64 breakpoints. Restructure code to examine stop reason
  before notifications to be able handle special stop reasons
  in a simpler way.
- Fix autodetection to look into %ProgramFiles% (x64) as well.
This commit is contained in:
Friedemann Kleint
2011-01-12 13:49:51 +01:00
parent 18f9031ba6
commit a60b3f6746
5 changed files with 158 additions and 91 deletions

View File

@@ -152,6 +152,8 @@ private slots:
private:
enum SpecialStopMode { NoSpecialStop, SpecialStopSynchronizeBreakpoints };
unsigned examineStopReason(const QByteArray &messageIn, QString *message,
QString *exceptionBoxMessage) const;
bool commandsPending() const;
void handleExtensionMessage(char t, int token, const QByteArray &what, const QByteArray &message);
bool doSetupEngine(QString *errorMessage);