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
This commit is contained in:
Friedemann Kleint
2011-02-17 13:00:11 +01:00
parent faa4d4fc69
commit 73e9c5790b
9 changed files with 64 additions and 28 deletions

View File

@@ -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;