aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerstreamops.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-17 13:00:11 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-17 13:06:51 +0100
commit73e9c5790bcd34b9053e63cf78999ed175e7d33d (patch)
treed99ac5db84dbe22e649c245da84b59da224e9367 /src/plugins/debugger/debuggerstreamops.cpp
parentfaa4d4fc6998031e80fb6de41dcd496f32684cd5 (diff)
Debugger: Change UseFullPath setting to an enumeration.
Introducing EngineDefault such that CDB/LLDB can use full paths by default and gdb can use short paths. Reviewed-by: hjk
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 d95f592b88..75cab5badf 100644
--- a/src/plugins/debugger/debuggerstreamops.cpp
+++ b/src/plugins/debugger/debuggerstreamops.cpp
@@ -184,7 +184,7 @@ QDataStream &operator<<(QDataStream &stream, const BreakpointParameters &s)
stream << quint64(s.lineNumber);
stream << quint64(s.address);
stream << s.functionName;
- stream << s.useFullPath;
+ stream << int(s.pathUsage);
stream << s.tracepoint;
stream << s.module;
stream << s.command;
@@ -203,7 +203,7 @@ QDataStream &operator>>(QDataStream &stream, BreakpointParameters &s)
stream >> t; s.lineNumber = t;
stream >> t; s.address = t;
stream >> str; s.functionName = str;
- stream >> b; s.useFullPath = b;
+ stream >> t; s.pathUsage = static_cast<BreakpointPathUsage>(t);
stream >> b; s.tracepoint = b;
stream >> str ; s.module = str;
stream >> str ; s.command = str;