Mono.Debugger.Backend.DwarfReader.AbbrevEntry.AbbrevEntry C# (CSharp) Method

AbbrevEntry() public method

public AbbrevEntry ( DwarfReader dwarf, DwarfBinaryReader reader ) : System
dwarf DwarfReader
reader DwarfBinaryReader
return System
            public AbbrevEntry(DwarfReader dwarf, DwarfBinaryReader reader)
            {
                abbrev_id = reader.ReadLeb128 ();
                tag = (DwarfTag) reader.ReadLeb128 ();
                has_children = reader.ReadByte () != 0;

                Attributes = new ArrayList ();

                do {
                    int attr = reader.ReadLeb128 ();
                    int form = reader.ReadLeb128 ();

                    if ((attr == 0) && (form == 0))
                        break;

                    Attributes.Add (new AttributeEntry (
                        dwarf, (DwarfAttribute) attr, (DwarfForm) form));
                } while (true);
            }
DwarfReader.AbbrevEntry