aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerstreamops.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-04-12 17:32:41 +0200
committerhjk <qtc-committer@nokia.com>2011-04-12 17:33:08 +0200
commit82f3e788f626c3dfa7673adf4074bc30add994b0 (patch)
treead2508840468b979621f9a77f61ad3a74d3f5e86 /src/plugins/debugger/debuggerstreamops.cpp
parentffd5d69e76fe22e5db5ed1f59504c3b645ddfebf (diff)
debugger: re-work DisassemblerLine structure
Diffstat (limited to 'src/plugins/debugger/debuggerstreamops.cpp')
-rw-r--r--src/plugins/debugger/debuggerstreamops.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerstreamops.cpp b/src/plugins/debugger/debuggerstreamops.cpp
index 22b9cab355..a0bf16bc53 100644
--- a/src/plugins/debugger/debuggerstreamops.cpp
+++ b/src/plugins/debugger/debuggerstreamops.cpp
@@ -265,6 +265,9 @@ QDataStream &operator>>(QDataStream &stream, WatchData &wd)
QDataStream &operator<<(QDataStream& stream, const DisassemblerLine &o)
{
stream << o.address;
+ stream << o.function;
+ stream << o.offset;
+ stream << o.lineNumber;
stream << o.data;
return stream;
}
@@ -272,6 +275,9 @@ QDataStream &operator<<(QDataStream& stream, const DisassemblerLine &o)
QDataStream &operator>>(QDataStream& stream, DisassemblerLine &o)
{
stream >> o.address;
+ stream >> o.function;
+ stream >> o.offset;
+ stream >> o.lineNumber;
stream >> o.data;
return stream;
}