mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
26 lines
No EOL
809 B
C#
26 lines
No EOL
809 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.GdbClient.BasicCommands
|
|
{
|
|
/// <summary>
|
|
/// Represents the continue command.
|
|
/// </summary>
|
|
public class ContinueCommand : CommandBase<object>
|
|
{
|
|
public ContinueCommand(GdbController controller) : base(controller) { }
|
|
|
|
void Controller_AcknowledgementReceived(object sender, EventArgs e)
|
|
{
|
|
Controller.AcknowledgementReceived -= new EventHandler(Controller_AcknowledgementReceived);
|
|
Done(null);
|
|
}
|
|
|
|
protected override void Execute()
|
|
{
|
|
Controller.AcknowledgementReceived += new EventHandler(Controller_AcknowledgementReceived);
|
|
Controller.Enqueue(new GdbPacket("c"));
|
|
}
|
|
}
|
|
} |