[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Diagnostics PackedSta
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Diagnostics PackedStackFrame.cs,1.1,1.2 StackFrame.cs,1.3,1.4 |
Date: |
Tue, 15 Apr 2003 23:17:57 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Diagnostics
In directory subversions:/tmp/cvs-serv5830/runtime/System/Diagnostics
Modified Files:
PackedStackFrame.cs StackFrame.cs
Log Message:
Modifications to allow the library to be built with the
"RuntimeInfrastructure" subset turned off.
Index: PackedStackFrame.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Diagnostics/PackedStackFrame.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** PackedStackFrame.cs 17 Nov 2001 07:27:45 -0000 1.1
--- PackedStackFrame.cs 16 Apr 2003 03:17:55 -0000 1.2
***************
*** 28,32 ****
--- 28,36 ----
{
+ #if CONFIG_RUNTIME_INFRA
public RuntimeMethodHandle method;
+ #else
+ public IntPtr method;
+ #endif
public int offset;
public int nativeOffset;
Index: StackFrame.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Diagnostics/StackFrame.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** StackFrame.cs 15 Apr 2003 11:22:32 -0000 1.3
--- StackFrame.cs 16 Apr 2003 03:17:55 -0000 1.4
***************
*** 130,133 ****
--- 130,134 ----
extern internal static int InternalGetTotalFrames();
+ #if CONFIG_RUNTIME_INFRA
// Get the method that is executing "skipFrames" frames up the stack,
// where 0 indicates the method that called "InternalGetMethod".
***************
*** 136,139 ****
--- 137,148 ----
InternalGetMethod(int skipFrames);
+ // Get the filename, line number, and column number associated
+ // with a particular method and IL offset.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern private static String InternalGetDebugInfo
+ (RuntimeMethodHandle method, int offset,
+ out int line, out int column);
+ #endif
+
// Get the IL offset of the method that is executing "skipFrames"
// frames up the stack.
***************
*** 145,155 ****
[MethodImpl(MethodImplOptions.InternalCall)]
extern private static int InternalGetNativeOffset(int skipFrames);
-
- // Get the filename, line number, and column number associated
- // with a particular method and IL offset.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern private static String InternalGetDebugInfo
- (RuntimeMethodHandle method, int offset,
- out int line, out int column);
// Get the column number where the stack frame was created.
--- 154,157 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Diagnostics PackedStackFrame.cs,1.1,1.2 StackFrame.cs,1.3,1.4,
Rhys Weatherley <address@hidden> <=