aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerstreamops.cpp
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-10-19 16:37:57 +0200
committerhjk <qthjk@ovi.com>2012-10-23 19:35:14 +0200
commit0d9a56ab3f760f357a82a21722d076c220b5d659 (patch)
tree3e64c02166bf851b72e04a32bbd6de3ddebdacfa /src/plugins/debugger/debuggerstreamops.cpp
parent617f74aa19af61e3ca2579d04327782b1e7a407e (diff)
Debugger: Rework thread data aquisition
Listen to gdb/MI notifications when possible. This is more granular, gives access to the thread group id and takes care of thread changes at any time. Change-Id: I8c67f6f19b204059deefdf7e07fe3b4ce13ed963 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/debugger/debuggerstreamops.cpp')
-rw-r--r--src/plugins/debugger/debuggerstreamops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerstreamops.cpp b/src/plugins/debugger/debuggerstreamops.cpp
index ae178ccab4..c7ec18b054 100644
--- a/src/plugins/debugger/debuggerstreamops.cpp
+++ b/src/plugins/debugger/debuggerstreamops.cpp
@@ -40,7 +40,7 @@ namespace Internal {
QDataStream &operator<<(QDataStream &stream, const ThreadData &d)
{
- stream << (qint64)d.id;
+ stream << d.id.raw();
stream << d.address;
stream << d.function;
stream << d.fileName;
@@ -54,7 +54,7 @@ QDataStream &operator>>(QDataStream &stream, ThreadData &d)
{
qint64 id;
stream >> id;
- d.id = id;
+ d.id = ThreadId(id);
stream >> d.address;
stream >> d.function;
stream >> d.fileName;