Debugger: add a new bool setting to follow all branches after fork

Currently unused.

Change-Id: Ic751de17bf43749a135b353c0b916371174b35f8
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-11-06 15:21:42 +01:00
parent 6841976aa8
commit 33468e3549
4 changed files with 22 additions and 0 deletions

View File

@@ -4841,6 +4841,11 @@ void GdbEngine::startGdb(const QStringList &args)
// Dummy command to guarantee a roundtrip before the adapter proceed.
postCommand("pwd", ConsoleCommand, CB(reportEngineSetupOk));
if (debuggerCore()->boolSetting(MultiInferior)) {
//postCommand("set follow-exec-mode new");
postCommand("set detach-on-fork off");
}
}
void GdbEngine::reportEngineSetupOk(const GdbResponse &response)