From f2fa59d649df3e9bc1ab377e2ec92bd10d85d7c5 Mon Sep 17 00:00:00 2001
From: hjk <hjk121@nokiamail.com>
Date: Thu, 6 Jun 2013 13:18:13 +0200
Subject: [PATCH] Debugger: Fix reading of thread address field

Change-Id: I1735890a94f89b794cd0ffabc80f9dd1e000abbf
Reviewed-by: hjk <hjk121@nokiamail.com>
---
 src/plugins/debugger/threadshandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/threadshandler.cpp b/src/plugins/debugger/threadshandler.cpp
index 7183248e1a9..bf33daf85b6 100644
--- a/src/plugins/debugger/threadshandler.cpp
+++ b/src/plugins/debugger/threadshandler.cpp
@@ -54,7 +54,7 @@ void mergeThreadData(ThreadData &data, const ThreadData &other)
         data.frameLevel = other.frameLevel;
     if (!other.function.isEmpty())
         data.function = other.function;
-    if (!other.address)
+    if (other.address)
         data.address = other.address;
     if (!other.module.isEmpty())
         data.module = other.module;
-- 
GitLab