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 System; 8 9 namespace Antmicro.Renode.Utilities.GDB 10 { 11 [AttributeUsage(AttributeTargets.Parameter)] 12 public class ArgumentAttribute : Attribute 13 { 14 public char Separator { get; set; } 15 public ArgumentEncoding Encoding { get; set; } 16 17 public enum ArgumentEncoding 18 { 19 DecimalNumber, 20 HexNumber, 21 HexBytesString, // two hex digits for each byte 22 BinaryBytes, 23 HexString, // two hex digits for every character 24 String, 25 ThreadId, // can be "<thread-id>" but can also be "p<process-id>.<thread-id>" 26 } 27 } 28 } 29 30