1 // 2 // Copyright (c) 2010-2022 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 using System.Collections.Generic; 9 10 namespace Antmicro.Renode.Peripherals.CPU 11 { 12 public struct GDBRegisterDescriptor 13 { GDBRegisterDescriptorAntmicro.Renode.Peripherals.CPU.GDBRegisterDescriptor14 public GDBRegisterDescriptor(uint number, uint size, string name, string type = null, string group = null) : this() 15 { 16 this.Number = number; 17 this.Size = size; 18 this.Name = name; 19 this.Type = type; 20 this.Group = group; 21 } 22 23 public uint Number { get; } 24 public uint Size { get; } 25 public string Name { get; } 26 public string Type { get; } 27 public string Group { get; } 28 } 29 } 30 31