Author: toshok
Date: 2005-04-13 18:14:50 -0400 (Wed, 13 Apr 2005)
New Revision: 42968

Modified:
   trunk/debugger/ChangeLog
   trunk/debugger/interfaces/IArchitecture.cs
   trunk/debugger/interfaces/IMethod.cs
Log:
2005-04-13  Chris Toshok  <[EMAIL PROTECTED]>

        * interfaces/IMethod.cs: Add some docs.

        * interfaces/IArchitecture.cs: same.



Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog    2005-04-13 20:51:42 UTC (rev 42967)
+++ trunk/debugger/ChangeLog    2005-04-13 22:14:50 UTC (rev 42968)
@@ -1,3 +1,9 @@
+2005-04-13  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * interfaces/IMethod.cs: Add some docs.
+
+       * interfaces/IArchitecture.cs: same.
+
 2005-04-12  Martin Willemoes Hansen  <[EMAIL PROTECTED]>
 
        * autogen.sh: Corrected error messages to print Mono-debugger 

Modified: trunk/debugger/interfaces/IArchitecture.cs
===================================================================
--- trunk/debugger/interfaces/IArchitecture.cs  2005-04-13 20:51:42 UTC (rev 
42967)
+++ trunk/debugger/interfaces/IArchitecture.cs  2005-04-13 22:14:50 UTC (rev 
42968)
@@ -22,18 +22,36 @@
                        get;
                }
 
+               // <summary>
+               //   Indices of all registers.
+               // </summary>
                int[] AllRegisterIndices {
                        get;
                }
 
+               // <summary>
+               // Size (in bytes) of each register.
+               // </summary>
                int[] RegisterSizes {
                        get;
                }
 
+               // <summary>
+               // A map between the register the register numbers in
+               // the jit code generator and the register indices
+               // used in the above arrays.
+               // </summary>
                int[] RegisterMap {
                        get;
                }
 
+               // <summary>
+               // The length of the
+               // AllRegisterIndices/RegisterNames/RegisterSizes
+               // arrays.
+               // XXX why not just let people do
+               // "RegisterNames.Length"?
+               // </summary>
                int CountRegisters {
                        get;
                }
@@ -50,7 +68,7 @@
 
                // <summary>
                //   Check whether the instruction at target address @address 
is a `call'
-               //   instruction and returns the destination of the call or 
null.
+               //   instruction and returns the destination of the call or 
TargetAddress.Null.
                //
                //   The out parameter @insn_size is set to the size on bytes 
of the call
                //   instructions.  This can be used to set a breakpoint 
immediately after
@@ -59,6 +77,14 @@
                TargetAddress GetCallTarget (ITargetMemoryAccess target, 
TargetAddress address,
                                             out int insn_size);
 
+               // <summary>
+               //   Check whether the instruction at target address @address 
is a `jump'
+               //   instruction and returns the destination of the call or 
TargetAddress.Null.
+               //
+               //   The out parameter @insn_size is set to the size on bytes 
of the jump
+               //   instructions.  This can be used to set a breakpoint 
immediately after
+               //   the jump.
+               // </summary>
                TargetAddress GetJumpTarget (ITargetMemoryAccess target, 
TargetAddress address,
                                             out int insn_size);
 

Modified: trunk/debugger/interfaces/IMethod.cs
===================================================================
--- trunk/debugger/interfaces/IMethod.cs        2005-04-13 20:51:42 UTC (rev 
42967)
+++ trunk/debugger/interfaces/IMethod.cs        2005-04-13 22:14:50 UTC (rev 
42968)
@@ -95,14 +95,27 @@
                        get;
                }
 
+               // <summary>
+               // The method's declaring type.  In an object oriented
+               // language, this will be the class/struct in which
+               // this method is declared.
+               // </summary>
                ITargetStructType DeclaringType {
                        get;
                }
 
+               // <summary>
+               // True for instance methods in object oriented
+               // languages.
+               // </summary>
                bool HasThis {
                        get;
                }
 
+               // <summary>
+               // The method's "this" pointer.
+               // </summary>
+
                IVariable This {
                        get;
                }

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

Reply via email to