1 // 2 // Copyright (c) 2010-2024 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 using Antmicro.Renode.Peripherals.CPU; 8 9 namespace Antmicro.Renode.Utilities.GDB.Commands 10 { 11 internal class SingleStepCommand : Command 12 { SingleStepCommand(CommandsManager manager)13 public SingleStepCommand(CommandsManager manager) : base(manager) 14 { 15 } 16 17 [Execute("s")] Execute()18 public PacketData Execute() 19 { 20 manager.Cpu.Step(1); 21 return null; 22 } 23 } 24 } 25 26