This commit is contained in:
mterwoord_cp 2010-07-07 16:21:14 +00:00
parent 3a64b8d806
commit cbaeab70a5

View file

@ -50,15 +50,15 @@ namespace Cosmos.Debug.VSDebugEngine
Boolean.TryParse(mDebugInfo["QemuEnableGDB"], out xGDBDebugStub);
#if VM_QEMU
#if DEBUG_CONNECTOR_TCP_SERVER
var xDebugConnectorStr = "-serial tcp:127.0.0.1:4444";
#endif
#if DEBUG_CONNECTOR_PIPE_CLIENT
var xDebugConnectorStr = @"-serial pipe:CosmosDebug";
#endif
#if DEBUG_CONNECTOR_PIPE_SERVER
var xDebugConnectorStr = @"-serial pipe:CosmosDebug";
#endif
#if DEBUG_CONNECTOR_TCP_SERVER
var xDebugConnectorStr = "-serial tcp:127.0.0.1:4444";
#endif
#if DEBUG_CONNECTOR_PIPE_CLIENT
var xDebugConnectorStr = @"-serial pipe:CosmosDebug";
#endif
#if DEBUG_CONNECTOR_PIPE_SERVER
var xDebugConnectorStr = @"-serial pipe:CosmosDebug";
#endif
// Start QEMU
// QEMU Command Line docs: http://wiki.qemu.org/download/qemu-doc.html#sec_005finvocation
@ -72,6 +72,13 @@ namespace Cosmos.Debug.VSDebugEngine
+ " -boot d" // Boot from the CDRom
+ " " + xDebugConnectorStr;
if (xGDBDebugStub)
{
mProcessStartInfo.Arguments += " -s -S";
}
#endif
#if VM_VMWare
mProcessStartInfo.Arguments = @"true C:\source\Cosmos\Build\VMWare\Workstation\Cosmos.vmx";