mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
30 lines
773 B
C#
30 lines
773 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.GdbClient;
|
|
using Cosmos.GdbClient.BasicCommands;
|
|
|
|
namespace GdpClientTester
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
GdbConnection connection = new GdbConnection();
|
|
GdbController controller = new GdbController(connection);
|
|
try
|
|
{
|
|
controller.Extended();
|
|
}
|
|
catch
|
|
{
|
|
System.Diagnostics.Debug.WriteLine("GDB not running");
|
|
return;
|
|
}
|
|
|
|
ContinueCommand cmd = new ContinueCommand(controller);
|
|
cmd.BeginSync();
|
|
Console.WriteLine("Done");
|
|
}
|
|
}
|
|
}
|