Cosmos/source2/Debug/Cosmos.Debug.GDB/Program.cs
Trivalik_cp 11b24e4a70 change gdb client to start without a cgdb file
copy gdb client on every build to install path if registry key found
remove hardcoded gdb.exe path
optimize vspackage, no cache refresh for every item
2011-06-14 19:47:39 +00:00

24 lines
No EOL
712 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Cosmos.Debug.GDB {
static class Program {
[STAThread]
static void Main() {
var xArgs = System.Environment.GetCommandLineArgs();
if (xArgs.Length > 1) {
if (false == Settings.Load(xArgs[1]))
return;
}
if (xArgs.Length > 2) {
//Settings.AutoConnect = string.Compare(xArgs[2], "/Connect", true) == 0;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain());
}
}
}