Lines Matching refs:commandsManager
29 commandsManager = new CommandsManager(machine, cpus); in GdbStub()
30 TypeManager.Instance.AutoLoadedType += commandsManager.Register; in GdbStub()
36 commandsManager.CanAttachCPU = false; in GdbStub()
37 foreach(var cpu in commandsManager.ManagedCpus) in GdbStub()
50 foreach(var cpu in commandsManager.ManagedCpus) in GdbStub()
56 commandsManager.CanAttachCPU = true; in GdbStub()
59 commHandler = new CommunicationHandler(this, commandsManager); in GdbStub()
66 commandsManager.AttachCPU(cpu); in AttachCPU()
71 return commandsManager.IsCPUAttached(cpu); in IsCPUAttached()
93 public bool GdbClientConnected => !commandsManager.CanAttachCPU;
115 if(commandsManager.Machine.SystemBus.IsMultiCore) in OnHalted()
117 commandsManager.SelectCpuForDebugging(cpuSupportingGdb); in OnHalted()
118 …ctx.Send(new Packet(PacketData.StopReply(args.BreakpointType.Value, commandsManager.ManagedCpus[cp… in OnHalted()
128 if(commandsManager.Machine.InternalPause) in OnHalted()
135 if(commandsManager.Machine.SystemBus.IsMultiCore) in OnHalted()
139 commandsManager.SelectCpuForDebugging(cpuSupportingGdb); in OnHalted()
140 …ctx.Send(new Packet(PacketData.StopReply(InterruptSignal, commandsManager.ManagedCpus[cpuSupportin… in OnHalted()
149 if(commandsManager.Machine.SystemBus.IsMultiCore) in OnHalted()
151 commandsManager.SelectCpuForDebugging(cpuSupportingGdb); in OnHalted()
152 …ctx.Send(new Packet(PacketData.StopReply(TrapSignal, commandsManager.ManagedCpus[cpuSupportingGdb]… in OnHalted()
186 commandsManager.Cpu.Log(LogLevel.Noisy, "GDB CTRL-C occured - pausing CPU"); in OnByteWritten()
190 …stopReplyingCpu = commandsManager.ManagedCpus.OrderByDescending(cpu => !cpu.IsHalted).FirstOrDefau… in OnByteWritten()
191 foreach(var cpu in commandsManager.ManagedCpus) in OnByteWritten()
206 …commandsManager.Cpu.Log(LogLevel.Warning, "Corrupted GDB packet received: {0}", result.Packet.Data… in OnByteWritten()
215 …commandsManager.Cpu.Log(LogLevel.Debug, "GDB packet received: {0}", result.Packet.Data.GetDataAsSt… in OnByteWritten()
221 if(!commandsManager.TryGetCommand(result.Packet, out command)) in OnByteWritten()
225 …commandsManager.Cpu.Log(LogLevel.Warning, "Unsupported GDB command: {0}", result.Packet.Data.GetDa… in OnByteWritten()
240 commandsManager.Cpu.Log(LogLevel.Debug, "{0}", e); in OnByteWritten()
248 …commandsManager.Cpu.Log(LogLevel.Error, "GDB '{0}' command failed: {1}", commandString, e.Message); in OnByteWritten()
265 private readonly CommandsManager commandsManager; field in Antmicro.Renode.Utilities.GDB.GdbStub