mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-13 11:41:44 +00:00
This commit is contained in:
parent
3a64b8d806
commit
cbaeab70a5
1 changed files with 16 additions and 9 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue