1 //
2 // Copyright (c) 2010-2019 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.Utilities.GDB;
8 
9 namespace Antmicro.Renode.Extensions.Utilities.GDB.Commands
10 {
11     public class ThreadAttachedCommand : Command, IMultithreadCommand
12     {
ThreadAttachedCommand(CommandsManager manager)13         public ThreadAttachedCommand(CommandsManager manager) : base(manager)
14         {
15         }
16 
17         [Execute("qAttached")]
Execute()18         public PacketData Execute()
19         {
20             // return information to gdb that it has successfully attached to an existing process
21             return new PacketData("1");
22         }
23     }
24 }
25