lldb: move away from local sockets to stdio coms

can now pluginto any host via ssh.
define QTC_LLDB_GUEST=/some/script in the env
where script is a wrapper that does ssh, or whatever you need
This commit is contained in:
Arvid Ephraim Picciani
2010-11-29 17:02:01 +01:00
parent 0ba7fd6720
commit 776a45df68
10 changed files with 160 additions and 63 deletions

View File

@@ -301,7 +301,7 @@ void IPCEngineHost::rpcCallback(quint64 f, QByteArray payload)
showMessage(QLatin1String("IPC Error: unhandled id in guest to host call"));
showMessage(tr("Fatal engine shutdown. Incompatible binary or ipc error."), LogError);
showStatusMessage(tr("Fatal engine shutdown. Incompatible binary or ipc error."));
notifyEngineSpontaneousShutdown();
nuke();
break;
case IPCEngineGuest::NotifyEngineSetupOk:
notifyEngineSetupOk();
@@ -604,7 +604,7 @@ void IPCEngineHost::readyRead()
if (terminator != 'T') {
showStatusMessage(tr("Fatal engine shutdown. Incompatible binary or ipc error."));
showMessage(QLatin1String("IPC Error: terminator missing"));
notifyEngineSpontaneousShutdown();
nuke();
return;
}
rpcCallback(m_nextMessageFunction, payload);