forked from qt-creator/qt-creator
		
	Merge remote branch 'origin/2.0'
Conflicts: src/plugins/debugger/cdb/cdbdebugengine.cpp src/plugins/debugger/cdb/cdbdumperhelper.cpp src/plugins/debugger/gdb/gdbengine.cpp
This commit is contained in:
		@@ -40,13 +40,15 @@ static const char *pathKeyC = "Path";
 | 
			
		||||
static const char *symbolPathsKeyC = "SymbolPaths";
 | 
			
		||||
static const char *sourcePathsKeyC = "SourcePaths";
 | 
			
		||||
static const char *verboseSymbolLoadingKeyC = "VerboseSymbolLoading";
 | 
			
		||||
static const char *fastLoadDebuggingHelpersKeyC = "FastLoadDebuggingHelpers";
 | 
			
		||||
 | 
			
		||||
namespace Debugger {
 | 
			
		||||
namespace Internal {
 | 
			
		||||
 | 
			
		||||
CdbOptions::CdbOptions() :
 | 
			
		||||
    enabled(false),
 | 
			
		||||
    verboseSymbolLoading(false)
 | 
			
		||||
    verboseSymbolLoading(false),
 | 
			
		||||
    fastLoadDebuggingHelpers(true)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -59,6 +61,7 @@ void CdbOptions::clear()
 | 
			
		||||
{
 | 
			
		||||
    enabled = false;
 | 
			
		||||
    verboseSymbolLoading = false;
 | 
			
		||||
    fastLoadDebuggingHelpers = true;
 | 
			
		||||
    path.clear();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -79,6 +82,7 @@ void CdbOptions::fromSettings(const QSettings *s)
 | 
			
		||||
    symbolPaths = s->value(keyRoot + QLatin1String(symbolPathsKeyC), QStringList()).toStringList();
 | 
			
		||||
    sourcePaths = s->value(keyRoot + QLatin1String(sourcePathsKeyC), QStringList()).toStringList();
 | 
			
		||||
    verboseSymbolLoading = s->value(keyRoot + QLatin1String(verboseSymbolLoadingKeyC), false).toBool();
 | 
			
		||||
    fastLoadDebuggingHelpers = s->value(keyRoot + QLatin1String(fastLoadDebuggingHelpersKeyC), true).toBool();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CdbOptions::toSettings(QSettings *s) const
 | 
			
		||||
@@ -89,6 +93,7 @@ void CdbOptions::toSettings(QSettings *s) const
 | 
			
		||||
    s->setValue(QLatin1String(symbolPathsKeyC), symbolPaths);
 | 
			
		||||
    s->setValue(QLatin1String(sourcePathsKeyC), sourcePaths);
 | 
			
		||||
    s->setValue(QLatin1String(verboseSymbolLoadingKeyC), verboseSymbolLoading);
 | 
			
		||||
    s->setValue(QLatin1String(fastLoadDebuggingHelpersKeyC), fastLoadDebuggingHelpers);
 | 
			
		||||
    s->endGroup();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -101,6 +106,8 @@ unsigned CdbOptions::compare(const CdbOptions &rhs) const
 | 
			
		||||
        rc |= DebuggerPathsChanged;
 | 
			
		||||
    if (verboseSymbolLoading != rhs.verboseSymbolLoading)
 | 
			
		||||
        rc |= SymbolOptionsChanged;
 | 
			
		||||
    if (fastLoadDebuggingHelpers != rhs.fastLoadDebuggingHelpers)
 | 
			
		||||
        rc |= FastLoadDebuggingHelpersChanged;
 | 
			
		||||
    return rc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user