mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
Checks for existence of GDB client.
This commit is contained in:
parent
580b4d3cf9
commit
d037379c7b
1 changed files with 10 additions and 8 deletions
|
|
@ -224,14 +224,16 @@ namespace Cosmos.Debug.VSDebugEngine {
|
|||
// But allow overrides for dev kit, I dont want to have to run the install
|
||||
// for each change to gdb client.
|
||||
string xGDBClientEXE = @"m:\source\Cosmos\source2\Debug\Cosmos.Debug.GDB\bin\Debug\Cosmos.Debug.GDB.exe";
|
||||
var xPSInfo = new ProcessStartInfo(xGDBClientEXE);
|
||||
xPSInfo.Arguments = Path.ChangeExtension(mProjectFile, ".cgdb") + @" /Connect";
|
||||
xPSInfo.UseShellExecute = false;
|
||||
xPSInfo.RedirectStandardInput = false;
|
||||
xPSInfo.RedirectStandardError = false;
|
||||
xPSInfo.RedirectStandardOutput = false;
|
||||
xPSInfo.CreateNoWindow = false;
|
||||
Process.Start(xPSInfo);
|
||||
if (File.Exists(xGDBClientEXE)) {
|
||||
var xPSInfo = new ProcessStartInfo(xGDBClientEXE);
|
||||
xPSInfo.Arguments = Path.ChangeExtension(mProjectFile, ".cgdb") + @" /Connect";
|
||||
xPSInfo.UseShellExecute = false;
|
||||
xPSInfo.RedirectStandardInput = false;
|
||||
xPSInfo.RedirectStandardError = false;
|
||||
xPSInfo.RedirectStandardOutput = false;
|
||||
xPSInfo.CreateNoWindow = false;
|
||||
Process.Start(xPSInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue