From 49655d622d73b135b0b71e7b78957ea858473427 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 12 Jan 2011 14:21:44 +0100 Subject: [PATCH] debugger: Slightly improve compile fix for linux. Reviewed-by: Friedemann Kleint --- src/plugins/debugger/cdb/cdbengine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 0e2da6c89f8..438a1e99383 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -1402,13 +1402,12 @@ unsigned CdbEngine::examineStopReason(const QByteArray &messageIn, if (reason == "exception") { WinException exception; exception.fromGdbMI(stopReason); - QString description; + QString description = exception.toString(); #ifdef Q_OS_WIN // It is possible to hit on a startup trap while stepping (if something // pulls DLLs. Avoid showing a 'stopped' Message box. if (exception.exceptionCode == winExceptionStartupCompleteTrap) return StopNotifyStop; - description = exception.toString(); // WOW 64 breakpoint: just report in log and continue if (exception.exceptionCode == winExceptionWX86Breakpoint) { *message = description;