[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine lib_diag.c,1.10,1.11
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine lib_diag.c,1.10,1.11 |
Date: |
Mon, 26 May 2003 00:29:15 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv25237/engine
Modified Files:
lib_diag.c
Log Message:
Remove the skipFrames hack
Index: lib_diag.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_diag.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** lib_diag.c 26 Dec 2002 09:26:39 -0000 1.10
--- lib_diag.c 26 May 2003 04:29:13 -0000 1.11
***************
*** 406,415 ****
#ifdef IL_CONFIG_REFLECTION
ILInt32 num;
- ILInt32 skipFrames;
- int sawNormal;
ILCallFrame *frame;
ILObject *array;
PackedStackFrame *data;
- ILMethod *method;
unsigned char *start;
ILClass *classInfo;
--- 406,412 ----
***************
*** 418,454 ****
where the exception constructors stop and real code starts */
num = 0;
- skipFrames = 0;
- sawNormal = 0;
frame = _ILGetCallFrame(thread, 0);
while(frame != 0)
{
! if(!sawNormal)
! {
! method = frame->method;
! if(frame->method)
! {
! if(ILMethod_IsConstructor(frame->method) &&
! thread->process->exceptionClass &&
!
ILClassInheritsFrom(ILMethod_Owner(frame->method),
!
thread->process->exceptionClass))
! {
! ++skipFrames;
! }
! else
! {
! sawNormal = 1;
! ++num;
! }
! }
! else
! {
! sawNormal = 1;
! ++num;
! }
! }
! else
! {
! ++num;
! }
frame = _ILGetNextCallFrame(thread, frame);
}
--- 415,422 ----
where the exception constructors stop and real code starts */
num = 0;
frame = _ILGetCallFrame(thread, 0);
while(frame != 0)
{
! ++num;
frame = _ILGetNextCallFrame(thread, frame);
}
***************
*** 483,487 ****
/* Fill the array with the packed stack data */
data = (PackedStackFrame *)ArrayToBuffer(array);
! frame = _ILGetCallFrame(thread, skipFrames);
while(frame != 0 && num > 0)
{
--- 451,455 ----
/* Fill the array with the packed stack data */
data = (PackedStackFrame *)ArrayToBuffer(array);
! frame = _ILGetCallFrame(thread, 0);
while(frame != 0 && num > 0)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine lib_diag.c,1.10,1.11,
Gopal.V <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2377,1.2378
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization Formatter.cs,1.2,1.3 FormatterConverter.cs,1.2,1.3 FormatterServices.cs,1.3,1.4 IDeserializationCallback.cs,1.2,1.3 IFormatter.cs,1.1,1.2 IFormatterConverter.cs,1.1,1.2 IObjectReference.cs,1.1,1.2 ISerializable.cs,1.2,1.3 ISerializationSurrogate.cs,1.1,1.2 ISurrogateSelector.cs,1.1,1.2 ObjectIDGenerator.cs,1.1,1.2 ObjectManager.cs,1.2,1.3 SerializationBinder.cs,1.1,1.2 SerializationEntry.cs,1.1,1.2 SerializationException.cs,1.4,1.5 SerializationInfo.cs,1.5,1.6 SerializationInfoEnumerator.cs,1.1,1.2 StreamingContext.cs,1.3,1.4 StreamingContextStates.cs,1.1,1.2 SurrogateSelector.cs,1.2,1.3
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2377,1.2378
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization Formatter.cs,1.2,1.3 FormatterConverter.cs,1.2,1.3 FormatterServices.cs,1.3,1.4 IDeserializationCallback.cs,1.2,1.3 IFormatter.cs,1.1,1.2 IFormatterConverter.cs,1.1,1.2 IObjectReference.cs,1.1,1.2 ISerializable.cs,1.2,1.3 ISerializationSurrogate.cs,1.1,1.2 ISurrogateSelector.cs,1.1,1.2 ObjectIDGenerator.cs,1.1,1.2 ObjectManager.cs,1.2,1.3 SerializationBinder.cs,1.1,1.2 SerializationEntry.cs,1.1,1.2 SerializationException.cs,1.4,1.5 SerializationInfo.cs,1.5,1.6 SerializationInfoEnumerator.cs,1.1,1.2 StreamingContext.cs,1.3,1.4 StreamingContextStates.cs,1.1,1.2 SurrogateSelector.cs,1.2,1.3
- Index(es):