Author: toshok
Date: 2005-04-22 15:31:42 -0400 (Fri, 22 Apr 2005)
New Revision: 43460

Modified:
   trunk/debugger/backends/mono/MonoSymbolFile.cs
Log:
add some helpful comments

Modified: trunk/debugger/backends/mono/MonoSymbolFile.cs
===================================================================
--- trunk/debugger/backends/mono/MonoSymbolFile.cs      2005-04-22 19:24:12 UTC 
(rev 43459)
+++ trunk/debugger/backends/mono/MonoSymbolFile.cs      2005-04-22 19:31:42 UTC 
(rev 43460)
@@ -59,6 +59,7 @@
                }
        }
 
+       // managed version of struct _MonoDebugLineNumberEntry 
        internal struct JitLineNumberEntry
        {
                public readonly int Offset;
@@ -76,6 +77,7 @@
                }
        }
 
+       // managed version of struct _MonoDebugLexicalBlockEntry
        internal struct JitLexicalBlockEntry
        {
                public readonly int StartOffset;
@@ -98,6 +100,8 @@
                }
        }
 
+
+       // managed version of struct _MonoDebugMethodAddress
        internal class MethodAddress
        {
                public readonly TargetAddress StartAddress;
@@ -124,6 +128,8 @@
                public MethodAddress (C.MethodEntry entry, TargetBinaryReader 
reader,
                                      AddressDomain domain, IArchitecture arch)
                {
+                       // here we read the MonoDebugMethodAddress structure
+                       // as written out in mono_debug_add_method.
                        reader.Position = 16;
                        StartAddress = ReadAddress (reader, domain);
                        EndAddress = StartAddress + reader.ReadInt32 ();

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to